123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681 |
- /*@WebApiFunc@*/
- var varList = ['GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188','GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'adaptBrowser',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
-
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 29 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- anniu=0;
- sy=0;
- ldjsc=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- xdssdl=0;
- gzssdl=0;
- slssdl=0;
- xnssdl=0;
- ztjs=0;
- aaa="";
- bbb="";
- ccc="P1";
- ddd="L1";
- eee="001";
- G="AI0003";
- H="AI0027";
- I="AI0029";
- J="AI0031";
- K="AI0004";
- L="AI0018";
- M="AI0019";
- N="AI0020";
- O="AI0024";
- P="AI0026";
- R="CI0024";
- S="CI0032";
- T="CI0020";
- U="CI0100";
- V="CI0180";
- W="CI0013";
- X="CI0038";
- Y="CI0014";
- Z="CI0196";
- AA="AI0024";
- BB="AI0017";
- CC="";
- DD="AI0006";
- EE="AI0002";
- FF="CI0036";
- GG="CI0036";
- HH="";
- II="AI0013";
- JJ="";
- KK="AI0070";
- LL="AI0068";
- MM="0075";
- NN="AI0069";
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 944*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0type = 'rect';
- var Node0 = new ht.Node(),
- Node0BorderWidth = 0*2;
- if (Node0type === 'arc') {
- Node0BorderWidth *= 0;
- }
- Node0.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0.setPosition(19*ratio.ratioX, 101*ratio.ratioY);
- Node0.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0.a('node.width', 27*_ratio.ratioX);
- Node0.a('node.height', 121*_ratio.ratioY);
- Node0.a('node.type', Node0type);
- Node0.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node0.a('node.background', 'rgba(0,132,216,1)');
- Node0.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node0.a('node.gradient', '');
- Node0.a('node.borderwidth', Node0BorderWidth);
- Node0.a('node.color', 'rgba(0,0,255,0)');
- Node0.a('node.fillrect', [0,0,0,0]);
- Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradient', '');
- if (Node0type !== 'rect') {
- Node0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0type === 'arc') {
- Node0.a('node.arcOval', true);
- }
- Node0.setRotation(0*Math.PI/180);
- Node0.borderWidth = Node0BorderWidth;
- Node0.borderFillwidth = Node0BorderWidth;
- dataModel.add(Node0);
- Node0._nodename = 'Node0'
- Node0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0, Node0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1 = new ht.Node();
- var Node1textStart, Node1textWidth, Node1lineStart, Node1align = 'left', Node1fontSize = 13.3333*_ratio.ratioY,Node1width = 53*_ratio.ratioX, Node1height = 30*_ratio.ratioY;
- (function () {
- if (Node1align === 'left') {
- Node1textStart = Node1fontSize * 0.2 > 2 ? Node1fontSize * 0.2 - 4 : Node1fontSize * 0.2 - 9;
- Node1textWidth = Node1width;
- Node1lineStart = 1;
- } else if (Node1align === 'right') {
- Node1textStart = 0;
- Node1textWidth =Node1fontSize <= 8 ? Node1width + Node1fontSize * 0.2 + 6 : Node1width - Node1fontSize * 0.2;
- Node1lineStart = (Node1width - (ht.Default.getTextSize('综', 'bold '+ Node1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node1align === 'center') {
- Node1textStart = -3;
- Node1textWidth = Node1width;
- Node1lineStart = Node1width - ht.Default.getTextSize('综', 'bold '+ Node1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node1.setImage(GD.getTextJSON(Node1width, Node1height, true, false, false, 'bold '+ Node1fontSize + 'px "Arial"'))
- Node1.setPosition(35*ratio.ratioX, 58*ratio.ratioY);
- Node1.setWidth(Node1width);
- Node1.setHeight(Node1height);
- Node1._nodeType = 'text';
- Node1._disallowEvert = true;
- Node1.setRotation(0*Math.PI/180);
- Node1.a('node.width', Node1width);
- Node1.a('node.height', Node1height);
- Node1.a('node.rect', [0, 0, Node1width, Node1height]);
- Node1.a('node.bordercolor','rgba(255,255,255,1)');
- Node1.a('node.borderwidth', 0);
- Node1.a('node.background','' || 'rgba(0,0,0,0)');
- Node1.a('node.gradient','');
- Node1.a('node.gradientcolor','');
- Node1.a('node.text','综');
- Node1.a('node.textalign','left');
- Node1.a('node.textvAlign','middle');
- Node1.a('node.textrect', [Node1textStart, 0, Node1textWidth, Node1height]);
- Node1.a('node.color','rgba(255,255,255,1)');
- Node1.a('node.font','bold '+ Node1fontSize + 'px "Arial"');
- Node1.a('node.textvisible',true);
- Node1.a('node.linefeed',false);
- if (false) {
- Node1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node1.a('node.text') || '综';
- var color=Node1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node1width,Node1height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node1.a('node.underlinepoints',[Node1lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node1fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node1fontSize + 'px "Arial"').width + 6, (Node1height - Node1fontSize) * 0.5*_ratio.ratioY + Node1fontSize + 2 ]);
- Node1.a('node.underlinevisible',false);
- Node1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node1);
- zoomNodeList.push({
- node: Node1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2type = 'rect';
- var Node2 = new ht.Node(),
- Node2BorderWidth = 0*2;
- if (Node2type === 'arc') {
- Node2BorderWidth *= 0;
- }
- Node2.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node2.setPosition(112*ratio.ratioX, 104*ratio.ratioY);
- Node2.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node2.a('node.width', 156*_ratio.ratioX);
- Node2.a('node.height', 30*_ratio.ratioY);
- Node2.a('node.type', Node2type);
- Node2.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node2.a('node.background', 'rgba(73,192,209,1)');
- Node2.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node2.a('node.gradient', '');
- Node2.a('node.borderwidth', Node2BorderWidth);
- Node2.a('node.color', 'rgba(0,0,0,0)');
- Node2.a('node.fillrect', [0,0,0,0]);
- Node2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node2.a('node.fillgradient', '');
- if (Node2type !== 'rect') {
- Node2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node2.a('node.arcTo', parseFloat('@arcTo@'));
- Node2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node2type === 'arc') {
- Node2.a('node.arcOval', true);
- }
- Node2.setRotation(0*Math.PI/180);
- Node2.borderWidth = Node2BorderWidth;
- Node2.borderFillwidth = Node2BorderWidth;
- dataModel.add(Node2);
- Node2._nodename = 'Node2'
- Node2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node2, Node2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3 = new ht.Node();
- var Node3textStart, Node3textWidth, Node3lineStart, Node3align = 'left', Node3fontSize = 14.66663*_ratio.ratioY,Node3width = 157*_ratio.ratioX, Node3height = 24*_ratio.ratioY;
- (function () {
- if (Node3align === 'left') {
- Node3textStart = Node3fontSize * 0.2 > 2 ? Node3fontSize * 0.2 - 4 : Node3fontSize * 0.2 - 9;
- Node3textWidth = Node3width;
- Node3lineStart = 1;
- } else if (Node3align === 'right') {
- Node3textStart = 0;
- Node3textWidth =Node3fontSize <= 8 ? Node3width + Node3fontSize * 0.2 + 6 : Node3width - Node3fontSize * 0.2;
- Node3lineStart = (Node3width - (ht.Default.getTextSize('安全天数', 'bold '+ Node3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node3align === 'center') {
- Node3textStart = -3;
- Node3textWidth = Node3width;
- Node3lineStart = Node3width - ht.Default.getTextSize('安全天数', 'bold '+ Node3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node3.setImage(GD.getTextJSON(Node3width, Node3height, true, false, false, 'bold '+ Node3fontSize + 'px "Arial"'))
- Node3.setPosition(152*ratio.ratioX, 104*ratio.ratioY);
- Node3.setWidth(Node3width);
- Node3.setHeight(Node3height);
- Node3._nodeType = 'text';
- Node3._disallowEvert = true;
- Node3.setRotation(0*Math.PI/180);
- Node3.a('node.width', Node3width);
- Node3.a('node.height', Node3height);
- Node3.a('node.rect', [0, 0, Node3width, Node3height]);
- Node3.a('node.bordercolor','rgba(255,255,255,1)');
- Node3.a('node.borderwidth', 0);
- Node3.a('node.background','' || 'rgba(0,0,0,0)');
- Node3.a('node.gradient','');
- Node3.a('node.gradientcolor','');
- Node3.a('node.text','安全天数');
- Node3.a('node.textalign','left');
- Node3.a('node.textvAlign','middle');
- Node3.a('node.textrect', [Node3textStart, 0, Node3textWidth, Node3height]);
- Node3.a('node.color','rgba(255,255,255,1)');
- Node3.a('node.font','bold '+ Node3fontSize + 'px "Arial"');
- Node3.a('node.textvisible',true);
- Node3.a('node.linefeed',false);
- if (false) {
- Node3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node3.a('node.text') || '安全天数';
- var color=Node3.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node3width,Node3height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node3.a('node.underlinepoints',[Node3lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node3fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node3fontSize + 'px "Arial"').width + 6, (Node3height - Node3fontSize) * 0.5*_ratio.ratioY + Node3fontSize + 2 ]);
- Node3.a('node.underlinevisible',false);
- Node3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node3);
- zoomNodeList.push({
- node: Node3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4type = 'rect';
- var Node4 = new ht.Node(),
- Node4BorderWidth = 0*2;
- if (Node4type === 'arc') {
- Node4BorderWidth *= 0;
- }
- Node4.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node4.setPosition(88*ratio.ratioX, 141*ratio.ratioY);
- Node4.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node4.a('node.width', 105*_ratio.ratioX);
- Node4.a('node.height', 48*_ratio.ratioY);
- Node4.a('node.type', Node4type);
- Node4.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node4.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node4.a('node.gradientcolor', '');
- Node4.a('node.gradient', '');
- Node4.a('node.borderwidth', Node4BorderWidth);
- Node4.a('node.color', 'rgba(0,0,0,0)');
- Node4.a('node.fillrect', [0,0,0,0]);
- Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradient', '');
- if (Node4type !== 'rect') {
- Node4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node4.a('node.arcTo', parseFloat('@arcTo@'));
- Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node4type === 'arc') {
- Node4.a('node.arcOval', true);
- }
- Node4.setRotation(0*Math.PI/180);
- Node4.borderWidth = Node4BorderWidth;
- Node4.borderFillwidth = Node4BorderWidth;
- dataModel.add(Node4);
- Node4._nodename = 'Node4'
- Node4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5 = new ht.Node();
- var Node5textStart, Node5textWidth, Node5lineStart, Node5align = 'right', Node5fontSize = 19.99995*_ratio.ratioY,Node5width = 59*_ratio.ratioX, Node5height = 24*_ratio.ratioY;
- (function () {
- if (Node5align === 'left') {
- Node5textStart = Node5fontSize * 0.2 > 2 ? Node5fontSize * 0.2 - 4 : Node5fontSize * 0.2 - 9;
- Node5textWidth = Node5width;
- Node5lineStart = 1;
- } else if (Node5align === 'right') {
- Node5textStart = 0;
- Node5textWidth =Node5fontSize <= 8 ? Node5width + Node5fontSize * 0.2 + 6 : Node5width - Node5fontSize * 0.2;
- Node5lineStart = (Node5width - (ht.Default.getTextSize('0', ' '+ Node5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node5align === 'center') {
- Node5textStart = -3;
- Node5textWidth = Node5width;
- Node5lineStart = Node5width - ht.Default.getTextSize('0', ' '+ Node5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node5.setImage(GD.getTextJSON(Node5width, Node5height, true, false, false, ' '+ Node5fontSize + 'px "Arial"'))
- Node5.setPosition(83*ratio.ratioX, 149*ratio.ratioY);
- Node5.setWidth(Node5width);
- Node5.setHeight(Node5height);
- Node5._nodeType = 'text';
- Node5._disallowEvert = true;
- Node5.setRotation(0*Math.PI/180);
- Node5.a('node.width', Node5width);
- Node5.a('node.height', Node5height);
- Node5.a('node.rect', [0, 0, Node5width, Node5height]);
- Node5.a('node.bordercolor','rgba(0,0,0,1)');
- Node5.a('node.borderwidth', 0);
- Node5.a('node.background','' || 'rgba(0,0,0,0)');
- Node5.a('node.gradient','');
- Node5.a('node.gradientcolor','');
- Node5.a('node.text','0');
- Node5.a('node.textalign','right');
- Node5.a('node.textvAlign','middle');
- Node5.a('node.textrect', [Node5textStart, 0, Node5textWidth, Node5height]);
- Node5.a('node.color','rgba(0,0,0,1)');
- Node5.a('node.font',' '+ Node5fontSize + 'px "Arial"');
- Node5.a('node.textvisible',true);
- Node5.a('node.linefeed',false);
- if (false) {
- Node5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node5.a('node.text') || '0';
- var color=Node5.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node5width,Node5height,19.99995*_ratio.ratioY,"right",color,' '+ Node5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node5.a('node.underlinepoints',[Node5lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node5fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node5fontSize + 'px "Arial"').width + 6, (Node5height - Node5fontSize) * 0.5*_ratio.ratioY + Node5fontSize + 2 ]);
- Node5.a('node.underlinevisible',false);
- Node5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node5);
- zoomNodeList.push({
- node: Node5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6type = 'rect';
- var Node6 = new ht.Node(),
- Node6BorderWidth = 0*2;
- if (Node6type === 'arc') {
- Node6BorderWidth *= 0;
- }
- Node6.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node6.setPosition(171*ratio.ratioX, 146*ratio.ratioY);
- Node6.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node6.a('node.width', 31*_ratio.ratioX);
- Node6.a('node.height', 31*_ratio.ratioY);
- Node6.a('node.type', Node6type);
- Node6.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node6.a('node.background', 'rgba(225,102,38,1)');
- Node6.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node6.a('node.gradient', '');
- Node6.a('node.borderwidth', Node6BorderWidth);
- Node6.a('node.color', 'rgba(0,0,0,0)');
- Node6.a('node.fillrect', [0,0,0,0]);
- Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradient', '');
- if (Node6type !== 'rect') {
- Node6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node6.a('node.arcTo', parseFloat('@arcTo@'));
- Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node6type === 'arc') {
- Node6.a('node.arcOval', true);
- }
- Node6.setRotation(0*Math.PI/180);
- Node6.borderWidth = Node6BorderWidth;
- Node6.borderFillwidth = Node6BorderWidth;
- dataModel.add(Node6);
- Node6._nodename = 'Node6'
- Node6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node6, Node6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7 = new ht.Node();
- var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'left', Node7fontSize = 13.3333*_ratio.ratioY,Node7width = 27*_ratio.ratioX, Node7height = 16*_ratio.ratioY;
- (function () {
- if (Node7align === 'left') {
- Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9;
- Node7textWidth = Node7width;
- Node7lineStart = 1;
- } else if (Node7align === 'right') {
- Node7textStart = 0;
- Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2;
- Node7lineStart = (Node7width - (ht.Default.getTextSize('天', 'bold '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node7align === 'center') {
- Node7textStart = -3;
- Node7textWidth = Node7width;
- Node7lineStart = Node7width - ht.Default.getTextSize('天', 'bold '+ Node7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, 'bold '+ Node7fontSize + 'px "Arial"'))
- Node7.setPosition(175*ratio.ratioX, 148*ratio.ratioY);
- Node7.setWidth(Node7width);
- Node7.setHeight(Node7height);
- Node7._nodeType = 'text';
- Node7._disallowEvert = true;
- Node7.setRotation(0*Math.PI/180);
- Node7.a('node.width', Node7width);
- Node7.a('node.height', Node7height);
- Node7.a('node.rect', [0, 0, Node7width, Node7height]);
- Node7.a('node.bordercolor','rgba(255,255,255,1)');
- Node7.a('node.borderwidth', 0);
- Node7.a('node.background','' || 'rgba(0,0,0,0)');
- Node7.a('node.gradient','');
- Node7.a('node.gradientcolor','');
- Node7.a('node.text','天');
- Node7.a('node.textalign','left');
- Node7.a('node.textvAlign','middle');
- Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]);
- Node7.a('node.color','rgba(255,255,255,1)');
- Node7.a('node.font','bold '+ Node7fontSize + 'px "Arial"');
- Node7.a('node.textvisible',true);
- Node7.a('node.linefeed',false);
- if (false) {
- Node7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node7.a('node.text') || '天';
- var color=Node7.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node7width,Node7height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node7.a('node.underlinepoints',[Node7lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]);
- Node7.a('node.underlinevisible',false);
- Node7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node7);
- zoomNodeList.push({
- node: Node7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8 = new ht.Node();
- var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'left', Node8fontSize = 13.3333*_ratio.ratioY,Node8width = 53*_ratio.ratioX, Node8height = 30*_ratio.ratioY;
- (function () {
- if (Node8align === 'left') {
- Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9;
- Node8textWidth = Node8width;
- Node8lineStart = 1;
- } else if (Node8align === 'right') {
- Node8textStart = 0;
- Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2;
- Node8lineStart = (Node8width - (ht.Default.getTextSize('合', 'bold '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node8align === 'center') {
- Node8textStart = -3;
- Node8textWidth = Node8width;
- Node8lineStart = Node8width - ht.Default.getTextSize('合', 'bold '+ Node8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, 'bold '+ Node8fontSize + 'px "Arial"'))
- Node8.setPosition(36*ratio.ratioX, 86*ratio.ratioY);
- Node8.setWidth(Node8width);
- Node8.setHeight(Node8height);
- Node8._nodeType = 'text';
- Node8._disallowEvert = true;
- Node8.setRotation(0*Math.PI/180);
- Node8.a('node.width', Node8width);
- Node8.a('node.height', Node8height);
- Node8.a('node.rect', [0, 0, Node8width, Node8height]);
- Node8.a('node.bordercolor','rgba(255,255,255,1)');
- Node8.a('node.borderwidth', 0);
- Node8.a('node.background','' || 'rgba(0,0,0,0)');
- Node8.a('node.gradient','');
- Node8.a('node.gradientcolor','');
- Node8.a('node.text','合');
- Node8.a('node.textalign','left');
- Node8.a('node.textvAlign','middle');
- Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]);
- Node8.a('node.color','rgba(255,255,255,1)');
- Node8.a('node.font','bold '+ Node8fontSize + 'px "Arial"');
- Node8.a('node.textvisible',true);
- Node8.a('node.linefeed',false);
- if (false) {
- Node8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node8.a('node.text') || '合';
- var color=Node8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node8width,Node8height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node8.a('node.underlinepoints',[Node8lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]);
- Node8.a('node.underlinevisible',false);
- Node8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node8);
- zoomNodeList.push({
- node: Node8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 53*_ratio.ratioX, Node9height = 30*_ratio.ratioY;
- (function () {
- if (Node9align === 'left') {
- Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9;
- Node9textWidth = Node9width;
- Node9lineStart = 1;
- } else if (Node9align === 'right') {
- Node9textStart = 0;
- Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2;
- Node9lineStart = (Node9width - (ht.Default.getTextSize('指', 'bold '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9align === 'center') {
- Node9textStart = -3;
- Node9textWidth = Node9width;
- Node9lineStart = Node9width - ht.Default.getTextSize('指', 'bold '+ Node9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, 'bold '+ Node9fontSize + 'px "Arial"'))
- Node9.setPosition(36*ratio.ratioX, 113*ratio.ratioY);
- Node9.setWidth(Node9width);
- Node9.setHeight(Node9height);
- Node9._nodeType = 'text';
- Node9._disallowEvert = true;
- Node9.setRotation(0*Math.PI/180);
- Node9.a('node.width', Node9width);
- Node9.a('node.height', Node9height);
- Node9.a('node.rect', [0, 0, Node9width, Node9height]);
- Node9.a('node.bordercolor','rgba(255,255,255,1)');
- Node9.a('node.borderwidth', 0);
- Node9.a('node.background','' || 'rgba(0,0,0,0)');
- Node9.a('node.gradient','');
- Node9.a('node.gradientcolor','');
- Node9.a('node.text','指');
- Node9.a('node.textalign','left');
- Node9.a('node.textvAlign','middle');
- Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
- Node9.a('node.color','rgba(255,255,255,1)');
- Node9.a('node.font','bold '+ Node9fontSize + 'px "Arial"');
- Node9.a('node.textvisible',true);
- Node9.a('node.linefeed',false);
- if (false) {
- Node9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node9.a('node.text') || '指';
- var color=Node9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9.a('node.underlinepoints',[Node9lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]);
- Node9.a('node.underlinevisible',false);
- Node9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node9);
- zoomNodeList.push({
- node: Node9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node10 = new ht.Node();
- var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'left', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 53*_ratio.ratioX, Node10height = 30*_ratio.ratioY;
- (function () {
- if (Node10align === 'left') {
- Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
- Node10textWidth = Node10width;
- Node10lineStart = 1;
- } else if (Node10align === 'right') {
- Node10textStart = 0;
- Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
- Node10lineStart = (Node10width - (ht.Default.getTextSize('标', 'bold '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node10align === 'center') {
- Node10textStart = -3;
- Node10textWidth = Node10width;
- Node10lineStart = Node10width - ht.Default.getTextSize('标', 'bold '+ Node10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, 'bold '+ Node10fontSize + 'px "Arial"'))
- Node10.setPosition(36*ratio.ratioX, 143*ratio.ratioY);
- Node10.setWidth(Node10width);
- Node10.setHeight(Node10height);
- Node10._nodeType = 'text';
- Node10._disallowEvert = true;
- Node10.setRotation(0*Math.PI/180);
- Node10.a('node.width', Node10width);
- Node10.a('node.height', Node10height);
- Node10.a('node.rect', [0, 0, Node10width, Node10height]);
- Node10.a('node.bordercolor','rgba(255,255,255,1)');
- Node10.a('node.borderwidth', 0);
- Node10.a('node.background','' || 'rgba(0,0,0,0)');
- Node10.a('node.gradient','');
- Node10.a('node.gradientcolor','');
- Node10.a('node.text','标');
- Node10.a('node.textalign','left');
- Node10.a('node.textvAlign','middle');
- Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
- Node10.a('node.color','rgba(255,255,255,1)');
- Node10.a('node.font','bold '+ Node10fontSize + 'px "Arial"');
- Node10.a('node.textvisible',true);
- Node10.a('node.linefeed',false);
- if (false) {
- Node10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node10.a('node.text') || '标';
- var color=Node10.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10.a('node.underlinepoints',[Node10lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
- Node10.a('node.underlinevisible',false);
- Node10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node10);
- zoomNodeList.push({
- node: Node10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node11;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node11 = new ht.Node();
- Node11.setPosition(112*ratio.ratioX, 64*ratio.ratioY);
- Node11.setSize(155*ratioX, 45*ratioY);
- Node11.setImage('imgimage//喜欢的蓝色.png');
- Node11.setRotation(0*Math.PI/180);
- Node11._zoomBy = 'Default';
- Node11._nodeType = 'image';
- Node11._disallowEvert = true;
- dataModel.add(Node11);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12 = new ht.Node();
- var Node12textStart, Node12textWidth, Node12lineStart, Node12align = 'left', Node12fontSize = 17.33329*_ratio.ratioY,Node12width = 143*_ratio.ratioX, Node12height = 49*_ratio.ratioY;
- (function () {
- if (Node12align === 'left') {
- Node12textStart = Node12fontSize * 0.2 > 2 ? Node12fontSize * 0.2 - 4 : Node12fontSize * 0.2 - 9;
- Node12textWidth = Node12width;
- Node12lineStart = 1;
- } else if (Node12align === 'right') {
- Node12textStart = 0;
- Node12textWidth =Node12fontSize <= 8 ? Node12width + Node12fontSize * 0.2 + 6 : Node12width - Node12fontSize * 0.2;
- Node12lineStart = (Node12width - (ht.Default.getTextSize('广灵劲风电场', ' '+ Node12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node12align === 'center') {
- Node12textStart = -3;
- Node12textWidth = Node12width;
- Node12lineStart = Node12width - ht.Default.getTextSize('广灵劲风电场', ' '+ Node12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node12.setImage(GD.getTextJSON(Node12width, Node12height, true, false, false, ' '+ Node12fontSize + 'px "Arial"'))
- Node12.setPosition(121*ratio.ratioX, 67*ratio.ratioY);
- Node12.setWidth(Node12width);
- Node12.setHeight(Node12height);
- Node12._nodeType = 'text';
- Node12._disallowEvert = true;
- Node12.setRotation(0*Math.PI/180);
- Node12.a('node.width', Node12width);
- Node12.a('node.height', Node12height);
- Node12.a('node.rect', [0, 0, Node12width, Node12height]);
- Node12.a('node.bordercolor','rgba(255,255,255,1)');
- Node12.a('node.borderwidth', 0);
- Node12.a('node.background','' || 'rgba(0,0,0,0)');
- Node12.a('node.gradient','');
- Node12.a('node.gradientcolor','');
- Node12.a('node.text','广灵劲风电场');
- Node12.a('node.textalign','left');
- Node12.a('node.textvAlign','middle');
- Node12.a('node.textrect', [Node12textStart, 0, Node12textWidth, Node12height]);
- Node12.a('node.color','rgba(255,255,255,1)');
- Node12.a('node.font',' '+ Node12fontSize + 'px "Arial"');
- Node12.a('node.textvisible',true);
- Node12.a('node.linefeed',false);
- if (false) {
- Node12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node12.a('node.text') || '广灵劲风电场';
- var color=Node12.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node12width,Node12height,17.33329*_ratio.ratioY,"left",color,' '+ Node12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node12.a('node.underlinepoints',[Node12lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node12fontSize + 2 , ht.Default.getTextSize('广灵劲风电场', ' '+ Node12fontSize + 'px "Arial"').width + 6, (Node12height - Node12fontSize) * 0.5*_ratio.ratioY + Node12fontSize + 2 ]);
- Node12.a('node.underlinevisible',false);
- Node12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node12);
- zoomNodeList.push({
- node: Node12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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(1890*_ratio.ratioX, 10*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node13.setPosition(952*ratio.ratioX, 871*ratio.ratioY);
- Node13.setSize(1890*_ratio.ratioX, 10*_ratio.ratioY);
- Node13.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node13.a('node.width', 1890*_ratio.ratioX);
- Node13.a('node.height', 10*_ratio.ratioY);
- Node13.a('node.type', Node13type);
- Node13.a('node.rect', [0, 0, 1890*_ratio.ratioX, 10*_ratio.ratioY]);
- Node13.a('node.background', 'rgba(234,234,234,1)');
- Node13.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node13.a('node.gradient', '');
- Node13.a('node.borderwidth', Node13BorderWidth);
- Node13.a('node.color', 'rgba(234,234,234,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(12*_ratio.ratioX, 670*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node14.setPosition(1893*ratio.ratioX, 541*ratio.ratioY);
- Node14.setSize(12*_ratio.ratioX, 670*_ratio.ratioY);
- Node14.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node14.a('node.width', 12*_ratio.ratioX);
- Node14.a('node.height', 670*_ratio.ratioY);
- Node14.a('node.type', Node14type);
- Node14.a('node.rect', [0, 0, 12*_ratio.ratioX, 670*_ratio.ratioY]);
- Node14.a('node.background', 'rgba(234,234,234,1)');
- Node14.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node14.a('node.gradient', '');
- Node14.a('node.borderwidth', Node14BorderWidth);
- Node14.a('node.color', 'rgba(234,234,234,1)');
- Node14.a('node.fillrect', [0,0,0,0]);
- Node14.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node14.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node14.a('node.fillgradient', '');
- if (Node14type !== 'rect') {
- Node14.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node14.a('node.arcTo', parseFloat('@arcTo@'));
- Node14.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node14type === 'arc') {
- Node14.a('node.arcOval', true);
- }
- Node14.setRotation(0*Math.PI/180);
- Node14.borderWidth = Node14BorderWidth;
- Node14.borderFillwidth = Node14BorderWidth;
- dataModel.add(Node14);
- Node14._nodename = 'Node14'
- Node14._nodeType = 'rect';
- zoomNodeList.push({
- node: Node14,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node14, Node14.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15type = 'rect';
- var Node15 = new ht.Node(),
- Node15BorderWidth = 1*2;
- if (Node15type === 'arc') {
- Node15BorderWidth *= 1;
- }
- Node15.setImage(GD.getRectJSON(1710*_ratio.ratioX, 5*_ratio.ratioY, Node15type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node15.setPosition(1042*ratio.ratioX, 203*ratio.ratioY);
- Node15.setSize(1710*_ratio.ratioX, 5*_ratio.ratioY);
- Node15.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node15.a('node.width', 1710*_ratio.ratioX);
- Node15.a('node.height', 5*_ratio.ratioY);
- Node15.a('node.type', Node15type);
- Node15.a('node.rect', [0, 0, 1710*_ratio.ratioX, 5*_ratio.ratioY]);
- Node15.a('node.background', 'rgba(234,234,234,1)');
- Node15.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node15.a('node.gradient', '');
- Node15.a('node.borderwidth', Node15BorderWidth);
- Node15.a('node.color', 'rgba(234,234,234,1)');
- Node15.a('node.fillrect', [0,0,0,0]);
- Node15.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node15.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node15.a('node.fillgradient', '');
- if (Node15type !== 'rect') {
- Node15.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node15.a('node.arcTo', parseFloat('@arcTo@'));
- Node15.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node15type === 'arc') {
- Node15.a('node.arcOval', true);
- }
- Node15.setRotation(0*Math.PI/180);
- Node15.borderWidth = Node15BorderWidth;
- Node15.borderFillwidth = Node15BorderWidth;
- dataModel.add(Node15);
- Node15._nodename = 'Node15'
- Node15._nodeType = 'rect';
- zoomNodeList.push({
- node: Node15,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node15, Node15.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16 = new ht.Node();
- var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 17.33329*_ratio.ratioY,Node16width = 59*_ratio.ratioX, Node16height = 24*_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('m/s', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16align === 'center') {
- Node16textStart = -3;
- Node16textWidth = Node16width;
- Node16lineStart = Node16width - ht.Default.getTextSize('m/s', ' '+ Node16fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
- Node16.setPosition(1866*ratio.ratioX, 223*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','m/s');
- 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') || 'm/s';
- var color=Node16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node16width,Node16height,17.33329*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16.a('node.underlinepoints',[Node16lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 Node17type = 'rect';
- var Node17 = new ht.Node(),
- Node17BorderWidth = 1*2;
- if (Node17type === 'arc') {
- Node17BorderWidth *= 1;
- }
- Node17.setImage(GD.getRectJSON(68*_ratio.ratioX, 35*_ratio.ratioY, Node17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node17.setPosition(221*ratio.ratioX, 185*ratio.ratioY);
- Node17.setSize(68*_ratio.ratioX, 35*_ratio.ratioY);
- Node17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node17.a('node.width', 68*_ratio.ratioX);
- Node17.a('node.height', 35*_ratio.ratioY);
- Node17.a('node.type', Node17type);
- Node17.a('node.rect', [0, 0, 68*_ratio.ratioX, 35*_ratio.ratioY]);
- Node17.a('node.background', 'rgba(0,255,0,1)');
- Node17.a('node.gradientcolor', 'rgba(0,255,0,1)');
- Node17.a('node.gradient', '');
- Node17.a('node.borderwidth', Node17BorderWidth);
- Node17.a('node.color', 'rgba(0,255,0,1)');
- Node17.a('node.fillrect', [0,0,0,0]);
- Node17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node17.a('node.fillgradient', '');
- if (Node17type !== 'rect') {
- Node17.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node17.a('node.arcTo', parseFloat('@arcTo@'));
- Node17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node17type === 'arc') {
- Node17.a('node.arcOval', true);
- }
- Node17.setRotation(0*Math.PI/180);
- Node17.borderWidth = Node17BorderWidth;
- Node17.borderFillwidth = Node17BorderWidth;
- dataModel.add(Node17);
- Node17._nodename = 'Node17'
- Node17._nodeType = 'rect';
- zoomNodeList.push({
- node: Node17,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node17, Node17.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18 = new ht.Node();
- var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'left', Node18fontSize = 21.33328*_ratio.ratioY,Node18width = 87*_ratio.ratioX, Node18height = 37*_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(605*ratio.ratioX, 303*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(255,255,255,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(255,255,255,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(255,255,255,1)';
- canvasTextAutoLine(str,0,21.33328*0.5*_ratio.ratioY,Node18width,Node18height,21.33328*_ratio.ratioY,"left",color,' '+ Node18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18.a('node.underlinepoints',[Node18lineStart, (37 - 21.33328) * 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 = 19.99995*_ratio.ratioY,Node19width = 200*_ratio.ratioX, Node19height = 35*_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(367*ratio.ratioX, 188*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,19.99995*0.5*_ratio.ratioY,Node19width,Node19height,19.99995*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19.a('node.underlinepoints',[Node19lineStart, (35 - 19.99995) * 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 = 19.99995*_ratio.ratioY,Node20width = 119*_ratio.ratioX, Node20height = 35*_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(546*ratio.ratioX, 188*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,19.99995*0.5*_ratio.ratioY,Node20width,Node20height,19.99995*_ratio.ratioY,"left",color,' '+ Node20fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20.a('node.underlinepoints',[Node20lineStart, (35 - 19.99995) * 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 = 205*_ratio.ratioX, Node21height = 24*_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('机组C相电压', ' '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21align === 'center') {
- Node21textStart = -3;
- Node21textWidth = Node21width;
- Node21lineStart = Node21width - ht.Default.getTextSize('机组C相电压', ' '+ Node21fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, ' '+ Node21fontSize + 'px "Arial"'))
- Node21.setPosition(314*ratio.ratioX, 392*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(14,151,102,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','机组C相电压');
- Node21.a('node.textalign','left');
- Node21.a('node.textvAlign','middle');
- Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]);
- Node21.a('node.color','rgba(14,151,102,1)');
- Node21.a('node.font',' '+ Node21fontSize + 'px "Arial"');
- Node21.a('node.textvisible',true);
- Node21.a('node.linefeed',false);
- if (false) {
- Node21.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node21.a('node.text') || '机组C相电压';
- var color=Node21.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,' '+ Node21fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21.a('node.underlinepoints',[Node21lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('机组C相电压', ' '+ 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 = 27*_ratio.ratioX, Node22height = 25*_ratio.ratioY;
- (function () {
- if (Node22align === 'left') {
- Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9;
- Node22textWidth = Node22width;
- Node22lineStart = 1;
- } else if (Node22align === 'right') {
- Node22textStart = 0;
- Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2;
- Node22lineStart = (Node22width - (ht.Default.getTextSize('396', ' '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22align === 'center') {
- Node22textStart = -3;
- Node22textWidth = Node22width;
- Node22lineStart = Node22width - ht.Default.getTextSize('396', ' '+ Node22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, ' '+ Node22fontSize + 'px "Arial"'))
- Node22.setPosition(380*ratio.ratioX, 392*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','396');
- Node22.a('node.textalign','left');
- Node22.a('node.textvAlign','middle');
- Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]);
- Node22.a('node.color','rgba(0,0,0,1)');
- Node22.a('node.font',' '+ Node22fontSize + 'px "Arial"');
- Node22.a('node.textvisible',true);
- Node22.a('node.linefeed',false);
- if (false) {
- Node22.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node22.a('node.text') || '396';
- 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,' '+ Node22fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22.a('node.underlinepoints',[Node22lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 205*_ratio.ratioX, Node23height = 25*_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('V', ' '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23align === 'center') {
- Node23textStart = -3;
- Node23textWidth = Node23width;
- Node23lineStart = Node23width - ht.Default.getTextSize('V', ' '+ Node23fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, ' '+ Node23fontSize + 'px "Arial"'))
- Node23.setPosition(524*ratio.ratioX, 392*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(14,151,102,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','V');
- Node23.a('node.textalign','left');
- Node23.a('node.textvAlign','middle');
- Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
- Node23.a('node.color','rgba(14,151,102,1)');
- Node23.a('node.font',' '+ Node23fontSize + 'px "Arial"');
- Node23.a('node.textvisible',true);
- Node23.a('node.linefeed',false);
- if (false) {
- Node23.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node23.a('node.text') || 'V';
- var color=Node23.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,' '+ Node23fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23.a('node.underlinepoints',[Node23lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('V', ' '+ 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 = 205*_ratio.ratioX, Node24height = 24*_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('机组B相电压', ' '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24align === 'center') {
- Node24textStart = -3;
- Node24textWidth = Node24width;
- Node24lineStart = Node24width - ht.Default.getTextSize('机组B相电压', ' '+ Node24fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, ' '+ Node24fontSize + 'px "Arial"'))
- Node24.setPosition(314*ratio.ratioX, 362*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(14,151,102,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','机组B相电压');
- Node24.a('node.textalign','left');
- Node24.a('node.textvAlign','middle');
- Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]);
- Node24.a('node.color','rgba(14,151,102,1)');
- Node24.a('node.font',' '+ Node24fontSize + 'px "Arial"');
- Node24.a('node.textvisible',true);
- Node24.a('node.linefeed',false);
- if (false) {
- Node24.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node24.a('node.text') || '机组B相电压';
- var color=Node24.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,' '+ Node24fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24.a('node.underlinepoints',[Node24lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('机组B相电压', ' '+ 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 = 35*_ratio.ratioX, Node25height = 25*_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('396', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node25align === 'center') {
- Node25textStart = -3;
- Node25textWidth = Node25width;
- Node25lineStart = Node25width - ht.Default.getTextSize('396', ' '+ Node25fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"'))
- Node25.setPosition(384*ratio.ratioX, 362*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(0,0,0,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','396');
- Node25.a('node.textalign','left');
- Node25.a('node.textvAlign','middle');
- Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]);
- Node25.a('node.color','rgba(0,0,0,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') || '396';
- var color=Node25.a('node.color') || 'rgba(0,0,0,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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 Node26 = new ht.Node();
- var Node26textStart, Node26textWidth, Node26lineStart, Node26align = 'left', Node26fontSize = 13.3333*_ratio.ratioY,Node26width = 205*_ratio.ratioX, Node26height = 25*_ratio.ratioY;
- (function () {
- if (Node26align === 'left') {
- Node26textStart = Node26fontSize * 0.2 > 2 ? Node26fontSize * 0.2 - 4 : Node26fontSize * 0.2 - 9;
- Node26textWidth = Node26width;
- Node26lineStart = 1;
- } else if (Node26align === 'right') {
- Node26textStart = 0;
- Node26textWidth =Node26fontSize <= 8 ? Node26width + Node26fontSize * 0.2 + 6 : Node26width - Node26fontSize * 0.2;
- Node26lineStart = (Node26width - (ht.Default.getTextSize('V', ' '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26align === 'center') {
- Node26textStart = -3;
- Node26textWidth = Node26width;
- Node26lineStart = Node26width - ht.Default.getTextSize('V', ' '+ Node26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, ' '+ Node26fontSize + 'px "Arial"'))
- Node26.setPosition(524*ratio.ratioX, 362*ratio.ratioY);
- Node26.setWidth(Node26width);
- Node26.setHeight(Node26height);
- Node26._nodeType = 'text';
- Node26._disallowEvert = true;
- Node26.setRotation(0*Math.PI/180);
- Node26.a('node.width', Node26width);
- Node26.a('node.height', Node26height);
- Node26.a('node.rect', [0, 0, Node26width, Node26height]);
- Node26.a('node.bordercolor','rgba(14,151,102,1)');
- Node26.a('node.borderwidth', 0);
- Node26.a('node.background','' || 'rgba(0,0,0,0)');
- Node26.a('node.gradient','');
- Node26.a('node.gradientcolor','');
- Node26.a('node.text','V');
- Node26.a('node.textalign','left');
- Node26.a('node.textvAlign','middle');
- Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
- Node26.a('node.color','rgba(14,151,102,1)');
- Node26.a('node.font',' '+ Node26fontSize + 'px "Arial"');
- Node26.a('node.textvisible',true);
- Node26.a('node.linefeed',false);
- if (false) {
- Node26.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node26.a('node.text') || 'V';
- var color=Node26.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node26width,Node26height,13.3333*_ratio.ratioY,"left",color,' '+ Node26fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26.a('node.underlinepoints',[Node26lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('V', ' '+ Node26fontSize + 'px "Arial"').width + 6, (Node26height - Node26fontSize) * 0.5*_ratio.ratioY + Node26fontSize + 2 ]);
- Node26.a('node.underlinevisible',false);
- Node26.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node26);
- zoomNodeList.push({
- node: Node26,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27 = new ht.Node();
- var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'left', Node27fontSize = 13.3333*_ratio.ratioY,Node27width = 205*_ratio.ratioX, Node27height = 24*_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('机组A相电压', ' '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27align === 'center') {
- Node27textStart = -3;
- Node27textWidth = Node27width;
- Node27lineStart = Node27width - ht.Default.getTextSize('机组A相电压', ' '+ Node27fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27.setImage(GD.getTextJSON(Node27width, Node27height, true, false, false, ' '+ Node27fontSize + 'px "Arial"'))
- Node27.setPosition(314*ratio.ratioX, 333*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(14,151,102,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','机组A相电压');
- Node27.a('node.textalign','left');
- Node27.a('node.textvAlign','middle');
- Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]);
- Node27.a('node.color','rgba(14,151,102,1)');
- Node27.a('node.font',' '+ Node27fontSize + 'px "Arial"');
- Node27.a('node.textvisible',true);
- Node27.a('node.linefeed',false);
- if (false) {
- Node27.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27.a('node.text') || '机组A相电压';
- var color=Node27.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27width,Node27height,13.3333*_ratio.ratioY,"left",color,' '+ Node27fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27.a('node.underlinepoints',[Node27lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('机组A相电压', ' '+ 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 Node28 = new ht.Node();
- var Node28textStart, Node28textWidth, Node28lineStart, Node28align = 'left', Node28fontSize = 13.3333*_ratio.ratioY,Node28width = 35*_ratio.ratioX, Node28height = 25*_ratio.ratioY;
- (function () {
- if (Node28align === 'left') {
- Node28textStart = Node28fontSize * 0.2 > 2 ? Node28fontSize * 0.2 - 4 : Node28fontSize * 0.2 - 9;
- Node28textWidth = Node28width;
- Node28lineStart = 1;
- } else if (Node28align === 'right') {
- Node28textStart = 0;
- Node28textWidth =Node28fontSize <= 8 ? Node28width + Node28fontSize * 0.2 + 6 : Node28width - Node28fontSize * 0.2;
- Node28lineStart = (Node28width - (ht.Default.getTextSize('396', ' '+ Node28fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28align === 'center') {
- Node28textStart = -3;
- Node28textWidth = Node28width;
- Node28lineStart = Node28width - ht.Default.getTextSize('396', ' '+ Node28fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28.setImage(GD.getTextJSON(Node28width, Node28height, true, false, false, ' '+ Node28fontSize + 'px "Arial"'))
- Node28.setPosition(384*ratio.ratioX, 333*ratio.ratioY);
- Node28.setWidth(Node28width);
- Node28.setHeight(Node28height);
- Node28._nodeType = 'text';
- Node28._disallowEvert = true;
- Node28.setRotation(0*Math.PI/180);
- Node28.a('node.width', Node28width);
- Node28.a('node.height', Node28height);
- Node28.a('node.rect', [0, 0, Node28width, Node28height]);
- Node28.a('node.bordercolor','rgba(0,0,0,1)');
- Node28.a('node.borderwidth', 0);
- Node28.a('node.background','' || 'rgba(0,0,0,0)');
- Node28.a('node.gradient','');
- Node28.a('node.gradientcolor','');
- Node28.a('node.text','396');
- Node28.a('node.textalign','left');
- Node28.a('node.textvAlign','middle');
- Node28.a('node.textrect', [Node28textStart, 0, Node28textWidth, Node28height]);
- Node28.a('node.color','rgba(0,0,0,1)');
- Node28.a('node.font',' '+ Node28fontSize + 'px "Arial"');
- Node28.a('node.textvisible',true);
- Node28.a('node.linefeed',false);
- if (false) {
- Node28.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28.a('node.text') || '396';
- var color=Node28.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28width,Node28height,13.3333*_ratio.ratioY,"left",color,' '+ Node28fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node28.a('node.underlinepoints',[Node28lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node28fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node28fontSize + 'px "Arial"').width + 6, (Node28height - Node28fontSize) * 0.5*_ratio.ratioY + Node28fontSize + 2 ]);
- Node28.a('node.underlinevisible',false);
- Node28.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28);
- zoomNodeList.push({
- node: Node28,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29 = new ht.Node();
- var Node29textStart, Node29textWidth, Node29lineStart, Node29align = 'left', Node29fontSize = 13.3333*_ratio.ratioY,Node29width = 205*_ratio.ratioX, Node29height = 25*_ratio.ratioY;
- (function () {
- if (Node29align === 'left') {
- Node29textStart = Node29fontSize * 0.2 > 2 ? Node29fontSize * 0.2 - 4 : Node29fontSize * 0.2 - 9;
- Node29textWidth = Node29width;
- Node29lineStart = 1;
- } else if (Node29align === 'right') {
- Node29textStart = 0;
- Node29textWidth =Node29fontSize <= 8 ? Node29width + Node29fontSize * 0.2 + 6 : Node29width - Node29fontSize * 0.2;
- Node29lineStart = (Node29width - (ht.Default.getTextSize('V', ' '+ Node29fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node29align === 'center') {
- Node29textStart = -3;
- Node29textWidth = Node29width;
- Node29lineStart = Node29width - ht.Default.getTextSize('V', ' '+ Node29fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node29.setImage(GD.getTextJSON(Node29width, Node29height, true, false, false, ' '+ Node29fontSize + 'px "Arial"'))
- Node29.setPosition(524*ratio.ratioX, 333*ratio.ratioY);
- Node29.setWidth(Node29width);
- Node29.setHeight(Node29height);
- Node29._nodeType = 'text';
- Node29._disallowEvert = true;
- Node29.setRotation(0*Math.PI/180);
- Node29.a('node.width', Node29width);
- Node29.a('node.height', Node29height);
- Node29.a('node.rect', [0, 0, Node29width, Node29height]);
- Node29.a('node.bordercolor','rgba(14,151,102,1)');
- Node29.a('node.borderwidth', 0);
- Node29.a('node.background','' || 'rgba(0,0,0,0)');
- Node29.a('node.gradient','');
- Node29.a('node.gradientcolor','');
- Node29.a('node.text','V');
- Node29.a('node.textalign','left');
- Node29.a('node.textvAlign','middle');
- Node29.a('node.textrect', [Node29textStart, 0, Node29textWidth, Node29height]);
- Node29.a('node.color','rgba(14,151,102,1)');
- Node29.a('node.font',' '+ Node29fontSize + 'px "Arial"');
- Node29.a('node.textvisible',true);
- Node29.a('node.linefeed',false);
- if (false) {
- Node29.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29.a('node.text') || 'V';
- var color=Node29.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29width,Node29height,13.3333*_ratio.ratioY,"left",color,' '+ Node29fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node29.a('node.underlinepoints',[Node29lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node29fontSize + 2 , ht.Default.getTextSize('V', ' '+ Node29fontSize + 'px "Arial"').width + 6, (Node29height - Node29fontSize) * 0.5*_ratio.ratioY + Node29fontSize + 2 ]);
- Node29.a('node.underlinevisible',false);
- Node29.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29);
- zoomNodeList.push({
- node: Node29,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_0type = 'rect';
- var Node30_0 = new ht.Node(),
- Node30_0BorderWidth = 1*2;
- if (Node30_0type === 'arc') {
- Node30_0BorderWidth *= 1;
- }
- Node30_0.setImage(GD.getRectJSON(253*_ratio.ratioX, 27*_ratio.ratioY, Node30_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_0.setPosition(323*ratio.ratioX, 219*ratio.ratioY);
- Node30_0.setSize(253*_ratio.ratioX, 27*_ratio.ratioY);
- Node30_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_0.a('node.width', 253*_ratio.ratioX);
- Node30_0.a('node.height', 27*_ratio.ratioY);
- Node30_0.a('node.type', Node30_0type);
- Node30_0.a('node.rect', [0, 0, 253*_ratio.ratioX, 27*_ratio.ratioY]);
- Node30_0.a('node.background', 'rgba(210,242,231,1)');
- Node30_0.a('node.gradientcolor', 'rgba(210,242,231,1)');
- Node30_0.a('node.gradient', '');
- Node30_0.a('node.borderwidth', Node30_0BorderWidth);
- Node30_0.a('node.color', 'rgba(210,242,231,1)');
- Node30_0.a('node.fillrect', [0,0,0,0]);
- Node30_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_0.a('node.fillgradient', '');
- if (Node30_0type !== 'rect') {
- Node30_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_0type === 'arc') {
- Node30_0.a('node.arcOval', true);
- }
- Node30_0.setRotation(0*Math.PI/180);
- Node30_0.borderWidth = Node30_0BorderWidth;
- Node30_0.borderFillwidth = Node30_0BorderWidth;
- dataModel.add(Node30_0);
- Node30_0._nodename = 'Node30_0'
- Node30_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30_0, Node30_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_1 = new ht.Node();
- var Node30_1textStart, Node30_1textWidth, Node30_1lineStart, Node30_1align = 'left', Node30_1fontSize = 13.3333*_ratio.ratioY,Node30_1width = 151*_ratio.ratioX, Node30_1height = 36*_ratio.ratioY;
- (function () {
- if (Node30_1align === 'left') {
- Node30_1textStart = Node30_1fontSize * 0.2 > 2 ? Node30_1fontSize * 0.2 - 4 : Node30_1fontSize * 0.2 - 9;
- Node30_1textWidth = Node30_1width;
- Node30_1lineStart = 1;
- } else if (Node30_1align === 'right') {
- Node30_1textStart = 0;
- Node30_1textWidth =Node30_1fontSize <= 8 ? Node30_1width + Node30_1fontSize * 0.2 + 6 : Node30_1width - Node30_1fontSize * 0.2;
- Node30_1lineStart = (Node30_1width - (ht.Default.getTextSize('机舱信息', ' '+ Node30_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30_1align === 'center') {
- Node30_1textStart = -3;
- Node30_1textWidth = Node30_1width;
- Node30_1lineStart = Node30_1width - ht.Default.getTextSize('机舱信息', ' '+ Node30_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30_1.setImage(GD.getTextJSON(Node30_1width, Node30_1height, true, false, false, ' '+ Node30_1fontSize + 'px "Arial"'))
- Node30_1.setPosition(288*ratio.ratioX, 221*ratio.ratioY);
- Node30_1.setWidth(Node30_1width);
- Node30_1.setHeight(Node30_1height);
- Node30_1._nodeType = 'text';
- Node30_1._disallowEvert = true;
- Node30_1.setRotation(0*Math.PI/180);
- Node30_1.a('node.width', Node30_1width);
- Node30_1.a('node.height', Node30_1height);
- Node30_1.a('node.rect', [0, 0, Node30_1width, Node30_1height]);
- Node30_1.a('node.bordercolor','rgba(14,151,102,1)');
- Node30_1.a('node.borderwidth', 0);
- Node30_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_1.a('node.gradient','');
- Node30_1.a('node.gradientcolor','');
- Node30_1.a('node.text','机舱信息');
- Node30_1.a('node.textalign','left');
- Node30_1.a('node.textvAlign','middle');
- Node30_1.a('node.textrect', [Node30_1textStart, 0, Node30_1textWidth, Node30_1height]);
- Node30_1.a('node.color','rgba(14,151,102,1)');
- Node30_1.a('node.font',' '+ Node30_1fontSize + 'px "Arial"');
- Node30_1.a('node.textvisible',true);
- Node30_1.a('node.linefeed',false);
- if (false) {
- Node30_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_1.a('node.text') || '机舱信息';
- var color=Node30_1.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_1width,Node30_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node30_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30_1.a('node.underlinepoints',[Node30_1lineStart, (36 - 13.3333) * 0.5 * _ratio.ratioY + Node30_1fontSize + 2 , ht.Default.getTextSize('机舱信息', ' '+ Node30_1fontSize + 'px "Arial"').width + 6, (Node30_1height - Node30_1fontSize) * 0.5*_ratio.ratioY + Node30_1fontSize + 2 ]);
- Node30_1.a('node.underlinevisible',false);
- Node30_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_1);
- zoomNodeList.push({
- node: Node30_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31 = new ht.Node();
- var Node31textStart, Node31textWidth, Node31lineStart, Node31align = 'left', Node31fontSize = 13.3333*_ratio.ratioY,Node31width = 205*_ratio.ratioX, Node31height = 28*_ratio.ratioY;
- (function () {
- if (Node31align === 'left') {
- Node31textStart = Node31fontSize * 0.2 > 2 ? Node31fontSize * 0.2 - 4 : Node31fontSize * 0.2 - 9;
- Node31textWidth = Node31width;
- Node31lineStart = 1;
- } else if (Node31align === 'right') {
- Node31textStart = 0;
- Node31textWidth =Node31fontSize <= 8 ? Node31width + Node31fontSize * 0.2 + 6 : Node31width - Node31fontSize * 0.2;
- Node31lineStart = (Node31width - (ht.Default.getTextSize('发电机转速', ' '+ Node31fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node31align === 'center') {
- Node31textStart = -3;
- Node31textWidth = Node31width;
- Node31lineStart = Node31width - ht.Default.getTextSize('发电机转速', ' '+ Node31fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node31.setImage(GD.getTextJSON(Node31width, Node31height, true, false, false, ' '+ Node31fontSize + 'px "Arial"'))
- Node31.setPosition(319*ratio.ratioX, 462*ratio.ratioY);
- Node31.setWidth(Node31width);
- Node31.setHeight(Node31height);
- Node31._nodeType = 'text';
- Node31._disallowEvert = true;
- Node31.setRotation(0*Math.PI/180);
- Node31.a('node.width', Node31width);
- Node31.a('node.height', Node31height);
- Node31.a('node.rect', [0, 0, Node31width, Node31height]);
- Node31.a('node.bordercolor','rgba(14,151,102,1)');
- Node31.a('node.borderwidth', 0);
- Node31.a('node.background','' || 'rgba(0,0,0,0)');
- Node31.a('node.gradient','');
- Node31.a('node.gradientcolor','');
- Node31.a('node.text','发电机转速');
- Node31.a('node.textalign','left');
- Node31.a('node.textvAlign','middle');
- Node31.a('node.textrect', [Node31textStart, 0, Node31textWidth, Node31height]);
- Node31.a('node.color','rgba(14,151,102,1)');
- Node31.a('node.font',' '+ Node31fontSize + 'px "Arial"');
- Node31.a('node.textvisible',true);
- Node31.a('node.linefeed',false);
- if (false) {
- Node31.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node31.a('node.text') || '发电机转速';
- var color=Node31.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node31width,Node31height,13.3333*_ratio.ratioY,"left",color,' '+ Node31fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31.a('node.underlinepoints',[Node31lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node31fontSize + 2 , ht.Default.getTextSize('发电机转速', ' '+ Node31fontSize + 'px "Arial"').width + 6, (Node31height - Node31fontSize) * 0.5*_ratio.ratioY + Node31fontSize + 2 ]);
- Node31.a('node.underlinevisible',false);
- Node31.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node31);
- zoomNodeList.push({
- node: Node31,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32type = 'rect';
- var Node32 = new ht.Node(),
- Node32BorderWidth = 1*2;
- if (Node32type === 'arc') {
- Node32BorderWidth *= 1;
- }
- Node32.setImage(GD.getRectJSON(250*_ratio.ratioX, 10*_ratio.ratioY, Node32type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node32.setPosition(322*ratio.ratioX, 414*ratio.ratioY);
- Node32.setSize(250*_ratio.ratioX, 10*_ratio.ratioY);
- Node32.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node32.a('node.width', 250*_ratio.ratioX);
- Node32.a('node.height', 10*_ratio.ratioY);
- Node32.a('node.type', Node32type);
- Node32.a('node.rect', [0, 0, 250*_ratio.ratioX, 10*_ratio.ratioY]);
- Node32.a('node.background', 'rgba(234,234,234,1)');
- Node32.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node32.a('node.gradient', '');
- Node32.a('node.borderwidth', Node32BorderWidth);
- Node32.a('node.color', 'rgba(234,234,234,1)');
- Node32.a('node.fillrect', [0,0,0,0]);
- Node32.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node32.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node32.a('node.fillgradient', '');
- if (Node32type !== 'rect') {
- Node32.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node32.a('node.arcTo', parseFloat('@arcTo@'));
- Node32.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node32type === 'arc') {
- Node32.a('node.arcOval', true);
- }
- Node32.setRotation(0*Math.PI/180);
- Node32.borderWidth = Node32BorderWidth;
- Node32.borderFillwidth = Node32BorderWidth;
- dataModel.add(Node32);
- Node32._nodename = 'Node32'
- Node32._nodeType = 'rect';
- zoomNodeList.push({
- node: Node32,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node32, Node32.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33 = new ht.Node();
- var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 13.3333*_ratio.ratioY,Node33width = 205*_ratio.ratioX, Node33height = 28*_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('发电机线圈L1温度', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33align === 'center') {
- Node33textStart = -3;
- Node33textWidth = Node33width;
- Node33lineStart = Node33width - ht.Default.getTextSize('发电机线圈L1温度', ' '+ Node33fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"'))
- Node33.setPosition(319*ratio.ratioX, 491*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(14,151,102,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','发电机线圈L1温度');
- Node33.a('node.textalign','left');
- Node33.a('node.textvAlign','middle');
- Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
- Node33.a('node.color','rgba(14,151,102,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') || '发电机线圈L1温度';
- var color=Node33.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node33width,Node33height,13.3333*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33.a('node.underlinepoints',[Node33lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('发电机线圈L1温度', ' '+ 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 = 205*_ratio.ratioX, Node34height = 29*_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('发电机线圈L2温度', ' '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34align === 'center') {
- Node34textStart = -3;
- Node34textWidth = Node34width;
- Node34lineStart = Node34width - ht.Default.getTextSize('发电机线圈L2温度', ' '+ Node34fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, ' '+ Node34fontSize + 'px "Arial"'))
- Node34.setPosition(319*ratio.ratioX, 520*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(14,151,102,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','发电机线圈L2温度');
- Node34.a('node.textalign','left');
- Node34.a('node.textvAlign','middle');
- Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
- Node34.a('node.color','rgba(14,151,102,1)');
- Node34.a('node.font',' '+ 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') || '发电机线圈L2温度';
- var color=Node34.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,' '+ Node34fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34.a('node.underlinepoints',[Node34lineStart, (29 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('发电机线圈L2温度', ' '+ 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 = 205*_ratio.ratioX, Node35height = 29*_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('发电机线圈L3温度', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35align === 'center') {
- Node35textStart = -3;
- Node35textWidth = Node35width;
- Node35lineStart = Node35width - ht.Default.getTextSize('发电机线圈L3温度', ' '+ Node35fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"'))
- Node35.setPosition(319*ratio.ratioX, 549*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(14,151,102,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','发电机线圈L3温度');
- Node35.a('node.textalign','left');
- Node35.a('node.textvAlign','middle');
- Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]);
- Node35.a('node.color','rgba(14,151,102,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') || '发电机线圈L3温度';
- var color=Node35.a('node.color') || 'rgba(14,151,102,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, (29 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('发电机线圈L3温度', ' '+ 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 Node36type = 'rect';
- var Node36 = new ht.Node(),
- Node36BorderWidth = 1*2;
- if (Node36type === 'arc') {
- Node36BorderWidth *= 1;
- }
- Node36.setImage(GD.getRectJSON(10*_ratio.ratioX, 670*_ratio.ratioY, Node36type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36.setPosition(192*ratio.ratioX, 541*ratio.ratioY);
- Node36.setSize(10*_ratio.ratioX, 670*_ratio.ratioY);
- Node36.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36.a('node.width', 10*_ratio.ratioX);
- Node36.a('node.height', 670*_ratio.ratioY);
- Node36.a('node.type', Node36type);
- Node36.a('node.rect', [0, 0, 10*_ratio.ratioX, 670*_ratio.ratioY]);
- Node36.a('node.background', 'rgba(234,234,234,1)');
- Node36.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node36.a('node.gradient', '');
- Node36.a('node.borderwidth', Node36BorderWidth);
- Node36.a('node.color', 'rgba(234,234,234,1)');
- Node36.a('node.fillrect', [0,0,0,0]);
- Node36.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36.a('node.fillgradient', '');
- if (Node36type !== 'rect') {
- Node36.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36.a('node.arcTo', parseFloat('@arcTo@'));
- Node36.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36type === 'arc') {
- Node36.a('node.arcOval', true);
- }
- Node36.setRotation(0*Math.PI/180);
- Node36.borderWidth = Node36BorderWidth;
- Node36.borderFillwidth = Node36BorderWidth;
- dataModel.add(Node36);
- Node36._nodename = 'Node36'
- Node36._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36, Node36.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37 = new ht.Node();
- var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 125*_ratio.ratioX, Node37height = 29*_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(219*ratio.ratioX, 578*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(14,151,102,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(14,151,102,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(14,151,102,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, (29 - 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_0type = 'rect';
- var Node38_0 = new ht.Node(),
- Node38_0BorderWidth = 1*2;
- if (Node38_0type === 'arc') {
- Node38_0BorderWidth *= 1;
- }
- Node38_0.setImage(GD.getRectJSON(253*_ratio.ratioX, 27*_ratio.ratioY, Node38_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_0.setPosition(323*ratio.ratioX, 617*ratio.ratioY);
- Node38_0.setSize(253*_ratio.ratioX, 27*_ratio.ratioY);
- Node38_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_0.a('node.width', 253*_ratio.ratioX);
- Node38_0.a('node.height', 27*_ratio.ratioY);
- Node38_0.a('node.type', Node38_0type);
- Node38_0.a('node.rect', [0, 0, 253*_ratio.ratioX, 27*_ratio.ratioY]);
- Node38_0.a('node.background', 'rgba(210,242,231,1)');
- Node38_0.a('node.gradientcolor', 'rgba(210,242,231,1)');
- Node38_0.a('node.gradient', '');
- Node38_0.a('node.borderwidth', Node38_0BorderWidth);
- Node38_0.a('node.color', 'rgba(210,242,231,1)');
- Node38_0.a('node.fillrect', [0,0,0,0]);
- Node38_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_0.a('node.fillgradient', '');
- if (Node38_0type !== 'rect') {
- Node38_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_0type === 'arc') {
- Node38_0.a('node.arcOval', true);
- }
- Node38_0.setRotation(0*Math.PI/180);
- Node38_0.borderWidth = Node38_0BorderWidth;
- Node38_0.borderFillwidth = Node38_0BorderWidth;
- dataModel.add(Node38_0);
- Node38_0._nodename = 'Node38_0'
- Node38_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node38_0, Node38_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_1 = new ht.Node();
- var Node38_1textStart, Node38_1textWidth, Node38_1lineStart, Node38_1align = 'left', Node38_1fontSize = 13.3333*_ratio.ratioY,Node38_1width = 151*_ratio.ratioX, Node38_1height = 36*_ratio.ratioY;
- (function () {
- if (Node38_1align === 'left') {
- Node38_1textStart = Node38_1fontSize * 0.2 > 2 ? Node38_1fontSize * 0.2 - 4 : Node38_1fontSize * 0.2 - 9;
- Node38_1textWidth = Node38_1width;
- Node38_1lineStart = 1;
- } else if (Node38_1align === 'right') {
- Node38_1textStart = 0;
- Node38_1textWidth =Node38_1fontSize <= 8 ? Node38_1width + Node38_1fontSize * 0.2 + 6 : Node38_1width - Node38_1fontSize * 0.2;
- Node38_1lineStart = (Node38_1width - (ht.Default.getTextSize('齿轮箱信息', ' '+ Node38_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38_1align === 'center') {
- Node38_1textStart = -3;
- Node38_1textWidth = Node38_1width;
- Node38_1lineStart = Node38_1width - ht.Default.getTextSize('齿轮箱信息', ' '+ Node38_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38_1.setImage(GD.getTextJSON(Node38_1width, Node38_1height, true, false, false, ' '+ Node38_1fontSize + 'px "Arial"'))
- Node38_1.setPosition(288*ratio.ratioX, 619*ratio.ratioY);
- Node38_1.setWidth(Node38_1width);
- Node38_1.setHeight(Node38_1height);
- Node38_1._nodeType = 'text';
- Node38_1._disallowEvert = true;
- Node38_1.setRotation(0*Math.PI/180);
- Node38_1.a('node.width', Node38_1width);
- Node38_1.a('node.height', Node38_1height);
- Node38_1.a('node.rect', [0, 0, Node38_1width, Node38_1height]);
- Node38_1.a('node.bordercolor','rgba(14,151,102,1)');
- Node38_1.a('node.borderwidth', 0);
- Node38_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_1.a('node.gradient','');
- Node38_1.a('node.gradientcolor','');
- Node38_1.a('node.text','齿轮箱信息');
- Node38_1.a('node.textalign','left');
- Node38_1.a('node.textvAlign','middle');
- Node38_1.a('node.textrect', [Node38_1textStart, 0, Node38_1textWidth, Node38_1height]);
- Node38_1.a('node.color','rgba(14,151,102,1)');
- Node38_1.a('node.font',' '+ Node38_1fontSize + 'px "Arial"');
- Node38_1.a('node.textvisible',true);
- Node38_1.a('node.linefeed',false);
- if (false) {
- Node38_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_1.a('node.text') || '齿轮箱信息';
- var color=Node38_1.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_1width,Node38_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node38_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38_1.a('node.underlinepoints',[Node38_1lineStart, (36 - 13.3333) * 0.5 * _ratio.ratioY + Node38_1fontSize + 2 , ht.Default.getTextSize('齿轮箱信息', ' '+ Node38_1fontSize + 'px "Arial"').width + 6, (Node38_1height - Node38_1fontSize) * 0.5*_ratio.ratioY + Node38_1fontSize + 2 ]);
- Node38_1.a('node.underlinevisible',false);
- Node38_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_1);
- zoomNodeList.push({
- node: Node38_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39_0type = 'rect';
- var Node39_0 = new ht.Node(),
- Node39_0BorderWidth = 1*2;
- if (Node39_0type === 'arc') {
- Node39_0BorderWidth *= 1;
- }
- Node39_0.setImage(GD.getRectJSON(253*_ratio.ratioX, 27*_ratio.ratioY, Node39_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node39_0.setPosition(323*ratio.ratioX, 432*ratio.ratioY);
- Node39_0.setSize(253*_ratio.ratioX, 27*_ratio.ratioY);
- Node39_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node39_0.a('node.width', 253*_ratio.ratioX);
- Node39_0.a('node.height', 27*_ratio.ratioY);
- Node39_0.a('node.type', Node39_0type);
- Node39_0.a('node.rect', [0, 0, 253*_ratio.ratioX, 27*_ratio.ratioY]);
- Node39_0.a('node.background', 'rgba(210,242,231,1)');
- Node39_0.a('node.gradientcolor', 'rgba(210,242,231,1)');
- Node39_0.a('node.gradient', '');
- Node39_0.a('node.borderwidth', Node39_0BorderWidth);
- Node39_0.a('node.color', 'rgba(210,242,231,1)');
- Node39_0.a('node.fillrect', [0,0,0,0]);
- Node39_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node39_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node39_0.a('node.fillgradient', '');
- if (Node39_0type !== 'rect') {
- Node39_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node39_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node39_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node39_0type === 'arc') {
- Node39_0.a('node.arcOval', true);
- }
- Node39_0.setRotation(0*Math.PI/180);
- Node39_0.borderWidth = Node39_0BorderWidth;
- Node39_0.borderFillwidth = Node39_0BorderWidth;
- dataModel.add(Node39_0);
- Node39_0._nodename = 'Node39_0'
- Node39_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node39_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node39_0, Node39_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39_1 = new ht.Node();
- var Node39_1textStart, Node39_1textWidth, Node39_1lineStart, Node39_1align = 'left', Node39_1fontSize = 13.3333*_ratio.ratioY,Node39_1width = 151*_ratio.ratioX, Node39_1height = 36*_ratio.ratioY;
- (function () {
- if (Node39_1align === 'left') {
- Node39_1textStart = Node39_1fontSize * 0.2 > 2 ? Node39_1fontSize * 0.2 - 4 : Node39_1fontSize * 0.2 - 9;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = 1;
- } else if (Node39_1align === 'right') {
- Node39_1textStart = 0;
- Node39_1textWidth =Node39_1fontSize <= 8 ? Node39_1width + Node39_1fontSize * 0.2 + 6 : Node39_1width - Node39_1fontSize * 0.2;
- Node39_1lineStart = (Node39_1width - (ht.Default.getTextSize('发电机信息', ' '+ Node39_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39_1align === 'center') {
- Node39_1textStart = -3;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = Node39_1width - ht.Default.getTextSize('发电机信息', ' '+ Node39_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39_1.setImage(GD.getTextJSON(Node39_1width, Node39_1height, true, false, false, ' '+ Node39_1fontSize + 'px "Arial"'))
- Node39_1.setPosition(288*ratio.ratioX, 434*ratio.ratioY);
- Node39_1.setWidth(Node39_1width);
- Node39_1.setHeight(Node39_1height);
- Node39_1._nodeType = 'text';
- Node39_1._disallowEvert = true;
- Node39_1.setRotation(0*Math.PI/180);
- Node39_1.a('node.width', Node39_1width);
- Node39_1.a('node.height', Node39_1height);
- Node39_1.a('node.rect', [0, 0, Node39_1width, Node39_1height]);
- Node39_1.a('node.bordercolor','rgba(14,151,102,1)');
- Node39_1.a('node.borderwidth', 0);
- Node39_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node39_1.a('node.gradient','');
- Node39_1.a('node.gradientcolor','');
- Node39_1.a('node.text','发电机信息');
- Node39_1.a('node.textalign','left');
- Node39_1.a('node.textvAlign','middle');
- Node39_1.a('node.textrect', [Node39_1textStart, 0, Node39_1textWidth, Node39_1height]);
- Node39_1.a('node.color','rgba(14,151,102,1)');
- Node39_1.a('node.font',' '+ Node39_1fontSize + 'px "Arial"');
- Node39_1.a('node.textvisible',true);
- Node39_1.a('node.linefeed',false);
- if (false) {
- Node39_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39_1.a('node.text') || '发电机信息';
- var color=Node39_1.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39_1width,Node39_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node39_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39_1.a('node.underlinepoints',[Node39_1lineStart, (36 - 13.3333) * 0.5 * _ratio.ratioY + Node39_1fontSize + 2 , ht.Default.getTextSize('发电机信息', ' '+ Node39_1fontSize + 'px "Arial"').width + 6, (Node39_1height - Node39_1fontSize) * 0.5*_ratio.ratioY + Node39_1fontSize + 2 ]);
- Node39_1.a('node.underlinevisible',false);
- Node39_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39_1);
- zoomNodeList.push({
- node: Node39_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40type = 'rect';
- var Node40 = new ht.Node(),
- Node40BorderWidth = 1*2;
- if (Node40type === 'arc') {
- Node40BorderWidth *= 1;
- }
- Node40.setImage(GD.getRectJSON(250*_ratio.ratioX, 10*_ratio.ratioY, Node40type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40.setPosition(322*ratio.ratioX, 599*ratio.ratioY);
- Node40.setSize(250*_ratio.ratioX, 10*_ratio.ratioY);
- Node40.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40.a('node.width', 250*_ratio.ratioX);
- Node40.a('node.height', 10*_ratio.ratioY);
- Node40.a('node.type', Node40type);
- Node40.a('node.rect', [0, 0, 250*_ratio.ratioX, 10*_ratio.ratioY]);
- Node40.a('node.background', 'rgba(234,234,234,1)');
- Node40.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node40.a('node.gradient', '');
- Node40.a('node.borderwidth', Node40BorderWidth);
- Node40.a('node.color', 'rgba(234,234,234,1)');
- Node40.a('node.fillrect', [0,0,0,0]);
- Node40.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradient', '');
- if (Node40type !== 'rect') {
- Node40.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40.a('node.arcTo', parseFloat('@arcTo@'));
- Node40.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40type === 'arc') {
- Node40.a('node.arcOval', true);
- }
- Node40.setRotation(0*Math.PI/180);
- Node40.borderWidth = Node40BorderWidth;
- Node40.borderFillwidth = Node40BorderWidth;
- dataModel.add(Node40);
- Node40._nodename = 'Node40'
- Node40._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node40, Node40.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.Node();
- var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 13.3333*_ratio.ratioY,Node41width = 205*_ratio.ratioX, Node41height = 25*_ratio.ratioY;
- (function () {
- if (Node41align === 'left') {
- Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9;
- Node41textWidth = Node41width;
- Node41lineStart = 1;
- } else if (Node41align === 'right') {
- Node41textStart = 0;
- Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2;
- Node41lineStart = (Node41width - (ht.Default.getTextSize('rpm', ' '+ Node41fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node41align === 'center') {
- Node41textStart = -3;
- Node41textWidth = Node41width;
- Node41lineStart = Node41width - ht.Default.getTextSize('rpm', ' '+ Node41fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, ' '+ Node41fontSize + 'px "Arial"'))
- Node41.setPosition(514*ratio.ratioX, 460*ratio.ratioY);
- Node41.setWidth(Node41width);
- Node41.setHeight(Node41height);
- Node41._nodeType = 'text';
- Node41._disallowEvert = true;
- Node41.setRotation(0*Math.PI/180);
- Node41.a('node.width', Node41width);
- Node41.a('node.height', Node41height);
- Node41.a('node.rect', [0, 0, Node41width, Node41height]);
- Node41.a('node.bordercolor','rgba(14,151,102,1)');
- Node41.a('node.borderwidth', 0);
- Node41.a('node.background','' || 'rgba(0,0,0,0)');
- Node41.a('node.gradient','');
- Node41.a('node.gradientcolor','');
- Node41.a('node.text','rpm');
- Node41.a('node.textalign','left');
- Node41.a('node.textvAlign','middle');
- Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]);
- Node41.a('node.color','rgba(14,151,102,1)');
- Node41.a('node.font',' '+ Node41fontSize + 'px "Arial"');
- Node41.a('node.textvisible',true);
- Node41.a('node.linefeed',false);
- if (false) {
- Node41.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41.a('node.text') || 'rpm';
- var color=Node41.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41width,Node41height,13.3333*_ratio.ratioY,"left",color,' '+ Node41fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node41.a('node.underlinepoints',[Node41lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('rpm', ' '+ Node41fontSize + 'px "Arial"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]);
- Node41.a('node.underlinevisible',false);
- Node41.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41);
- zoomNodeList.push({
- node: Node41,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42 = new ht.Node();
- var Node42textStart, Node42textWidth, Node42lineStart, Node42align = 'left', Node42fontSize = 13.3333*_ratio.ratioY,Node42width = 205*_ratio.ratioX, Node42height = 25*_ratio.ratioY;
- (function () {
- if (Node42align === 'left') {
- Node42textStart = Node42fontSize * 0.2 > 2 ? Node42fontSize * 0.2 - 4 : Node42fontSize * 0.2 - 9;
- Node42textWidth = Node42width;
- Node42lineStart = 1;
- } else if (Node42align === 'right') {
- Node42textStart = 0;
- Node42textWidth =Node42fontSize <= 8 ? Node42width + Node42fontSize * 0.2 + 6 : Node42width - Node42fontSize * 0.2;
- Node42lineStart = (Node42width - (ht.Default.getTextSize('℃', ' '+ Node42fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node42align === 'center') {
- Node42textStart = -3;
- Node42textWidth = Node42width;
- Node42lineStart = Node42width - ht.Default.getTextSize('℃', ' '+ Node42fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node42.setImage(GD.getTextJSON(Node42width, Node42height, true, false, false, ' '+ Node42fontSize + 'px "Arial"'))
- Node42.setPosition(514*ratio.ratioX, 489*ratio.ratioY);
- Node42.setWidth(Node42width);
- Node42.setHeight(Node42height);
- Node42._nodeType = 'text';
- Node42._disallowEvert = true;
- Node42.setRotation(0*Math.PI/180);
- Node42.a('node.width', Node42width);
- Node42.a('node.height', Node42height);
- Node42.a('node.rect', [0, 0, Node42width, Node42height]);
- Node42.a('node.bordercolor','rgba(14,151,102,1)');
- Node42.a('node.borderwidth', 0);
- Node42.a('node.background','' || 'rgba(0,0,0,0)');
- Node42.a('node.gradient','');
- Node42.a('node.gradientcolor','');
- Node42.a('node.text','℃');
- Node42.a('node.textalign','left');
- Node42.a('node.textvAlign','middle');
- Node42.a('node.textrect', [Node42textStart, 0, Node42textWidth, Node42height]);
- Node42.a('node.color','rgba(14,151,102,1)');
- Node42.a('node.font',' '+ Node42fontSize + 'px "Arial"');
- Node42.a('node.textvisible',true);
- Node42.a('node.linefeed',false);
- if (false) {
- Node42.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42.a('node.text') || '℃';
- var color=Node42.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42width,Node42height,13.3333*_ratio.ratioY,"left",color,' '+ Node42fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node42.a('node.underlinepoints',[Node42lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node42fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node42fontSize + 'px "Arial"').width + 6, (Node42height - Node42fontSize) * 0.5*_ratio.ratioY + Node42fontSize + 2 ]);
- Node42.a('node.underlinevisible',false);
- Node42.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42);
- zoomNodeList.push({
- node: Node42,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43 = new ht.Node();
- var Node43textStart, Node43textWidth, Node43lineStart, Node43align = 'left', Node43fontSize = 13.3333*_ratio.ratioY,Node43width = 205*_ratio.ratioX, Node43height = 25*_ratio.ratioY;
- (function () {
- if (Node43align === 'left') {
- Node43textStart = Node43fontSize * 0.2 > 2 ? Node43fontSize * 0.2 - 4 : Node43fontSize * 0.2 - 9;
- Node43textWidth = Node43width;
- Node43lineStart = 1;
- } else if (Node43align === 'right') {
- Node43textStart = 0;
- Node43textWidth =Node43fontSize <= 8 ? Node43width + Node43fontSize * 0.2 + 6 : Node43width - Node43fontSize * 0.2;
- Node43lineStart = (Node43width - (ht.Default.getTextSize('℃', ' '+ Node43fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node43align === 'center') {
- Node43textStart = -3;
- Node43textWidth = Node43width;
- Node43lineStart = Node43width - ht.Default.getTextSize('℃', ' '+ Node43fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, ' '+ Node43fontSize + 'px "Arial"'))
- Node43.setPosition(514*ratio.ratioX, 518*ratio.ratioY);
- Node43.setWidth(Node43width);
- Node43.setHeight(Node43height);
- Node43._nodeType = 'text';
- Node43._disallowEvert = true;
- Node43.setRotation(0*Math.PI/180);
- Node43.a('node.width', Node43width);
- Node43.a('node.height', Node43height);
- Node43.a('node.rect', [0, 0, Node43width, Node43height]);
- Node43.a('node.bordercolor','rgba(14,151,102,1)');
- Node43.a('node.borderwidth', 0);
- Node43.a('node.background','' || 'rgba(0,0,0,0)');
- Node43.a('node.gradient','');
- Node43.a('node.gradientcolor','');
- Node43.a('node.text','℃');
- Node43.a('node.textalign','left');
- Node43.a('node.textvAlign','middle');
- Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]);
- Node43.a('node.color','rgba(14,151,102,1)');
- Node43.a('node.font',' '+ Node43fontSize + 'px "Arial"');
- Node43.a('node.textvisible',true);
- Node43.a('node.linefeed',false);
- if (false) {
- Node43.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node43.a('node.text') || '℃';
- var color=Node43.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node43width,Node43height,13.3333*_ratio.ratioY,"left",color,' '+ Node43fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node43.a('node.underlinepoints',[Node43lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node43fontSize + 'px "Arial"').width + 6, (Node43height - Node43fontSize) * 0.5*_ratio.ratioY + Node43fontSize + 2 ]);
- Node43.a('node.underlinevisible',false);
- Node43.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node43);
- zoomNodeList.push({
- node: Node43,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44 = new ht.Node();
- var Node44textStart, Node44textWidth, Node44lineStart, Node44align = 'left', Node44fontSize = 13.3333*_ratio.ratioY,Node44width = 105*_ratio.ratioX, Node44height = 25*_ratio.ratioY;
- (function () {
- if (Node44align === 'left') {
- Node44textStart = Node44fontSize * 0.2 > 2 ? Node44fontSize * 0.2 - 4 : Node44fontSize * 0.2 - 9;
- Node44textWidth = Node44width;
- Node44lineStart = 1;
- } else if (Node44align === 'right') {
- Node44textStart = 0;
- Node44textWidth =Node44fontSize <= 8 ? Node44width + Node44fontSize * 0.2 + 6 : Node44width - Node44fontSize * 0.2;
- Node44lineStart = (Node44width - (ht.Default.getTextSize('℃', ' '+ Node44fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node44align === 'center') {
- Node44textStart = -3;
- Node44textWidth = Node44width;
- Node44lineStart = Node44width - ht.Default.getTextSize('℃', ' '+ Node44fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node44.setImage(GD.getTextJSON(Node44width, Node44height, true, false, false, ' '+ Node44fontSize + 'px "Arial"'))
- Node44.setPosition(464*ratio.ratioX, 547*ratio.ratioY);
- Node44.setWidth(Node44width);
- Node44.setHeight(Node44height);
- Node44._nodeType = 'text';
- Node44._disallowEvert = true;
- Node44.setRotation(0*Math.PI/180);
- Node44.a('node.width', Node44width);
- Node44.a('node.height', Node44height);
- Node44.a('node.rect', [0, 0, Node44width, Node44height]);
- Node44.a('node.bordercolor','rgba(14,151,102,1)');
- Node44.a('node.borderwidth', 0);
- Node44.a('node.background','' || 'rgba(0,0,0,0)');
- Node44.a('node.gradient','');
- Node44.a('node.gradientcolor','');
- Node44.a('node.text','℃');
- Node44.a('node.textalign','left');
- Node44.a('node.textvAlign','middle');
- Node44.a('node.textrect', [Node44textStart, 0, Node44textWidth, Node44height]);
- Node44.a('node.color','rgba(14,151,102,1)');
- Node44.a('node.font',' '+ Node44fontSize + 'px "Arial"');
- Node44.a('node.textvisible',true);
- Node44.a('node.linefeed',false);
- if (false) {
- Node44.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44.a('node.text') || '℃';
- var color=Node44.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44width,Node44height,13.3333*_ratio.ratioY,"left",color,' '+ Node44fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node44.a('node.underlinepoints',[Node44lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node44fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node44fontSize + 'px "Arial"').width + 6, (Node44height - Node44fontSize) * 0.5*_ratio.ratioY + Node44fontSize + 2 ]);
- Node44.a('node.underlinevisible',false);
- Node44.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44);
- zoomNodeList.push({
- node: Node44,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45 = new ht.Node();
- var Node45textStart, Node45textWidth, Node45lineStart, Node45align = 'left', Node45fontSize = 13.3333*_ratio.ratioY,Node45width = 205*_ratio.ratioX, Node45height = 25*_ratio.ratioY;
- (function () {
- if (Node45align === 'left') {
- Node45textStart = Node45fontSize * 0.2 > 2 ? Node45fontSize * 0.2 - 4 : Node45fontSize * 0.2 - 9;
- Node45textWidth = Node45width;
- Node45lineStart = 1;
- } else if (Node45align === 'right') {
- Node45textStart = 0;
- Node45textWidth =Node45fontSize <= 8 ? Node45width + Node45fontSize * 0.2 + 6 : Node45width - Node45fontSize * 0.2;
- Node45lineStart = (Node45width - (ht.Default.getTextSize('rpm', ' '+ Node45fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node45align === 'center') {
- Node45textStart = -3;
- Node45textWidth = Node45width;
- Node45lineStart = Node45width - ht.Default.getTextSize('rpm', ' '+ Node45fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node45.setImage(GD.getTextJSON(Node45width, Node45height, true, false, false, ' '+ Node45fontSize + 'px "Arial"'))
- Node45.setPosition(514*ratio.ratioX, 576*ratio.ratioY);
- Node45.setWidth(Node45width);
- Node45.setHeight(Node45height);
- Node45._nodeType = 'text';
- Node45._disallowEvert = true;
- Node45.setRotation(0*Math.PI/180);
- Node45.a('node.width', Node45width);
- Node45.a('node.height', Node45height);
- Node45.a('node.rect', [0, 0, Node45width, Node45height]);
- Node45.a('node.bordercolor','rgba(14,151,102,1)');
- Node45.a('node.borderwidth', 0);
- Node45.a('node.background','' || 'rgba(0,0,0,0)');
- Node45.a('node.gradient','');
- Node45.a('node.gradientcolor','');
- Node45.a('node.text','rpm');
- Node45.a('node.textalign','left');
- Node45.a('node.textvAlign','middle');
- Node45.a('node.textrect', [Node45textStart, 0, Node45textWidth, Node45height]);
- Node45.a('node.color','rgba(14,151,102,1)');
- Node45.a('node.font',' '+ Node45fontSize + 'px "Arial"');
- Node45.a('node.textvisible',true);
- Node45.a('node.linefeed',false);
- if (false) {
- Node45.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node45.a('node.text') || 'rpm';
- var color=Node45.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node45width,Node45height,13.3333*_ratio.ratioY,"left",color,' '+ Node45fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node45.a('node.underlinepoints',[Node45lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node45fontSize + 2 , ht.Default.getTextSize('rpm', ' '+ Node45fontSize + 'px "Arial"').width + 6, (Node45height - Node45fontSize) * 0.5*_ratio.ratioY + Node45fontSize + 2 ]);
- Node45.a('node.underlinevisible',false);
- Node45.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node45);
- zoomNodeList.push({
- node: Node45,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 205*_ratio.ratioX, Node46height = 29*_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('机组转动轴1温度', ' '+ Node46fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node46align === 'center') {
- Node46textStart = -3;
- Node46textWidth = Node46width;
- Node46lineStart = Node46width - ht.Default.getTextSize('机组转动轴1温度', ' '+ Node46fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, ' '+ Node46fontSize + 'px "Arial"'))
- Node46.setPosition(314*ratio.ratioX, 648*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(14,151,102,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','机组转动轴1温度');
- Node46.a('node.textalign','left');
- Node46.a('node.textvAlign','middle');
- Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]);
- Node46.a('node.color','rgba(14,151,102,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') || '机组转动轴1温度';
- var color=Node46.a('node.color') || 'rgba(14,151,102,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, (29 - 13.3333) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('机组转动轴1温度', ' '+ 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 = 205*_ratio.ratioX, Node47height = 29*_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('机组转动轴2温度', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('机组转动轴2温度', ' '+ Node47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"'))
- Node47.setPosition(314*ratio.ratioX, 678*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(14,151,102,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','机组转动轴2温度');
- Node47.a('node.textalign','left');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(14,151,102,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') || '机组转动轴2温度';
- var color=Node47.a('node.color') || 'rgba(14,151,102,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, (29 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('机组转动轴2温度', ' '+ 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 = 205*_ratio.ratioX, Node48height = 29*_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(314*ratio.ratioX, 707*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(14,151,102,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(14,151,102,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(14,151,102,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, (29 - 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 Node49type = 'rect';
- var Node49 = new ht.Node(),
- Node49BorderWidth = 1*2;
- if (Node49type === 'arc') {
- Node49BorderWidth *= 1;
- }
- Node49.setImage(GD.getRectJSON(250*_ratio.ratioX, 10*_ratio.ratioY, Node49type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node49.setPosition(322*ratio.ratioX, 727*ratio.ratioY);
- Node49.setSize(250*_ratio.ratioX, 10*_ratio.ratioY);
- Node49.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node49.a('node.width', 250*_ratio.ratioX);
- Node49.a('node.height', 10*_ratio.ratioY);
- Node49.a('node.type', Node49type);
- Node49.a('node.rect', [0, 0, 250*_ratio.ratioX, 10*_ratio.ratioY]);
- Node49.a('node.background', 'rgba(234,234,234,1)');
- Node49.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node49.a('node.gradient', '');
- Node49.a('node.borderwidth', Node49BorderWidth);
- Node49.a('node.color', 'rgba(234,234,234,1)');
- Node49.a('node.fillrect', [0,0,0,0]);
- Node49.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node49.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node49.a('node.fillgradient', '');
- if (Node49type !== 'rect') {
- Node49.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node49.a('node.arcTo', parseFloat('@arcTo@'));
- Node49.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node49type === 'arc') {
- Node49.a('node.arcOval', true);
- }
- Node49.setRotation(0*Math.PI/180);
- Node49.borderWidth = Node49BorderWidth;
- Node49.borderFillwidth = Node49BorderWidth;
- dataModel.add(Node49);
- Node49._nodename = 'Node49'
- Node49._nodeType = 'rect';
- zoomNodeList.push({
- node: Node49,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node49, Node49.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 205*_ratio.ratioX, Node50height = 29*_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(314*ratio.ratioX, 774*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(14,151,102,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(14,151,102,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(14,151,102,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, (29 - 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 Node51type = 'rect';
- var Node51 = new ht.Node(),
- Node51BorderWidth = 1*2;
- if (Node51type === 'arc') {
- Node51BorderWidth *= 1;
- }
- Node51.setImage(GD.getRectJSON(250*_ratio.ratioX, 10*_ratio.ratioY, Node51type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node51.setPosition(322*ratio.ratioX, 793*ratio.ratioY);
- Node51.setSize(250*_ratio.ratioX, 10*_ratio.ratioY);
- Node51.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node51.a('node.width', 250*_ratio.ratioX);
- Node51.a('node.height', 10*_ratio.ratioY);
- Node51.a('node.type', Node51type);
- Node51.a('node.rect', [0, 0, 250*_ratio.ratioX, 10*_ratio.ratioY]);
- Node51.a('node.background', 'rgba(234,234,234,1)');
- Node51.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node51.a('node.gradient', '');
- Node51.a('node.borderwidth', Node51BorderWidth);
- Node51.a('node.color', 'rgba(234,234,234,1)');
- Node51.a('node.fillrect', [0,0,0,0]);
- Node51.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradient', '');
- if (Node51type !== 'rect') {
- Node51.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node51.a('node.arcTo', parseFloat('@arcTo@'));
- Node51.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node51type === 'arc') {
- Node51.a('node.arcOval', true);
- }
- Node51.setRotation(0*Math.PI/180);
- Node51.borderWidth = Node51BorderWidth;
- Node51.borderFillwidth = Node51BorderWidth;
- dataModel.add(Node51);
- Node51._nodename = 'Node51'
- Node51._nodeType = 'rect';
- zoomNodeList.push({
- node: Node51,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node51, Node51.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52_0type = 'rect';
- var Node52_0 = new ht.Node(),
- Node52_0BorderWidth = 1*2;
- if (Node52_0type === 'arc') {
- Node52_0BorderWidth *= 1;
- }
- Node52_0.setImage(GD.getRectJSON(253*_ratio.ratioX, 27*_ratio.ratioY, Node52_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52_0.setPosition(323*ratio.ratioX, 743*ratio.ratioY);
- Node52_0.setSize(253*_ratio.ratioX, 27*_ratio.ratioY);
- Node52_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node52_0.a('node.width', 253*_ratio.ratioX);
- Node52_0.a('node.height', 27*_ratio.ratioY);
- Node52_0.a('node.type', Node52_0type);
- Node52_0.a('node.rect', [0, 0, 253*_ratio.ratioX, 27*_ratio.ratioY]);
- Node52_0.a('node.background', 'rgba(210,242,231,1)');
- Node52_0.a('node.gradientcolor', 'rgba(210,242,231,1)');
- Node52_0.a('node.gradient', '');
- Node52_0.a('node.borderwidth', Node52_0BorderWidth);
- Node52_0.a('node.color', 'rgba(210,242,231,1)');
- Node52_0.a('node.fillrect', [0,0,0,0]);
- Node52_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node52_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node52_0.a('node.fillgradient', '');
- if (Node52_0type !== 'rect') {
- Node52_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node52_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node52_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node52_0type === 'arc') {
- Node52_0.a('node.arcOval', true);
- }
- Node52_0.setRotation(0*Math.PI/180);
- Node52_0.borderWidth = Node52_0BorderWidth;
- Node52_0.borderFillwidth = Node52_0BorderWidth;
- dataModel.add(Node52_0);
- Node52_0._nodename = 'Node52_0'
- Node52_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node52_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node52_0, Node52_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52_1 = new ht.Node();
- var Node52_1textStart, Node52_1textWidth, Node52_1lineStart, Node52_1align = 'left', Node52_1fontSize = 13.3333*_ratio.ratioY,Node52_1width = 151*_ratio.ratioX, Node52_1height = 36*_ratio.ratioY;
- (function () {
- if (Node52_1align === 'left') {
- Node52_1textStart = Node52_1fontSize * 0.2 > 2 ? Node52_1fontSize * 0.2 - 4 : Node52_1fontSize * 0.2 - 9;
- Node52_1textWidth = Node52_1width;
- Node52_1lineStart = 1;
- } else if (Node52_1align === 'right') {
- Node52_1textStart = 0;
- Node52_1textWidth =Node52_1fontSize <= 8 ? Node52_1width + Node52_1fontSize * 0.2 + 6 : Node52_1width - Node52_1fontSize * 0.2;
- Node52_1lineStart = (Node52_1width - (ht.Default.getTextSize('变桨信息', ' '+ Node52_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node52_1align === 'center') {
- Node52_1textStart = -3;
- Node52_1textWidth = Node52_1width;
- Node52_1lineStart = Node52_1width - ht.Default.getTextSize('变桨信息', ' '+ Node52_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node52_1.setImage(GD.getTextJSON(Node52_1width, Node52_1height, true, false, false, ' '+ Node52_1fontSize + 'px "Arial"'))
- Node52_1.setPosition(288*ratio.ratioX, 745*ratio.ratioY);
- Node52_1.setWidth(Node52_1width);
- Node52_1.setHeight(Node52_1height);
- Node52_1._nodeType = 'text';
- Node52_1._disallowEvert = true;
- Node52_1.setRotation(0*Math.PI/180);
- Node52_1.a('node.width', Node52_1width);
- Node52_1.a('node.height', Node52_1height);
- Node52_1.a('node.rect', [0, 0, Node52_1width, Node52_1height]);
- Node52_1.a('node.bordercolor','rgba(14,151,102,1)');
- Node52_1.a('node.borderwidth', 0);
- Node52_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node52_1.a('node.gradient','');
- Node52_1.a('node.gradientcolor','');
- Node52_1.a('node.text','变桨信息');
- Node52_1.a('node.textalign','left');
- Node52_1.a('node.textvAlign','middle');
- Node52_1.a('node.textrect', [Node52_1textStart, 0, Node52_1textWidth, Node52_1height]);
- Node52_1.a('node.color','rgba(14,151,102,1)');
- Node52_1.a('node.font',' '+ Node52_1fontSize + 'px "Arial"');
- Node52_1.a('node.textvisible',true);
- Node52_1.a('node.linefeed',false);
- if (false) {
- Node52_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node52_1.a('node.text') || '变桨信息';
- var color=Node52_1.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node52_1width,Node52_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node52_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node52_1.a('node.underlinepoints',[Node52_1lineStart, (36 - 13.3333) * 0.5 * _ratio.ratioY + Node52_1fontSize + 2 , ht.Default.getTextSize('变桨信息', ' '+ Node52_1fontSize + 'px "Arial"').width + 6, (Node52_1height - Node52_1fontSize) * 0.5*_ratio.ratioY + Node52_1fontSize + 2 ]);
- Node52_1.a('node.underlinevisible',false);
- Node52_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node52_1);
- zoomNodeList.push({
- node: Node52_1,
- 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 = 205*_ratio.ratioX, Node53height = 29*_ratio.ratioY;
- (function () {
- if (Node53align === 'left') {
- Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9;
- Node53textWidth = Node53width;
- Node53lineStart = 1;
- } else if (Node53align === 'right') {
- Node53textStart = 0;
- Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2;
- Node53lineStart = (Node53width - (ht.Default.getTextSize(' ', ' '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node53align === 'center') {
- Node53textStart = -3;
- Node53textWidth = Node53width;
- Node53lineStart = Node53width - ht.Default.getTextSize(' ', ' '+ Node53fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, ' '+ Node53fontSize + 'px "Arial"'))
- Node53.setPosition(314*ratio.ratioX, 840*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(14,151,102,1)');
- Node53.a('node.borderwidth', 0);
- Node53.a('node.background','' || 'rgba(0,0,0,0)');
- Node53.a('node.gradient','');
- Node53.a('node.gradientcolor','');
- Node53.a('node.text',' ');
- Node53.a('node.textalign','left');
- Node53.a('node.textvAlign','middle');
- Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
- Node53.a('node.color','rgba(14,151,102,1)');
- Node53.a('node.font',' '+ Node53fontSize + 'px "Arial"');
- Node53.a('node.textvisible',true);
- Node53.a('node.linefeed',false);
- if (false) {
- Node53.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node53.a('node.text') || ' ';
- var color=Node53.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,' '+ Node53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node53.a('node.underlinepoints',[Node53lineStart, (29 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize(' ', ' '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
- Node53.a('node.underlinevisible',false);
- Node53.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node53);
- zoomNodeList.push({
- node: Node53,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54type = 'rect';
- var Node54 = new ht.Node(),
- Node54BorderWidth = 1*2;
- if (Node54type === 'arc') {
- Node54BorderWidth *= 1;
- }
- Node54.setImage(GD.getRectJSON(250*_ratio.ratioX, 10*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node54.setPosition(322*ratio.ratioX, 860*ratio.ratioY);
- Node54.setSize(250*_ratio.ratioX, 10*_ratio.ratioY);
- Node54.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node54.a('node.width', 250*_ratio.ratioX);
- Node54.a('node.height', 10*_ratio.ratioY);
- Node54.a('node.type', Node54type);
- Node54.a('node.rect', [0, 0, 250*_ratio.ratioX, 10*_ratio.ratioY]);
- Node54.a('node.background', 'rgba(234,234,234,1)');
- Node54.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node54.a('node.gradient', '');
- Node54.a('node.borderwidth', Node54BorderWidth);
- Node54.a('node.color', 'rgba(234,234,234,1)');
- Node54.a('node.fillrect', [0,0,0,0]);
- Node54.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradient', '');
- if (Node54type !== 'rect') {
- Node54.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node54.a('node.arcTo', parseFloat('@arcTo@'));
- Node54.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node54type === 'arc') {
- Node54.a('node.arcOval', true);
- }
- Node54.setRotation(0*Math.PI/180);
- Node54.borderWidth = Node54BorderWidth;
- Node54.borderFillwidth = Node54BorderWidth;
- dataModel.add(Node54);
- Node54._nodename = 'Node54'
- Node54._nodeType = 'rect';
- zoomNodeList.push({
- node: Node54,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node54, Node54.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55_0type = 'rect';
- var Node55_0 = new ht.Node(),
- Node55_0BorderWidth = 1*2;
- if (Node55_0type === 'arc') {
- Node55_0BorderWidth *= 1;
- }
- Node55_0.setImage(GD.getRectJSON(253*_ratio.ratioX, 27*_ratio.ratioY, Node55_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node55_0.setPosition(323*ratio.ratioX, 809*ratio.ratioY);
- Node55_0.setSize(253*_ratio.ratioX, 27*_ratio.ratioY);
- Node55_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node55_0.a('node.width', 253*_ratio.ratioX);
- Node55_0.a('node.height', 27*_ratio.ratioY);
- Node55_0.a('node.type', Node55_0type);
- Node55_0.a('node.rect', [0, 0, 253*_ratio.ratioX, 27*_ratio.ratioY]);
- Node55_0.a('node.background', 'rgba(210,242,231,1)');
- Node55_0.a('node.gradientcolor', 'rgba(210,242,231,1)');
- Node55_0.a('node.gradient', '');
- Node55_0.a('node.borderwidth', Node55_0BorderWidth);
- Node55_0.a('node.color', 'rgba(210,242,231,1)');
- Node55_0.a('node.fillrect', [0,0,0,0]);
- Node55_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node55_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node55_0.a('node.fillgradient', '');
- if (Node55_0type !== 'rect') {
- Node55_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node55_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node55_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node55_0type === 'arc') {
- Node55_0.a('node.arcOval', true);
- }
- Node55_0.setRotation(0*Math.PI/180);
- Node55_0.borderWidth = Node55_0BorderWidth;
- Node55_0.borderFillwidth = Node55_0BorderWidth;
- dataModel.add(Node55_0);
- Node55_0._nodename = 'Node55_0'
- Node55_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node55_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node55_0, Node55_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55_1 = new ht.Node();
- var Node55_1textStart, Node55_1textWidth, Node55_1lineStart, Node55_1align = 'left', Node55_1fontSize = 13.3333*_ratio.ratioY,Node55_1width = 151*_ratio.ratioX, Node55_1height = 36*_ratio.ratioY;
- (function () {
- if (Node55_1align === 'left') {
- Node55_1textStart = Node55_1fontSize * 0.2 > 2 ? Node55_1fontSize * 0.2 - 4 : Node55_1fontSize * 0.2 - 9;
- Node55_1textWidth = Node55_1width;
- Node55_1lineStart = 1;
- } else if (Node55_1align === 'right') {
- Node55_1textStart = 0;
- Node55_1textWidth =Node55_1fontSize <= 8 ? Node55_1width + Node55_1fontSize * 0.2 + 6 : Node55_1width - Node55_1fontSize * 0.2;
- Node55_1lineStart = (Node55_1width - (ht.Default.getTextSize('偏航信息', ' '+ Node55_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node55_1align === 'center') {
- Node55_1textStart = -3;
- Node55_1textWidth = Node55_1width;
- Node55_1lineStart = Node55_1width - ht.Default.getTextSize('偏航信息', ' '+ Node55_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node55_1.setImage(GD.getTextJSON(Node55_1width, Node55_1height, true, false, false, ' '+ Node55_1fontSize + 'px "Arial"'))
- Node55_1.setPosition(288*ratio.ratioX, 811*ratio.ratioY);
- Node55_1.setWidth(Node55_1width);
- Node55_1.setHeight(Node55_1height);
- Node55_1._nodeType = 'text';
- Node55_1._disallowEvert = true;
- Node55_1.setRotation(0*Math.PI/180);
- Node55_1.a('node.width', Node55_1width);
- Node55_1.a('node.height', Node55_1height);
- Node55_1.a('node.rect', [0, 0, Node55_1width, Node55_1height]);
- Node55_1.a('node.bordercolor','rgba(14,151,102,1)');
- Node55_1.a('node.borderwidth', 0);
- Node55_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node55_1.a('node.gradient','');
- Node55_1.a('node.gradientcolor','');
- Node55_1.a('node.text','偏航信息');
- Node55_1.a('node.textalign','left');
- Node55_1.a('node.textvAlign','middle');
- Node55_1.a('node.textrect', [Node55_1textStart, 0, Node55_1textWidth, Node55_1height]);
- Node55_1.a('node.color','rgba(14,151,102,1)');
- Node55_1.a('node.font',' '+ Node55_1fontSize + 'px "Arial"');
- Node55_1.a('node.textvisible',true);
- Node55_1.a('node.linefeed',false);
- if (false) {
- Node55_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55_1.a('node.text') || '偏航信息';
- var color=Node55_1.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55_1width,Node55_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node55_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node55_1.a('node.underlinepoints',[Node55_1lineStart, (36 - 13.3333) * 0.5 * _ratio.ratioY + Node55_1fontSize + 2 , ht.Default.getTextSize('偏航信息', ' '+ Node55_1fontSize + 'px "Arial"').width + 6, (Node55_1height - Node55_1fontSize) * 0.5*_ratio.ratioY + Node55_1fontSize + 2 ]);
- Node55_1.a('node.underlinevisible',false);
- Node55_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55_1);
- zoomNodeList.push({
- node: Node55_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56type = 'rect';
- var Node56 = new ht.Node(),
- Node56BorderWidth = 1*2;
- if (Node56type === 'arc') {
- Node56BorderWidth *= 1;
- }
- Node56.setImage(GD.getRectJSON(5*_ratio.ratioX, 660*_ratio.ratioY, Node56type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node56.setPosition(449*ratio.ratioX, 536*ratio.ratioY);
- Node56.setSize(5*_ratio.ratioX, 660*_ratio.ratioY);
- Node56.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node56.a('node.width', 5*_ratio.ratioX);
- Node56.a('node.height', 660*_ratio.ratioY);
- Node56.a('node.type', Node56type);
- Node56.a('node.rect', [0, 0, 5*_ratio.ratioX, 660*_ratio.ratioY]);
- Node56.a('node.background', 'rgba(234,234,234,1)');
- Node56.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node56.a('node.gradient', '');
- Node56.a('node.borderwidth', Node56BorderWidth);
- Node56.a('node.color', 'rgba(234,234,234,1)');
- Node56.a('node.fillrect', [0,0,0,0]);
- Node56.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node56.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node56.a('node.fillgradient', '');
- if (Node56type !== 'rect') {
- Node56.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node56.a('node.arcTo', parseFloat('@arcTo@'));
- Node56.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node56type === 'arc') {
- Node56.a('node.arcOval', true);
- }
- Node56.setRotation(0*Math.PI/180);
- Node56.borderWidth = Node56BorderWidth;
- Node56.borderFillwidth = Node56BorderWidth;
- dataModel.add(Node56);
- Node56._nodename = 'Node56'
- Node56._nodeType = 'rect';
- zoomNodeList.push({
- node: Node56,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node56, Node56.getImage());var Node57;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_fjxx_bg0.png', PAGEROOTDIR + 'image//page_fjxx_bg0.png');
- Node57 = new ht.Node();
- Node57.setPosition(1047*ratio.ratioX, 501*ratio.ratioY);
- Node57.setSize(1190*ratioX, 590*ratioY);
- Node57.setImage('imgimage//page_fjxx_bg0.png');
- Node57.setRotation(0*Math.PI/180);
- Node57._zoomBy = 'Default';
- Node57._nodeType = 'image';
- Node57._disallowEvert = true;
- dataModel.add(Node57);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58type = 'rect';
- var Node58 = new ht.Node(),
- Node58BorderWidth = 1*2;
- if (Node58type === 'arc') {
- Node58BorderWidth *= 1;
- }
- Node58.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node58type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node58.setPosition(1764*ratio.ratioX, 248*ratio.ratioY);
- Node58.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node58.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node58.a('node.width', 235*_ratio.ratioX);
- Node58.a('node.height', 25*_ratio.ratioY);
- Node58.a('node.type', Node58type);
- Node58.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node58.a('node.background', 'rgba(244,244,244,1)');
- Node58.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node58.a('node.gradient', '');
- Node58.a('node.borderwidth', Node58BorderWidth);
- Node58.a('node.color', 'rgba(244,244,244,1)');
- Node58.a('node.fillrect', [0,0,0,0]);
- Node58.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node58.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node58.a('node.fillgradient', '');
- if (Node58type !== 'rect') {
- Node58.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node58.a('node.arcTo', parseFloat('@arcTo@'));
- Node58.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node58type === 'arc') {
- Node58.a('node.arcOval', true);
- }
- Node58.setRotation(0*Math.PI/180);
- Node58.borderWidth = Node58BorderWidth;
- Node58.borderFillwidth = Node58BorderWidth;
- dataModel.add(Node58);
- Node58._nodename = 'Node58'
- Node58._nodeType = 'rect';
- zoomNodeList.push({
- node: Node58,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node58, Node58.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59type = 'rect';
- var Node59 = new ht.Node(),
- Node59BorderWidth = 1*2;
- if (Node59type === 'arc') {
- Node59BorderWidth *= 1;
- }
- Node59.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node59type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node59.setPosition(1764*ratio.ratioX, 298*ratio.ratioY);
- Node59.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node59.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node59.a('node.width', 235*_ratio.ratioX);
- Node59.a('node.height', 25*_ratio.ratioY);
- Node59.a('node.type', Node59type);
- Node59.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node59.a('node.background', 'rgba(244,244,244,1)');
- Node59.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node59.a('node.gradient', '');
- Node59.a('node.borderwidth', Node59BorderWidth);
- Node59.a('node.color', 'rgba(234,234,234,1)');
- Node59.a('node.fillrect', [0,0,0,0]);
- Node59.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node59.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node59.a('node.fillgradient', '');
- if (Node59type !== 'rect') {
- Node59.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node59.a('node.arcTo', parseFloat('@arcTo@'));
- Node59.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node59type === 'arc') {
- Node59.a('node.arcOval', true);
- }
- Node59.setRotation(0*Math.PI/180);
- Node59.borderWidth = Node59BorderWidth;
- Node59.borderFillwidth = Node59BorderWidth;
- dataModel.add(Node59);
- Node59._nodename = 'Node59'
- Node59._nodeType = 'rect';
- zoomNodeList.push({
- node: Node59,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node59, Node59.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60type = 'rect';
- var Node60 = new ht.Node(),
- Node60BorderWidth = 1*2;
- if (Node60type === 'arc') {
- Node60BorderWidth *= 1;
- }
- Node60.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node60type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node60.setPosition(1764*ratio.ratioX, 348*ratio.ratioY);
- Node60.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node60.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node60.a('node.width', 235*_ratio.ratioX);
- Node60.a('node.height', 25*_ratio.ratioY);
- Node60.a('node.type', Node60type);
- Node60.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node60.a('node.background', 'rgba(244,244,244,1)');
- Node60.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node60.a('node.gradient', '');
- Node60.a('node.borderwidth', Node60BorderWidth);
- Node60.a('node.color', 'rgba(234,234,234,1)');
- Node60.a('node.fillrect', [0,0,0,0]);
- Node60.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node60.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node60.a('node.fillgradient', '');
- if (Node60type !== 'rect') {
- Node60.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node60.a('node.arcTo', parseFloat('@arcTo@'));
- Node60.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node60type === 'arc') {
- Node60.a('node.arcOval', true);
- }
- Node60.setRotation(0*Math.PI/180);
- Node60.borderWidth = Node60BorderWidth;
- Node60.borderFillwidth = Node60BorderWidth;
- dataModel.add(Node60);
- Node60._nodename = 'Node60'
- Node60._nodeType = 'rect';
- zoomNodeList.push({
- node: Node60,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node60, Node60.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61type = 'rect';
- var Node61 = new ht.Node(),
- Node61BorderWidth = 1*2;
- if (Node61type === 'arc') {
- Node61BorderWidth *= 1;
- }
- Node61.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node61type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node61.setPosition(1764*ratio.ratioX, 398*ratio.ratioY);
- Node61.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node61.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node61.a('node.width', 235*_ratio.ratioX);
- Node61.a('node.height', 25*_ratio.ratioY);
- Node61.a('node.type', Node61type);
- Node61.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node61.a('node.background', 'rgba(244,244,244,1)');
- Node61.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node61.a('node.gradient', '');
- Node61.a('node.borderwidth', Node61BorderWidth);
- Node61.a('node.color', 'rgba(234,234,234,1)');
- Node61.a('node.fillrect', [0,0,0,0]);
- Node61.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node61.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node61.a('node.fillgradient', '');
- if (Node61type !== 'rect') {
- Node61.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node61.a('node.arcTo', parseFloat('@arcTo@'));
- Node61.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node61type === 'arc') {
- Node61.a('node.arcOval', true);
- }
- Node61.setRotation(0*Math.PI/180);
- Node61.borderWidth = Node61BorderWidth;
- Node61.borderFillwidth = Node61BorderWidth;
- dataModel.add(Node61);
- Node61._nodename = 'Node61'
- Node61._nodeType = 'rect';
- zoomNodeList.push({
- node: Node61,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node61, Node61.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62type = 'rect';
- var Node62 = new ht.Node(),
- Node62BorderWidth = 1*2;
- if (Node62type === 'arc') {
- Node62BorderWidth *= 1;
- }
- Node62.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node62type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node62.setPosition(1764*ratio.ratioX, 448*ratio.ratioY);
- Node62.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node62.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node62.a('node.width', 235*_ratio.ratioX);
- Node62.a('node.height', 25*_ratio.ratioY);
- Node62.a('node.type', Node62type);
- Node62.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node62.a('node.background', 'rgba(244,244,244,1)');
- Node62.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node62.a('node.gradient', '');
- Node62.a('node.borderwidth', Node62BorderWidth);
- Node62.a('node.color', 'rgba(234,234,234,1)');
- Node62.a('node.fillrect', [0,0,0,0]);
- Node62.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node62.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node62.a('node.fillgradient', '');
- if (Node62type !== 'rect') {
- Node62.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node62.a('node.arcTo', parseFloat('@arcTo@'));
- Node62.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node62type === 'arc') {
- Node62.a('node.arcOval', true);
- }
- Node62.setRotation(0*Math.PI/180);
- Node62.borderWidth = Node62BorderWidth;
- Node62.borderFillwidth = Node62BorderWidth;
- dataModel.add(Node62);
- Node62._nodename = 'Node62'
- Node62._nodeType = 'rect';
- zoomNodeList.push({
- node: Node62,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node62, Node62.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63type = 'rect';
- var Node63 = new ht.Node(),
- Node63BorderWidth = 1*2;
- if (Node63type === 'arc') {
- Node63BorderWidth *= 1;
- }
- Node63.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node63.setPosition(1764*ratio.ratioX, 498*ratio.ratioY);
- Node63.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node63.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node63.a('node.width', 235*_ratio.ratioX);
- Node63.a('node.height', 25*_ratio.ratioY);
- Node63.a('node.type', Node63type);
- Node63.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node63.a('node.background', 'rgba(244,244,244,1)');
- Node63.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node63.a('node.gradient', '');
- Node63.a('node.borderwidth', Node63BorderWidth);
- Node63.a('node.color', 'rgba(234,234,234,1)');
- Node63.a('node.fillrect', [0,0,0,0]);
- Node63.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradient', '');
- if (Node63type !== 'rect') {
- Node63.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node63.a('node.arcTo', parseFloat('@arcTo@'));
- Node63.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node63type === 'arc') {
- Node63.a('node.arcOval', true);
- }
- Node63.setRotation(0*Math.PI/180);
- Node63.borderWidth = Node63BorderWidth;
- Node63.borderFillwidth = Node63BorderWidth;
- dataModel.add(Node63);
- Node63._nodename = 'Node63'
- Node63._nodeType = 'rect';
- zoomNodeList.push({
- node: Node63,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node63, Node63.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64type = 'rect';
- var Node64 = new ht.Node(),
- Node64BorderWidth = 1*2;
- if (Node64type === 'arc') {
- Node64BorderWidth *= 1;
- }
- Node64.setImage(GD.getRectJSON(235*_ratio.ratioX, 25*_ratio.ratioY, Node64type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node64.setPosition(1764*ratio.ratioX, 548*ratio.ratioY);
- Node64.setSize(235*_ratio.ratioX, 25*_ratio.ratioY);
- Node64.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node64.a('node.width', 235*_ratio.ratioX);
- Node64.a('node.height', 25*_ratio.ratioY);
- Node64.a('node.type', Node64type);
- Node64.a('node.rect', [0, 0, 235*_ratio.ratioX, 25*_ratio.ratioY]);
- Node64.a('node.background', 'rgba(244,244,244,1)');
- Node64.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node64.a('node.gradient', '');
- Node64.a('node.borderwidth', Node64BorderWidth);
- Node64.a('node.color', 'rgba(234,234,234,1)');
- Node64.a('node.fillrect', [0,0,0,0]);
- Node64.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradient', '');
- if (Node64type !== 'rect') {
- Node64.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node64.a('node.arcTo', parseFloat('@arcTo@'));
- Node64.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node64type === 'arc') {
- Node64.a('node.arcOval', true);
- }
- Node64.setRotation(0*Math.PI/180);
- Node64.borderWidth = Node64BorderWidth;
- Node64.borderFillwidth = Node64BorderWidth;
- dataModel.add(Node64);
- Node64._nodename = 'Node64'
- Node64._nodeType = 'rect';
- zoomNodeList.push({
- node: Node64,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node64, Node64.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 82*_ratio.ratioX, Node65height = 37*_ratio.ratioY;
- (function () {
- if (Node65align === 'left') {
- Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
- Node65textWidth = Node65width;
- Node65lineStart = 1;
- } else if (Node65align === 'right') {
- Node65textStart = 0;
- Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
- Node65lineStart = (Node65width - (ht.Default.getTextSize('风速', ' '+ Node65fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node65align === 'center') {
- Node65textStart = -3;
- Node65textWidth = Node65width;
- Node65lineStart = Node65width - ht.Default.getTextSize('风速', ' '+ Node65fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "Arial"'))
- Node65.setPosition(1698*ratio.ratioX, 223*ratio.ratioY);
- Node65.setWidth(Node65width);
- Node65.setHeight(Node65height);
- Node65._nodeType = 'text';
- Node65._disallowEvert = true;
- Node65.setRotation(0*Math.PI/180);
- Node65.a('node.width', Node65width);
- Node65.a('node.height', Node65height);
- Node65.a('node.rect', [0, 0, Node65width, Node65height]);
- Node65.a('node.bordercolor','rgba(0,0,0,1)');
- Node65.a('node.borderwidth', 0);
- Node65.a('node.background','' || 'rgba(0,0,0,0)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','');
- Node65.a('node.text','风速');
- Node65.a('node.textalign','left');
- Node65.a('node.textvAlign','middle');
- Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]);
- Node65.a('node.color','rgba(0,0,0,1)');
- Node65.a('node.font',' '+ Node65fontSize + 'px "Arial"');
- Node65.a('node.textvisible',true);
- Node65.a('node.linefeed',false);
- if (false) {
- Node65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node65.a('node.text') || '风速';
- var color=Node65.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node65width,Node65height,13.3333*_ratio.ratioY,"left",color,' '+ Node65fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node65.a('node.underlinepoints',[Node65lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node65fontSize + 'px "Arial"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]);
- Node65.a('node.underlinevisible',false);
- Node65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node65);
- zoomNodeList.push({
- node: Node65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66 = new ht.Node();
- var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'left', Node66fontSize = 17.33329*_ratio.ratioY,Node66width = 59*_ratio.ratioX, Node66height = 24*_ratio.ratioY;
- (function () {
- if (Node66align === 'left') {
- Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9;
- Node66textWidth = Node66width;
- Node66lineStart = 1;
- } else if (Node66align === 'right') {
- Node66textStart = 0;
- Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2;
- Node66lineStart = (Node66width - (ht.Default.getTextSize('0', ' '+ Node66fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node66align === 'center') {
- Node66textStart = -3;
- Node66textWidth = Node66width;
- Node66lineStart = Node66width - ht.Default.getTextSize('0', ' '+ Node66fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "Arial"'))
- Node66.setPosition(1796*ratio.ratioX, 223*ratio.ratioY);
- Node66.setWidth(Node66width);
- Node66.setHeight(Node66height);
- Node66._nodeType = 'text';
- Node66._disallowEvert = true;
- Node66.setRotation(0*Math.PI/180);
- Node66.a('node.width', Node66width);
- Node66.a('node.height', Node66height);
- Node66.a('node.rect', [0, 0, Node66width, Node66height]);
- Node66.a('node.bordercolor','rgba(0,0,0,1)');
- Node66.a('node.borderwidth', 0);
- Node66.a('node.background','' || 'rgba(0,0,0,0)');
- Node66.a('node.gradient','');
- Node66.a('node.gradientcolor','');
- Node66.a('node.text','0');
- Node66.a('node.textalign','left');
- Node66.a('node.textvAlign','middle');
- Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]);
- Node66.a('node.color','rgba(0,0,0,1)');
- Node66.a('node.font',' '+ Node66fontSize + 'px "Arial"');
- Node66.a('node.textvisible',true);
- Node66.a('node.linefeed',false);
- if (false) {
- Node66.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node66.a('node.text') || '0';
- var color=Node66.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node66width,Node66height,17.33329*_ratio.ratioY,"left",color,' '+ Node66fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node66.a('node.underlinepoints',[Node66lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node66fontSize + 'px "Arial"').width + 6, (Node66height - Node66fontSize) * 0.5*_ratio.ratioY + Node66fontSize + 2 ]);
- Node66.a('node.underlinevisible',false);
- Node66.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node66);
- zoomNodeList.push({
- node: Node66,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67 = new ht.Node();
- var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'left', Node67fontSize = 13.3333*_ratio.ratioY,Node67width = 82*_ratio.ratioX, Node67height = 37*_ratio.ratioY;
- (function () {
- if (Node67align === 'left') {
- Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9;
- Node67textWidth = Node67width;
- Node67lineStart = 1;
- } else if (Node67align === 'right') {
- Node67textStart = 0;
- Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2;
- Node67lineStart = (Node67width - (ht.Default.getTextSize('有功功率', ' '+ Node67fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node67align === 'center') {
- Node67textStart = -3;
- Node67textWidth = Node67width;
- Node67lineStart = Node67width - ht.Default.getTextSize('有功功率', ' '+ Node67fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "Arial"'))
- Node67.setPosition(1698*ratio.ratioX, 276*ratio.ratioY);
- Node67.setWidth(Node67width);
- Node67.setHeight(Node67height);
- Node67._nodeType = 'text';
- Node67._disallowEvert = true;
- Node67.setRotation(0*Math.PI/180);
- Node67.a('node.width', Node67width);
- Node67.a('node.height', Node67height);
- Node67.a('node.rect', [0, 0, Node67width, Node67height]);
- Node67.a('node.bordercolor','rgba(0,0,0,1)');
- Node67.a('node.borderwidth', 0);
- Node67.a('node.background','' || 'rgba(0,0,0,0)');
- Node67.a('node.gradient','');
- Node67.a('node.gradientcolor','');
- Node67.a('node.text','有功功率');
- Node67.a('node.textalign','left');
- Node67.a('node.textvAlign','middle');
- Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]);
- Node67.a('node.color','rgba(0,0,0,1)');
- Node67.a('node.font',' '+ Node67fontSize + 'px "Arial"');
- Node67.a('node.textvisible',true);
- Node67.a('node.linefeed',false);
- if (false) {
- Node67.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node67.a('node.text') || '有功功率';
- var color=Node67.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node67width,Node67height,13.3333*_ratio.ratioY,"left",color,' '+ Node67fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node67.a('node.underlinepoints',[Node67lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node67fontSize + 'px "Arial"').width + 6, (Node67height - Node67fontSize) * 0.5*_ratio.ratioY + Node67fontSize + 2 ]);
- Node67.a('node.underlinevisible',false);
- Node67.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node67);
- zoomNodeList.push({
- node: Node67,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68 = new ht.Node();
- var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'left', Node68fontSize = 13.3333*_ratio.ratioY,Node68width = 82*_ratio.ratioX, Node68height = 37*_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(1698*ratio.ratioX, 326*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, (37 - 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 = 17.33329*_ratio.ratioY,Node69width = 37*_ratio.ratioX, Node69height = 34*_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('kw', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node69align === 'center') {
- Node69textStart = -3;
- Node69textWidth = Node69width;
- Node69lineStart = Node69width - ht.Default.getTextSize('kw', ' '+ Node69fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
- Node69.setPosition(1855*ratio.ratioX, 273*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','kw');
- 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') || 'kw';
- var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node69width,Node69height,17.33329*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node69.a('node.underlinepoints',[Node69lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('kw', ' '+ 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 = 59*_ratio.ratioX, Node70height = 24*_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('3.1', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node70align === 'center') {
- Node70textStart = -3;
- Node70textWidth = Node70width;
- Node70lineStart = Node70width - ht.Default.getTextSize('3.1', ' '+ Node70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"'))
- Node70.setPosition(1796*ratio.ratioX, 275*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','3.1');
- 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') || '3.1';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('3.1', ' '+ 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 = 17.33329*_ratio.ratioY,Node71width = 37*_ratio.ratioX, Node71height = 34*_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('Kw', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('Kw', ' '+ Node71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
- Node71.setPosition(1855*ratio.ratioX, 325*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','Kw');
- 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') || 'Kw';
- var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node71width,Node71height,17.33329*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('Kw', ' '+ 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 = 17.33329*_ratio.ratioY,Node72width = 37*_ratio.ratioX, Node72height = 34*_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('Kw', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node72align === 'center') {
- Node72textStart = -3;
- Node72textWidth = Node72width;
- Node72lineStart = Node72width - ht.Default.getTextSize('Kw', ' '+ Node72fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
- Node72.setPosition(1855*ratio.ratioX, 376*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','Kw');
- 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') || 'Kw';
- var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node72width,Node72height,17.33329*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('Kw', ' '+ 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 = 17.33329*_ratio.ratioY,Node73width = 39*_ratio.ratioX, Node73height = 34*_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('kvar', ' '+ Node73fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node73align === 'center') {
- Node73textStart = -3;
- Node73textWidth = Node73width;
- Node73lineStart = Node73width - ht.Default.getTextSize('kvar', ' '+ Node73fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, ' '+ Node73fontSize + 'px "Arial"'))
- Node73.setPosition(1856*ratio.ratioX, 423*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','kvar');
- 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',' '+ 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') || 'kvar';
- var color=Node73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node73width,Node73height,17.33329*_ratio.ratioY,"left",color,' '+ Node73fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node73.a('node.underlinepoints',[Node73lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('kvar', ' '+ 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 Node74type = 'rect';
- var Node74 = new ht.Node(),
- Node74BorderWidth = 1*2;
- if (Node74type === 'arc') {
- Node74BorderWidth *= 1;
- }
- Node74.setImage(GD.getRectJSON(235*_ratio.ratioX, 28*_ratio.ratioY, Node74type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node74.setPosition(1764*ratio.ratioX, 601*ratio.ratioY);
- Node74.setSize(235*_ratio.ratioX, 28*_ratio.ratioY);
- Node74.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node74.a('node.width', 235*_ratio.ratioX);
- Node74.a('node.height', 28*_ratio.ratioY);
- Node74.a('node.type', Node74type);
- Node74.a('node.rect', [0, 0, 235*_ratio.ratioX, 28*_ratio.ratioY]);
- Node74.a('node.background', 'rgba(244,244,244,1)');
- Node74.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node74.a('node.gradient', '');
- Node74.a('node.borderwidth', Node74BorderWidth);
- Node74.a('node.color', 'rgba(234,234,234,1)');
- Node74.a('node.fillrect', [0,0,0,0]);
- Node74.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradient', '');
- if (Node74type !== 'rect') {
- Node74.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node74.a('node.arcTo', parseFloat('@arcTo@'));
- Node74.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node74type === 'arc') {
- Node74.a('node.arcOval', true);
- }
- Node74.setRotation(0*Math.PI/180);
- Node74.borderWidth = Node74BorderWidth;
- Node74.borderFillwidth = Node74BorderWidth;
- dataModel.add(Node74);
- Node74._nodename = 'Node74'
- Node74._nodeType = 'rect';
- zoomNodeList.push({
- node: Node74,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node74, Node74.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75type = 'rect';
- var Node75 = new ht.Node(),
- Node75BorderWidth = 1*2;
- if (Node75type === 'arc') {
- Node75BorderWidth *= 1;
- }
- Node75.setImage(GD.getRectJSON(235*_ratio.ratioX, 27*_ratio.ratioY, Node75type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node75.setPosition(1764*ratio.ratioX, 659*ratio.ratioY);
- Node75.setSize(235*_ratio.ratioX, 27*_ratio.ratioY);
- Node75.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node75.a('node.width', 235*_ratio.ratioX);
- Node75.a('node.height', 27*_ratio.ratioY);
- Node75.a('node.type', Node75type);
- Node75.a('node.rect', [0, 0, 235*_ratio.ratioX, 27*_ratio.ratioY]);
- Node75.a('node.background', 'rgba(244,244,244,1)');
- Node75.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node75.a('node.gradient', '');
- Node75.a('node.borderwidth', Node75BorderWidth);
- Node75.a('node.color', 'rgba(234,234,234,1)');
- Node75.a('node.fillrect', [0,0,0,0]);
- Node75.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradient', '');
- if (Node75type !== 'rect') {
- Node75.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node75.a('node.arcTo', parseFloat('@arcTo@'));
- Node75.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node75type === 'arc') {
- Node75.a('node.arcOval', true);
- }
- Node75.setRotation(0*Math.PI/180);
- Node75.borderWidth = Node75BorderWidth;
- Node75.borderFillwidth = Node75BorderWidth;
- dataModel.add(Node75);
- Node75._nodename = 'Node75'
- Node75._nodeType = 'rect';
- zoomNodeList.push({
- node: Node75,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node75, Node75.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76type = 'rect';
- var Node76 = new ht.Node(),
- Node76BorderWidth = 1*2;
- if (Node76type === 'arc') {
- Node76BorderWidth *= 1;
- }
- Node76.setImage(GD.getRectJSON(235*_ratio.ratioX, 27*_ratio.ratioY, Node76type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node76.setPosition(1764*ratio.ratioX, 719*ratio.ratioY);
- Node76.setSize(235*_ratio.ratioX, 27*_ratio.ratioY);
- Node76.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node76.a('node.width', 235*_ratio.ratioX);
- Node76.a('node.height', 27*_ratio.ratioY);
- Node76.a('node.type', Node76type);
- Node76.a('node.rect', [0, 0, 235*_ratio.ratioX, 27*_ratio.ratioY]);
- Node76.a('node.background', 'rgba(244,244,244,1)');
- Node76.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node76.a('node.gradient', '');
- Node76.a('node.borderwidth', Node76BorderWidth);
- Node76.a('node.color', 'rgba(234,234,234,1)');
- Node76.a('node.fillrect', [0,0,0,0]);
- Node76.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradient', '');
- if (Node76type !== 'rect') {
- Node76.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node76.a('node.arcTo', parseFloat('@arcTo@'));
- Node76.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node76type === 'arc') {
- Node76.a('node.arcOval', true);
- }
- Node76.setRotation(0*Math.PI/180);
- Node76.borderWidth = Node76BorderWidth;
- Node76.borderFillwidth = Node76BorderWidth;
- dataModel.add(Node76);
- Node76._nodename = 'Node76'
- Node76._nodeType = 'rect';
- zoomNodeList.push({
- node: Node76,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node76, Node76.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77type = 'rect';
- var Node77 = new ht.Node(),
- Node77BorderWidth = 1*2;
- if (Node77type === 'arc') {
- Node77BorderWidth *= 1;
- }
- Node77.setImage(GD.getRectJSON(235*_ratio.ratioX, 27*_ratio.ratioY, Node77type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node77.setPosition(1764*ratio.ratioX, 779*ratio.ratioY);
- Node77.setSize(235*_ratio.ratioX, 27*_ratio.ratioY);
- Node77.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node77.a('node.width', 235*_ratio.ratioX);
- Node77.a('node.height', 27*_ratio.ratioY);
- Node77.a('node.type', Node77type);
- Node77.a('node.rect', [0, 0, 235*_ratio.ratioX, 27*_ratio.ratioY]);
- Node77.a('node.background', 'rgba(244,244,244,1)');
- Node77.a('node.gradientcolor', 'rgba(244,244,244,1)');
- Node77.a('node.gradient', '');
- Node77.a('node.borderwidth', Node77BorderWidth);
- Node77.a('node.color', 'rgba(234,234,234,1)');
- Node77.a('node.fillrect', [0,0,0,0]);
- Node77.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node77.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node77.a('node.fillgradient', '');
- if (Node77type !== 'rect') {
- Node77.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node77.a('node.arcTo', parseFloat('@arcTo@'));
- Node77.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node77type === 'arc') {
- Node77.a('node.arcOval', true);
- }
- Node77.setRotation(0*Math.PI/180);
- Node77.borderWidth = Node77BorderWidth;
- Node77.borderFillwidth = Node77BorderWidth;
- dataModel.add(Node77);
- Node77._nodename = 'Node77'
- Node77._nodeType = 'rect';
- zoomNodeList.push({
- node: Node77,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node77, Node77.getImage());var Node78;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_fjxx_fx0.png', PAGEROOTDIR + 'image//page_fjxx_fx0.png');
- Node78 = new ht.Node();
- Node78.setPosition(1568*ratio.ratioX, 279*ratio.ratioY);
- Node78.setSize(146*ratioX, 146*ratioY);
- Node78.setImage('imgimage//page_fjxx_fx0.png');
- Node78.setRotation(0*Math.PI/180);
- Node78._zoomBy = 'Default';
- Node78._nodeType = 'image';
- Node78._disallowEvert = true;
- dataModel.add(Node78);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79type = 'rect';
- var Node79 = new ht.Node(),
- Node79BorderWidth = 1*2;
- if (Node79type === 'arc') {
- Node79BorderWidth *= 1;
- }
- Node79.setImage(GD.getRectJSON(2*_ratio.ratioX, 580*_ratio.ratioY, Node79type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node79.setPosition(1643*ratio.ratioX, 496*ratio.ratioY);
- Node79.setSize(2*_ratio.ratioX, 580*_ratio.ratioY);
- Node79.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node79.a('node.width', 2*_ratio.ratioX);
- Node79.a('node.height', 580*_ratio.ratioY);
- Node79.a('node.type', Node79type);
- Node79.a('node.rect', [0, 0, 2*_ratio.ratioX, 580*_ratio.ratioY]);
- Node79.a('node.background', 'rgba(234,234,234,1)');
- Node79.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node79.a('node.gradient', '');
- Node79.a('node.borderwidth', Node79BorderWidth);
- Node79.a('node.color', 'rgba(234,234,234,1)');
- Node79.a('node.fillrect', [0,0,0,0]);
- Node79.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradient', '');
- if (Node79type !== 'rect') {
- Node79.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node79.a('node.arcTo', parseFloat('@arcTo@'));
- Node79.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node79type === 'arc') {
- Node79.a('node.arcOval', true);
- }
- Node79.setRotation(0*Math.PI/180);
- Node79.borderWidth = Node79BorderWidth;
- Node79.borderFillwidth = Node79BorderWidth;
- dataModel.add(Node79);
- Node79._nodename = 'Node79'
- Node79._nodeType = 'rect';
- zoomNodeList.push({
- node: Node79,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node79, Node79.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80 = new ht.Node();
- var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 19.99995*_ratio.ratioY,Node80width = 43*_ratio.ratioX, Node80height = 35*_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('A01', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('A01', ' '+ Node80fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
- Node80.setPosition(388*ratio.ratioX, 186*ratio.ratioY);
- Node80.setWidth(Node80width);
- Node80.setHeight(Node80height);
- Node80._nodeType = 'text';
- Node80._disallowEvert = true;
- Node80.setRotation(0*Math.PI/180);
- Node80.a('node.width', Node80width);
- Node80.a('node.height', Node80height);
- Node80.a('node.rect', [0, 0, Node80width, Node80height]);
- Node80.a('node.bordercolor','rgba(0,0,0,1)');
- Node80.a('node.borderwidth', 0);
- Node80.a('node.background','' || 'rgba(0,0,0,0)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','');
- Node80.a('node.text','A01');
- Node80.a('node.textalign','left');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(0,0,0,1)');
- Node80.a('node.font',' '+ 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') || 'A01';
- var color=Node80.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node80width,Node80height,19.99995*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (35 - 19.99995) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('A01', ' '+ 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 = 175*_ratio.ratioX, Node81height = 37*_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(550*ratio.ratioX, 814*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(115,79,35,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(115,79,35,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(115,79,35,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, (37 - 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 Node82type = 'rect';
- var Node82 = new ht.Node(),
- Node82BorderWidth = 1*2;
- if (Node82type === 'arc') {
- Node82BorderWidth *= 1;
- }
- Node82.setImage(GD.getRectJSON(230*_ratio.ratioX, 31*_ratio.ratioY, Node82type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node82.setPosition(572*ratio.ratioX, 811*ratio.ratioY);
- Node82.setSize(230*_ratio.ratioX, 31*_ratio.ratioY);
- Node82.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node82.a('node.width', 230*_ratio.ratioX);
- Node82.a('node.height', 31*_ratio.ratioY);
- Node82.a('node.type', Node82type);
- Node82.a('node.rect', [0, 0, 230*_ratio.ratioX, 31*_ratio.ratioY]);
- Node82.a('node.background', 'rgba(237,219,204,1)');
- Node82.a('node.gradientcolor', 'rgba(237,219,204,1)');
- Node82.a('node.gradient', '');
- Node82.a('node.borderwidth', Node82BorderWidth);
- Node82.a('node.color', 'rgba(237,219,204,1)');
- Node82.a('node.fillrect', [0,0,0,0]);
- Node82.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradient', '');
- if (Node82type !== 'rect') {
- Node82.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node82.a('node.arcTo', parseFloat('@arcTo@'));
- Node82.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node82type === 'arc') {
- Node82.a('node.arcOval', true);
- }
- Node82.setRotation(0*Math.PI/180);
- Node82.borderWidth = Node82BorderWidth;
- Node82.borderFillwidth = Node82BorderWidth;
- dataModel.add(Node82);
- Node82._nodename = 'Node82'
- Node82._nodeType = 'rect';
- zoomNodeList.push({
- node: Node82,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node82, Node82.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83 = new ht.Node();
- var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'left', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 64*_ratio.ratioX, Node83height = 37*_ratio.ratioY;
- (function () {
- if (Node83align === 'left') {
- Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9;
- Node83textWidth = Node83width;
- Node83lineStart = 1;
- } else if (Node83align === 'right') {
- Node83textStart = 0;
- Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2;
- Node83lineStart = (Node83width - (ht.Default.getTextSize('损失电量', ' '+ Node83fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node83align === 'center') {
- Node83textStart = -3;
- Node83textWidth = Node83width;
- Node83lineStart = Node83width - ht.Default.getTextSize('损失电量', ' '+ Node83fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "Arial"'))
- Node83.setPosition(495*ratio.ratioX, 814*ratio.ratioY);
- Node83.setWidth(Node83width);
- Node83.setHeight(Node83height);
- Node83._nodeType = 'text';
- Node83._disallowEvert = true;
- Node83.setRotation(0*Math.PI/180);
- Node83.a('node.width', Node83width);
- Node83.a('node.height', Node83height);
- Node83.a('node.rect', [0, 0, Node83width, Node83height]);
- Node83.a('node.bordercolor','rgba(115,79,35,1)');
- Node83.a('node.borderwidth', 0);
- Node83.a('node.background','' || 'rgba(0,0,0,0)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','');
- Node83.a('node.text','损失电量');
- Node83.a('node.textalign','left');
- Node83.a('node.textvAlign','middle');
- Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]);
- Node83.a('node.color','rgba(115,79,35,1)');
- Node83.a('node.font',' '+ Node83fontSize + 'px "Arial"');
- Node83.a('node.textvisible',true);
- Node83.a('node.linefeed',false);
- if (false) {
- Node83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node83.a('node.text') || '损失电量';
- var color=Node83.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"left",color,' '+ Node83fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node83.a('node.underlinepoints',[Node83lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('损失电量', ' '+ Node83fontSize + 'px "Arial"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
- Node83.a('node.underlinevisible',false);
- Node83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node83);
- zoomNodeList.push({
- node: Node83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84 = new ht.Node();
- var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'left', Node84fontSize = 13.3333*_ratio.ratioY,Node84width = 175*_ratio.ratioX, Node84height = 37*_ratio.ratioY;
- (function () {
- if (Node84align === 'left') {
- Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9;
- Node84textWidth = Node84width;
- Node84lineStart = 1;
- } else if (Node84align === 'right') {
- Node84textStart = 0;
- Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2;
- Node84lineStart = (Node84width - (ht.Default.getTextSize('维护损失电量', ' '+ Node84fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node84align === 'center') {
- Node84textStart = -3;
- Node84textWidth = Node84width;
- Node84lineStart = Node84width - ht.Default.getTextSize('维护损失电量', ' '+ Node84fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "Arial"'))
- Node84.setPosition(550*ratio.ratioX, 848*ratio.ratioY);
- Node84.setWidth(Node84width);
- Node84.setHeight(Node84height);
- Node84._nodeType = 'text';
- Node84._disallowEvert = true;
- Node84.setRotation(0*Math.PI/180);
- Node84.a('node.width', Node84width);
- Node84.a('node.height', Node84height);
- Node84.a('node.rect', [0, 0, Node84width, Node84height]);
- Node84.a('node.bordercolor','rgba(115,79,35,1)');
- Node84.a('node.borderwidth', 0);
- Node84.a('node.background','' || 'rgba(0,0,0,0)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','');
- Node84.a('node.text','维护损失电量');
- Node84.a('node.textalign','left');
- Node84.a('node.textvAlign','middle');
- Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
- Node84.a('node.color','rgba(115,79,35,1)');
- Node84.a('node.font',' '+ Node84fontSize + 'px "Arial"');
- Node84.a('node.textvisible',true);
- Node84.a('node.linefeed',false);
- if (false) {
- Node84.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node84.a('node.text') || '维护损失电量';
- var color=Node84.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"left",color,' '+ Node84fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node84.a('node.underlinepoints',[Node84lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('维护损失电量', ' '+ Node84fontSize + 'px "Arial"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]);
- Node84.a('node.underlinevisible',false);
- Node84.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node84);
- zoomNodeList.push({
- node: Node84,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85 = new ht.Node();
- var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'left', Node85fontSize = 13.3333*_ratio.ratioY,Node85width = 175*_ratio.ratioX, Node85height = 37*_ratio.ratioY;
- (function () {
- if (Node85align === 'left') {
- Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9;
- Node85textWidth = Node85width;
- Node85lineStart = 1;
- } else if (Node85align === 'right') {
- Node85textStart = 0;
- Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2;
- Node85lineStart = (Node85width - (ht.Default.getTextSize('维护损失电量', ' '+ Node85fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node85align === 'center') {
- Node85textStart = -3;
- Node85textWidth = Node85width;
- Node85lineStart = Node85width - ht.Default.getTextSize('维护损失电量', ' '+ Node85fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "Arial"'))
- Node85.setPosition(550*ratio.ratioX, 848*ratio.ratioY);
- Node85.setWidth(Node85width);
- Node85.setHeight(Node85height);
- Node85._nodeType = 'text';
- Node85._disallowEvert = true;
- Node85.setRotation(0*Math.PI/180);
- Node85.a('node.width', Node85width);
- Node85.a('node.height', Node85height);
- Node85.a('node.rect', [0, 0, Node85width, Node85height]);
- Node85.a('node.bordercolor','rgba(115,79,35,1)');
- Node85.a('node.borderwidth', 0);
- Node85.a('node.background','' || 'rgba(0,0,0,0)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','');
- Node85.a('node.text','维护损失电量');
- Node85.a('node.textalign','left');
- Node85.a('node.textvAlign','middle');
- Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
- Node85.a('node.color','rgba(115,79,35,1)');
- Node85.a('node.font',' '+ Node85fontSize + 'px "Arial"');
- Node85.a('node.textvisible',true);
- Node85.a('node.linefeed',false);
- if (false) {
- Node85.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node85.a('node.text') || '维护损失电量';
- var color=Node85.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"left",color,' '+ Node85fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node85.a('node.underlinepoints',[Node85lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('维护损失电量', ' '+ Node85fontSize + 'px "Arial"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]);
- Node85.a('node.underlinevisible',false);
- Node85.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node85);
- zoomNodeList.push({
- node: Node85,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 205*_ratio.ratioX, Node86height = 28*_ratio.ratioY;
- (function () {
- if (Node86align === 'left') {
- Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
- Node86textWidth = Node86width;
- Node86lineStart = 1;
- } else if (Node86align === 'right') {
- Node86textStart = 0;
- Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
- Node86lineStart = (Node86width - (ht.Default.getTextSize('机组A相电流', ' '+ Node86fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('机组A相电流', ' '+ Node86fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "Arial"'))
- Node86.setPosition(314*ratio.ratioX, 249*ratio.ratioY);
- Node86.setWidth(Node86width);
- Node86.setHeight(Node86height);
- Node86._nodeType = 'text';
- Node86._disallowEvert = true;
- Node86.setRotation(0*Math.PI/180);
- Node86.a('node.width', Node86width);
- Node86.a('node.height', Node86height);
- Node86.a('node.rect', [0, 0, Node86width, Node86height]);
- Node86.a('node.bordercolor','rgba(14,151,102,1)');
- Node86.a('node.borderwidth', 0);
- Node86.a('node.background','' || 'rgba(0,0,0,0)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','');
- Node86.a('node.text','机组A相电流');
- Node86.a('node.textalign','left');
- Node86.a('node.textvAlign','middle');
- Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
- Node86.a('node.color','rgba(14,151,102,1)');
- Node86.a('node.font',' '+ Node86fontSize + 'px "Arial"');
- Node86.a('node.textvisible',true);
- Node86.a('node.linefeed',false);
- if (false) {
- Node86.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node86.a('node.text') || '机组A相电流';
- var color=Node86.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,' '+ Node86fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('机组A相电流', ' '+ Node86fontSize + 'px "Arial"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
- Node86.a('node.underlinevisible',false);
- Node86.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node86);
- zoomNodeList.push({
- node: Node86,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.Node();
- var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'left', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 25*_ratio.ratioX, Node87height = 28*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('24', ' '+ Node87fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('24', ' '+ Node87fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "Arial"'))
- Node87.setPosition(379*ratio.ratioX, 249*ratio.ratioY);
- Node87.setWidth(Node87width);
- Node87.setHeight(Node87height);
- Node87._nodeType = 'text';
- Node87._disallowEvert = true;
- Node87.setRotation(0*Math.PI/180);
- Node87.a('node.width', Node87width);
- Node87.a('node.height', Node87height);
- Node87.a('node.rect', [0, 0, Node87width, Node87height]);
- Node87.a('node.bordercolor','rgba(0,0,0,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','24');
- Node87.a('node.textalign','left');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(0,0,0,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "Arial"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || '24';
- var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,' '+ Node87fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('24', ' '+ Node87fontSize + 'px "Arial"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
- Node87.a('node.underlinevisible',false);
- Node87.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node87);
- zoomNodeList.push({
- node: Node87,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'left', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 35*_ratio.ratioX, Node88height = 28*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('A', ' '+ Node88fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('A', ' '+ Node88fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "Arial"'))
- Node88.setPosition(439*ratio.ratioX, 249*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(14,151,102,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','A');
- Node88.a('node.textalign','left');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(14,151,102,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "Arial"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || 'A';
- var color=Node88.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,' '+ Node88fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('A', ' '+ Node88fontSize + 'px "Arial"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.Node();
- var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'left', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 205*_ratio.ratioX, Node89height = 24*_ratio.ratioY;
- (function () {
- if (Node89align === 'left') {
- Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
- Node89textWidth = Node89width;
- Node89lineStart = 1;
- } else if (Node89align === 'right') {
- Node89textStart = 0;
- Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
- Node89lineStart = (Node89width - (ht.Default.getTextSize('机组B相电流', ' '+ Node89fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node89align === 'center') {
- Node89textStart = -3;
- Node89textWidth = Node89width;
- Node89lineStart = Node89width - ht.Default.getTextSize('机组B相电流', ' '+ Node89fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "Arial"'))
- Node89.setPosition(314*ratio.ratioX, 276*ratio.ratioY);
- Node89.setWidth(Node89width);
- Node89.setHeight(Node89height);
- Node89._nodeType = 'text';
- Node89._disallowEvert = true;
- Node89.setRotation(0*Math.PI/180);
- Node89.a('node.width', Node89width);
- Node89.a('node.height', Node89height);
- Node89.a('node.rect', [0, 0, Node89width, Node89height]);
- Node89.a('node.bordercolor','rgba(14,151,102,1)');
- Node89.a('node.borderwidth', 0);
- Node89.a('node.background','' || 'rgba(0,0,0,0)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','');
- Node89.a('node.text','机组B相电流');
- Node89.a('node.textalign','left');
- Node89.a('node.textvAlign','middle');
- Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
- Node89.a('node.color','rgba(14,151,102,1)');
- Node89.a('node.font',' '+ Node89fontSize + 'px "Arial"');
- Node89.a('node.textvisible',true);
- Node89.a('node.linefeed',false);
- if (false) {
- Node89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node89.a('node.text') || '机组B相电流';
- var color=Node89.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"left",color,' '+ Node89fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node89.a('node.underlinepoints',[Node89lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('机组B相电流', ' '+ Node89fontSize + 'px "Arial"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
- Node89.a('node.underlinevisible',false);
- Node89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node89);
- zoomNodeList.push({
- node: Node89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 35*_ratio.ratioX, Node90height = 24*_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('24', ' '+ Node90fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('24', ' '+ Node90fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"'))
- Node90.setPosition(384*ratio.ratioX, 276*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','24');
- 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') || '24';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('24', ' '+ 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'
- }); var Node91points=[37, 165,187, 165],
- Node91rect=ht.Default.unionPoint([{x:37,y:165},{x:187,y:165}]),
- Node91compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node91points.length;i++){
- if(i%2==0){
- Node91compspts.push(Node91points[i]-Node91rect.x);
- }else{
- Node91compspts.push(Node91points[i]-Node91rect.y);
- }
- }
- var Node91ptslength=Node91compspts.length;
- if (Node91rect.height === 0) {
- Node91compspts[0] -= 0;
- Node91compspts[Node91ptslength-2] += 0;
- } else if (Node91rect.width === 0){
- Node91compspts[1] -= 0;
- Node91compspts[Node91ptslength-1] += 0;
- } else {
- Node91compspts[0] -= 0;
- Node91compspts[1] -= 0;
- Node91compspts[Node91ptslength-2] += 0;
- Node91compspts[Node91ptslength-1] += 0;
- }
- Node91 = new ht.Node();
- Node91.borderWidth = 1;
- Node91rect.width = Node91rect.width === 0 ? 0.0001 : Node91rect.width;
- Node91rect.height = Node91rect.height === 0 ? 0.0001 : Node91rect.height;
- var Node91endCompspts = [Node91compspts[Node91ptslength-2],Node91compspts[Node91ptslength-1],0,0];
- var Node91startCompspts = [Node91compspts[0],Node91compspts[1],0,0];
- Node91.setImage(GD.getPolyLineJSON());
- Node91.setPosition(Node91rect.x+Node91rect.width/2,Node91rect.y+Node91rect.height/2);
- Node91.setSize(Node91rect.width,Node91rect.height);
- Node91.setStyle("opacity",1);
- Node91.s({'pixelPerfect':true});
- Node91borderwidth=1;
- Node91.setRotation(0);
- dataModel.add(Node91);
- Node91.a('node.points',Node91compspts);
- Node91.a('node.segments',[1,2]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node91.a('node.borderColor','rgba(0,0,0,1)');
- Node91.a('node.background','rgba(0,0,0,1)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','rgba(0,0,0,1)');
- Node91.a('node.endCompspts',Node91endCompspts);
- Node91.a('node.startCompspts',Node91startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node91';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node91, Node91.getImage(), Node91compspts, Node91endCompspts, Node91startCompspts);
- var Node92points=[37, 167,1887, 165],
- Node92rect=ht.Default.unionPoint([{x:37,y:167},{x:1887,y:165}]),
- Node92compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.1405115729037, ratio),
- _endratio = GD.getRatioWithRotation(-0.00108108068609283, ratio);
- for(var i=0;i<Node92points.length;i++){
- if(i%2==0){
- Node92compspts.push(Node92points[i]-Node92rect.x);
- }else{
- Node92compspts.push(Node92points[i]-Node92rect.y);
- }
- }
- var Node92ptslength=Node92compspts.length;
- if (Node92rect.height === 0) {
- Node92compspts[0] -= 0;
- Node92compspts[Node92ptslength-2] += 0;
- } else if (Node92rect.width === 0){
- Node92compspts[1] -= 0;
- Node92compspts[Node92ptslength-1] += 0;
- } else {
- Node92compspts[0] -= 0;
- Node92compspts[1] -= 0;
- Node92compspts[Node92ptslength-2] += 0;
- Node92compspts[Node92ptslength-1] += 0;
- }
- Node92 = new ht.Node();
- Node92.borderWidth = 1;
- Node92rect.width = Node92rect.width === 0 ? 0.0001 : Node92rect.width;
- Node92rect.height = Node92rect.height === 0 ? 0.0001 : Node92rect.height;
- var Node92endCompspts = [Node92compspts[Node92ptslength-2],Node92compspts[Node92ptslength-1],0,0];
- var Node92startCompspts = [Node92compspts[0],Node92compspts[1],0,0];
- Node92.setImage(GD.getPolyLineJSON());
- Node92.setPosition(Node92rect.x+Node92rect.width/2,Node92rect.y+Node92rect.height/2);
- Node92.setSize(Node92rect.width,Node92rect.height);
- Node92.setStyle("opacity",1);
- Node92.s({'pixelPerfect':true});
- Node92borderwidth=1;
- Node92.setRotation(0);
- dataModel.add(Node92);
- Node92.a('node.points',Node92compspts);
- Node92.a('node.segments',[1,2]);
- Node92.a('node.color','rgba(224,224,224,1)');
- Node92.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node92.a('node.borderColor','rgba(224,224,224,1)');
- Node92.a('node.background','rgba(224,224,224,1)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','rgba(224,224,224,1)');
- Node92.a('node.endCompspts',Node92endCompspts);
- Node92.a('node.startCompspts',Node92startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node92';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node92, Node92.getImage(), Node92compspts, Node92endCompspts, Node92startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 17.33329*_ratio.ratioY,Node93width = 39*_ratio.ratioX, Node93height = 34*_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(1856*ratio.ratioX, 525*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,17.33329*0.5*_ratio.ratioY,Node93width,Node93height,17.33329*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (34 - 17.33329) * 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 = 17.33329*_ratio.ratioY,Node94width = 39*_ratio.ratioX, Node94height = 34*_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(1856*ratio.ratioX, 575*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,17.33329*0.5*_ratio.ratioY,Node94width,Node94height,17.33329*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (34 - 17.33329) * 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 = 17.33329*_ratio.ratioY,Node95width = 39*_ratio.ratioX, Node95height = 34*_ratio.ratioY;
- (function () {
- if (Node95align === 'left') {
- Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
- Node95textWidth = Node95width;
- Node95lineStart = 1;
- } else if (Node95align === 'right') {
- Node95textStart = 0;
- Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
- Node95lineStart = (Node95width - (ht.Default.getTextSize('℃', ' '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node95align === 'center') {
- Node95textStart = -3;
- Node95textWidth = Node95width;
- Node95lineStart = Node95width - ht.Default.getTextSize('℃', ' '+ Node95fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, ' '+ Node95fontSize + 'px "Arial"'))
- Node95.setPosition(1856*ratio.ratioX, 634*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','℃');
- 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',' '+ 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') || '℃';
- var color=Node95.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node95width,Node95height,17.33329*_ratio.ratioY,"left",color,' '+ Node95fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node95.a('node.underlinepoints',[Node95lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('℃', ' '+ 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 = 17.33329*_ratio.ratioY,Node96width = 39*_ratio.ratioX, Node96height = 34*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('℃', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('℃', ' '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(1856*ratio.ratioX, 692*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','℃');
- 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',' '+ Node96fontSize + 'px "Arial"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '℃';
- var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node96width,Node96height,17.33329*_ratio.ratioY,"left",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 17.33329*_ratio.ratioY,Node97width = 39*_ratio.ratioX, Node97height = 34*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('℃', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('℃', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(1856*ratio.ratioX, 752*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','℃');
- 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',' '+ Node97fontSize + 'px "Arial"');
- Node97.a('node.textvisible',true);
- Node97.a('node.linefeed',false);
- if (false) {
- Node97.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node97.a('node.text') || '℃';
- var color=Node97.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node97width,Node97height,17.33329*_ratio.ratioY,"left",color,' '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (34 - 17.33329) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 17.33329*_ratio.ratioY,Node98width = 59*_ratio.ratioX, Node98height = 24*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(1796*ratio.ratioX, 325*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(0,0,0,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','0');
- Node98.a('node.textalign','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',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '0';
- var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node98width,Node98height,17.33329*_ratio.ratioY,"left",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 17.33329*_ratio.ratioY,Node99width = 59*_ratio.ratioX, Node99height = 24*_ratio.ratioY;
- (function () {
- if (Node99align === 'left') {
- Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
- Node99textWidth = Node99width;
- Node99lineStart = 1;
- } else if (Node99align === 'right') {
- Node99textStart = 0;
- Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
- Node99lineStart = (Node99width - (ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(1796*ratio.ratioX, 377*ratio.ratioY);
- Node99.setWidth(Node99width);
- Node99.setHeight(Node99height);
- Node99._nodeType = 'text';
- Node99._disallowEvert = true;
- Node99.setRotation(0*Math.PI/180);
- Node99.a('node.width', Node99width);
- Node99.a('node.height', Node99height);
- Node99.a('node.rect', [0, 0, Node99width, Node99height]);
- Node99.a('node.bordercolor','rgba(0,0,0,1)');
- Node99.a('node.borderwidth', 0);
- Node99.a('node.background','' || 'rgba(0,0,0,0)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','');
- Node99.a('node.text','0');
- Node99.a('node.textalign','left');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(0,0,0,1)');
- Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
- Node99.a('node.textvisible',true);
- Node99.a('node.linefeed',false);
- if (false) {
- Node99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node99.a('node.text') || '0';
- var color=Node99.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node99width,Node99height,17.33329*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100 = new ht.Node();
- var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'left', Node100fontSize = 17.33329*_ratio.ratioY,Node100width = 29*_ratio.ratioX, Node100height = 24*_ratio.ratioY;
- (function () {
- if (Node100align === 'left') {
- Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
- Node100textWidth = Node100width;
- Node100lineStart = 1;
- } else if (Node100align === 'right') {
- Node100textStart = 0;
- Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
- Node100lineStart = (Node100width - (ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(1781*ratio.ratioX, 427*ratio.ratioY);
- Node100.setWidth(Node100width);
- Node100.setHeight(Node100height);
- Node100._nodeType = 'text';
- Node100._disallowEvert = true;
- Node100.setRotation(0*Math.PI/180);
- Node100.a('node.width', Node100width);
- Node100.a('node.height', Node100height);
- Node100.a('node.rect', [0, 0, Node100width, Node100height]);
- Node100.a('node.bordercolor','rgba(0,0,0,1)');
- Node100.a('node.borderwidth', 0);
- Node100.a('node.background','' || 'rgba(0,0,0,0)');
- Node100.a('node.gradient','');
- Node100.a('node.gradientcolor','');
- Node100.a('node.text','0');
- Node100.a('node.textalign','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',' '+ Node100fontSize + 'px "Arial"');
- Node100.a('node.textvisible',true);
- Node100.a('node.linefeed',false);
- if (false) {
- Node100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node100.a('node.text') || '0';
- var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node100width,Node100height,17.33329*_ratio.ratioY,"left",color,' '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
- Node100.a('node.underlinevisible',false);
- Node100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node100);
- zoomNodeList.push({
- node: Node100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 17.33329*_ratio.ratioY,Node101width = 59*_ratio.ratioX, Node101height = 24*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(1796*ratio.ratioX, 475*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(0,0,0,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','0');
- Node101.a('node.textalign','left');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(0,0,0,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '0';
- var color=Node101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node101width,Node101height,17.33329*_ratio.ratioY,"left",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 17.33329*_ratio.ratioY,Node102width = 19*_ratio.ratioX, Node102height = 24*_ratio.ratioY;
- (function () {
- if (Node102align === 'left') {
- Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
- Node102textWidth = Node102width;
- Node102lineStart = 1;
- } else if (Node102align === 'right') {
- Node102textStart = 0;
- Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
- Node102lineStart = (Node102width - (ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
- Node102.setPosition(1776*ratio.ratioX, 525*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(0,0,0,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','0');
- Node102.a('node.textalign','left');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(0,0,0,1)');
- Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
- Node102.a('node.textvisible',true);
- Node102.a('node.linefeed',false);
- if (false) {
- Node102.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node102.a('node.text') || '0';
- var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node102width,Node102height,17.33329*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 17.33329*_ratio.ratioY,Node103width = 59*_ratio.ratioX, Node103height = 24*_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('0', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('0', ' '+ Node103fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
- Node103.setPosition(1796*ratio.ratioX, 576*ratio.ratioY);
- Node103.setWidth(Node103width);
- Node103.setHeight(Node103height);
- Node103._nodeType = 'text';
- Node103._disallowEvert = true;
- Node103.setRotation(0*Math.PI/180);
- Node103.a('node.width', Node103width);
- Node103.a('node.height', Node103height);
- Node103.a('node.rect', [0, 0, Node103width, Node103height]);
- Node103.a('node.bordercolor','rgba(0,0,0,1)');
- Node103.a('node.borderwidth', 0);
- Node103.a('node.background','' || 'rgba(0,0,0,0)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','');
- Node103.a('node.text','0');
- Node103.a('node.textalign','left');
- Node103.a('node.textvAlign','middle');
- Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
- Node103.a('node.color','rgba(0,0,0,1)');
- Node103.a('node.font',' '+ Node103fontSize + 'px "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') || '0';
- var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node103width,Node103height,17.33329*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 17.33329*_ratio.ratioY,Node104width = 19*_ratio.ratioX, Node104height = 24*_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('0', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
- Node104.setPosition(1776*ratio.ratioX, 633*ratio.ratioY);
- Node104.setWidth(Node104width);
- Node104.setHeight(Node104height);
- Node104._nodeType = 'text';
- Node104._disallowEvert = true;
- Node104.setRotation(0*Math.PI/180);
- Node104.a('node.width', Node104width);
- Node104.a('node.height', Node104height);
- Node104.a('node.rect', [0, 0, Node104width, Node104height]);
- Node104.a('node.bordercolor','rgba(0,0,0,1)');
- Node104.a('node.borderwidth', 0);
- Node104.a('node.background','' || 'rgba(0,0,0,0)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','');
- Node104.a('node.text','0');
- Node104.a('node.textalign','left');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(0,0,0,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || '0';
- var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node104width,Node104height,17.33329*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
- Node104.a('node.underlinevisible',false);
- Node104.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node104);
- zoomNodeList.push({
- node: Node104,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105 = new ht.Node();
- var Node105textStart, Node105textWidth, Node105lineStart, Node105align = 'left', Node105fontSize = 17.33329*_ratio.ratioY,Node105width = 19*_ratio.ratioX, Node105height = 24*_ratio.ratioY;
- (function () {
- if (Node105align === 'left') {
- Node105textStart = Node105fontSize * 0.2 > 2 ? Node105fontSize * 0.2 - 4 : Node105fontSize * 0.2 - 9;
- Node105textWidth = Node105width;
- Node105lineStart = 1;
- } else if (Node105align === 'right') {
- Node105textStart = 0;
- Node105textWidth =Node105fontSize <= 8 ? Node105width + Node105fontSize * 0.2 + 6 : Node105width - Node105fontSize * 0.2;
- Node105lineStart = (Node105width - (ht.Default.getTextSize('0', ' '+ Node105fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node105align === 'center') {
- Node105textStart = -3;
- Node105textWidth = Node105width;
- Node105lineStart = Node105width - ht.Default.getTextSize('0', ' '+ Node105fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, ' '+ Node105fontSize + 'px "Arial"'))
- Node105.setPosition(1776*ratio.ratioX, 693*ratio.ratioY);
- Node105.setWidth(Node105width);
- Node105.setHeight(Node105height);
- Node105._nodeType = 'text';
- Node105._disallowEvert = true;
- Node105.setRotation(0*Math.PI/180);
- Node105.a('node.width', Node105width);
- Node105.a('node.height', Node105height);
- Node105.a('node.rect', [0, 0, Node105width, Node105height]);
- Node105.a('node.bordercolor','rgba(0,0,0,1)');
- Node105.a('node.borderwidth', 0);
- Node105.a('node.background','' || 'rgba(0,0,0,0)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','');
- Node105.a('node.text','0');
- Node105.a('node.textalign','left');
- Node105.a('node.textvAlign','middle');
- Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]);
- Node105.a('node.color','rgba(0,0,0,1)');
- Node105.a('node.font',' '+ Node105fontSize + 'px "Arial"');
- Node105.a('node.textvisible',true);
- Node105.a('node.linefeed',false);
- if (false) {
- Node105.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node105.a('node.text') || '0';
- var color=Node105.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node105width,Node105height,17.33329*_ratio.ratioY,"left",color,' '+ Node105fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node105.a('node.underlinepoints',[Node105lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node105fontSize + 'px "Arial"').width + 6, (Node105height - Node105fontSize) * 0.5*_ratio.ratioY + Node105fontSize + 2 ]);
- Node105.a('node.underlinevisible',false);
- Node105.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node105);
- zoomNodeList.push({
- node: Node105,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106 = new ht.Node();
- var Node106textStart, Node106textWidth, Node106lineStart, Node106align = 'left', Node106fontSize = 17.33329*_ratio.ratioY,Node106width = 19*_ratio.ratioX, Node106height = 24*_ratio.ratioY;
- (function () {
- if (Node106align === 'left') {
- Node106textStart = Node106fontSize * 0.2 > 2 ? Node106fontSize * 0.2 - 4 : Node106fontSize * 0.2 - 9;
- Node106textWidth = Node106width;
- Node106lineStart = 1;
- } else if (Node106align === 'right') {
- Node106textStart = 0;
- Node106textWidth =Node106fontSize <= 8 ? Node106width + Node106fontSize * 0.2 + 6 : Node106width - Node106fontSize * 0.2;
- Node106lineStart = (Node106width - (ht.Default.getTextSize('0', ' '+ Node106fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node106align === 'center') {
- Node106textStart = -3;
- Node106textWidth = Node106width;
- Node106lineStart = Node106width - ht.Default.getTextSize('0', ' '+ Node106fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, ' '+ Node106fontSize + 'px "Arial"'))
- Node106.setPosition(1776*ratio.ratioX, 753*ratio.ratioY);
- Node106.setWidth(Node106width);
- Node106.setHeight(Node106height);
- Node106._nodeType = 'text';
- Node106._disallowEvert = true;
- Node106.setRotation(0*Math.PI/180);
- Node106.a('node.width', Node106width);
- Node106.a('node.height', Node106height);
- Node106.a('node.rect', [0, 0, Node106width, Node106height]);
- Node106.a('node.bordercolor','rgba(0,0,0,1)');
- Node106.a('node.borderwidth', 0);
- Node106.a('node.background','' || 'rgba(0,0,0,0)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','');
- Node106.a('node.text','0');
- Node106.a('node.textalign','left');
- Node106.a('node.textvAlign','middle');
- Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]);
- Node106.a('node.color','rgba(0,0,0,1)');
- Node106.a('node.font',' '+ Node106fontSize + 'px "Arial"');
- Node106.a('node.textvisible',true);
- Node106.a('node.linefeed',false);
- if (false) {
- Node106.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node106.a('node.text') || '0';
- var color=Node106.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node106width,Node106height,17.33329*_ratio.ratioY,"left",color,' '+ Node106fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node106.a('node.underlinepoints',[Node106lineStart, (24 - 17.33329) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node106fontSize + 'px "Arial"').width + 6, (Node106height - Node106fontSize) * 0.5*_ratio.ratioY + Node106fontSize + 2 ]);
- Node106.a('node.underlinevisible',false);
- Node106.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node106);
- zoomNodeList.push({
- node: Node106,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107 = new ht.Node();
- var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'left', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 205*_ratio.ratioX, Node107height = 24*_ratio.ratioY;
- (function () {
- if (Node107align === 'left') {
- Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9;
- Node107textWidth = Node107width;
- Node107lineStart = 1;
- } else if (Node107align === 'right') {
- Node107textStart = 0;
- Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2;
- Node107lineStart = (Node107width - (ht.Default.getTextSize('机组C相电流', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node107align === 'center') {
- Node107textStart = -3;
- Node107textWidth = Node107width;
- Node107lineStart = Node107width - ht.Default.getTextSize('机组C相电流', ' '+ Node107fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"'))
- Node107.setPosition(314*ratio.ratioX, 305*ratio.ratioY);
- Node107.setWidth(Node107width);
- Node107.setHeight(Node107height);
- Node107._nodeType = 'text';
- Node107._disallowEvert = true;
- Node107.setRotation(0*Math.PI/180);
- Node107.a('node.width', Node107width);
- Node107.a('node.height', Node107height);
- Node107.a('node.rect', [0, 0, Node107width, Node107height]);
- Node107.a('node.bordercolor','rgba(14,151,102,1)');
- Node107.a('node.borderwidth', 0);
- Node107.a('node.background','' || 'rgba(0,0,0,0)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','');
- Node107.a('node.text','机组C相电流');
- Node107.a('node.textalign','left');
- Node107.a('node.textvAlign','middle');
- Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]);
- Node107.a('node.color','rgba(14,151,102,1)');
- Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"');
- Node107.a('node.textvisible',true);
- Node107.a('node.linefeed',false);
- if (false) {
- Node107.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node107.a('node.text') || '机组C相电流';
- var color=Node107.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"left",color,' '+ Node107fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node107.a('node.underlinepoints',[Node107lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('机组C相电流', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
- Node107.a('node.underlinevisible',false);
- Node107.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node107);
- zoomNodeList.push({
- node: Node107,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108 = new ht.Node();
- var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'left', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 35*_ratio.ratioX, Node108height = 24*_ratio.ratioY;
- (function () {
- if (Node108align === 'left') {
- Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9;
- Node108textWidth = Node108width;
- Node108lineStart = 1;
- } else if (Node108align === 'right') {
- Node108textStart = 0;
- Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2;
- Node108lineStart = (Node108width - (ht.Default.getTextSize('24', ' '+ Node108fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node108align === 'center') {
- Node108textStart = -3;
- Node108textWidth = Node108width;
- Node108lineStart = Node108width - ht.Default.getTextSize('24', ' '+ Node108fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, ' '+ Node108fontSize + 'px "Arial"'))
- Node108.setPosition(384*ratio.ratioX, 305*ratio.ratioY);
- Node108.setWidth(Node108width);
- Node108.setHeight(Node108height);
- Node108._nodeType = 'text';
- Node108._disallowEvert = true;
- Node108.setRotation(0*Math.PI/180);
- Node108.a('node.width', Node108width);
- Node108.a('node.height', Node108height);
- Node108.a('node.rect', [0, 0, Node108width, Node108height]);
- Node108.a('node.bordercolor','rgba(0,0,0,1)');
- Node108.a('node.borderwidth', 0);
- Node108.a('node.background','' || 'rgba(0,0,0,0)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','');
- Node108.a('node.text','24');
- Node108.a('node.textalign','left');
- Node108.a('node.textvAlign','middle');
- Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]);
- Node108.a('node.color','rgba(0,0,0,1)');
- Node108.a('node.font',' '+ Node108fontSize + 'px "Arial"');
- Node108.a('node.textvisible',true);
- Node108.a('node.linefeed',false);
- if (false) {
- Node108.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node108.a('node.text') || '24';
- var color=Node108.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"left",color,' '+ Node108fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node108.a('node.underlinepoints',[Node108lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('24', ' '+ Node108fontSize + 'px "Arial"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]);
- Node108.a('node.underlinevisible',false);
- Node108.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node108);
- zoomNodeList.push({
- node: Node108,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'left', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 205*_ratio.ratioX, Node109height = 24*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('A', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('A', ' '+ Node109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
- Node109.setPosition(524*ratio.ratioX, 305*ratio.ratioY);
- Node109.setWidth(Node109width);
- Node109.setHeight(Node109height);
- Node109._nodeType = 'text';
- Node109._disallowEvert = true;
- Node109.setRotation(0*Math.PI/180);
- Node109.a('node.width', Node109width);
- Node109.a('node.height', Node109height);
- Node109.a('node.rect', [0, 0, Node109width, Node109height]);
- Node109.a('node.bordercolor','rgba(14,151,102,1)');
- Node109.a('node.borderwidth', 0);
- Node109.a('node.background','' || 'rgba(0,0,0,0)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','');
- Node109.a('node.text','A');
- Node109.a('node.textalign','left');
- Node109.a('node.textvAlign','middle');
- Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
- Node109.a('node.color','rgba(14,151,102,1)');
- Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"');
- Node109.a('node.textvisible',true);
- Node109.a('node.linefeed',false);
- if (false) {
- Node109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node109.a('node.text') || 'A';
- var color=Node109.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"left",color,' '+ Node109fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node109.a('node.underlinepoints',[Node109lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('A', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
- Node109.a('node.underlinevisible',false);
- Node109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node109);
- zoomNodeList.push({
- node: Node109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 35*_ratio.ratioX, Node110height = 25*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('396', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('396', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(384*ratio.ratioX, 462*ratio.ratioY);
- Node110.setWidth(Node110width);
- Node110.setHeight(Node110height);
- Node110._nodeType = 'text';
- Node110._disallowEvert = true;
- Node110.setRotation(0*Math.PI/180);
- Node110.a('node.width', Node110width);
- Node110.a('node.height', Node110height);
- Node110.a('node.rect', [0, 0, Node110width, Node110height]);
- Node110.a('node.bordercolor','rgba(0,0,0,1)');
- Node110.a('node.borderwidth', 0);
- Node110.a('node.background','' || 'rgba(0,0,0,0)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','');
- Node110.a('node.text','396');
- Node110.a('node.textalign','left');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(0,0,0,1)');
- Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '396';
- var color=Node110.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'left', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 35*_ratio.ratioX, Node111height = 25*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('396', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('396', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(384*ratio.ratioX, 489*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(0,0,0,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','396');
- Node111.a('node.textalign','left');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(0,0,0,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '396';
- var color=Node111.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"left",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112 = new ht.Node();
- var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'left', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 35*_ratio.ratioX, Node112height = 25*_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('396', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('396', ' '+ Node112fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
- Node112.setPosition(384*ratio.ratioX, 518*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 35*_ratio.ratioX, Node113height = 25*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('396', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('396', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(384*ratio.ratioX, 547*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 35*_ratio.ratioX, Node114height = 25*_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('396', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node114align === 'center') {
- Node114textStart = -3;
- Node114textWidth = Node114width;
- Node114lineStart = Node114width - ht.Default.getTextSize('396', ' '+ Node114fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
- Node114.setPosition(384*ratio.ratioX, 576*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 35*_ratio.ratioX, Node115height = 28*_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('A', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115align === 'center') {
- Node115textStart = -3;
- Node115textWidth = Node115width;
- Node115lineStart = Node115width - ht.Default.getTextSize('A', ' '+ Node115fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"'))
- Node115.setPosition(439*ratio.ratioX, 278*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(14,151,102,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','A');
- Node115.a('node.textalign','left');
- Node115.a('node.textvAlign','middle');
- Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
- Node115.a('node.color','rgba(14,151,102,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') || 'A';
- var color=Node115.a('node.color') || 'rgba(14,151,102,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, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('A', ' '+ 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 = 45*_ratio.ratioX, Node116height = 25*_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(434*ratio.ratioX, 647*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(14,151,102,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(14,151,102,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(14,151,102,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, (25 - 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 = 45*_ratio.ratioX, Node117height = 25*_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('℃', ' '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node117align === 'center') {
- Node117textStart = -3;
- Node117textWidth = Node117width;
- Node117lineStart = Node117width - ht.Default.getTextSize('℃', ' '+ Node117fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "Arial"'))
- Node117.setPosition(434*ratio.ratioX, 677*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(14,151,102,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','℃');
- Node117.a('node.textalign','left');
- Node117.a('node.textvAlign','middle');
- Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
- Node117.a('node.color','rgba(14,151,102,1)');
- Node117.a('node.font',' '+ Node117fontSize + 'px "Arial"');
- Node117.a('node.textvisible',true);
- Node117.a('node.linefeed',false);
- if (false) {
- Node117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node117.a('node.text') || '℃';
- var color=Node117.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"left",color,' '+ Node117fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node117.a('node.underlinepoints',[Node117lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('℃', ' '+ 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 = 45*_ratio.ratioX, Node118height = 25*_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('℃', ' '+ Node118fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node118align === 'center') {
- Node118textStart = -3;
- Node118textWidth = Node118width;
- Node118lineStart = Node118width - ht.Default.getTextSize('℃', ' '+ Node118fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, ' '+ Node118fontSize + 'px "Arial"'))
- Node118.setPosition(434*ratio.ratioX, 707*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(14,151,102,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','℃');
- Node118.a('node.textalign','left');
- Node118.a('node.textvAlign','middle');
- Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]);
- Node118.a('node.color','rgba(14,151,102,1)');
- Node118.a('node.font',' '+ Node118fontSize + 'px "Arial"');
- Node118.a('node.textvisible',true);
- Node118.a('node.linefeed',false);
- if (false) {
- Node118.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node118.a('node.text') || '℃';
- var color=Node118.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"left",color,' '+ Node118fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node118.a('node.underlinepoints',[Node118lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('℃', ' '+ 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 = 35*_ratio.ratioX, Node119height = 25*_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('396', ' '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('396', ' '+ Node119fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "Arial"'))
- Node119.setPosition(384*ratio.ratioX, 646*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','396');
- 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',' '+ 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') || '396';
- 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,' '+ Node119fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 35*_ratio.ratioX, Node120height = 25*_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('396', ' '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('396', ' '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(384*ratio.ratioX, 676*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','396');
- 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',' '+ 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') || '396';
- 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,' '+ Node120fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 35*_ratio.ratioX, Node121height = 25*_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('396', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('396', ' '+ Node121fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
- Node121.setPosition(384*ratio.ratioX, 706*ratio.ratioY);
- Node121.setWidth(Node121width);
- Node121.setHeight(Node121height);
- Node121._nodeType = 'text';
- Node121._disallowEvert = true;
- Node121.setRotation(0*Math.PI/180);
- Node121.a('node.width', Node121width);
- Node121.a('node.height', Node121height);
- Node121.a('node.rect', [0, 0, Node121width, Node121height]);
- Node121.a('node.bordercolor','rgba(0,0,0,1)');
- Node121.a('node.borderwidth', 0);
- Node121.a('node.background','' || 'rgba(0,0,0,0)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','');
- Node121.a('node.text','396');
- Node121.a('node.textalign','left');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(0,0,0,1)');
- Node121.a('node.font',' '+ Node121fontSize + 'px "Arial"');
- Node121.a('node.textvisible',true);
- Node121.a('node.linefeed',false);
- if (false) {
- Node121.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node121.a('node.text') || '396';
- var color=Node121.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"left",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 45*_ratio.ratioX, Node122height = 25*_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('度', ' '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node122align === 'center') {
- Node122textStart = -3;
- Node122textWidth = Node122width;
- Node122lineStart = Node122width - ht.Default.getTextSize('度', ' '+ Node122fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, ' '+ Node122fontSize + 'px "Arial"'))
- Node122.setPosition(434*ratio.ratioX, 775*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(14,151,102,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(14,151,102,1)');
- Node122.a('node.font',' '+ Node122fontSize + 'px "Arial"');
- Node122.a('node.textvisible',true);
- Node122.a('node.linefeed',false);
- if (false) {
- Node122.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node122.a('node.text') || '度';
- var color=Node122.a('node.color') || 'rgba(14,151,102,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"left",color,' '+ Node122fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node122.a('node.underlinepoints',[Node122lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('度', ' '+ 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 = 205*_ratio.ratioX, Node123height = 29*_ratio.ratioY;
- (function () {
- if (Node123align === 'left') {
- Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9;
- Node123textWidth = Node123width;
- Node123lineStart = 1;
- } else if (Node123align === 'right') {
- Node123textStart = 0;
- Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2;
- Node123lineStart = (Node123width - (ht.Default.getTextSize('扭阑偏航角度', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node123align === 'center') {
- Node123textStart = -3;
- Node123textWidth = Node123width;
- Node123lineStart = Node123width - ht.Default.getTextSize('扭阑偏航角度', ' '+ Node123fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"'))
- Node123.setPosition(314*ratio.ratioX, 844*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(14,151,102,1)');
- Node123.a('node.borderwidth', 0);
- Node123.a('node.background','' || 'rgba(0,0,0,0)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','');
- Node123.a('node.text','扭阑偏航角度');
- Node123.a('node.textalign','left');
- Node123.a('node.textvAlign','middle');
- Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]);
- Node123.a('node.color','rgba(14,151,102,1)');
- Node123.a('node.font',' '+ Node123fontSize + 'px "Arial"');
- Node123.a('node.textvisible',true);
- Node123.a('node.linefeed',false);
- if (false) {
- Node123.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node123.a('node.text') || '扭阑偏航角度';
- var color=Node123.a('node.color') || 'rgba(14,151,102,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, (29 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('扭阑偏航角度', ' '+ Node123fontSize + 'px "Arial"').width + 6, (Node123height - Node123fontSize) * 0.5*_ratio.ratioY + Node123fontSize + 2 ]);
- Node123.a('node.underlinevisible',false);
- Node123.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node123);
- zoomNodeList.push({
- node: Node123,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124 = new ht.Node();
- var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 45*_ratio.ratioX, Node124height = 25*_ratio.ratioY;
- (function () {
- if (Node124align === 'left') {
- Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
- Node124textWidth = Node124width;
- Node124lineStart = 1;
- } else if (Node124align === 'right') {
- Node124textStart = 0;
- Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
- Node124lineStart = (Node124width - (ht.Default.getTextSize('度', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node124align === 'center') {
- Node124textStart = -3;
- Node124textWidth = Node124width;
- Node124lineStart = Node124width - ht.Default.getTextSize('度', ' '+ Node124fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
- Node124.setPosition(434*ratio.ratioX, 842*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(14,151,102,1)');
- Node124.a('node.borderwidth', 0);
- Node124.a('node.background','' || 'rgba(0,0,0,0)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','');
- Node124.a('node.text','度');
- Node124.a('node.textalign','left');
- Node124.a('node.textvAlign','middle');
- Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
- Node124.a('node.color','rgba(14,151,102,1)');
- Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
- Node124.a('node.textvisible',true);
- Node124.a('node.linefeed',false);
- if (false) {
- Node124.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node124.a('node.text') || '度';
- var color=Node124.a('node.color') || 'rgba(14,151,102,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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('度', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
- Node124.a('node.underlinevisible',false);
- Node124.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node124);
- zoomNodeList.push({
- node: Node124,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 35*_ratio.ratioX, Node125height = 25*_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('396', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('396', ' '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(384*ratio.ratioX, 772*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(0,0,0,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','396');
- Node125.a('node.textalign','left');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(0,0,0,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "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') || '396';
- var color=Node125.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 35*_ratio.ratioX, Node126height = 25*_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('396', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('396', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(384*ratio.ratioX, 842*ratio.ratioY);
- Node126.setWidth(Node126width);
- Node126.setHeight(Node126height);
- Node126._nodeType = 'text';
- Node126._disallowEvert = true;
- Node126.setRotation(0*Math.PI/180);
- Node126.a('node.width', Node126width);
- Node126.a('node.height', Node126height);
- Node126.a('node.rect', [0, 0, Node126width, Node126height]);
- Node126.a('node.bordercolor','rgba(0,0,0,1)');
- Node126.a('node.borderwidth', 0);
- Node126.a('node.background','' || 'rgba(0,0,0,0)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','');
- Node126.a('node.text','396');
- Node126.a('node.textalign','left');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(0,0,0,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "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') || '396';
- var color=Node126.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127type = 'rect';
- var Node127 = new ht.Node(),
- Node127BorderWidth = 1*2;
- if (Node127type === 'arc') {
- Node127BorderWidth *= 1;
- }
- Node127.setImage(GD.getRectJSON(230*_ratio.ratioX, 31*_ratio.ratioY, Node127type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node127.setPosition(572*ratio.ratioX, 845*ratio.ratioY);
- Node127.setSize(230*_ratio.ratioX, 31*_ratio.ratioY);
- Node127.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node127.a('node.width', 230*_ratio.ratioX);
- Node127.a('node.height', 31*_ratio.ratioY);
- Node127.a('node.type', Node127type);
- Node127.a('node.rect', [0, 0, 230*_ratio.ratioX, 31*_ratio.ratioY]);
- Node127.a('node.background', 'rgba(237,219,204,1)');
- Node127.a('node.gradientcolor', 'rgba(237,219,204,1)');
- Node127.a('node.gradient', '');
- Node127.a('node.borderwidth', Node127BorderWidth);
- Node127.a('node.color', 'rgba(237,219,204,1)');
- Node127.a('node.fillrect', [0,0,0,0]);
- Node127.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradient', '');
- if (Node127type !== 'rect') {
- Node127.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node127.a('node.arcTo', parseFloat('@arcTo@'));
- Node127.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node127type === 'arc') {
- Node127.a('node.arcOval', true);
- }
- Node127.setRotation(0*Math.PI/180);
- Node127.borderWidth = Node127BorderWidth;
- Node127.borderFillwidth = Node127BorderWidth;
- dataModel.add(Node127);
- Node127._nodename = 'Node127'
- Node127._nodeType = 'rect';
- zoomNodeList.push({
- node: Node127,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node127, Node127.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128type = 'rect';
- var Node128 = new ht.Node(),
- Node128BorderWidth = 1*2;
- if (Node128type === 'arc') {
- Node128BorderWidth *= 1;
- }
- Node128.setImage(GD.getRectJSON(235*_ratio.ratioX, 31*_ratio.ratioY, Node128type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node128.setPosition(1763*ratio.ratioX, 811*ratio.ratioY);
- Node128.setSize(235*_ratio.ratioX, 31*_ratio.ratioY);
- Node128.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node128.a('node.width', 235*_ratio.ratioX);
- Node128.a('node.height', 31*_ratio.ratioY);
- Node128.a('node.type', Node128type);
- Node128.a('node.rect', [0, 0, 235*_ratio.ratioX, 31*_ratio.ratioY]);
- Node128.a('node.background', 'rgba(184,210,251,1)');
- Node128.a('node.gradientcolor', 'rgba(184,210,251,1)');
- Node128.a('node.gradient', '');
- Node128.a('node.borderwidth', Node128BorderWidth);
- Node128.a('node.color', 'rgba(184,210,251,1)');
- Node128.a('node.fillrect', [0,0,0,0]);
- Node128.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node128.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node128.a('node.fillgradient', '');
- if (Node128type !== 'rect') {
- Node128.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node128.a('node.arcTo', parseFloat('@arcTo@'));
- Node128.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node128type === 'arc') {
- Node128.a('node.arcOval', true);
- }
- Node128.setRotation(0*Math.PI/180);
- Node128.borderWidth = Node128BorderWidth;
- Node128.borderFillwidth = Node128BorderWidth;
- dataModel.add(Node128);
- Node128._nodename = 'Node128'
- Node128._nodeType = 'rect';
- zoomNodeList.push({
- node: Node128,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node128, Node128.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129type = 'rect';
- var Node129 = new ht.Node(),
- Node129BorderWidth = 1*2;
- if (Node129type === 'arc') {
- Node129BorderWidth *= 1;
- }
- Node129.setImage(GD.getRectJSON(235*_ratio.ratioX, 31*_ratio.ratioY, Node129type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node129.setPosition(1763*ratio.ratioX, 845*ratio.ratioY);
- Node129.setSize(235*_ratio.ratioX, 31*_ratio.ratioY);
- Node129.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node129.a('node.width', 235*_ratio.ratioX);
- Node129.a('node.height', 31*_ratio.ratioY);
- Node129.a('node.type', Node129type);
- Node129.a('node.rect', [0, 0, 235*_ratio.ratioX, 31*_ratio.ratioY]);
- Node129.a('node.background', 'rgba(184,210,251,1)');
- Node129.a('node.gradientcolor', 'rgba(184,210,251,1)');
- Node129.a('node.gradient', '');
- Node129.a('node.borderwidth', Node129BorderWidth);
- Node129.a('node.color', 'rgba(184,210,251,1)');
- Node129.a('node.fillrect', [0,0,0,0]);
- Node129.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node129.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node129.a('node.fillgradient', '');
- if (Node129type !== 'rect') {
- Node129.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node129.a('node.arcTo', parseFloat('@arcTo@'));
- Node129.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node129type === 'arc') {
- Node129.a('node.arcOval', true);
- }
- Node129.setRotation(0*Math.PI/180);
- Node129.borderWidth = Node129BorderWidth;
- Node129.borderFillwidth = Node129BorderWidth;
- dataModel.add(Node129);
- Node129._nodename = 'Node129'
- Node129._nodeType = 'rect';
- zoomNodeList.push({
- node: Node129,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node129, Node129.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 95*_ratio.ratioX, Node130height = 37*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('维护损失电量', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('维护损失电量', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(510*ratio.ratioX, 848*ratio.ratioY);
- Node130.setWidth(Node130width);
- Node130.setHeight(Node130height);
- Node130._nodeType = 'text';
- Node130._disallowEvert = true;
- Node130.setRotation(0*Math.PI/180);
- Node130.a('node.width', Node130width);
- Node130.a('node.height', Node130height);
- Node130.a('node.rect', [0, 0, Node130width, Node130height]);
- Node130.a('node.bordercolor','rgba(115,79,35,1)');
- Node130.a('node.borderwidth', 0);
- Node130.a('node.background','' || 'rgba(0,0,0,0)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','');
- Node130.a('node.text','维护损失电量');
- Node130.a('node.textalign','left');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(115,79,35,1)');
- Node130.a('node.font',' '+ Node130fontSize + 'px "Arial"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || '维护损失电量';
- var color=Node130.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"left",color,' '+ Node130fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('维护损失电量', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'left', Node131fontSize = 19.99995*_ratio.ratioY,Node131width = 59*_ratio.ratioX, Node131height = 25*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('待机', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('待机', ' '+ Node131fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"'))
- Node131.setPosition(226*ratio.ratioX, 185*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(255,255,255,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','待机');
- Node131.a('node.textalign','left');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(255,255,255,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '待机';
- var color=Node131.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node131width,Node131height,19.99995*_ratio.ratioY,"left",color,' '+ Node131fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132 = new ht.Node();
- var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'left', Node132fontSize = 13.3333*_ratio.ratioY,Node132width = 82*_ratio.ratioX, Node132height = 37*_ratio.ratioY;
- (function () {
- if (Node132align === 'left') {
- Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9;
- Node132textWidth = Node132width;
- Node132lineStart = 1;
- } else if (Node132align === 'right') {
- Node132textStart = 0;
- Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2;
- Node132lineStart = (Node132width - (ht.Default.getTextSize('应发功率', ' '+ Node132fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132align === 'center') {
- Node132textStart = -3;
- Node132textWidth = Node132width;
- Node132lineStart = Node132width - ht.Default.getTextSize('应发功率', ' '+ Node132fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, ' '+ Node132fontSize + 'px "Arial"'))
- Node132.setPosition(1698*ratio.ratioX, 376*ratio.ratioY);
- Node132.setWidth(Node132width);
- Node132.setHeight(Node132height);
- Node132._nodeType = 'text';
- Node132._disallowEvert = true;
- Node132.setRotation(0*Math.PI/180);
- Node132.a('node.width', Node132width);
- Node132.a('node.height', Node132height);
- Node132.a('node.rect', [0, 0, Node132width, Node132height]);
- Node132.a('node.bordercolor','rgba(0,0,0,1)');
- Node132.a('node.borderwidth', 0);
- Node132.a('node.background','' || 'rgba(0,0,0,0)');
- Node132.a('node.gradient','');
- Node132.a('node.gradientcolor','');
- Node132.a('node.text','应发功率');
- Node132.a('node.textalign','left');
- Node132.a('node.textvAlign','middle');
- Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]);
- Node132.a('node.color','rgba(0,0,0,1)');
- Node132.a('node.font',' '+ Node132fontSize + 'px "Arial"');
- Node132.a('node.textvisible',true);
- Node132.a('node.linefeed',false);
- if (false) {
- Node132.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132.a('node.text') || '应发功率';
- var color=Node132.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132width,Node132height,13.3333*_ratio.ratioY,"left",color,' '+ Node132fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node132.a('node.underlinepoints',[Node132lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('应发功率', ' '+ Node132fontSize + 'px "Arial"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]);
- Node132.a('node.underlinevisible',false);
- Node132.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132);
- zoomNodeList.push({
- node: Node132,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133 = new ht.Node();
- var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'left', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 82*_ratio.ratioX, Node133height = 37*_ratio.ratioY;
- (function () {
- if (Node133align === 'left') {
- Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9;
- Node133textWidth = Node133width;
- Node133lineStart = 1;
- } else if (Node133align === 'right') {
- Node133textStart = 0;
- Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2;
- Node133lineStart = (Node133width - (ht.Default.getTextSize('无功功率', ' '+ Node133fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node133align === 'center') {
- Node133textStart = -3;
- Node133textWidth = Node133width;
- Node133lineStart = Node133width - ht.Default.getTextSize('无功功率', ' '+ Node133fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"'))
- Node133.setPosition(1698*ratio.ratioX, 426*ratio.ratioY);
- Node133.setWidth(Node133width);
- Node133.setHeight(Node133height);
- Node133._nodeType = 'text';
- Node133._disallowEvert = true;
- Node133.setRotation(0*Math.PI/180);
- Node133.a('node.width', Node133width);
- Node133.a('node.height', Node133height);
- Node133.a('node.rect', [0, 0, Node133width, Node133height]);
- Node133.a('node.bordercolor','rgba(0,0,0,1)');
- Node133.a('node.borderwidth', 0);
- Node133.a('node.background','' || 'rgba(0,0,0,0)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','');
- Node133.a('node.text','无功功率');
- Node133.a('node.textalign','left');
- Node133.a('node.textvAlign','middle');
- Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]);
- Node133.a('node.color','rgba(0,0,0,1)');
- Node133.a('node.font',' '+ Node133fontSize + 'px "Arial"');
- Node133.a('node.textvisible',true);
- Node133.a('node.linefeed',false);
- if (false) {
- Node133.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node133.a('node.text') || '无功功率';
- var color=Node133.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"left",color,' '+ Node133fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node133.a('node.underlinepoints',[Node133lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('无功功率', ' '+ Node133fontSize + 'px "Arial"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
- Node133.a('node.underlinevisible',false);
- Node133.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node133);
- zoomNodeList.push({
- node: Node133,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 82*_ratio.ratioX, Node134height = 37*_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(1698*ratio.ratioX, 476*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, (37 - 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 = 82*_ratio.ratioX, Node135height = 37*_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(1698*ratio.ratioX, 526*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, (37 - 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 = 82*_ratio.ratioX, Node136height = 37*_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(1698*ratio.ratioX, 576*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, (37 - 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'
- }); var Node137;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_fjxx_fx0.png', PAGEROOTDIR + 'image//page_fjxx_fx0.png');
- Node137 = new ht.Node();
- Node137.setPosition(1570*ratio.ratioX, 429*ratio.ratioY);
- Node137.setSize(146*ratioX, 146*ratioY);
- Node137.setImage('imgimage//page_fjxx_fx0.png');
- Node137.setRotation(0*Math.PI/180);
- Node137._zoomBy = 'Default';
- Node137._nodeType = 'image';
- Node137._disallowEvert = true;
- dataModel.add(Node137);
- })();
- _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 = 59*_ratio.ratioX, Node138height = 24*_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('KWh', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('KWh', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(672*ratio.ratioX, 813*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(138,63,6,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','KWh');
- Node138.a('node.textalign','left');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(138,63,6,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') || 'KWh';
- var color=Node138.a('node.color') || 'rgba(138,63,6,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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ 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 = 59*_ratio.ratioX, Node139height = 24*_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('KWh', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('KWh', ' '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(892*ratio.ratioX, 848*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(138,63,6,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','KWh');
- Node139.a('node.textalign','left');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(138,63,6,1)');
- Node139.a('node.font',' '+ Node139fontSize + 'px "Arial"');
- Node139.a('node.textvisible',true);
- Node139.a('node.linefeed',false);
- if (false) {
- Node139.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139.a('node.text') || 'KWh';
- var color=Node139.a('node.color') || 'rgba(138,63,6,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"left",color,' '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ 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 = 59*_ratio.ratioX, Node140height = 24*_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('KWh', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('KWh', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(1141*ratio.ratioX, 813*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(138,63,6,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','KWh');
- Node140.a('node.textalign','left');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(138,63,6,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || 'KWh';
- var color=Node140.a('node.color') || 'rgba(138,63,6,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"left",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ 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 = 175*_ratio.ratioX, Node141height = 37*_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('限电损失电量', ' '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('限电损失电量', ' '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(786*ratio.ratioX, 815*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(115,79,35,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','限电损失电量');
- Node141.a('node.textalign','left');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(115,79,35,1)');
- Node141.a('node.font',' '+ Node141fontSize + 'px "Arial"');
- Node141.a('node.textvisible',true);
- Node141.a('node.linefeed',false);
- if (false) {
- Node141.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node141.a('node.text') || '限电损失电量';
- var color=Node141.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"left",color,' '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('限电损失电量', ' '+ 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 = 59*_ratio.ratioX, Node142height = 24*_ratio.ratioY;
- (function () {
- if (Node142align === 'left') {
- Node142textStart = Node142fontSize * 0.2 > 2 ? Node142fontSize * 0.2 - 4 : Node142fontSize * 0.2 - 9;
- Node142textWidth = Node142width;
- Node142lineStart = 1;
- } else if (Node142align === 'right') {
- Node142textStart = 0;
- Node142textWidth =Node142fontSize <= 8 ? Node142width + Node142fontSize * 0.2 + 6 : Node142width - Node142fontSize * 0.2;
- Node142lineStart = (Node142width - (ht.Default.getTextSize('KWh', ' '+ Node142fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node142align === 'center') {
- Node142textStart = -3;
- Node142textWidth = Node142width;
- Node142lineStart = Node142width - ht.Default.getTextSize('KWh', ' '+ Node142fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node142.setImage(GD.getTextJSON(Node142width, Node142height, true, false, false, ' '+ Node142fontSize + 'px "Arial"'))
- Node142.setPosition(1141*ratio.ratioX, 812*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(138,63,6,1)');
- Node142.a('node.borderwidth', 0);
- Node142.a('node.background','' || 'rgba(0,0,0,0)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','');
- Node142.a('node.text','KWh');
- Node142.a('node.textalign','left');
- Node142.a('node.textvAlign','middle');
- Node142.a('node.textrect', [Node142textStart, 0, Node142textWidth, Node142height]);
- Node142.a('node.color','rgba(138,63,6,1)');
- Node142.a('node.font',' '+ Node142fontSize + 'px "Arial"');
- Node142.a('node.textvisible',true);
- Node142.a('node.linefeed',false);
- if (false) {
- Node142.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node142.a('node.text') || 'KWh';
- var color=Node142.a('node.color') || 'rgba(138,63,6,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node142width,Node142height,13.3333*_ratio.ratioY,"left",color,' '+ Node142fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node142.a('node.underlinepoints',[Node142lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node142fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ Node142fontSize + 'px "Arial"').width + 6, (Node142height - Node142fontSize) * 0.5*_ratio.ratioY + Node142fontSize + 2 ]);
- Node142.a('node.underlinevisible',false);
- Node142.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node142);
- zoomNodeList.push({
- node: Node142,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143 = new ht.Node();
- var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'left', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 85*_ratio.ratioX, Node143height = 37*_ratio.ratioY;
- (function () {
- if (Node143align === 'left') {
- Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
- Node143textWidth = Node143width;
- Node143lineStart = 1;
- } else if (Node143align === 'right') {
- Node143textStart = 0;
- Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
- Node143lineStart = (Node143width - (ht.Default.getTextSize('应发电量', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node143align === 'center') {
- Node143textStart = -3;
- Node143textWidth = Node143width;
- Node143lineStart = Node143width - ht.Default.getTextSize('应发电量', ' '+ Node143fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"'))
- Node143.setPosition(1457*ratio.ratioX, 847*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(10,91,117,1)');
- Node143.a('node.borderwidth', 0);
- Node143.a('node.background','' || 'rgba(0,0,0,0)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','');
- Node143.a('node.text','应发电量');
- Node143.a('node.textalign','left');
- Node143.a('node.textvAlign','middle');
- Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
- Node143.a('node.color','rgba(10,91,117,1)');
- Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"');
- Node143.a('node.textvisible',true);
- Node143.a('node.linefeed',false);
- if (false) {
- Node143.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node143.a('node.text') || '应发电量';
- var color=Node143.a('node.color') || 'rgba(10,91,117,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, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('应发电量', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
- Node143.a('node.underlinevisible',false);
- Node143.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node143);
- zoomNodeList.push({
- node: Node143,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144 = new ht.Node();
- var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'left', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 49*_ratio.ratioX, Node144height = 37*_ratio.ratioY;
- (function () {
- if (Node144align === 'left') {
- Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9;
- Node144textWidth = Node144width;
- Node144lineStart = 1;
- } else if (Node144align === 'right') {
- Node144textStart = 0;
- Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2;
- Node144lineStart = (Node144width - (ht.Default.getTextSize('KWh', ' '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node144align === 'center') {
- Node144textStart = -3;
- Node144textWidth = Node144width;
- Node144lineStart = Node144width - ht.Default.getTextSize('KWh', ' '+ Node144fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, ' '+ Node144fontSize + 'px "Arial"'))
- Node144.setPosition(1620*ratio.ratioX, 846*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(10,91,117,1)');
- Node144.a('node.borderwidth', 0);
- Node144.a('node.background','' || 'rgba(0,0,0,0)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','');
- Node144.a('node.text','KWh');
- Node144.a('node.textalign','left');
- Node144.a('node.textvAlign','middle');
- Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]);
- Node144.a('node.color','rgba(10,91,117,1)');
- Node144.a('node.font',' '+ Node144fontSize + 'px "Arial"');
- Node144.a('node.textvisible',true);
- Node144.a('node.linefeed',false);
- if (false) {
- Node144.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node144.a('node.text') || 'KWh';
- var color=Node144.a('node.color') || 'rgba(10,91,117,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"left",color,' '+ Node144fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node144.a('node.underlinepoints',[Node144lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]);
- Node144.a('node.underlinevisible',false);
- Node144.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node144);
- zoomNodeList.push({
- node: Node144,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.Node();
- var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'left', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 82*_ratio.ratioX, Node145height = 37*_ratio.ratioY;
- (function () {
- if (Node145align === 'left') {
- Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
- Node145textWidth = Node145width;
- Node145lineStart = 1;
- } else if (Node145align === 'right') {
- Node145textStart = 0;
- Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
- Node145lineStart = (Node145width - (ht.Default.getTextSize('机舱温度', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node145align === 'center') {
- Node145textStart = -3;
- Node145textWidth = Node145width;
- Node145lineStart = Node145width - ht.Default.getTextSize('机舱温度', ' '+ Node145fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"'))
- Node145.setPosition(1698*ratio.ratioX, 631*ratio.ratioY);
- Node145.setWidth(Node145width);
- Node145.setHeight(Node145height);
- Node145._nodeType = 'text';
- Node145._disallowEvert = true;
- Node145.setRotation(0*Math.PI/180);
- Node145.a('node.width', Node145width);
- Node145.a('node.height', Node145height);
- Node145.a('node.rect', [0, 0, Node145width, Node145height]);
- Node145.a('node.bordercolor','rgba(0,0,0,1)');
- Node145.a('node.borderwidth', 0);
- Node145.a('node.background','' || 'rgba(0,0,0,0)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','');
- Node145.a('node.text','机舱温度');
- Node145.a('node.textalign','left');
- Node145.a('node.textvAlign','middle');
- Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
- Node145.a('node.color','rgba(0,0,0,1)');
- Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"');
- Node145.a('node.textvisible',true);
- Node145.a('node.linefeed',false);
- if (false) {
- Node145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node145.a('node.text') || '机舱温度';
- var color=Node145.a('node.color') || 'rgba(0,0,0,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, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('机舱温度', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
- Node145.a('node.underlinevisible',false);
- Node145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node145);
- zoomNodeList.push({
- node: Node145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146 = new ht.Node();
- var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'left', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 82*_ratio.ratioX, Node146height = 37*_ratio.ratioY;
- (function () {
- if (Node146align === 'left') {
- Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9;
- Node146textWidth = Node146width;
- Node146lineStart = 1;
- } else if (Node146align === 'right') {
- Node146textStart = 0;
- Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2;
- Node146lineStart = (Node146width - (ht.Default.getTextSize('塔底柜温度', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node146align === 'center') {
- Node146textStart = -3;
- Node146textWidth = Node146width;
- Node146lineStart = Node146width - ht.Default.getTextSize('塔底柜温度', ' '+ Node146fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"'))
- Node146.setPosition(1698*ratio.ratioX, 691*ratio.ratioY);
- Node146.setWidth(Node146width);
- Node146.setHeight(Node146height);
- Node146._nodeType = 'text';
- Node146._disallowEvert = true;
- Node146.setRotation(0*Math.PI/180);
- Node146.a('node.width', Node146width);
- Node146.a('node.height', Node146height);
- Node146.a('node.rect', [0, 0, Node146width, Node146height]);
- Node146.a('node.bordercolor','rgba(0,0,0,1)');
- Node146.a('node.borderwidth', 0);
- Node146.a('node.background','' || 'rgba(0,0,0,0)');
- Node146.a('node.gradient','');
- Node146.a('node.gradientcolor','');
- Node146.a('node.text','塔底柜温度');
- Node146.a('node.textalign','left');
- Node146.a('node.textvAlign','middle');
- Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]);
- Node146.a('node.color','rgba(0,0,0,1)');
- Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"');
- Node146.a('node.textvisible',true);
- Node146.a('node.linefeed',false);
- if (false) {
- Node146.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node146.a('node.text') || '塔底柜温度';
- var color=Node146.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"left",color,' '+ Node146fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node146.a('node.underlinepoints',[Node146lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('塔底柜温度', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]);
- Node146.a('node.underlinevisible',false);
- Node146.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node146);
- zoomNodeList.push({
- node: Node146,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147 = new ht.Node();
- var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'left', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 82*_ratio.ratioX, Node147height = 37*_ratio.ratioY;
- (function () {
- if (Node147align === 'left') {
- Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
- Node147textWidth = Node147width;
- Node147lineStart = 1;
- } else if (Node147align === 'right') {
- Node147textStart = 0;
- Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
- Node147lineStart = (Node147width - (ht.Default.getTextSize('机舱柜温度', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node147align === 'center') {
- Node147textStart = -3;
- Node147textWidth = Node147width;
- Node147lineStart = Node147width - ht.Default.getTextSize('机舱柜温度', ' '+ Node147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
- Node147.setPosition(1698*ratio.ratioX, 751*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(0,0,0,1)');
- Node147.a('node.borderwidth', 0);
- Node147.a('node.background','' || 'rgba(0,0,0,0)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','');
- Node147.a('node.text','机舱柜温度');
- Node147.a('node.textalign','left');
- Node147.a('node.textvAlign','middle');
- Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
- Node147.a('node.color','rgba(0,0,0,1)');
- Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
- Node147.a('node.textvisible',true);
- Node147.a('node.linefeed',false);
- if (false) {
- Node147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node147.a('node.text') || '机舱柜温度';
- var color=Node147.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"left",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node147.a('node.underlinepoints',[Node147lineStart, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('机舱柜温度', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
- Node147.a('node.underlinevisible',false);
- Node147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node147);
- zoomNodeList.push({
- node: Node147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148type = 'rect';
- var Node148 = new ht.Node(),
- Node148BorderWidth = 1*2;
- if (Node148type === 'arc') {
- Node148BorderWidth *= 1;
- }
- Node148.setImage(GD.getRectJSON(230*_ratio.ratioX, 31*_ratio.ratioY, Node148type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node148.setPosition(807*ratio.ratioX, 811*ratio.ratioY);
- Node148.setSize(230*_ratio.ratioX, 31*_ratio.ratioY);
- Node148.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node148.a('node.width', 230*_ratio.ratioX);
- Node148.a('node.height', 31*_ratio.ratioY);
- Node148.a('node.type', Node148type);
- Node148.a('node.rect', [0, 0, 230*_ratio.ratioX, 31*_ratio.ratioY]);
- Node148.a('node.background', 'rgba(237,219,204,1)');
- Node148.a('node.gradientcolor', 'rgba(237,219,204,1)');
- Node148.a('node.gradient', '');
- Node148.a('node.borderwidth', Node148BorderWidth);
- Node148.a('node.color', 'rgba(237,219,204,1)');
- Node148.a('node.fillrect', [0,0,0,0]);
- Node148.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node148.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node148.a('node.fillgradient', '');
- if (Node148type !== 'rect') {
- Node148.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node148.a('node.arcTo', parseFloat('@arcTo@'));
- Node148.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node148type === 'arc') {
- Node148.a('node.arcOval', true);
- }
- Node148.setRotation(0*Math.PI/180);
- Node148.borderWidth = Node148BorderWidth;
- Node148.borderFillwidth = Node148BorderWidth;
- dataModel.add(Node148);
- Node148._nodename = 'Node148'
- Node148._nodeType = 'rect';
- zoomNodeList.push({
- node: Node148,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node148, Node148.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149type = 'rect';
- var Node149 = new ht.Node(),
- Node149BorderWidth = 1*2;
- if (Node149type === 'arc') {
- Node149BorderWidth *= 1;
- }
- Node149.setImage(GD.getRectJSON(230*_ratio.ratioX, 31*_ratio.ratioY, Node149type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node149.setPosition(807*ratio.ratioX, 845*ratio.ratioY);
- Node149.setSize(230*_ratio.ratioX, 31*_ratio.ratioY);
- Node149.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node149.a('node.width', 230*_ratio.ratioX);
- Node149.a('node.height', 31*_ratio.ratioY);
- Node149.a('node.type', Node149type);
- Node149.a('node.rect', [0, 0, 230*_ratio.ratioX, 31*_ratio.ratioY]);
- Node149.a('node.background', 'rgba(237,219,204,1)');
- Node149.a('node.gradientcolor', 'rgba(237,219,204,1)');
- Node149.a('node.gradient', '');
- Node149.a('node.borderwidth', Node149BorderWidth);
- Node149.a('node.color', 'rgba(237,219,204,1)');
- Node149.a('node.fillrect', [0,0,0,0]);
- Node149.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node149.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node149.a('node.fillgradient', '');
- if (Node149type !== 'rect') {
- Node149.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node149.a('node.arcTo', parseFloat('@arcTo@'));
- Node149.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node149type === 'arc') {
- Node149.a('node.arcOval', true);
- }
- Node149.setRotation(0*Math.PI/180);
- Node149.borderWidth = Node149BorderWidth;
- Node149.borderFillwidth = Node149BorderWidth;
- dataModel.add(Node149);
- Node149._nodename = 'Node149'
- Node149._nodeType = 'rect';
- zoomNodeList.push({
- node: Node149,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node149, Node149.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150type = 'rect';
- var Node150 = new ht.Node(),
- Node150BorderWidth = 1*2;
- if (Node150type === 'arc') {
- Node150BorderWidth *= 1;
- }
- Node150.setImage(GD.getRectJSON(230*_ratio.ratioX, 31*_ratio.ratioY, Node150type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node150.setPosition(1042*ratio.ratioX, 811*ratio.ratioY);
- Node150.setSize(230*_ratio.ratioX, 31*_ratio.ratioY);
- Node150.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node150.a('node.width', 230*_ratio.ratioX);
- Node150.a('node.height', 31*_ratio.ratioY);
- Node150.a('node.type', Node150type);
- Node150.a('node.rect', [0, 0, 230*_ratio.ratioX, 31*_ratio.ratioY]);
- Node150.a('node.background', 'rgba(237,219,204,1)');
- Node150.a('node.gradientcolor', 'rgba(237,219,204,1)');
- Node150.a('node.gradient', '');
- Node150.a('node.borderwidth', Node150BorderWidth);
- Node150.a('node.color', 'rgba(237,219,204,1)');
- Node150.a('node.fillrect', [0,0,0,0]);
- Node150.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node150.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node150.a('node.fillgradient', '');
- if (Node150type !== 'rect') {
- Node150.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node150.a('node.arcTo', parseFloat('@arcTo@'));
- Node150.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node150type === 'arc') {
- Node150.a('node.arcOval', true);
- }
- Node150.setRotation(0*Math.PI/180);
- Node150.borderWidth = Node150BorderWidth;
- Node150.borderFillwidth = Node150BorderWidth;
- dataModel.add(Node150);
- Node150._nodename = 'Node150'
- Node150._nodeType = 'rect';
- zoomNodeList.push({
- node: Node150,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node150, Node150.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151type = 'rect';
- var Node151 = new ht.Node(),
- Node151BorderWidth = 1*2;
- if (Node151type === 'arc') {
- Node151BorderWidth *= 1;
- }
- Node151.setImage(GD.getRectJSON(230*_ratio.ratioX, 31*_ratio.ratioY, Node151type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node151.setPosition(1042*ratio.ratioX, 845*ratio.ratioY);
- Node151.setSize(230*_ratio.ratioX, 31*_ratio.ratioY);
- Node151.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node151.a('node.width', 230*_ratio.ratioX);
- Node151.a('node.height', 31*_ratio.ratioY);
- Node151.a('node.type', Node151type);
- Node151.a('node.rect', [0, 0, 230*_ratio.ratioX, 31*_ratio.ratioY]);
- Node151.a('node.background', 'rgba(237,219,204,1)');
- Node151.a('node.gradientcolor', 'rgba(237,219,204,1)');
- Node151.a('node.gradient', '');
- Node151.a('node.borderwidth', Node151BorderWidth);
- Node151.a('node.color', 'rgba(237,219,204,1)');
- Node151.a('node.fillrect', [0,0,0,0]);
- Node151.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node151.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node151.a('node.fillgradient', '');
- if (Node151type !== 'rect') {
- Node151.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node151.a('node.arcTo', parseFloat('@arcTo@'));
- Node151.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node151type === 'arc') {
- Node151.a('node.arcOval', true);
- }
- Node151.setRotation(0*Math.PI/180);
- Node151.borderWidth = Node151BorderWidth;
- Node151.borderFillwidth = Node151BorderWidth;
- dataModel.add(Node151);
- Node151._nodename = 'Node151'
- Node151._nodeType = 'rect';
- zoomNodeList.push({
- node: Node151,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node151, Node151.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152type = 'rect';
- var Node152 = new ht.Node(),
- Node152BorderWidth = 1*2;
- if (Node152type === 'arc') {
- Node152BorderWidth *= 1;
- }
- Node152.setImage(GD.getRectJSON(235*_ratio.ratioX, 31*_ratio.ratioY, Node152type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node152.setPosition(1283*ratio.ratioX, 811*ratio.ratioY);
- Node152.setSize(235*_ratio.ratioX, 31*_ratio.ratioY);
- Node152.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node152.a('node.width', 235*_ratio.ratioX);
- Node152.a('node.height', 31*_ratio.ratioY);
- Node152.a('node.type', Node152type);
- Node152.a('node.rect', [0, 0, 235*_ratio.ratioX, 31*_ratio.ratioY]);
- Node152.a('node.background', 'rgba(184,210,251,1)');
- Node152.a('node.gradientcolor', 'rgba(184,210,251,1)');
- Node152.a('node.gradient', '');
- Node152.a('node.borderwidth', Node152BorderWidth);
- Node152.a('node.color', 'rgba(184,210,251,1)');
- Node152.a('node.fillrect', [0,0,0,0]);
- Node152.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradient', '');
- if (Node152type !== 'rect') {
- Node152.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node152.a('node.arcTo', parseFloat('@arcTo@'));
- Node152.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node152type === 'arc') {
- Node152.a('node.arcOval', true);
- }
- Node152.setRotation(0*Math.PI/180);
- Node152.borderWidth = Node152BorderWidth;
- Node152.borderFillwidth = Node152BorderWidth;
- dataModel.add(Node152);
- Node152._nodename = 'Node152'
- Node152._nodeType = 'rect';
- zoomNodeList.push({
- node: Node152,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node152, Node152.getImage());_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(235*_ratio.ratioX, 31*_ratio.ratioY, Node153type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node153.setPosition(1283*ratio.ratioX, 845*ratio.ratioY);
- Node153.setSize(235*_ratio.ratioX, 31*_ratio.ratioY);
- Node153.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node153.a('node.width', 235*_ratio.ratioX);
- Node153.a('node.height', 31*_ratio.ratioY);
- Node153.a('node.type', Node153type);
- Node153.a('node.rect', [0, 0, 235*_ratio.ratioX, 31*_ratio.ratioY]);
- Node153.a('node.background', 'rgba(184,210,251,1)');
- Node153.a('node.gradientcolor', 'rgba(184,210,251,1)');
- Node153.a('node.gradient', '');
- Node153.a('node.borderwidth', Node153BorderWidth);
- Node153.a('node.color', 'rgba(184,210,251,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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154type = 'rect';
- var Node154 = new ht.Node(),
- Node154BorderWidth = 1*2;
- if (Node154type === 'arc') {
- Node154BorderWidth *= 1;
- }
- Node154.setImage(GD.getRectJSON(235*_ratio.ratioX, 31*_ratio.ratioY, Node154type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node154.setPosition(1523*ratio.ratioX, 811*ratio.ratioY);
- Node154.setSize(235*_ratio.ratioX, 31*_ratio.ratioY);
- Node154.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node154.a('node.width', 235*_ratio.ratioX);
- Node154.a('node.height', 31*_ratio.ratioY);
- Node154.a('node.type', Node154type);
- Node154.a('node.rect', [0, 0, 235*_ratio.ratioX, 31*_ratio.ratioY]);
- Node154.a('node.background', 'rgba(184,210,251,1)');
- Node154.a('node.gradientcolor', 'rgba(184,210,251,1)');
- Node154.a('node.gradient', '');
- Node154.a('node.borderwidth', Node154BorderWidth);
- Node154.a('node.color', 'rgba(184,210,251,1)');
- Node154.a('node.fillrect', [0,0,0,0]);
- Node154.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node154.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node154.a('node.fillgradient', '');
- if (Node154type !== 'rect') {
- Node154.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node154.a('node.arcTo', parseFloat('@arcTo@'));
- Node154.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node154type === 'arc') {
- Node154.a('node.arcOval', true);
- }
- Node154.setRotation(0*Math.PI/180);
- Node154.borderWidth = Node154BorderWidth;
- Node154.borderFillwidth = Node154BorderWidth;
- dataModel.add(Node154);
- Node154._nodename = 'Node154'
- Node154._nodeType = 'rect';
- zoomNodeList.push({
- node: Node154,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node154, Node154.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node155type = 'rect';
- var Node155 = new ht.Node(),
- Node155BorderWidth = 1*2;
- if (Node155type === 'arc') {
- Node155BorderWidth *= 1;
- }
- Node155.setImage(GD.getRectJSON(235*_ratio.ratioX, 31*_ratio.ratioY, Node155type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node155.setPosition(1523*ratio.ratioX, 845*ratio.ratioY);
- Node155.setSize(235*_ratio.ratioX, 31*_ratio.ratioY);
- Node155.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node155.a('node.width', 235*_ratio.ratioX);
- Node155.a('node.height', 31*_ratio.ratioY);
- Node155.a('node.type', Node155type);
- Node155.a('node.rect', [0, 0, 235*_ratio.ratioX, 31*_ratio.ratioY]);
- Node155.a('node.background', 'rgba(184,210,251,1)');
- Node155.a('node.gradientcolor', 'rgba(184,210,251,1)');
- Node155.a('node.gradient', '');
- Node155.a('node.borderwidth', Node155BorderWidth);
- Node155.a('node.color', 'rgba(184,210,251,1)');
- Node155.a('node.fillrect', [0,0,0,0]);
- Node155.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradient', '');
- if (Node155type !== 'rect') {
- Node155.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node155.a('node.arcTo', parseFloat('@arcTo@'));
- Node155.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node155type === 'arc') {
- Node155.a('node.arcOval', true);
- }
- Node155.setRotation(0*Math.PI/180);
- Node155.borderWidth = Node155BorderWidth;
- Node155.borderFillwidth = Node155BorderWidth;
- dataModel.add(Node155);
- Node155._nodename = 'Node155'
- Node155._nodeType = 'rect';
- zoomNodeList.push({
- node: Node155,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node155, Node155.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.Node();
- var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'left', Node156fontSize = 13.3333*_ratio.ratioY,Node156width = 59*_ratio.ratioX, Node156height = 24*_ratio.ratioY;
- (function () {
- if (Node156align === 'left') {
- Node156textStart = Node156fontSize * 0.2 > 2 ? Node156fontSize * 0.2 - 4 : Node156fontSize * 0.2 - 9;
- Node156textWidth = Node156width;
- Node156lineStart = 1;
- } else if (Node156align === 'right') {
- Node156textStart = 0;
- Node156textWidth =Node156fontSize <= 8 ? Node156width + Node156fontSize * 0.2 + 6 : Node156width - Node156fontSize * 0.2;
- Node156lineStart = (Node156width - (ht.Default.getTextSize('KWh', ' '+ Node156fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node156align === 'center') {
- Node156textStart = -3;
- Node156textWidth = Node156width;
- Node156lineStart = Node156width - ht.Default.getTextSize('KWh', ' '+ Node156fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, ' '+ Node156fontSize + 'px "Arial"'))
- Node156.setPosition(673*ratio.ratioX, 846*ratio.ratioY);
- Node156.setWidth(Node156width);
- Node156.setHeight(Node156height);
- Node156._nodeType = 'text';
- Node156._disallowEvert = true;
- Node156.setRotation(0*Math.PI/180);
- Node156.a('node.width', Node156width);
- Node156.a('node.height', Node156height);
- Node156.a('node.rect', [0, 0, Node156width, Node156height]);
- Node156.a('node.bordercolor','rgba(138,63,6,1)');
- Node156.a('node.borderwidth', 0);
- Node156.a('node.background','' || 'rgba(0,0,0,0)');
- Node156.a('node.gradient','');
- Node156.a('node.gradientcolor','');
- Node156.a('node.text','KWh');
- Node156.a('node.textalign','left');
- Node156.a('node.textvAlign','middle');
- Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]);
- Node156.a('node.color','rgba(138,63,6,1)');
- Node156.a('node.font',' '+ Node156fontSize + 'px "Arial"');
- Node156.a('node.textvisible',true);
- Node156.a('node.linefeed',false);
- if (false) {
- Node156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node156.a('node.text') || 'KWh';
- var color=Node156.a('node.color') || 'rgba(138,63,6,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node156width,Node156height,13.3333*_ratio.ratioY,"left",color,' '+ Node156fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node156.a('node.underlinepoints',[Node156lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ Node156fontSize + 'px "Arial"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]);
- Node156.a('node.underlinevisible',false);
- Node156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node156);
- zoomNodeList.push({
- node: Node156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 95*_ratio.ratioX, Node157height = 24*_ratio.ratioY;
- (function () {
- if (Node157align === 'left') {
- Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9;
- Node157textWidth = Node157width;
- Node157lineStart = 1;
- } else if (Node157align === 'right') {
- Node157textStart = 0;
- Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2;
- Node157lineStart = (Node157width - (ht.Default.getTextSize('限电损失电量', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('限电损失电量', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(750*ratio.ratioX, 814*ratio.ratioY);
- Node157.setWidth(Node157width);
- Node157.setHeight(Node157height);
- Node157._nodeType = 'text';
- Node157._disallowEvert = true;
- Node157.setRotation(0*Math.PI/180);
- Node157.a('node.width', Node157width);
- Node157.a('node.height', Node157height);
- Node157.a('node.rect', [0, 0, Node157width, Node157height]);
- Node157.a('node.bordercolor','rgba(115,79,35,1)');
- Node157.a('node.borderwidth', 0);
- Node157.a('node.background','' || 'rgba(0,0,0,0)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','');
- Node157.a('node.text','限电损失电量');
- Node157.a('node.textalign','left');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(115,79,35,1)');
- Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || '限电损失电量';
- var color=Node157.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"left",color,' '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('限电损失电量', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 95*_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(751*ratio.ratioX, 848*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(115,79,35,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(115,79,35,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(115,79,35,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 = 59*_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('KWh', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('KWh', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(907*ratio.ratioX, 813*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(138,63,6,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','KWh');
- Node159.a('node.textalign','left');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(138,63,6,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') || 'KWh';
- var color=Node159.a('node.color') || 'rgba(138,63,6,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('KWh', ' '+ 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 = 59*_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('KWh', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('KWh', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(908*ratio.ratioX, 846*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(138,63,6,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','KWh');
- Node160.a('node.textalign','left');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(138,63,6,1)');
- Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || 'KWh';
- var color=Node160.a('node.color') || 'rgba(138,63,6,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('KWh', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
- Node160.a('node.underlinevisible',false);
- Node160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node160);
- zoomNodeList.push({
- node: Node160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161 = new ht.Node();
- var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'left', Node161fontSize = 13.3333*_ratio.ratioY,Node161width = 95*_ratio.ratioX, Node161height = 24*_ratio.ratioY;
- (function () {
- if (Node161align === 'left') {
- Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9;
- Node161textWidth = Node161width;
- Node161lineStart = 1;
- } else if (Node161align === 'right') {
- Node161textStart = 0;
- Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2;
- Node161lineStart = (Node161width - (ht.Default.getTextSize('受累损失电量', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161align === 'center') {
- Node161textStart = -3;
- Node161textWidth = Node161width;
- Node161lineStart = Node161width - ht.Default.getTextSize('受累损失电量', ' '+ Node161fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"'))
- Node161.setPosition(986*ratio.ratioX, 814*ratio.ratioY);
- Node161.setWidth(Node161width);
- Node161.setHeight(Node161height);
- Node161._nodeType = 'text';
- Node161._disallowEvert = true;
- Node161.setRotation(0*Math.PI/180);
- Node161.a('node.width', Node161width);
- Node161.a('node.height', Node161height);
- Node161.a('node.rect', [0, 0, Node161width, Node161height]);
- Node161.a('node.bordercolor','rgba(115,79,35,1)');
- Node161.a('node.borderwidth', 0);
- Node161.a('node.background','' || 'rgba(0,0,0,0)');
- Node161.a('node.gradient','');
- Node161.a('node.gradientcolor','');
- Node161.a('node.text','受累损失电量');
- Node161.a('node.textalign','left');
- Node161.a('node.textvAlign','middle');
- Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]);
- Node161.a('node.color','rgba(115,79,35,1)');
- Node161.a('node.font',' '+ Node161fontSize + 'px "Arial"');
- Node161.a('node.textvisible',true);
- Node161.a('node.linefeed',false);
- if (false) {
- Node161.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161.a('node.text') || '受累损失电量';
- var color=Node161.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node161width,Node161height,13.3333*_ratio.ratioY,"left",color,' '+ Node161fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161.a('node.underlinepoints',[Node161lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('受累损失电量', ' '+ Node161fontSize + 'px "Arial"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]);
- Node161.a('node.underlinevisible',false);
- Node161.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161);
- zoomNodeList.push({
- node: Node161,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162 = new ht.Node();
- var Node162textStart, Node162textWidth, Node162lineStart, Node162align = 'left', Node162fontSize = 13.3333*_ratio.ratioY,Node162width = 95*_ratio.ratioX, Node162height = 24*_ratio.ratioY;
- (function () {
- if (Node162align === 'left') {
- Node162textStart = Node162fontSize * 0.2 > 2 ? Node162fontSize * 0.2 - 4 : Node162fontSize * 0.2 - 9;
- Node162textWidth = Node162width;
- Node162lineStart = 1;
- } else if (Node162align === 'right') {
- Node162textStart = 0;
- Node162textWidth =Node162fontSize <= 8 ? Node162width + Node162fontSize * 0.2 + 6 : Node162width - Node162fontSize * 0.2;
- Node162lineStart = (Node162width - (ht.Default.getTextSize('性能损失电量', ' '+ Node162fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('性能损失电量', ' '+ Node162fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, ' '+ Node162fontSize + 'px "Arial"'))
- Node162.setPosition(986*ratio.ratioX, 848*ratio.ratioY);
- Node162.setWidth(Node162width);
- Node162.setHeight(Node162height);
- Node162._nodeType = 'text';
- Node162._disallowEvert = true;
- Node162.setRotation(0*Math.PI/180);
- Node162.a('node.width', Node162width);
- Node162.a('node.height', Node162height);
- Node162.a('node.rect', [0, 0, Node162width, Node162height]);
- Node162.a('node.bordercolor','rgba(115,79,35,1)');
- Node162.a('node.borderwidth', 0);
- Node162.a('node.background','' || 'rgba(0,0,0,0)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','');
- Node162.a('node.text','性能损失电量');
- Node162.a('node.textalign','left');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(115,79,35,1)');
- Node162.a('node.font',' '+ Node162fontSize + 'px "Arial"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || '性能损失电量';
- var color=Node162.a('node.color') || 'rgba(115,79,35,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node162width,Node162height,13.3333*_ratio.ratioY,"left",color,' '+ Node162fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('性能损失电量', ' '+ Node162fontSize + 'px "Arial"').width + 6, (Node162height - Node162fontSize) * 0.5*_ratio.ratioY + Node162fontSize + 2 ]);
- Node162.a('node.underlinevisible',false);
- Node162.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node162);
- zoomNodeList.push({
- node: Node162,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 59*_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('KWh', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('KWh', ' '+ Node163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
- Node163.setPosition(1142*ratio.ratioX, 847*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(138,63,6,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','KWh');
- Node163.a('node.textalign','left');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(138,63,6,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') || 'KWh';
- var color=Node163.a('node.color') || 'rgba(138,63,6,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('KWh', ' '+ 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 = 89*_ratio.ratioX, Node164height = 37*_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('风向角', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('风向角', ' '+ Node164fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
- Node164.setPosition(1699*ratio.ratioX, 814*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(10,91,117,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','风向角');
- Node164.a('node.textalign','left');
- Node164.a('node.textvAlign','middle');
- Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
- Node164.a('node.color','rgba(10,91,117,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') || '风向角';
- var color=Node164.a('node.color') || 'rgba(10,91,117,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, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('风向角', ' '+ 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 = 69*_ratio.ratioX, Node165height = 37*_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(1689*ratio.ratioX, 849*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(10,91,117,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(10,91,117,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(10,91,117,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, (37 - 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 Node166 = new ht.Node();
- var Node166textStart, Node166textWidth, Node166lineStart, Node166align = 'left', Node166fontSize = 13.3333*_ratio.ratioY,Node166width = 45*_ratio.ratioX, Node166height = 25*_ratio.ratioY;
- (function () {
- if (Node166align === 'left') {
- Node166textStart = Node166fontSize * 0.2 > 2 ? Node166fontSize * 0.2 - 4 : Node166fontSize * 0.2 - 9;
- Node166textWidth = Node166width;
- Node166lineStart = 1;
- } else if (Node166align === 'right') {
- Node166textStart = 0;
- Node166textWidth =Node166fontSize <= 8 ? Node166width + Node166fontSize * 0.2 + 6 : Node166width - Node166fontSize * 0.2;
- Node166lineStart = (Node166width - (ht.Default.getTextSize('396', ' '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('396', ' '+ Node166fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "Arial"'))
- Node166.setPosition(609*ratio.ratioX, 812*ratio.ratioY);
- Node166.setWidth(Node166width);
- Node166.setHeight(Node166height);
- Node166._nodeType = 'text';
- Node166._disallowEvert = true;
- Node166.setRotation(0*Math.PI/180);
- Node166.a('node.width', Node166width);
- Node166.a('node.height', Node166height);
- Node166.a('node.rect', [0, 0, Node166width, Node166height]);
- Node166.a('node.bordercolor','rgba(0,0,0,1)');
- Node166.a('node.borderwidth', 0);
- Node166.a('node.background','' || 'rgba(0,0,0,0)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','');
- Node166.a('node.text','396');
- Node166.a('node.textalign','left');
- Node166.a('node.textvAlign','middle');
- Node166.a('node.textrect', [Node166textStart, 0, Node166textWidth, Node166height]);
- Node166.a('node.color','rgba(0,0,0,1)');
- Node166.a('node.font',' '+ Node166fontSize + 'px "Arial"');
- Node166.a('node.textvisible',true);
- Node166.a('node.linefeed',false);
- if (false) {
- Node166.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node166.a('node.text') || '396';
- var color=Node166.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node166width,Node166height,13.3333*_ratio.ratioY,"left",color,' '+ Node166fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node166fontSize + 'px "Arial"').width + 6, (Node166height - Node166fontSize) * 0.5*_ratio.ratioY + Node166fontSize + 2 ]);
- Node166.a('node.underlinevisible',false);
- Node166.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node166);
- zoomNodeList.push({
- node: Node166,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'left', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 45*_ratio.ratioX, Node167height = 25*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('396', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('396', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(609*ratio.ratioX, 844*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(0,0,0,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','396');
- Node167.a('node.textalign','left');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(0,0,0,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '396';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"left",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 45*_ratio.ratioX, Node168height = 25*_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('396', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('396', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(849*ratio.ratioX, 812*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 45*_ratio.ratioX, Node169height = 25*_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('396', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('396', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(849*ratio.ratioX, 846*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 45*_ratio.ratioX, Node170height = 25*_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('396', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('396', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(1084*ratio.ratioX, 812*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.Node();
- var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'left', Node171fontSize = 13.3333*_ratio.ratioY,Node171width = 45*_ratio.ratioX, Node171height = 25*_ratio.ratioY;
- (function () {
- if (Node171align === 'left') {
- Node171textStart = Node171fontSize * 0.2 > 2 ? Node171fontSize * 0.2 - 4 : Node171fontSize * 0.2 - 9;
- Node171textWidth = Node171width;
- Node171lineStart = 1;
- } else if (Node171align === 'right') {
- Node171textStart = 0;
- Node171textWidth =Node171fontSize <= 8 ? Node171width + Node171fontSize * 0.2 + 6 : Node171width - Node171fontSize * 0.2;
- Node171lineStart = (Node171width - (ht.Default.getTextSize('396', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('396', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(1084*ratio.ratioX, 845*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(0,0,0,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','396');
- Node171.a('node.textalign','left');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(0,0,0,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"');
- Node171.a('node.textvisible',true);
- Node171.a('node.linefeed',false);
- if (false) {
- Node171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node171.a('node.text') || '396';
- var color=Node171.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"left",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]);
- Node171.a('node.underlinevisible',false);
- Node171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node171);
- zoomNodeList.push({
- node: Node171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172 = new ht.Node();
- var Node172textStart, Node172textWidth, Node172lineStart, Node172align = 'left', Node172fontSize = 13.3333*_ratio.ratioY,Node172width = 45*_ratio.ratioX, Node172height = 25*_ratio.ratioY;
- (function () {
- if (Node172align === 'left') {
- Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9;
- Node172textWidth = Node172width;
- Node172lineStart = 1;
- } else if (Node172align === 'right') {
- Node172textStart = 0;
- Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2;
- Node172lineStart = (Node172width - (ht.Default.getTextSize('396', ' '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('396', ' '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, ' '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(1314*ratio.ratioX, 812*ratio.ratioY);
- Node172.setWidth(Node172width);
- Node172.setHeight(Node172height);
- Node172._nodeType = 'text';
- Node172._disallowEvert = true;
- Node172.setRotation(0*Math.PI/180);
- Node172.a('node.width', Node172width);
- Node172.a('node.height', Node172height);
- Node172.a('node.rect', [0, 0, Node172width, Node172height]);
- Node172.a('node.bordercolor','rgba(0,0,0,1)');
- Node172.a('node.borderwidth', 0);
- Node172.a('node.background','' || 'rgba(0,0,0,0)');
- Node172.a('node.gradient','');
- Node172.a('node.gradientcolor','');
- Node172.a('node.text','396');
- Node172.a('node.textalign','left');
- Node172.a('node.textvAlign','middle');
- Node172.a('node.textrect', [Node172textStart, 0, Node172textWidth, Node172height]);
- Node172.a('node.color','rgba(0,0,0,1)');
- Node172.a('node.font',' '+ Node172fontSize + 'px "Arial"');
- Node172.a('node.textvisible',true);
- Node172.a('node.linefeed',false);
- if (false) {
- Node172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node172.a('node.text') || '396';
- var color=Node172.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node172width,Node172height,13.3333*_ratio.ratioY,"left",color,' '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]);
- Node172.a('node.underlinevisible',false);
- Node172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node172);
- zoomNodeList.push({
- node: Node172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.Node();
- var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 45*_ratio.ratioX, Node173height = 25*_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('396', ' '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node173align === 'center') {
- Node173textStart = -3;
- Node173textWidth = Node173width;
- Node173lineStart = Node173width - ht.Default.getTextSize('396', ' '+ Node173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, ' '+ Node173fontSize + 'px "Arial"'))
- Node173.setPosition(1324*ratio.ratioX, 844*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 45*_ratio.ratioX, Node174height = 25*_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('396', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('396', ' '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(1544*ratio.ratioX, 812*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('396', ' '+ 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 = 45*_ratio.ratioX, Node175height = 25*_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('396', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('396', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(1544*ratio.ratioX, 844*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','396');
- 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') || '396';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node175fontSize + 'px "Arial"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]);
- Node175.a('node.underlinevisible',false);
- Node175.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node175);
- zoomNodeList.push({
- node: Node175,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176 = new ht.Node();
- var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'left', Node176fontSize = 13.3333*_ratio.ratioY,Node176width = 45*_ratio.ratioX, Node176height = 25*_ratio.ratioY;
- (function () {
- if (Node176align === 'left') {
- Node176textStart = Node176fontSize * 0.2 > 2 ? Node176fontSize * 0.2 - 4 : Node176fontSize * 0.2 - 9;
- Node176textWidth = Node176width;
- Node176lineStart = 1;
- } else if (Node176align === 'right') {
- Node176textStart = 0;
- Node176textWidth =Node176fontSize <= 8 ? Node176width + Node176fontSize * 0.2 + 6 : Node176width - Node176fontSize * 0.2;
- Node176lineStart = (Node176width - (ht.Default.getTextSize('396', ' '+ Node176fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('396', ' '+ Node176fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "Arial"'))
- Node176.setPosition(1784*ratio.ratioX, 812*ratio.ratioY);
- Node176.setWidth(Node176width);
- Node176.setHeight(Node176height);
- Node176._nodeType = 'text';
- Node176._disallowEvert = true;
- Node176.setRotation(0*Math.PI/180);
- Node176.a('node.width', Node176width);
- Node176.a('node.height', Node176height);
- Node176.a('node.rect', [0, 0, Node176width, Node176height]);
- Node176.a('node.bordercolor','rgba(0,0,0,1)');
- Node176.a('node.borderwidth', 0);
- Node176.a('node.background','' || 'rgba(0,0,0,0)');
- Node176.a('node.gradient','');
- Node176.a('node.gradientcolor','');
- Node176.a('node.text','396');
- Node176.a('node.textalign','left');
- Node176.a('node.textvAlign','middle');
- Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]);
- Node176.a('node.color','rgba(0,0,0,1)');
- Node176.a('node.font',' '+ Node176fontSize + 'px "Arial"');
- Node176.a('node.textvisible',true);
- Node176.a('node.linefeed',false);
- if (false) {
- Node176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176.a('node.text') || '396';
- var color=Node176.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176width,Node176height,13.3333*_ratio.ratioY,"left",color,' '+ Node176fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node176fontSize + 'px "Arial"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]);
- Node176.a('node.underlinevisible',false);
- Node176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176);
- zoomNodeList.push({
- node: Node176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'left', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 45*_ratio.ratioX, Node177height = 25*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('396', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('396', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(1784*ratio.ratioX, 844*ratio.ratioY);
- Node177.setWidth(Node177width);
- Node177.setHeight(Node177height);
- Node177._nodeType = 'text';
- Node177._disallowEvert = true;
- Node177.setRotation(0*Math.PI/180);
- Node177.a('node.width', Node177width);
- Node177.a('node.height', Node177height);
- Node177.a('node.rect', [0, 0, Node177width, Node177height]);
- Node177.a('node.bordercolor','rgba(0,0,0,1)');
- Node177.a('node.borderwidth', 0);
- Node177.a('node.background','' || 'rgba(0,0,0,0)');
- Node177.a('node.gradient','');
- Node177.a('node.gradientcolor','');
- Node177.a('node.text','396');
- Node177.a('node.textalign','left');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(0,0,0,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "Arial"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '396';
- var color=Node177.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"left",color,' '+ Node177fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('396', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 89*_ratio.ratioX, Node178height = 37*_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(1219*ratio.ratioX, 813*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(10,91,117,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(10,91,117,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(10,91,117,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, (37 - 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 = 59*_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('KWh', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('KWh', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(1382*ratio.ratioX, 812*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(10,91,117,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','KWh');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(10,91,117,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') || 'KWh';
- var color=Node179.a('node.color') || 'rgba(10,91,117,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('KWh', ' '+ 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 = 89*_ratio.ratioX, Node180height = 37*_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(1219*ratio.ratioX, 848*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(10,91,117,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(10,91,117,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(10,91,117,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, (37 - 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 Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'left', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 59*_ratio.ratioX, Node181height = 24*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('KWh', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('KWh', ' '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(1382*ratio.ratioX, 847*ratio.ratioY);
- Node181.setWidth(Node181width);
- Node181.setHeight(Node181height);
- Node181._nodeType = 'text';
- Node181._disallowEvert = true;
- Node181.setRotation(0*Math.PI/180);
- Node181.a('node.width', Node181width);
- Node181.a('node.height', Node181height);
- Node181.a('node.rect', [0, 0, Node181width, Node181height]);
- Node181.a('node.bordercolor','rgba(10,91,117,1)');
- Node181.a('node.borderwidth', 0);
- Node181.a('node.background','' || 'rgba(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','');
- Node181.a('node.text','KWh');
- Node181.a('node.textalign','left');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(10,91,117,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "Arial"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || 'KWh';
- var color=Node181.a('node.color') || 'rgba(10,91,117,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"left",color,' '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('KWh', ' '+ Node181fontSize + 'px "Arial"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 59*_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('KWh', ' '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('KWh', ' '+ Node182fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "Arial"'))
- Node182.setPosition(1142*ratio.ratioX, 810*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(138,63,6,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','KWh');
- Node182.a('node.textalign','left');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(138,63,6,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') || 'KWh';
- var color=Node182.a('node.color') || 'rgba(138,63,6,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('KWh', ' '+ 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 = 89*_ratio.ratioX, Node183height = 37*_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('平均风速', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('平均风速', ' '+ Node183fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"'))
- Node183.setPosition(1461*ratio.ratioX, 814*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(10,91,117,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','平均风速');
- Node183.a('node.textalign','left');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(10,91,117,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') || '平均风速';
- var color=Node183.a('node.color') || 'rgba(10,91,117,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, (37 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ 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 = 89*_ratio.ratioX, Node184height = 37*_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(1461*ratio.ratioX, 848*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(10,91,117,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(10,91,117,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(10,91,117,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, (37 - 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 Node185 = new ht.Node();
- var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 13.3333*_ratio.ratioY,Node185width = 59*_ratio.ratioX, Node185height = 24*_ratio.ratioY;
- (function () {
- if (Node185align === 'left') {
- Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9;
- Node185textWidth = Node185width;
- Node185lineStart = 1;
- } else if (Node185align === 'right') {
- Node185textStart = 0;
- Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2;
- Node185lineStart = (Node185width - (ht.Default.getTextSize('m/s', ' '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node185align === 'center') {
- Node185textStart = -3;
- Node185textWidth = Node185width;
- Node185lineStart = Node185width - ht.Default.getTextSize('m/s', ' '+ Node185fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, ' '+ Node185fontSize + 'px "Arial"'))
- Node185.setPosition(1622*ratio.ratioX, 812*ratio.ratioY);
- Node185.setWidth(Node185width);
- Node185.setHeight(Node185height);
- Node185._nodeType = 'text';
- Node185._disallowEvert = true;
- Node185.setRotation(0*Math.PI/180);
- Node185.a('node.width', Node185width);
- Node185.a('node.height', Node185height);
- Node185.a('node.rect', [0, 0, Node185width, Node185height]);
- Node185.a('node.bordercolor','rgba(10,91,117,1)');
- Node185.a('node.borderwidth', 0);
- Node185.a('node.background','' || 'rgba(0,0,0,0)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','');
- Node185.a('node.text','m/s');
- Node185.a('node.textalign','left');
- Node185.a('node.textvAlign','middle');
- Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]);
- Node185.a('node.color','rgba(10,91,117,1)');
- Node185.a('node.font',' '+ Node185fontSize + 'px "Arial"');
- Node185.a('node.textvisible',true);
- Node185.a('node.linefeed',false);
- if (false) {
- Node185.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node185.a('node.text') || 'm/s';
- var color=Node185.a('node.color') || 'rgba(10,91,117,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node185width,Node185height,13.3333*_ratio.ratioY,"left",color,' '+ Node185fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node185.a('node.underlinepoints',[Node185lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node185fontSize + 'px "Arial"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]);
- Node185.a('node.underlinevisible',false);
- Node185.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node185);
- zoomNodeList.push({
- node: Node185,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 59*_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('KWh', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('KWh', ' '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(1622*ratio.ratioX, 845*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(10,91,117,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','KWh');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(10,91,117,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') || 'KWh';
- var color=Node186.a('node.color') || 'rgba(10,91,117,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('KWh', ' '+ 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 = 59*_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('度', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('度', ' '+ Node187fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"'))
- Node187.setPosition(1862*ratio.ratioX, 815*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(10,91,117,1)');
- Node187.a('node.borderwidth', 0);
- Node187.a('node.background','' || 'rgba(0,0,0,0)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','');
- Node187.a('node.text','度');
- Node187.a('node.textalign','left');
- Node187.a('node.textvAlign','middle');
- Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
- Node187.a('node.color','rgba(10,91,117,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') || '度';
- var color=Node187.a('node.color') || 'rgba(10,91,117,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('度', ' '+ 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 = 59*_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('HZ', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('HZ', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(1862*ratio.ratioX, 847*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(10,91,117,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','HZ');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(10,91,117,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') || 'HZ';
- var color=Node188.a('node.color') || 'rgba(10,91,117,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('HZ', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189 = new ht.Node();
- var Node189textStart, Node189textWidth, Node189lineStart, Node189align = 'left', Node189fontSize = 19.99995*_ratio.ratioY,Node189width = 59*_ratio.ratioX, Node189height = 24*_ratio.ratioY;
- (function () {
- if (Node189align === 'left') {
- Node189textStart = Node189fontSize * 0.2 > 2 ? Node189fontSize * 0.2 - 4 : Node189fontSize * 0.2 - 9;
- Node189textWidth = Node189width;
- Node189lineStart = 1;
- } else if (Node189align === 'right') {
- Node189textStart = 0;
- Node189textWidth =Node189fontSize <= 8 ? Node189width + Node189fontSize * 0.2 + 6 : Node189width - Node189fontSize * 0.2;
- Node189lineStart = (Node189width - (ht.Default.getTextSize('TEXT', ' '+ Node189fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node189align === 'center') {
- Node189textStart = -3;
- Node189textWidth = Node189width;
- Node189lineStart = Node189width - ht.Default.getTextSize('TEXT', ' '+ Node189fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node189.setImage(GD.getTextJSON(Node189width, Node189height, true, false, false, ' '+ Node189fontSize + 'px "Arial"'))
- Node189.setPosition(658*ratio.ratioX, 188*ratio.ratioY);
- Node189.setWidth(Node189width);
- Node189.setHeight(Node189height);
- Node189._nodeType = 'text';
- Node189._disallowEvert = true;
- Node189.setRotation(0*Math.PI/180);
- Node189.a('node.width', Node189width);
- Node189.a('node.height', Node189height);
- Node189.a('node.rect', [0, 0, Node189width, Node189height]);
- Node189.a('node.bordercolor','rgba(0,0,0,1)');
- Node189.a('node.borderwidth', 0);
- Node189.a('node.background','' || 'rgba(0,0,0,0)');
- Node189.a('node.gradient','');
- Node189.a('node.gradientcolor','');
- Node189.a('node.text','TEXT');
- Node189.a('node.textalign','left');
- Node189.a('node.textvAlign','middle');
- Node189.a('node.textrect', [Node189textStart, 0, Node189textWidth, Node189height]);
- Node189.a('node.color','rgba(0,0,0,1)');
- Node189.a('node.font',' '+ Node189fontSize + 'px "Arial"');
- Node189.a('node.textvisible',true);
- Node189.a('node.linefeed',false);
- if (false) {
- Node189.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node189.a('node.text') || 'TEXT';
- var color=Node189.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node189width,Node189height,19.99995*_ratio.ratioY,"left",color,' '+ Node189fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node189.a('node.underlinepoints',[Node189lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node189fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node189fontSize + 'px "Arial"').width + 6, (Node189height - Node189fontSize) * 0.5*_ratio.ratioY + Node189fontSize + 2 ]);
- Node189.a('node.underlinevisible',false);
- Node189.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node189);
- zoomNodeList.push({
- node: Node189,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node190;
- ;(function (window, $) {
- var properties = {
- borderColor: 'rgba(5,32,100,1)', //string
- backgroundColor: 'rgba(0,0,128,1)', //string
- nodeHeight: 23, //number
- nodeFontStyle: '"Arial"', //string
- nodeFontSize: 13.3333*ratio.ratioY, //number
- hoverBackColor: 'rgba(0,0,128,1)', //string
- selectedBackColor: 'rgba(0,0,128,1)', // string
- isDisplayDottedLine: false, // bool
- menuStyle: 'Vertical', // string: tree, horizontal, vertical
- left: 105*ratio.ratioX, //number
- top: 500*ratio.ratioY, //number
- width: 150*ratio.ratioX, //number
- height: 660*ratio.ratioY, // number
- menuData: [{"param":"AA:'P1';BB:'L1';CC:'001';DD:'1A01(#01)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A01(#01)","Name":"1A01(#01)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"001","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A01(#01)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'002';DD:'1A02(#02)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A02(#02)","Name":"1A02(#02)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"002","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A02(#02)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'003';DD:'1A03(#03)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A03(#03)","Name":"1A03(#03)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"003","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A03(#03)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'004';DD:'1A04(#A04)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A04(#04)","Name":"1A04(#04)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"004","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A04(#A04)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'005';DD:'1A05(#05)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A05(#05)","Name":"1A05(#05)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"005","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A05(#05)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'006';DD:'1A06(#06)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A06(#06)","Name":"1A06(#06)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"006","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A06(#06)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'007';DD:'1A07(#07)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A07(#07)","Name":"1A07(#07)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"007","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A07(#07)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'008';DD:'1A08(#08)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A08(#08)","Name":"1A08(#08)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"008","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A08(#08)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'009';DD:'1A09(#09)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A09(#09)","Name":"1A09(#09)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"009","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A09(#09)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'010';DD:'1A10(#10)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A10(#10)","Name":"1A10(#10)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"010","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A10(#10)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L1';CC:'011';DD:'1A11(#11)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1A11(#11)","Name":"1A11(#11)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L1","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"011","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1A11(#11)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P1';BB:'L2';CC:'012';DD:'1B12(#12)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B12(#12)","Name":"1B12(#12)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P1","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"012","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B12(#12)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'013';DD:'1B13(#13)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B13(#13)","Name":"1B13(#13)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"013","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B13(#13)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'014';DD:'1B14(#14)';FF:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B14(#14)","Name":"1B14(#14)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"014","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B14(#14)","Desc":"","Type":0},{"Sigal":"FF","Name":"FF","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'015';DD:'1B15(#15)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B15(#15)","Name":"1B15(#15)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"015","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B15(#15)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'016';DD:'1B16(#16)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B16(#16)","Name":"1B16(#16)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"016","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B16(#16)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'017';DD:'1B17(#17)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B17(#17)","Name":"1B17(#17)","icon":"","action":"1234\\fjxx_pl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"017","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B17(#17)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'018';DD:'1B18(#18)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B18(#18)","Name":"1B18(#18)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"018","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B18(#18)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'019';DD:'1B19(#119)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B19(#19)","Name":"1B19(#19)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"019","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B19(#119)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'020';DD:'1B20(#20)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B20(#20)","Name":"1B20(#20)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"020","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B20(#20)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'021';DD:'1B21(#21)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B21(#21)","Name":"1B21(#21)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"021","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B21(#21)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';CC:'022';DD:'1B22(#22)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B22(#22)","Name":"1B22(#22)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"022","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B22(#22)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L3';CC:'023';DD:'1B23(#23)';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B23(#23)","Name":"1B23(#23)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L3","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"023","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B23(#23)","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}},{"param":"AA:'P2';BB:'L2';DD:'1B24(#24)';CC:'024';EE:'联合动力UP2000-105s';","Tag":null,"TextColor":"0, 255, 255","label":"1B24(#24)","Name":"1B24(#24)","icon":"","action":"1234\\fjxx_gl","BmpTextMargin":5,"items":[],"VariableList":[{"Sigal":"AA","Name":"AA","Value":"P2","Desc":"","Type":0},{"Sigal":"BB","Name":"BB","Value":"L2","Desc":"","Type":0},{"Sigal":"DD","Name":"DD","Value":"1B24(#24)","Desc":"","Type":0},{"Sigal":"CC","Name":"CC","Value":"024","Desc":"","Type":0},{"Sigal":"EE","Name":"EE","Value":"联合动力UP2000-105s","Desc":"","Type":0}],"HoverIcon":"","ValueStr":"节点","AreaStr":"","LevelStr":"","GroupStr":"","ItemRect":{"Location":{"IsEmpty":true,"X":0.0,"Y":0.0},"Size":"1, 1","X":0.0,"Y":0.0,"Width":1.0,"Height":1.0,"Left":0.0,"Top":0.0,"Right":1.0,"Bottom":1.0,"IsEmpty":false}}], // array
- startBackColor: 'rgba(255,255,255,1)',
- endBackColor: 'rgba(255,255,255,1)',
- gradientDirection: 'Right',
- fontColor: 'rgba(0,128,128,1)',
- hoverFontColor: 'rgba(128,128,128,1)',
- fontSize: '14px',
- fontBold: '',
- fontFamily: '"Cambria Math"',
- itemBackgroundImage: 'image//img//page_fjxx_center_box.png',
- itemSelBackgoundImage: 'image//page_fjxx_center_box10.png',
- headerItemHGap: 0,
- headerItemHPadding: 15,
- menuPosition: 'left'
- };
- Node190 = new ht.HtmlNode();
- Node190.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- function initData(data) {
- var hash = decodeURIComponent(location.hash) || '#';
- hash = hash.substr(1) || '';
- var label = hash.split('/');
- label.pop();
- label = label.join('/');
- $.each(data, function (index, item) {
- var name ;
- if (item.items && item.items.length > 0) {
- initData(item.items);
- }
- if (item.action && typeof item.action === 'string') {
- var targetPage = item.action;
- targetPage = targetPage.replace(/\\/g, '/');
- item.path = targetPage;
- item.action = (function (page) {
- return function () {
- if (item.param && typeof item.param === 'string') {
- item.param = item.param.replace(/;/g, ',');
- item.param = item.param.replace(/,\s*$/, '').replace(/'/g, '"');
- if (!item.param.match(/^{/)) {
- item.param = '{' + item.param;
- }
- if (!item.param.match(/{$/)) {
- item.param += '}';
- }
- item.param = "var paramObj = " + item.param;
-
- try {
- eval(item.param);
- item.param = paramObj;
- } catch (error) {
- console.log(error.message);
- item.param = {};
- }
- } else {
- item.param = {};
- }
- (typeof window.saveLocalParams === 'function') && saveLocalParams(item.param);
- var hash = location.hash;
- location.hash = page;
- if (hash === location.hash && typeof window.onhashchange === 'function') {
- window.onhashchange();
- }
- }
- })(targetPage);
- }
- if (item.IconDir) {
- item.icon = item.IconDir;
- }
- if (item.icon) {
- item.icon = item.icon.replace(/\\/g, '/');
- ht.Default.setImage(item.icon, PAGEROOTDIR + 'image/' + item.icon);
- }
- if (item.hoverIcon || item.HoverIcon) {
- item.hoverIcon = item.hoverIcon || item.HoverIcon;
- item.hoverIcon = item.hoverIcon.replace(/\\/g, '/');
- ht.Default.setImage(item.hoverIcon, PAGEROOTDIR + 'image/' + item.hoverIcon);
- } else {
- item.hoverIcon = item.icon;
- }
- if (item.items && item.items.length === 0) {
- item.items = null;
- }
- item.height = properties.nodeHeight * ratio.ratioY;
- if (item.path) {
- name = item.path;
- ($.trim(name) === $.trim(label)) && (item.isCurrent = true);
- }
- if (properties.itemBackgroundImage) {
- item.background = 'url('+ PAGEROOTDIR + properties.itemBackgroundImage +') center center / 100% 100% no-repeat';
- } else {
- item.background = properties.backgroundColor;
- }
- });
- }
- function setDefault() {
- ht.Default.contextMenuShadowColor = 'rgba(0,0,0,0)';
- ht.Default.contextMenuSeparatorColor = 'rgb(145,165,200)';
- ht.Default.menuLabelFont = properties.fontBold + properties.nodeFontSize + 'px ' + properties.nodeFontStyle;;
- ht.Default.menuLabelColor = properties.fontColor;
- ht.Default.menuSeparatorWidth = '2';
- ht.Default.menuSeparatorColor = 'rgb(145,165,200)';
- }
- function setDropDownMenuStyle(contextMenu) {
- contextMenu.contextMenuHoverBackground = properties.selectedBackColor;
- contextMenu.contextMenuLabelFont = properties.nodeFontSize + 'px ' + properties.nodeFontStyle;
- contextMenu.contextMenuLabelColor = properties.fontColor;
- contextMenu.contextMenuHoverLabelColor = properties.hoverFontColor;
- contextMenu.contextMenuBackground = properties.backgroundColor;
- contextMenu.contextMenuBorderColor = properties.borderColor;
- }
- function createHorizontalMenu() {
- var menu;
- function setupHorizontalMenu (init) {
- var $view = $(menu.getView());
- // var lh = init ? properties.height : $view.find('li.header-item').height();
- var lh = 660;
- $view.addClass('custom-menu');
- $view.css({
- overflow: 'hidden',
- border: 'none',
- width: 150 * ratio.ratioX,
- height: 660 * ratio.ratioY,
- position: 'relative',
- background: 'linear-gradient(to ' + properties.gradientDirection.toLowerCase() + ', ' + properties.startBackColor + ', '+ properties.endBackColor +')'
- });
- $view.find('ul.header:first-child').css({
- height: "100%",
- overflow: 'hidden',
- float: properties.menuPosition
- }).find('li.header-item').css({
- height: "100%",
- paddingTop: 0,
- boxSizing: 'border-box',
- position: 'relative',
- // margin: '0 10px',
- padding: '0 '+ properties.headerItemHPadding +'px'
- }).hover(function () {
- var $this = $(this);
- $canvas = $this.find('canvas');
- // 如果没有hoverIcon,不执行
- if ($this.find('canvas.menu-item-icon-hover').length === 0) {
- return ;
- }
- $this.find('canvas.menu-item-icon').css({
- 'visibility': 'hidden',
- 'display': 'none'
- }).end().find('canvas.menu-item-icon-hover').css({
- 'display': 'inline-block',
- 'position': 'relative',
- 'visibility': 'visible',
- left: 0
- })
- }, function () {
- var $this = $(this);
- if ($this.find('canvas.menu-item-icon-hover').length === 0) {
- return ;
- }
- $this.find('canvas.menu-item-icon').css({
- 'visibility': 'visible',
- 'display': 'inline-block'
- }).end().find('canvas.menu-item-icon-hover').css({
- 'visibility': 'hidden',
- 'position': 'absolute',
- left: -50*ratio.ratioX
- })
- }).find('span').css({
- display: 'inline-block',
- height: '100%',
- lineHeight: lh*ratio.ratioY + 'px',
- fontSize: 13.3333*ratio.ratioY + 'px'
- })
- $view.find('ul li.header-item canvas').css({
- width: properties.nodeFontSize * 3 < 28 ? 28 : properties.nodeFontSize * 3,
- height: properties.nodeFontSize * 3 < 28 ? 28 : properties.nodeFontSize * 3,
- marginRight: '6px'
- })
- $.each(properties.menuData, function (index, item) {
- if (item.width) {
- $view.find('.header-item').eq(index).css({
- width: item.width,
- padding: 0,
- textAlign: 'center'
- })
- }
- })
- menu.showDropdownMenu = function (i) {
- var U = this
- , S = U.$16g[i]
- , Y = U.$1g
- , r = U._view.children[0].children[i]
- , g = U.$17g
- , E = ht.Default
- , $menuView = $(menu.getView());
- if (r && r !== g) {
- g && U.hideDropdownMenu();
- var c = r.getBoundingClientRect()
- , Z = E.getWindowInfo();
- // $(Y.getView()).css({
- // transform: $menuView.parent().css('transform')
- // });
- U.$17g = r,
- Y.setItems(S),
- Y.show(c.left + Z.left, c.top + c.height + Z.top, !1, {width: window.innerWidth, height: properties.nodeHeight * 6 * ratio.ratioY + 60});
- $(Y.getView()).find('ul').css({
- position: 'absolute',
- minWidth: $menuView.find('li').eq(i).outerWidth(),
- textAlign: 'center'
- });
- }
- }
- menu.setHeaderItemHGap(properties.headerItemHGap);
- menu && setDropDownMenuStyle(menu.$1g);
- }
- function resizeOverEvent() {
- setupHorizontalMenu();
- }
- menu = new ht.widget.Menu(properties.menuData);
- if (properties.itemSelBackgoundImage) {
- menu.setHoverBackground('url('+ PAGEROOTDIR + properties.itemSelBackgoundImage +') center center / 100% 100% no-repeat');
- } else {
- menu.setHoverBackground(properties.selectedBackColor);
- }
- if (properties.itemBackgroundImage) {
- menu.setItemBackground('url('+ PAGEROOTDIR + properties.itemBackgroundImage +') center center / 100% 100% no-repeat');
- } else {
- menu.setItemBackground(properties.backgroundColor);
- }
- menu.setHoverColor(properties.hoverFontColor);
- // menu.setWidth(150*ratio.ratioX);
- // menu.setHeight(660*ratio.ratioY);
- Node190.setHtml(menu);
- Node190._menu = menu;
- if (properties.menuStyle === 'horizontal' || properties.menuStyle === 'Horizontal' || properties.menuStyle == 0) {
- setupHorizontalMenu(true);
- }
- $(window).off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- return menu;
- }
- function createVerticalMenu() {
- var menu;
- function setupVerticalMenu () {
- var $view = $(menu.getView());
- $view.css({
- border: 'none',
- position: 'relative',
- background: 'linear-gradient(to ' + properties.gradientDirection.toLowerCase() + ', ' + properties.startBackColor + ', '+ properties.endBackColor +')'
- }).addClass('custom-menu');
- $view.find('ul.header:first-child').css({
- display: 'block'
- }).find('li.header-item').css({
- display: 'block',
- textAlign: 'center',
- padding: 0,
- height: properties.nodeHeight,
- lineHeight: properties.nodeHeight + 'px'
- });
- menu.showDropdownMenu = function(i) {
- var U = this
- , S = U.$16g[i]
- , Y = U.$1g
- , r = U._view.children[0].children[i]
- , g = U.$17g
- , E = ht.Default
- , $menuView = $(menu.getView());
- if (r && r !== g) {
- g && U.hideDropdownMenu();
- var c = r.getBoundingClientRect()
- , Z = E.getWindowInfo();
- U.$17g = r;
- $(Y.getView()).css({
- transform: $menuView.parent().css('transform')
- });
- Y.setItems(S);
- Y.show(c.left + Z.left + c.width, c.top + Z.top, !1);
- $(Y.getView()).find('ul').css({
- position: 'absolute',
- minWidth: $menuView.find('li').outerWidth()
- })
- }
- }
- menu && setDropDownMenuStyle(menu.$1g);
- }
- menu = createHorizontalMenu();
-
- setupVerticalMenu();
- }
- function createTreeMenu() {
- var TreeDataModel = new ht.DataModel();
- var tree = new ht.widget.TreeView(TreeDataModel);
- var TreeView = tree.getView();
- var $treeView = $(TreeView);
- var actionMap = {}, id = 0;
- var timer = null, clickNum = 0;
- createTreeData(properties.menuData, TreeDataModel);
- function createTreeData(treeData, treeDataModel, parent) {
- treeData.map(function (data) {
- if (!data.label) {
- return ;
- }
- var d = new ht.Data();
- d.setName(data.label);
- d.setId(id++);
- d.setParent(parent);
- treeDataModel.add(d);
- if(data.param.split(":").length>1){
- if(data.param.split(":")[1].substring(1,data.param.split(":")[1].length-2)==eval(data.param.split(":")[0])){
- tree.setFocusData(d);
- tree.makeVisible(d);
-
- }
- }
-
- if (data.action && typeof data.action === 'function') {
- actionMap[d.getId()] = data;
- }
- if (data.items && data.items.length) {
- createTreeData(data.items, treeDataModel, d);
- }
- })
- }
- $treeView.addClass('.custom-menu');
- $treeView.css({
- border: 'none',
- position: 'relative',
- background: 'linear-gradient(to ' + properties.gradientDirection.toLowerCase() + ', ' + properties.startBackColor + ', '+ properties.endBackColor +')'
- });
- // tree.drawRowBackground = function (g, data, selected, x, y, width, height) {/*选中时的背景颜色*/
- // if (this.isSelected(data)) {
- // g.fillStyle = properties.selectedBackColor;
- // }
- // else {
- // g.fillStyle = 'transparent';
- // }
- // g.beginPath();
- // g.rect(x, y, width, 100);
- // g.fill();
- // };
- tree.setSelectBackground(properties.selectedBackColor);
- tree.setRowHeight(properties.nodeHeight);
- tree.getLabelColor = function (data) { return properties.fontColor; };/*字体颜色*/
- tree.getLabelFont = function (data) { return properties.nodeFontSize + 'px ' + properties.fontFamily};/*字体大小和字体样式*/
- tree.setWidth(150);
- tree.setHeight(660);
-
- tree.onDataClicked = function (data) {
- var name = data.getName();
- var id = data.getId();
- var item = actionMap[id] || {};
- if (item.action) {
- item.action.call(item.scope, item);
- } else {
- tree.isExpanded(data) ? tree.collapse(data) : tree.expand(data);
- }
- };
- Node190.setHtml(tree);
- Node190._menu = tree;
- }
- function topMenuAddEvent() {
- var topMenu = Node190.getHtml().getView();
- $.each(properties.menuData, function (index, item) {
- if (item.action && typeof(item.action) === 'function' && (!item.items || item.items.length <=0)) {
- (function (item, index) {
- $(topMenu).find('li').eq(index).off().on('click', function (e) {
- item.action.call(this, e);
- });
- })(item, index);
- }
- })
-
- }
- initData(properties.menuData);
- setDefault();
- switch(properties.menuStyle) {
- case 'tree':
- case 'Tree':
- case '0':
- case 0:
- createTreeMenu();
- break;
- case 'horizontal':
- case 'Horizontal':
- case '1':
- case 1:
- createHorizontalMenu();
- break;
- case 'vertical':
- case 'Vertical':
- case '2':
- case 2:
- createVerticalMenu();
- break;
- default:
- createHorizontalMenu();
- break;
- }
- Node190.setScalable(false);
- Node190.setPadding(0);
- Node190.setPosition({ 'x': properties.left, 'y': properties.top });
- Node190.setWidth(properties.width);
- Node190.setHeight(properties.height);
- dataModel.add(Node190);
- (function (node) {
- function setHtmlNodeStyle() {
- var $htmlNode = $('.custom-menu').parent();
- if ($htmlNode.length <= 0) {
- setTimeout(setHtmlNodeStyle, 50);
- return;
- }
- $htmlNode.css({
- overflow: 'hidden'
- })
- }
- setHtmlNodeStyle();
- })(Node190);
- topMenuAddEvent();
- })(window, jQuery);_ratio = GD.getRatioWithRotation(0, ratio);
- var Node191 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node192 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node193 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node194 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node195 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node196 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node197 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node198 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node199 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node200 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node201 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node202 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node203 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node204 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node205 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node206 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});var Node207_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node207_0 = new ht.Node();
- Node207_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node207_0.setSize(27*ratioX, 101*ratioY);
- Node207_0.setImage('imgimage//left_menu_over0.png');
- Node207_0.setRotation(0*Math.PI/180);
- Node207_0._zoomBy = 'Default';
- Node207_0._nodeType = 'image';
- Node207_0._disallowEvert = true;
- dataModel.add(Node207_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node207_1 = new ht.Node();
- var Node207_1textStart, Node207_1textWidth, Node207_1lineStart, Node207_1align = 'left', Node207_1fontSize = 19.99995*_ratio.ratioY,Node207_1width = 23*_ratio.ratioX, Node207_1height = 76*_ratio.ratioY;
- (function () {
- if (Node207_1align === 'left') {
- Node207_1textStart = Node207_1fontSize * 0.2 > 2 ? Node207_1fontSize * 0.2 - 4 : Node207_1fontSize * 0.2 - 9;
- Node207_1textWidth = Node207_1width;
- Node207_1lineStart = 1;
- } else if (Node207_1align === 'right') {
- Node207_1textStart = 0;
- Node207_1textWidth =Node207_1fontSize <= 8 ? Node207_1width + Node207_1fontSize * 0.2 + 6 : Node207_1width - Node207_1fontSize * 0.2;
- Node207_1lineStart = (Node207_1width - (ht.Default.getTextSize('排布图', ' '+ Node207_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node207_1align === 'center') {
- Node207_1textStart = -3;
- Node207_1textWidth = Node207_1width;
- Node207_1lineStart = Node207_1width - ht.Default.getTextSize('排布图', ' '+ Node207_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node207_1.setImage(GD.getTextJSON(Node207_1width, Node207_1height, false, true, false, ' '+ Node207_1fontSize + 'px "Arial"'))
- Node207_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
- Node207_1.setWidth(Node207_1width);
- Node207_1.setHeight(Node207_1height);
- Node207_1._nodeType = 'text';
- Node207_1._disallowEvert = true;
- Node207_1.setRotation(0*Math.PI/180);
- Node207_1.a('node.width', Node207_1width);
- Node207_1.a('node.height', Node207_1height);
- Node207_1.a('node.rect', [0, 0, Node207_1width, Node207_1height]);
- Node207_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node207_1.a('node.borderwidth', 0);
- Node207_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node207_1.a('node.gradient','');
- Node207_1.a('node.gradientcolor','');
- Node207_1.a('node.text','排布图');
- Node207_1.a('node.textalign','left');
- Node207_1.a('node.textvAlign','middle');
- Node207_1.a('node.textrect', [Node207_1textStart, 0, Node207_1textWidth, Node207_1height]);
- Node207_1.a('node.color','rgba(0,0,0,1)');
- Node207_1.a('node.font',' '+ Node207_1fontSize + 'px "Arial"');
- Node207_1.a('node.textvisible',false);
- Node207_1.a('node.linefeed',true);
- if (true) {
- Node207_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node207_1.a('node.text') || '排布图';
- var color=Node207_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node207_1width,Node207_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node207_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node207_1.a('node.underlinepoints',[Node207_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node207_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node207_1fontSize + 'px "Arial"').width + 6, (Node207_1height - Node207_1fontSize) * 0.5*_ratio.ratioY + Node207_1fontSize + 2 ]);
- Node207_1.a('node.underlinevisible',false);
- Node207_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node207_1);
- zoomNodeList.push({
- node: Node207_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node208_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node208_0 = new ht.Node();
- Node208_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node208_0.setSize(27*ratioX, 101*ratioY);
- Node208_0.setImage('imgimage//left_menu_over0.png');
- Node208_0.setRotation(0*Math.PI/180);
- Node208_0._zoomBy = 'Default';
- Node208_0._nodeType = 'image';
- Node208_0._disallowEvert = true;
- dataModel.add(Node208_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node208_1 = new ht.Node();
- var Node208_1textStart, Node208_1textWidth, Node208_1lineStart, Node208_1align = 'left', Node208_1fontSize = 18.66662*_ratio.ratioY,Node208_1width = 23*_ratio.ratioX, Node208_1height = 76*_ratio.ratioY;
- (function () {
- if (Node208_1align === 'left') {
- Node208_1textStart = Node208_1fontSize * 0.2 > 2 ? Node208_1fontSize * 0.2 - 4 : Node208_1fontSize * 0.2 - 9;
- Node208_1textWidth = Node208_1width;
- Node208_1lineStart = 1;
- } else if (Node208_1align === 'right') {
- Node208_1textStart = 0;
- Node208_1textWidth =Node208_1fontSize <= 8 ? Node208_1width + Node208_1fontSize * 0.2 + 6 : Node208_1width - Node208_1fontSize * 0.2;
- Node208_1lineStart = (Node208_1width - (ht.Default.getTextSize('总貌图', ' '+ Node208_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node208_1align === 'center') {
- Node208_1textStart = -3;
- Node208_1textWidth = Node208_1width;
- Node208_1lineStart = Node208_1width - ht.Default.getTextSize('总貌图', ' '+ Node208_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node208_1.setImage(GD.getTextJSON(Node208_1width, Node208_1height, false, true, false, ' '+ Node208_1fontSize + 'px "Arial"'))
- Node208_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node208_1.setWidth(Node208_1width);
- Node208_1.setHeight(Node208_1height);
- Node208_1._nodeType = 'text';
- Node208_1._disallowEvert = true;
- Node208_1.setRotation(0*Math.PI/180);
- Node208_1.a('node.width', Node208_1width);
- Node208_1.a('node.height', Node208_1height);
- Node208_1.a('node.rect', [0, 0, Node208_1width, Node208_1height]);
- Node208_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node208_1.a('node.borderwidth', 0);
- Node208_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node208_1.a('node.gradient','');
- Node208_1.a('node.gradientcolor','');
- Node208_1.a('node.text','总貌图');
- Node208_1.a('node.textalign','left');
- Node208_1.a('node.textvAlign','middle');
- Node208_1.a('node.textrect', [Node208_1textStart, 0, Node208_1textWidth, Node208_1height]);
- Node208_1.a('node.color','rgba(0,0,0,1)');
- Node208_1.a('node.font',' '+ Node208_1fontSize + 'px "Arial"');
- Node208_1.a('node.textvisible',false);
- Node208_1.a('node.linefeed',true);
- if (true) {
- Node208_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node208_1.a('node.text') || '总貌图';
- var color=Node208_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node208_1width,Node208_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node208_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node208_1.a('node.underlinepoints',[Node208_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node208_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node208_1fontSize + 'px "Arial"').width + 6, (Node208_1height - Node208_1fontSize) * 0.5*_ratio.ratioY + Node208_1fontSize + 2 ]);
- Node208_1.a('node.underlinevisible',false);
- Node208_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node208_1);
- zoomNodeList.push({
- node: Node208_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node209_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node209_0 = new ht.Node();
- Node209_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node209_0.setSize(27*ratioX, 101*ratioY);
- Node209_0.setImage('imgimage//left_menu_over0.png');
- Node209_0.setRotation(0*Math.PI/180);
- Node209_0._zoomBy = 'Default';
- Node209_0._nodeType = 'image';
- Node209_0._disallowEvert = true;
- dataModel.add(Node209_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node209_1 = new ht.Node();
- var Node209_1textStart, Node209_1textWidth, Node209_1lineStart, Node209_1align = 'left', Node209_1fontSize = 18.66662*_ratio.ratioY,Node209_1width = 23*_ratio.ratioX, Node209_1height = 76*_ratio.ratioY;
- (function () {
- if (Node209_1align === 'left') {
- Node209_1textStart = Node209_1fontSize * 0.2 > 2 ? Node209_1fontSize * 0.2 - 4 : Node209_1fontSize * 0.2 - 9;
- Node209_1textWidth = Node209_1width;
- Node209_1lineStart = 1;
- } else if (Node209_1align === 'right') {
- Node209_1textStart = 0;
- Node209_1textWidth =Node209_1fontSize <= 8 ? Node209_1width + Node209_1fontSize * 0.2 + 6 : Node209_1width - Node209_1fontSize * 0.2;
- Node209_1lineStart = (Node209_1width - (ht.Default.getTextSize('升压站', ' '+ Node209_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node209_1align === 'center') {
- Node209_1textStart = -3;
- Node209_1textWidth = Node209_1width;
- Node209_1lineStart = Node209_1width - ht.Default.getTextSize('升压站', ' '+ Node209_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node209_1.setImage(GD.getTextJSON(Node209_1width, Node209_1height, false, true, false, ' '+ Node209_1fontSize + 'px "Arial"'))
- Node209_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node209_1.setWidth(Node209_1width);
- Node209_1.setHeight(Node209_1height);
- Node209_1._nodeType = 'text';
- Node209_1._disallowEvert = true;
- Node209_1.setRotation(0*Math.PI/180);
- Node209_1.a('node.width', Node209_1width);
- Node209_1.a('node.height', Node209_1height);
- Node209_1.a('node.rect', [0, 0, Node209_1width, Node209_1height]);
- Node209_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node209_1.a('node.borderwidth', 0);
- Node209_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node209_1.a('node.gradient','');
- Node209_1.a('node.gradientcolor','');
- Node209_1.a('node.text','升压站');
- Node209_1.a('node.textalign','left');
- Node209_1.a('node.textvAlign','middle');
- Node209_1.a('node.textrect', [Node209_1textStart, 0, Node209_1textWidth, Node209_1height]);
- Node209_1.a('node.color','rgba(0,0,0,1)');
- Node209_1.a('node.font',' '+ Node209_1fontSize + 'px "Arial"');
- Node209_1.a('node.textvisible',false);
- Node209_1.a('node.linefeed',true);
- if (true) {
- Node209_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node209_1.a('node.text') || '升压站';
- var color=Node209_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node209_1width,Node209_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node209_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node209_1.a('node.underlinepoints',[Node209_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node209_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node209_1fontSize + 'px "Arial"').width + 6, (Node209_1height - Node209_1fontSize) * 0.5*_ratio.ratioY + Node209_1fontSize + 2 ]);
- Node209_1.a('node.underlinevisible',false);
- Node209_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node209_1);
- zoomNodeList.push({
- node: Node209_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node210_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node210_0 = new ht.Node();
- Node210_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node210_0.setSize(27*ratioX, 101*ratioY);
- Node210_0.setImage('imgimage//left_menu_over0.png');
- Node210_0.setRotation(0*Math.PI/180);
- Node210_0._zoomBy = 'Default';
- Node210_0._nodeType = 'image';
- Node210_0._disallowEvert = true;
- dataModel.add(Node210_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node210_1 = new ht.Node();
- var Node210_1textStart, Node210_1textWidth, Node210_1lineStart, Node210_1align = 'left', Node210_1fontSize = 18.66662*_ratio.ratioY,Node210_1width = 23*_ratio.ratioX, Node210_1height = 76*_ratio.ratioY;
- (function () {
- if (Node210_1align === 'left') {
- Node210_1textStart = Node210_1fontSize * 0.2 > 2 ? Node210_1fontSize * 0.2 - 4 : Node210_1fontSize * 0.2 - 9;
- Node210_1textWidth = Node210_1width;
- Node210_1lineStart = 1;
- } else if (Node210_1align === 'right') {
- Node210_1textStart = 0;
- Node210_1textWidth =Node210_1fontSize <= 8 ? Node210_1width + Node210_1fontSize * 0.2 + 6 : Node210_1width - Node210_1fontSize * 0.2;
- Node210_1lineStart = (Node210_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node210_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node210_1align === 'center') {
- Node210_1textStart = -3;
- Node210_1textWidth = Node210_1width;
- Node210_1lineStart = Node210_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node210_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node210_1.setImage(GD.getTextJSON(Node210_1width, Node210_1height, false, true, false, ' '+ Node210_1fontSize + 'px "Arial"'))
- Node210_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node210_1.setWidth(Node210_1width);
- Node210_1.setHeight(Node210_1height);
- Node210_1._nodeType = 'text';
- Node210_1._disallowEvert = true;
- Node210_1.setRotation(0*Math.PI/180);
- Node210_1.a('node.width', Node210_1width);
- Node210_1.a('node.height', Node210_1height);
- Node210_1.a('node.rect', [0, 0, Node210_1width, Node210_1height]);
- Node210_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node210_1.a('node.borderwidth', 0);
- Node210_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node210_1.a('node.gradient','');
- Node210_1.a('node.gradientcolor','');
- Node210_1.a('node.text','风机矩阵');
- Node210_1.a('node.textalign','left');
- Node210_1.a('node.textvAlign','middle');
- Node210_1.a('node.textrect', [Node210_1textStart, 0, Node210_1textWidth, Node210_1height]);
- Node210_1.a('node.color','rgba(0,0,0,1)');
- Node210_1.a('node.font',' '+ Node210_1fontSize + 'px "Arial"');
- Node210_1.a('node.textvisible',false);
- Node210_1.a('node.linefeed',true);
- if (true) {
- Node210_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node210_1.a('node.text') || '风机矩阵';
- var color=Node210_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node210_1width,Node210_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node210_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node210_1.a('node.underlinepoints',[Node210_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node210_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node210_1fontSize + 'px "Arial"').width + 6, (Node210_1height - Node210_1fontSize) * 0.5*_ratio.ratioY + Node210_1fontSize + 2 ]);
- Node210_1.a('node.underlinevisible',false);
- Node210_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node210_1);
- zoomNodeList.push({
- node: Node210_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node211_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node211_0 = new ht.Node();
- Node211_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node211_0.setSize(27*ratioX, 101*ratioY);
- Node211_0.setImage('imgimage//left_menu_over0.png');
- Node211_0.setRotation(0*Math.PI/180);
- Node211_0._zoomBy = 'Default';
- Node211_0._nodeType = 'image';
- Node211_0._disallowEvert = true;
- dataModel.add(Node211_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node211_1 = new ht.Node();
- var Node211_1textStart, Node211_1textWidth, Node211_1lineStart, Node211_1align = 'left', Node211_1fontSize = 18.66662*_ratio.ratioY,Node211_1width = 23*_ratio.ratioX, Node211_1height = 76*_ratio.ratioY;
- (function () {
- if (Node211_1align === 'left') {
- Node211_1textStart = Node211_1fontSize * 0.2 > 2 ? Node211_1fontSize * 0.2 - 4 : Node211_1fontSize * 0.2 - 9;
- Node211_1textWidth = Node211_1width;
- Node211_1lineStart = 1;
- } else if (Node211_1align === 'right') {
- Node211_1textStart = 0;
- Node211_1textWidth =Node211_1fontSize <= 8 ? Node211_1width + Node211_1fontSize * 0.2 + 6 : Node211_1width - Node211_1fontSize * 0.2;
- Node211_1lineStart = (Node211_1width - (ht.Default.getTextSize('风机信息', ' '+ Node211_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node211_1align === 'center') {
- Node211_1textStart = -3;
- Node211_1textWidth = Node211_1width;
- Node211_1lineStart = Node211_1width - ht.Default.getTextSize('风机信息', ' '+ Node211_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node211_1.setImage(GD.getTextJSON(Node211_1width, Node211_1height, false, true, false, ' '+ Node211_1fontSize + 'px "Arial"'))
- Node211_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node211_1.setWidth(Node211_1width);
- Node211_1.setHeight(Node211_1height);
- Node211_1._nodeType = 'text';
- Node211_1._disallowEvert = true;
- Node211_1.setRotation(0*Math.PI/180);
- Node211_1.a('node.width', Node211_1width);
- Node211_1.a('node.height', Node211_1height);
- Node211_1.a('node.rect', [0, 0, Node211_1width, Node211_1height]);
- Node211_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node211_1.a('node.borderwidth', 0);
- Node211_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node211_1.a('node.gradient','');
- Node211_1.a('node.gradientcolor','');
- Node211_1.a('node.text','风机信息');
- Node211_1.a('node.textalign','left');
- Node211_1.a('node.textvAlign','middle');
- Node211_1.a('node.textrect', [Node211_1textStart, 0, Node211_1textWidth, Node211_1height]);
- Node211_1.a('node.color','rgba(0,0,0,1)');
- Node211_1.a('node.font',' '+ Node211_1fontSize + 'px "Arial"');
- Node211_1.a('node.textvisible',false);
- Node211_1.a('node.linefeed',true);
- if (true) {
- Node211_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node211_1.a('node.text') || '风机信息';
- var color=Node211_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node211_1width,Node211_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node211_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node211_1.a('node.underlinepoints',[Node211_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node211_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node211_1fontSize + 'px "Arial"').width + 6, (Node211_1height - Node211_1fontSize) * 0.5*_ratio.ratioY + Node211_1fontSize + 2 ]);
- Node211_1.a('node.underlinevisible',false);
- Node211_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node211_1);
- zoomNodeList.push({
- node: Node211_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node212_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node212_0 = new ht.Node();
- Node212_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node212_0.setSize(27*ratioX, 101*ratioY);
- Node212_0.setImage('imgimage//left_menu_over0.png');
- Node212_0.setRotation(0*Math.PI/180);
- Node212_0._zoomBy = 'Default';
- Node212_0._nodeType = 'image';
- Node212_0._disallowEvert = true;
- dataModel.add(Node212_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node212_1 = new ht.Node();
- var Node212_1textStart, Node212_1textWidth, Node212_1lineStart, Node212_1align = 'left', Node212_1fontSize = 18.66662*_ratio.ratioY,Node212_1width = 23*_ratio.ratioX, Node212_1height = 76*_ratio.ratioY;
- (function () {
- if (Node212_1align === 'left') {
- Node212_1textStart = Node212_1fontSize * 0.2 > 2 ? Node212_1fontSize * 0.2 - 4 : Node212_1fontSize * 0.2 - 9;
- Node212_1textWidth = Node212_1width;
- Node212_1lineStart = 1;
- } else if (Node212_1align === 'right') {
- Node212_1textStart = 0;
- Node212_1textWidth =Node212_1fontSize <= 8 ? Node212_1width + Node212_1fontSize * 0.2 + 6 : Node212_1width - Node212_1fontSize * 0.2;
- Node212_1lineStart = (Node212_1width - (ht.Default.getTextSize('测风塔', ' '+ Node212_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node212_1align === 'center') {
- Node212_1textStart = -3;
- Node212_1textWidth = Node212_1width;
- Node212_1lineStart = Node212_1width - ht.Default.getTextSize('测风塔', ' '+ Node212_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node212_1.setImage(GD.getTextJSON(Node212_1width, Node212_1height, false, true, false, ' '+ Node212_1fontSize + 'px "Arial"'))
- Node212_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node212_1.setWidth(Node212_1width);
- Node212_1.setHeight(Node212_1height);
- Node212_1._nodeType = 'text';
- Node212_1._disallowEvert = true;
- Node212_1.setRotation(0*Math.PI/180);
- Node212_1.a('node.width', Node212_1width);
- Node212_1.a('node.height', Node212_1height);
- Node212_1.a('node.rect', [0, 0, Node212_1width, Node212_1height]);
- Node212_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node212_1.a('node.borderwidth', 0);
- Node212_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node212_1.a('node.gradient','');
- Node212_1.a('node.gradientcolor','');
- Node212_1.a('node.text','测风塔');
- Node212_1.a('node.textalign','left');
- Node212_1.a('node.textvAlign','middle');
- Node212_1.a('node.textrect', [Node212_1textStart, 0, Node212_1textWidth, Node212_1height]);
- Node212_1.a('node.color','rgba(0,0,0,1)');
- Node212_1.a('node.font',' '+ Node212_1fontSize + 'px "Arial"');
- Node212_1.a('node.textvisible',false);
- Node212_1.a('node.linefeed',true);
- if (true) {
- Node212_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node212_1.a('node.text') || '测风塔';
- var color=Node212_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node212_1width,Node212_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node212_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node212_1.a('node.underlinepoints',[Node212_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node212_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node212_1fontSize + 'px "Arial"').width + 6, (Node212_1height - Node212_1fontSize) * 0.5*_ratio.ratioY + Node212_1fontSize + 2 ]);
- Node212_1.a('node.underlinevisible',false);
- Node212_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node212_1);
- zoomNodeList.push({
- node: Node212_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node213_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node213_0 = new ht.Node();
- Node213_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node213_0.setSize(27*ratioX, 101*ratioY);
- Node213_0.setImage('imgimage//left_menu_out0.png');
- Node213_0.setRotation(0*Math.PI/180);
- Node213_0._zoomBy = 'Default';
- Node213_0._nodeType = 'image';
- Node213_0._disallowEvert = true;
- dataModel.add(Node213_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node213_1 = new ht.Node();
- var Node213_1textStart, Node213_1textWidth, Node213_1lineStart, Node213_1align = 'left', Node213_1fontSize = 19.99995*_ratio.ratioY,Node213_1width = 23*_ratio.ratioX, Node213_1height = 76*_ratio.ratioY;
- (function () {
- if (Node213_1align === 'left') {
- Node213_1textStart = Node213_1fontSize * 0.2 > 2 ? Node213_1fontSize * 0.2 - 4 : Node213_1fontSize * 0.2 - 9;
- Node213_1textWidth = Node213_1width;
- Node213_1lineStart = 1;
- } else if (Node213_1align === 'right') {
- Node213_1textStart = 0;
- Node213_1textWidth =Node213_1fontSize <= 8 ? Node213_1width + Node213_1fontSize * 0.2 + 6 : Node213_1width - Node213_1fontSize * 0.2;
- Node213_1lineStart = (Node213_1width - (ht.Default.getTextSize('排布图', ' '+ Node213_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node213_1align === 'center') {
- Node213_1textStart = -3;
- Node213_1textWidth = Node213_1width;
- Node213_1lineStart = Node213_1width - ht.Default.getTextSize('排布图', ' '+ Node213_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node213_1.setImage(GD.getTextJSON(Node213_1width, Node213_1height, false, true, false, ' '+ Node213_1fontSize + 'px "Arial"'))
- Node213_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
- Node213_1.setWidth(Node213_1width);
- Node213_1.setHeight(Node213_1height);
- Node213_1._nodeType = 'text';
- Node213_1._disallowEvert = true;
- Node213_1.setRotation(0*Math.PI/180);
- Node213_1.a('node.width', Node213_1width);
- Node213_1.a('node.height', Node213_1height);
- Node213_1.a('node.rect', [0, 0, Node213_1width, Node213_1height]);
- Node213_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node213_1.a('node.borderwidth', 0);
- Node213_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node213_1.a('node.gradient','');
- Node213_1.a('node.gradientcolor','');
- Node213_1.a('node.text','排布图');
- Node213_1.a('node.textalign','left');
- Node213_1.a('node.textvAlign','middle');
- Node213_1.a('node.textrect', [Node213_1textStart, 0, Node213_1textWidth, Node213_1height]);
- Node213_1.a('node.color','rgba(0,0,0,1)');
- Node213_1.a('node.font',' '+ Node213_1fontSize + 'px "Arial"');
- Node213_1.a('node.textvisible',false);
- Node213_1.a('node.linefeed',true);
- if (true) {
- Node213_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node213_1.a('node.text') || '排布图';
- var color=Node213_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node213_1width,Node213_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node213_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node213_1.a('node.underlinepoints',[Node213_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node213_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node213_1fontSize + 'px "Arial"').width + 6, (Node213_1height - Node213_1fontSize) * 0.5*_ratio.ratioY + Node213_1fontSize + 2 ]);
- Node213_1.a('node.underlinevisible',false);
- Node213_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node213_1);
- zoomNodeList.push({
- node: Node213_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node214_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node214_0 = new ht.Node();
- Node214_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node214_0.setSize(27*ratioX, 101*ratioY);
- Node214_0.setImage('imgimage//left_menu_out0.png');
- Node214_0.setRotation(0*Math.PI/180);
- Node214_0._zoomBy = 'Default';
- Node214_0._nodeType = 'image';
- Node214_0._disallowEvert = true;
- dataModel.add(Node214_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node214_1 = new ht.Node();
- var Node214_1textStart, Node214_1textWidth, Node214_1lineStart, Node214_1align = 'left', Node214_1fontSize = 18.66662*_ratio.ratioY,Node214_1width = 23*_ratio.ratioX, Node214_1height = 76*_ratio.ratioY;
- (function () {
- if (Node214_1align === 'left') {
- Node214_1textStart = Node214_1fontSize * 0.2 > 2 ? Node214_1fontSize * 0.2 - 4 : Node214_1fontSize * 0.2 - 9;
- Node214_1textWidth = Node214_1width;
- Node214_1lineStart = 1;
- } else if (Node214_1align === 'right') {
- Node214_1textStart = 0;
- Node214_1textWidth =Node214_1fontSize <= 8 ? Node214_1width + Node214_1fontSize * 0.2 + 6 : Node214_1width - Node214_1fontSize * 0.2;
- Node214_1lineStart = (Node214_1width - (ht.Default.getTextSize('总貌图', ' '+ Node214_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node214_1align === 'center') {
- Node214_1textStart = -3;
- Node214_1textWidth = Node214_1width;
- Node214_1lineStart = Node214_1width - ht.Default.getTextSize('总貌图', ' '+ Node214_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node214_1.setImage(GD.getTextJSON(Node214_1width, Node214_1height, false, true, false, ' '+ Node214_1fontSize + 'px "Arial"'))
- Node214_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node214_1.setWidth(Node214_1width);
- Node214_1.setHeight(Node214_1height);
- Node214_1._nodeType = 'text';
- Node214_1._disallowEvert = true;
- Node214_1.setRotation(0*Math.PI/180);
- Node214_1.a('node.width', Node214_1width);
- Node214_1.a('node.height', Node214_1height);
- Node214_1.a('node.rect', [0, 0, Node214_1width, Node214_1height]);
- Node214_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node214_1.a('node.borderwidth', 0);
- Node214_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node214_1.a('node.gradient','');
- Node214_1.a('node.gradientcolor','');
- Node214_1.a('node.text','总貌图');
- Node214_1.a('node.textalign','left');
- Node214_1.a('node.textvAlign','middle');
- Node214_1.a('node.textrect', [Node214_1textStart, 0, Node214_1textWidth, Node214_1height]);
- Node214_1.a('node.color','rgba(0,0,0,1)');
- Node214_1.a('node.font',' '+ Node214_1fontSize + 'px "Arial"');
- Node214_1.a('node.textvisible',false);
- Node214_1.a('node.linefeed',true);
- if (true) {
- Node214_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node214_1.a('node.text') || '总貌图';
- var color=Node214_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node214_1width,Node214_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node214_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node214_1.a('node.underlinepoints',[Node214_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node214_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node214_1fontSize + 'px "Arial"').width + 6, (Node214_1height - Node214_1fontSize) * 0.5*_ratio.ratioY + Node214_1fontSize + 2 ]);
- Node214_1.a('node.underlinevisible',false);
- Node214_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node214_1);
- zoomNodeList.push({
- node: Node214_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node215_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node215_0 = new ht.Node();
- Node215_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node215_0.setSize(27*ratioX, 101*ratioY);
- Node215_0.setImage('imgimage//left_menu_out0.png');
- Node215_0.setRotation(0*Math.PI/180);
- Node215_0._zoomBy = 'Default';
- Node215_0._nodeType = 'image';
- Node215_0._disallowEvert = true;
- dataModel.add(Node215_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node215_1 = new ht.Node();
- var Node215_1textStart, Node215_1textWidth, Node215_1lineStart, Node215_1align = 'left', Node215_1fontSize = 18.66662*_ratio.ratioY,Node215_1width = 23*_ratio.ratioX, Node215_1height = 76*_ratio.ratioY;
- (function () {
- if (Node215_1align === 'left') {
- Node215_1textStart = Node215_1fontSize * 0.2 > 2 ? Node215_1fontSize * 0.2 - 4 : Node215_1fontSize * 0.2 - 9;
- Node215_1textWidth = Node215_1width;
- Node215_1lineStart = 1;
- } else if (Node215_1align === 'right') {
- Node215_1textStart = 0;
- Node215_1textWidth =Node215_1fontSize <= 8 ? Node215_1width + Node215_1fontSize * 0.2 + 6 : Node215_1width - Node215_1fontSize * 0.2;
- Node215_1lineStart = (Node215_1width - (ht.Default.getTextSize('升压站', ' '+ Node215_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node215_1align === 'center') {
- Node215_1textStart = -3;
- Node215_1textWidth = Node215_1width;
- Node215_1lineStart = Node215_1width - ht.Default.getTextSize('升压站', ' '+ Node215_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node215_1.setImage(GD.getTextJSON(Node215_1width, Node215_1height, false, true, false, ' '+ Node215_1fontSize + 'px "Arial"'))
- Node215_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node215_1.setWidth(Node215_1width);
- Node215_1.setHeight(Node215_1height);
- Node215_1._nodeType = 'text';
- Node215_1._disallowEvert = true;
- Node215_1.setRotation(0*Math.PI/180);
- Node215_1.a('node.width', Node215_1width);
- Node215_1.a('node.height', Node215_1height);
- Node215_1.a('node.rect', [0, 0, Node215_1width, Node215_1height]);
- Node215_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node215_1.a('node.borderwidth', 0);
- Node215_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node215_1.a('node.gradient','');
- Node215_1.a('node.gradientcolor','');
- Node215_1.a('node.text','升压站');
- Node215_1.a('node.textalign','left');
- Node215_1.a('node.textvAlign','middle');
- Node215_1.a('node.textrect', [Node215_1textStart, 0, Node215_1textWidth, Node215_1height]);
- Node215_1.a('node.color','rgba(0,0,0,1)');
- Node215_1.a('node.font',' '+ Node215_1fontSize + 'px "Arial"');
- Node215_1.a('node.textvisible',false);
- Node215_1.a('node.linefeed',true);
- if (true) {
- Node215_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node215_1.a('node.text') || '升压站';
- var color=Node215_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node215_1width,Node215_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node215_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node215_1.a('node.underlinepoints',[Node215_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node215_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node215_1fontSize + 'px "Arial"').width + 6, (Node215_1height - Node215_1fontSize) * 0.5*_ratio.ratioY + Node215_1fontSize + 2 ]);
- Node215_1.a('node.underlinevisible',false);
- Node215_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node215_1);
- zoomNodeList.push({
- node: Node215_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node216_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node216_0 = new ht.Node();
- Node216_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node216_0.setSize(27*ratioX, 101*ratioY);
- Node216_0.setImage('imgimage//left_menu_out0.png');
- Node216_0.setRotation(0*Math.PI/180);
- Node216_0._zoomBy = 'Default';
- Node216_0._nodeType = 'image';
- Node216_0._disallowEvert = true;
- dataModel.add(Node216_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node216_1 = new ht.Node();
- var Node216_1textStart, Node216_1textWidth, Node216_1lineStart, Node216_1align = 'left', Node216_1fontSize = 18.66662*_ratio.ratioY,Node216_1width = 23*_ratio.ratioX, Node216_1height = 76*_ratio.ratioY;
- (function () {
- if (Node216_1align === 'left') {
- Node216_1textStart = Node216_1fontSize * 0.2 > 2 ? Node216_1fontSize * 0.2 - 4 : Node216_1fontSize * 0.2 - 9;
- Node216_1textWidth = Node216_1width;
- Node216_1lineStart = 1;
- } else if (Node216_1align === 'right') {
- Node216_1textStart = 0;
- Node216_1textWidth =Node216_1fontSize <= 8 ? Node216_1width + Node216_1fontSize * 0.2 + 6 : Node216_1width - Node216_1fontSize * 0.2;
- Node216_1lineStart = (Node216_1width - (ht.Default.getTextSize('风机信息', ' '+ Node216_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node216_1align === 'center') {
- Node216_1textStart = -3;
- Node216_1textWidth = Node216_1width;
- Node216_1lineStart = Node216_1width - ht.Default.getTextSize('风机信息', ' '+ Node216_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node216_1.setImage(GD.getTextJSON(Node216_1width, Node216_1height, false, true, false, ' '+ Node216_1fontSize + 'px "Arial"'))
- Node216_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node216_1.setWidth(Node216_1width);
- Node216_1.setHeight(Node216_1height);
- Node216_1._nodeType = 'text';
- Node216_1._disallowEvert = true;
- Node216_1.setRotation(0*Math.PI/180);
- Node216_1.a('node.width', Node216_1width);
- Node216_1.a('node.height', Node216_1height);
- Node216_1.a('node.rect', [0, 0, Node216_1width, Node216_1height]);
- Node216_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node216_1.a('node.borderwidth', 0);
- Node216_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node216_1.a('node.gradient','');
- Node216_1.a('node.gradientcolor','');
- Node216_1.a('node.text','风机信息');
- Node216_1.a('node.textalign','left');
- Node216_1.a('node.textvAlign','middle');
- Node216_1.a('node.textrect', [Node216_1textStart, 0, Node216_1textWidth, Node216_1height]);
- Node216_1.a('node.color','rgba(0,0,0,1)');
- Node216_1.a('node.font',' '+ Node216_1fontSize + 'px "Arial"');
- Node216_1.a('node.textvisible',false);
- Node216_1.a('node.linefeed',true);
- if (true) {
- Node216_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node216_1.a('node.text') || '风机信息';
- var color=Node216_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node216_1width,Node216_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node216_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node216_1.a('node.underlinepoints',[Node216_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node216_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node216_1fontSize + 'px "Arial"').width + 6, (Node216_1height - Node216_1fontSize) * 0.5*_ratio.ratioY + Node216_1fontSize + 2 ]);
- Node216_1.a('node.underlinevisible',false);
- Node216_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node216_1);
- zoomNodeList.push({
- node: Node216_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node217_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node217_0 = new ht.Node();
- Node217_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node217_0.setSize(27*ratioX, 101*ratioY);
- Node217_0.setImage('imgimage//left_menu_out0.png');
- Node217_0.setRotation(0*Math.PI/180);
- Node217_0._zoomBy = 'Default';
- Node217_0._nodeType = 'image';
- Node217_0._disallowEvert = true;
- dataModel.add(Node217_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node217_1 = new ht.Node();
- var Node217_1textStart, Node217_1textWidth, Node217_1lineStart, Node217_1align = 'left', Node217_1fontSize = 18.66662*_ratio.ratioY,Node217_1width = 23*_ratio.ratioX, Node217_1height = 76*_ratio.ratioY;
- (function () {
- if (Node217_1align === 'left') {
- Node217_1textStart = Node217_1fontSize * 0.2 > 2 ? Node217_1fontSize * 0.2 - 4 : Node217_1fontSize * 0.2 - 9;
- Node217_1textWidth = Node217_1width;
- Node217_1lineStart = 1;
- } else if (Node217_1align === 'right') {
- Node217_1textStart = 0;
- Node217_1textWidth =Node217_1fontSize <= 8 ? Node217_1width + Node217_1fontSize * 0.2 + 6 : Node217_1width - Node217_1fontSize * 0.2;
- Node217_1lineStart = (Node217_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node217_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node217_1align === 'center') {
- Node217_1textStart = -3;
- Node217_1textWidth = Node217_1width;
- Node217_1lineStart = Node217_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node217_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node217_1.setImage(GD.getTextJSON(Node217_1width, Node217_1height, false, true, false, ' '+ Node217_1fontSize + 'px "Arial"'))
- Node217_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node217_1.setWidth(Node217_1width);
- Node217_1.setHeight(Node217_1height);
- Node217_1._nodeType = 'text';
- Node217_1._disallowEvert = true;
- Node217_1.setRotation(0*Math.PI/180);
- Node217_1.a('node.width', Node217_1width);
- Node217_1.a('node.height', Node217_1height);
- Node217_1.a('node.rect', [0, 0, Node217_1width, Node217_1height]);
- Node217_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node217_1.a('node.borderwidth', 0);
- Node217_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node217_1.a('node.gradient','');
- Node217_1.a('node.gradientcolor','');
- Node217_1.a('node.text','风机矩阵');
- Node217_1.a('node.textalign','left');
- Node217_1.a('node.textvAlign','middle');
- Node217_1.a('node.textrect', [Node217_1textStart, 0, Node217_1textWidth, Node217_1height]);
- Node217_1.a('node.color','rgba(0,0,0,1)');
- Node217_1.a('node.font',' '+ Node217_1fontSize + 'px "Arial"');
- Node217_1.a('node.textvisible',false);
- Node217_1.a('node.linefeed',true);
- if (true) {
- Node217_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node217_1.a('node.text') || '风机矩阵';
- var color=Node217_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node217_1width,Node217_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node217_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node217_1.a('node.underlinepoints',[Node217_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node217_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node217_1fontSize + 'px "Arial"').width + 6, (Node217_1height - Node217_1fontSize) * 0.5*_ratio.ratioY + Node217_1fontSize + 2 ]);
- Node217_1.a('node.underlinevisible',false);
- Node217_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node217_1);
- zoomNodeList.push({
- node: Node217_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node218_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node218_0 = new ht.Node();
- Node218_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node218_0.setSize(27*ratioX, 101*ratioY);
- Node218_0.setImage('imgimage//left_menu_out0.png');
- Node218_0.setRotation(0*Math.PI/180);
- Node218_0._zoomBy = 'Default';
- Node218_0._nodeType = 'image';
- Node218_0._disallowEvert = true;
- dataModel.add(Node218_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node218_1 = new ht.Node();
- var Node218_1textStart, Node218_1textWidth, Node218_1lineStart, Node218_1align = 'left', Node218_1fontSize = 18.66662*_ratio.ratioY,Node218_1width = 23*_ratio.ratioX, Node218_1height = 76*_ratio.ratioY;
- (function () {
- if (Node218_1align === 'left') {
- Node218_1textStart = Node218_1fontSize * 0.2 > 2 ? Node218_1fontSize * 0.2 - 4 : Node218_1fontSize * 0.2 - 9;
- Node218_1textWidth = Node218_1width;
- Node218_1lineStart = 1;
- } else if (Node218_1align === 'right') {
- Node218_1textStart = 0;
- Node218_1textWidth =Node218_1fontSize <= 8 ? Node218_1width + Node218_1fontSize * 0.2 + 6 : Node218_1width - Node218_1fontSize * 0.2;
- Node218_1lineStart = (Node218_1width - (ht.Default.getTextSize('测风塔', ' '+ Node218_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node218_1align === 'center') {
- Node218_1textStart = -3;
- Node218_1textWidth = Node218_1width;
- Node218_1lineStart = Node218_1width - ht.Default.getTextSize('测风塔', ' '+ Node218_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node218_1.setImage(GD.getTextJSON(Node218_1width, Node218_1height, false, true, false, ' '+ Node218_1fontSize + 'px "Arial"'))
- Node218_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node218_1.setWidth(Node218_1width);
- Node218_1.setHeight(Node218_1height);
- Node218_1._nodeType = 'text';
- Node218_1._disallowEvert = true;
- Node218_1.setRotation(0*Math.PI/180);
- Node218_1.a('node.width', Node218_1width);
- Node218_1.a('node.height', Node218_1height);
- Node218_1.a('node.rect', [0, 0, Node218_1width, Node218_1height]);
- Node218_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node218_1.a('node.borderwidth', 0);
- Node218_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node218_1.a('node.gradient','');
- Node218_1.a('node.gradientcolor','');
- Node218_1.a('node.text','测风塔');
- Node218_1.a('node.textalign','left');
- Node218_1.a('node.textvAlign','middle');
- Node218_1.a('node.textrect', [Node218_1textStart, 0, Node218_1textWidth, Node218_1height]);
- Node218_1.a('node.color','rgba(0,0,0,1)');
- Node218_1.a('node.font',' '+ Node218_1fontSize + 'px "Arial"');
- Node218_1.a('node.textvisible',false);
- Node218_1.a('node.linefeed',true);
- if (true) {
- Node218_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node218_1.a('node.text') || '测风塔';
- var color=Node218_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node218_1width,Node218_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node218_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node218_1.a('node.underlinepoints',[Node218_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node218_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node218_1fontSize + 'px "Arial"').width + 6, (Node218_1height - Node218_1fontSize) * 0.5*_ratio.ratioY + Node218_1fontSize + 2 ]);
- Node218_1.a('node.underlinevisible',false);
- Node218_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node218_1);
- zoomNodeList.push({
- node: Node218_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node219type = 'rect';
- var Node219 = new ht.Node(),
- Node219BorderWidth = 1*2;
- if (Node219type === 'arc') {
- Node219BorderWidth *= 1;
- }
- Node219.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node219type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node219.setPosition(1827*ratio.ratioX, 72*ratio.ratioY);
- Node219.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node219.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node219.a('node.width', 127*_ratio.ratioX);
- Node219.a('node.height', 60.81538*_ratio.ratioY);
- Node219.a('node.type', Node219type);
- Node219.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node219.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node219.a('node.gradientcolor', '');
- Node219.a('node.gradient', '');
- Node219.a('node.borderwidth', Node219BorderWidth);
- Node219.a('node.color', 'rgba(128,128,128,1)');
- Node219.a('node.fillrect', [0,0,0,0]);
- Node219.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node219.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node219.a('node.fillgradient', '');
- if (Node219type !== 'rect') {
- Node219.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node219.a('node.arcTo', parseFloat('@arcTo@'));
- Node219.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node219type === 'arc') {
- Node219.a('node.arcOval', true);
- }
- Node219.setRotation(0*Math.PI/180);
- Node219.borderWidth = Node219BorderWidth;
- Node219.borderFillwidth = Node219BorderWidth;
- dataModel.add(Node219);
- Node219._nodename = 'Node219'
- Node219._nodeType = 'rect';
- zoomNodeList.push({
- node: Node219,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node219, Node219.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node220type = 'rect';
- var Node220 = new ht.Node(),
- Node220BorderWidth = 1*2;
- if (Node220type === 'arc') {
- Node220BorderWidth *= 1;
- }
- Node220.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node220type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node220.setPosition(1827*ratio.ratioX, 133*ratio.ratioY);
- Node220.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node220.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node220.a('node.width', 127*_ratio.ratioX);
- Node220.a('node.height', 60.81538*_ratio.ratioY);
- Node220.a('node.type', Node220type);
- Node220.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node220.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node220.a('node.gradientcolor', '');
- Node220.a('node.gradient', '');
- Node220.a('node.borderwidth', Node220BorderWidth);
- Node220.a('node.color', 'rgba(128,128,128,1)');
- Node220.a('node.fillrect', [0,0,0,0]);
- Node220.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node220.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node220.a('node.fillgradient', '');
- if (Node220type !== 'rect') {
- Node220.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node220.a('node.arcTo', parseFloat('@arcTo@'));
- Node220.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node220type === 'arc') {
- Node220.a('node.arcOval', true);
- }
- Node220.setRotation(0*Math.PI/180);
- Node220.borderWidth = Node220BorderWidth;
- Node220.borderFillwidth = Node220BorderWidth;
- dataModel.add(Node220);
- Node220._nodename = 'Node220'
- Node220._nodeType = 'rect';
- zoomNodeList.push({
- node: Node220,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node220, Node220.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node221type = 'rect';
- var Node221 = new ht.Node(),
- Node221BorderWidth = 1*2;
- if (Node221type === 'arc') {
- Node221BorderWidth *= 1;
- }
- Node221.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node221type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node221.setPosition(1333*ratio.ratioX, 102*ratio.ratioY);
- Node221.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node221.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node221.a('node.width', 27*_ratio.ratioX);
- Node221.a('node.height', 121*_ratio.ratioY);
- Node221.a('node.type', Node221type);
- Node221.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node221.a('node.background', 'rgba(0,0,0,1)');
- Node221.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node221.a('node.gradient', '');
- Node221.a('node.borderwidth', Node221BorderWidth);
- Node221.a('node.color', 'rgba(0,0,255,1)');
- Node221.a('node.fillrect', [0,0,0,0]);
- Node221.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node221.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node221.a('node.fillgradient', '');
- if (Node221type !== 'rect') {
- Node221.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node221.a('node.arcTo', parseFloat('@arcTo@'));
- Node221.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node221type === 'arc') {
- Node221.a('node.arcOval', true);
- }
- Node221.setRotation(0*Math.PI/180);
- Node221.borderWidth = Node221BorderWidth;
- Node221.borderFillwidth = Node221BorderWidth;
- dataModel.add(Node221);
- Node221._nodename = 'Node221'
- Node221._nodeType = 'rect';
- zoomNodeList.push({
- node: Node221,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node221, Node221.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node222 = new ht.Node();
- var Node222textStart, Node222textWidth, Node222lineStart, Node222align = 'left', Node222fontSize = 11.99997*_ratio.ratioY,Node222width = 53*_ratio.ratioX, Node222height = 20*_ratio.ratioY;
- (function () {
- if (Node222align === 'left') {
- Node222textStart = Node222fontSize * 0.2 > 2 ? Node222fontSize * 0.2 - 4 : Node222fontSize * 0.2 - 9;
- Node222textWidth = Node222width;
- Node222lineStart = 1;
- } else if (Node222align === 'right') {
- Node222textStart = 0;
- Node222textWidth =Node222fontSize <= 8 ? Node222width + Node222fontSize * 0.2 + 6 : Node222width - Node222fontSize * 0.2;
- Node222lineStart = (Node222width - (ht.Default.getTextSize('风', 'bold '+ Node222fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node222align === 'center') {
- Node222textStart = -3;
- Node222textWidth = Node222width;
- Node222lineStart = Node222width - ht.Default.getTextSize('风', 'bold '+ Node222fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node222.setImage(GD.getTextJSON(Node222width, Node222height, true, false, false, 'bold '+ Node222fontSize + 'px "Arial"'))
- Node222.setPosition(1350*ratio.ratioX, 68*ratio.ratioY);
- Node222.setWidth(Node222width);
- Node222.setHeight(Node222height);
- Node222._nodeType = 'text';
- Node222._disallowEvert = true;
- Node222.setRotation(0*Math.PI/180);
- Node222.a('node.width', Node222width);
- Node222.a('node.height', Node222height);
- Node222.a('node.rect', [0, 0, Node222width, Node222height]);
- Node222.a('node.bordercolor','rgba(255,255,255,1)');
- Node222.a('node.borderwidth', 0);
- Node222.a('node.background','' || 'rgba(0,0,0,0)');
- Node222.a('node.gradient','');
- Node222.a('node.gradientcolor','');
- Node222.a('node.text','风');
- Node222.a('node.textalign','left');
- Node222.a('node.textvAlign','middle');
- Node222.a('node.textrect', [Node222textStart, 0, Node222textWidth, Node222height]);
- Node222.a('node.color','rgba(255,255,255,1)');
- Node222.a('node.font','bold '+ Node222fontSize + 'px "Arial"');
- Node222.a('node.textvisible',true);
- Node222.a('node.linefeed',false);
- if (false) {
- Node222.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node222.a('node.text') || '风';
- var color=Node222.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node222width,Node222height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node222fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node222.a('node.underlinepoints',[Node222lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node222fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node222fontSize + 'px "Arial"').width + 6, (Node222height - Node222fontSize) * 0.5*_ratio.ratioY + Node222fontSize + 2 ]);
- Node222.a('node.underlinevisible',false);
- Node222.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node222);
- zoomNodeList.push({
- node: Node222,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node223type = 'rect';
- var Node223 = new ht.Node(),
- Node223BorderWidth = 1*2;
- if (Node223type === 'arc') {
- Node223BorderWidth *= 1;
- }
- Node223.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node223type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node223.setPosition(1412*ratio.ratioX, 102*ratio.ratioY);
- Node223.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node223.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node223.a('node.width', 130*_ratio.ratioX);
- Node223.a('node.height', 121*_ratio.ratioY);
- Node223.a('node.type', Node223type);
- Node223.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node223.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node223.a('node.gradientcolor', '');
- Node223.a('node.gradient', '');
- Node223.a('node.borderwidth', Node223BorderWidth);
- Node223.a('node.color', 'rgba(128,128,128,1)');
- Node223.a('node.fillrect', [0,0,0,0]);
- Node223.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node223.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node223.a('node.fillgradient', '');
- if (Node223type !== 'rect') {
- Node223.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node223.a('node.arcTo', parseFloat('@arcTo@'));
- Node223.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node223type === 'arc') {
- Node223.a('node.arcOval', true);
- }
- Node223.setRotation(0*Math.PI/180);
- Node223.borderWidth = Node223BorderWidth;
- Node223.borderFillwidth = Node223BorderWidth;
- dataModel.add(Node223);
- Node223._nodename = 'Node223'
- Node223._nodeType = 'rect';
- zoomNodeList.push({
- node: Node223,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node223, Node223.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node224 = new ht.Node();
- var Node224textStart, Node224textWidth, Node224lineStart, Node224align = 'left', Node224fontSize = 13.3333*_ratio.ratioY,Node224width = 59*_ratio.ratioX, Node224height = 25*_ratio.ratioY;
- (function () {
- if (Node224align === 'left') {
- Node224textStart = Node224fontSize * 0.2 > 2 ? Node224fontSize * 0.2 - 4 : Node224fontSize * 0.2 - 9;
- Node224textWidth = Node224width;
- Node224lineStart = 1;
- } else if (Node224align === 'right') {
- Node224textStart = 0;
- Node224textWidth =Node224fontSize <= 8 ? Node224width + Node224fontSize * 0.2 + 6 : Node224width - Node224fontSize * 0.2;
- Node224lineStart = (Node224width - (ht.Default.getTextSize('接入', ' '+ Node224fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node224align === 'center') {
- Node224textStart = -3;
- Node224textWidth = Node224width;
- Node224lineStart = Node224width - ht.Default.getTextSize('接入', ' '+ Node224fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node224.setImage(GD.getTextJSON(Node224width, Node224height, true, false, false, ' '+ Node224fontSize + 'px "Arial"'))
- Node224.setPosition(1381*ratio.ratioX, 56*ratio.ratioY);
- Node224.setWidth(Node224width);
- Node224.setHeight(Node224height);
- Node224._nodeType = 'text';
- Node224._disallowEvert = true;
- Node224.setRotation(0*Math.PI/180);
- Node224.a('node.width', Node224width);
- Node224.a('node.height', Node224height);
- Node224.a('node.rect', [0, 0, Node224width, Node224height]);
- Node224.a('node.bordercolor','rgba(105,105,105,1)');
- Node224.a('node.borderwidth', 0);
- Node224.a('node.background','' || 'rgba(0,0,0,0)');
- Node224.a('node.gradient','');
- Node224.a('node.gradientcolor','');
- Node224.a('node.text','接入');
- Node224.a('node.textalign','left');
- Node224.a('node.textvAlign','middle');
- Node224.a('node.textrect', [Node224textStart, 0, Node224textWidth, Node224height]);
- Node224.a('node.color','rgba(105,105,105,1)');
- Node224.a('node.font',' '+ Node224fontSize + 'px "Arial"');
- Node224.a('node.textvisible',true);
- Node224.a('node.linefeed',false);
- if (false) {
- Node224.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node224.a('node.text') || '接入';
- var color=Node224.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node224width,Node224height,13.3333*_ratio.ratioY,"left",color,' '+ Node224fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node224.a('node.underlinepoints',[Node224lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node224fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node224fontSize + 'px "Arial"').width + 6, (Node224height - Node224fontSize) * 0.5*_ratio.ratioY + Node224fontSize + 2 ]);
- Node224.a('node.underlinevisible',false);
- Node224.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node224);
- zoomNodeList.push({
- node: Node224,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node225 = new ht.Node();
- var Node225textStart, Node225textWidth, Node225lineStart, Node225align = 'center', Node225fontSize = 26.6666*_ratio.ratioY,Node225width = 87*_ratio.ratioX, Node225height = 36*_ratio.ratioY;
- (function () {
- if (Node225align === 'left') {
- Node225textStart = Node225fontSize * 0.2 > 2 ? Node225fontSize * 0.2 - 4 : Node225fontSize * 0.2 - 9;
- Node225textWidth = Node225width;
- Node225lineStart = 1;
- } else if (Node225align === 'right') {
- Node225textStart = 0;
- Node225textWidth =Node225fontSize <= 8 ? Node225width + Node225fontSize * 0.2 + 6 : Node225width - Node225fontSize * 0.2;
- Node225lineStart = (Node225width - (ht.Default.getTextSize('0', ' '+ Node225fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node225align === 'center') {
- Node225textStart = -3;
- Node225textWidth = Node225width;
- Node225lineStart = Node225width - ht.Default.getTextSize('0', ' '+ Node225fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node225.setImage(GD.getTextJSON(Node225width, Node225height, true, false, false, ' '+ Node225fontSize + 'px "Arial"'))
- Node225.setPosition(1413*ratio.ratioX, 101*ratio.ratioY);
- Node225.setWidth(Node225width);
- Node225.setHeight(Node225height);
- Node225._nodeType = 'text';
- Node225._disallowEvert = true;
- Node225.setRotation(0*Math.PI/180);
- Node225.a('node.width', Node225width);
- Node225.a('node.height', Node225height);
- Node225.a('node.rect', [0, 0, Node225width, Node225height]);
- Node225.a('node.bordercolor','rgba(0,0,0,1)');
- Node225.a('node.borderwidth', 0);
- Node225.a('node.background','' || 'rgba(0,0,0,0)');
- Node225.a('node.gradient','');
- Node225.a('node.gradientcolor','');
- Node225.a('node.text','0');
- Node225.a('node.textalign','center');
- Node225.a('node.textvAlign','middle');
- Node225.a('node.textrect', [Node225textStart, 0, Node225textWidth, Node225height]);
- Node225.a('node.color','rgba(0,0,0,1)');
- Node225.a('node.font',' '+ Node225fontSize + 'px "Arial"');
- Node225.a('node.textvisible',true);
- Node225.a('node.linefeed',false);
- if (false) {
- Node225.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node225.a('node.text') || '0';
- var color=Node225.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node225width,Node225height,26.6666*_ratio.ratioY,"center",color,' '+ Node225fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node225.a('node.underlinepoints',[Node225lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node225fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node225fontSize + 'px "Arial"').width + 6, (Node225height - Node225fontSize) * 0.5*_ratio.ratioY + Node225fontSize + 2 ]);
- Node225.a('node.underlinevisible',false);
- Node225.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node225);
- zoomNodeList.push({
- node: Node225,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node226 = new ht.Node();
- var Node226textStart, Node226textWidth, Node226lineStart, Node226align = 'center', Node226fontSize = 14.66663*_ratio.ratioY,Node226width = 87*_ratio.ratioX, Node226height = 26*_ratio.ratioY;
- (function () {
- if (Node226align === 'left') {
- Node226textStart = Node226fontSize * 0.2 > 2 ? Node226fontSize * 0.2 - 4 : Node226fontSize * 0.2 - 9;
- Node226textWidth = Node226width;
- Node226lineStart = 1;
- } else if (Node226align === 'right') {
- Node226textStart = 0;
- Node226textWidth =Node226fontSize <= 8 ? Node226width + Node226fontSize * 0.2 + 6 : Node226width - Node226fontSize * 0.2;
- Node226lineStart = (Node226width - (ht.Default.getTextSize('台', ' '+ Node226fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node226align === 'center') {
- Node226textStart = -3;
- Node226textWidth = Node226width;
- Node226lineStart = Node226width - ht.Default.getTextSize('台', ' '+ Node226fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node226.setImage(GD.getTextJSON(Node226width, Node226height, true, false, false, ' '+ Node226fontSize + 'px "Arial"'))
- Node226.setPosition(1460*ratio.ratioX, 150*ratio.ratioY);
- Node226.setWidth(Node226width);
- Node226.setHeight(Node226height);
- Node226._nodeType = 'text';
- Node226._disallowEvert = true;
- Node226.setRotation(0*Math.PI/180);
- Node226.a('node.width', Node226width);
- Node226.a('node.height', Node226height);
- Node226.a('node.rect', [0, 0, Node226width, Node226height]);
- Node226.a('node.bordercolor','rgba(105,105,105,1)');
- Node226.a('node.borderwidth', 0);
- Node226.a('node.background','' || 'rgba(0,0,0,0)');
- Node226.a('node.gradient','');
- Node226.a('node.gradientcolor','');
- Node226.a('node.text','台');
- Node226.a('node.textalign','center');
- Node226.a('node.textvAlign','middle');
- Node226.a('node.textrect', [Node226textStart, 0, Node226textWidth, Node226height]);
- Node226.a('node.color','rgba(105,105,105,1)');
- Node226.a('node.font',' '+ Node226fontSize + 'px "Arial"');
- Node226.a('node.textvisible',true);
- Node226.a('node.linefeed',false);
- if (false) {
- Node226.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node226.a('node.text') || '台';
- var color=Node226.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node226width,Node226height,14.66663*_ratio.ratioY,"center",color,' '+ Node226fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node226.a('node.underlinepoints',[Node226lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node226fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node226fontSize + 'px "Arial"').width + 6, (Node226height - Node226fontSize) * 0.5*_ratio.ratioY + Node226fontSize + 2 ]);
- Node226.a('node.underlinevisible',false);
- Node226.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node226);
- zoomNodeList.push({
- node: Node226,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node227 = new ht.Node();
- var Node227textStart, Node227textWidth, Node227lineStart, Node227align = 'center', Node227fontSize = 14.66663*_ratio.ratioY,Node227width = 67*_ratio.ratioX, Node227height = 26*_ratio.ratioY;
- (function () {
- if (Node227align === 'left') {
- Node227textStart = Node227fontSize * 0.2 > 2 ? Node227fontSize * 0.2 - 4 : Node227fontSize * 0.2 - 9;
- Node227textWidth = Node227width;
- Node227lineStart = 1;
- } else if (Node227align === 'right') {
- Node227textStart = 0;
- Node227textWidth =Node227fontSize <= 8 ? Node227width + Node227fontSize * 0.2 + 6 : Node227width - Node227fontSize * 0.2;
- Node227lineStart = (Node227width - (ht.Default.getTextSize('台', ' '+ Node227fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node227align === 'center') {
- Node227textStart = -3;
- Node227textWidth = Node227width;
- Node227lineStart = Node227width - ht.Default.getTextSize('台', ' '+ Node227fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node227.setImage(GD.getTextJSON(Node227width, Node227height, true, false, false, ' '+ Node227fontSize + 'px "Arial"'))
- Node227.setPosition(1593*ratio.ratioX, 148*ratio.ratioY);
- Node227.setWidth(Node227width);
- Node227.setHeight(Node227height);
- Node227._nodeType = 'text';
- Node227._disallowEvert = true;
- Node227.setRotation(0*Math.PI/180);
- Node227.a('node.width', Node227width);
- Node227.a('node.height', Node227height);
- Node227.a('node.rect', [0, 0, Node227width, Node227height]);
- Node227.a('node.bordercolor','rgba(105,105,105,1)');
- Node227.a('node.borderwidth', 0);
- Node227.a('node.background','' || 'rgba(0,0,0,0)');
- Node227.a('node.gradient','');
- Node227.a('node.gradientcolor','');
- Node227.a('node.text','台');
- Node227.a('node.textalign','center');
- Node227.a('node.textvAlign','middle');
- Node227.a('node.textrect', [Node227textStart, 0, Node227textWidth, Node227height]);
- Node227.a('node.color','rgba(105,105,105,1)');
- Node227.a('node.font',' '+ Node227fontSize + 'px "Arial"');
- Node227.a('node.textvisible',true);
- Node227.a('node.linefeed',false);
- if (false) {
- Node227.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node227.a('node.text') || '台';
- var color=Node227.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node227width,Node227height,14.66663*_ratio.ratioY,"center",color,' '+ Node227fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node227.a('node.underlinepoints',[Node227lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node227fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node227fontSize + 'px "Arial"').width + 6, (Node227height - Node227fontSize) * 0.5*_ratio.ratioY + Node227fontSize + 2 ]);
- Node227.a('node.underlinevisible',false);
- Node227.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node227);
- zoomNodeList.push({
- node: Node227,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node228;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node228 = new ht.Node();
- Node228.setPosition(1482*ratio.ratioX, 132*ratio.ratioY);
- Node228.setSize(9*ratioX, 60*ratioY);
- Node228.setImage('imgimage//page_list_box_left_orange.jpg');
- Node228.setRotation(0*Math.PI/180);
- Node228._zoomBy = 'Default';
- Node228._nodeType = 'image';
- Node228._disallowEvert = true;
- dataModel.add(Node228);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node229type = 'rect';
- var Node229 = new ht.Node(),
- Node229BorderWidth = 1*2;
- if (Node229type === 'arc') {
- Node229BorderWidth *= 1;
- }
- Node229.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node229type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node229.setPosition(1551*ratio.ratioX, 133*ratio.ratioY);
- Node229.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node229.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node229.a('node.width', 127*_ratio.ratioX);
- Node229.a('node.height', 60.81538*_ratio.ratioY);
- Node229.a('node.type', Node229type);
- Node229.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node229.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node229.a('node.gradientcolor', '');
- Node229.a('node.gradient', '');
- Node229.a('node.borderwidth', Node229BorderWidth);
- Node229.a('node.color', 'rgba(128,128,128,1)');
- Node229.a('node.fillrect', [0,0,0,0]);
- Node229.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node229.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node229.a('node.fillgradient', '');
- if (Node229type !== 'rect') {
- Node229.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node229.a('node.arcTo', parseFloat('@arcTo@'));
- Node229.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node229type === 'arc') {
- Node229.a('node.arcOval', true);
- }
- Node229.setRotation(0*Math.PI/180);
- Node229.borderWidth = Node229BorderWidth;
- Node229.borderFillwidth = Node229BorderWidth;
- dataModel.add(Node229);
- Node229._nodename = 'Node229'
- Node229._nodeType = 'rect';
- zoomNodeList.push({
- node: Node229,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node229, Node229.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node230 = new ht.Node();
- var Node230textStart, Node230textWidth, Node230lineStart, Node230align = 'left', Node230fontSize = 13.3333*_ratio.ratioY,Node230width = 47*_ratio.ratioX, Node230height = 38*_ratio.ratioY;
- (function () {
- if (Node230align === 'left') {
- Node230textStart = Node230fontSize * 0.2 > 2 ? Node230fontSize * 0.2 - 4 : Node230fontSize * 0.2 - 9;
- Node230textWidth = Node230width;
- Node230lineStart = 1;
- } else if (Node230align === 'right') {
- Node230textStart = 0;
- Node230textWidth =Node230fontSize <= 8 ? Node230width + Node230fontSize * 0.2 + 6 : Node230width - Node230fontSize * 0.2;
- Node230lineStart = (Node230width - (ht.Default.getTextSize('维护', 'bold '+ Node230fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node230align === 'center') {
- Node230textStart = -3;
- Node230textWidth = Node230width;
- Node230lineStart = Node230width - ht.Default.getTextSize('维护', 'bold '+ Node230fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node230.setImage(GD.getTextJSON(Node230width, Node230height, true, false, false, 'bold '+ Node230fontSize + 'px "Arial"'))
- Node230.setPosition(1513*ratio.ratioX, 115*ratio.ratioY);
- Node230.setWidth(Node230width);
- Node230.setHeight(Node230height);
- Node230._nodeType = 'text';
- Node230._disallowEvert = true;
- Node230.setRotation(0*Math.PI/180);
- Node230.a('node.width', Node230width);
- Node230.a('node.height', Node230height);
- Node230.a('node.rect', [0, 0, Node230width, Node230height]);
- Node230.a('node.bordercolor','rgba(0,0,0,1)');
- Node230.a('node.borderwidth', 0);
- Node230.a('node.background','' || 'rgba(0,0,0,0)');
- Node230.a('node.gradient','');
- Node230.a('node.gradientcolor','');
- Node230.a('node.text','维护');
- Node230.a('node.textalign','left');
- Node230.a('node.textvAlign','middle');
- Node230.a('node.textrect', [Node230textStart, 0, Node230textWidth, Node230height]);
- Node230.a('node.color','rgba(0,0,0,1)');
- Node230.a('node.font','bold '+ Node230fontSize + 'px "Arial"');
- Node230.a('node.textvisible',true);
- Node230.a('node.linefeed',false);
- if (false) {
- Node230.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node230.a('node.text') || '维护';
- var color=Node230.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node230width,Node230height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node230fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node230.a('node.underlinepoints',[Node230lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node230fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node230fontSize + 'px "Arial"').width + 6, (Node230height - Node230fontSize) * 0.5*_ratio.ratioY + Node230fontSize + 2 ]);
- Node230.a('node.underlinevisible',false);
- Node230.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node230);
- zoomNodeList.push({
- node: Node230,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node231 = new ht.Node();
- var Node231textStart, Node231textWidth, Node231lineStart, Node231align = 'left', Node231fontSize = 15.99996*_ratio.ratioY,Node231width = 29*_ratio.ratioX, Node231height = 25*_ratio.ratioY;
- (function () {
- if (Node231align === 'left') {
- Node231textStart = Node231fontSize * 0.2 > 2 ? Node231fontSize * 0.2 - 4 : Node231fontSize * 0.2 - 9;
- Node231textWidth = Node231width;
- Node231lineStart = 1;
- } else if (Node231align === 'right') {
- Node231textStart = 0;
- Node231textWidth =Node231fontSize <= 8 ? Node231width + Node231fontSize * 0.2 + 6 : Node231width - Node231fontSize * 0.2;
- Node231lineStart = (Node231width - (ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node231align === 'center') {
- Node231textStart = -3;
- Node231textWidth = Node231width;
- Node231lineStart = Node231width - ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node231.setImage(GD.getTextJSON(Node231width, Node231height, true, false, false, ' '+ Node231fontSize + 'px "Arial"'))
- Node231.setPosition(1514*ratio.ratioX, 147*ratio.ratioY);
- Node231.setWidth(Node231width);
- Node231.setHeight(Node231height);
- Node231._nodeType = 'text';
- Node231._disallowEvert = true;
- Node231.setRotation(0*Math.PI/180);
- Node231.a('node.width', Node231width);
- Node231.a('node.height', Node231height);
- Node231.a('node.rect', [0, 0, Node231width, Node231height]);
- Node231.a('node.bordercolor','rgba(0,0,0,1)');
- Node231.a('node.borderwidth', 0);
- Node231.a('node.background','' || 'rgba(0,0,0,0)');
- Node231.a('node.gradient','');
- Node231.a('node.gradientcolor','');
- Node231.a('node.text','0');
- Node231.a('node.textalign','left');
- Node231.a('node.textvAlign','middle');
- Node231.a('node.textrect', [Node231textStart, 0, Node231textWidth, Node231height]);
- Node231.a('node.color','rgba(0,0,0,1)');
- Node231.a('node.font',' '+ Node231fontSize + 'px "Arial"');
- Node231.a('node.textvisible',true);
- Node231.a('node.linefeed',false);
- if (false) {
- Node231.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node231.a('node.text') || '0';
- var color=Node231.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node231width,Node231height,15.99996*_ratio.ratioY,"left",color,' '+ Node231fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node231.a('node.underlinepoints',[Node231lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node231fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "Arial"').width + 6, (Node231height - Node231fontSize) * 0.5*_ratio.ratioY + Node231fontSize + 2 ]);
- Node231.a('node.underlinevisible',false);
- Node231.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node231);
- zoomNodeList.push({
- node: Node231,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node232 = new ht.Node();
- var Node232textStart, Node232textWidth, Node232lineStart, Node232align = 'center', Node232fontSize = 14.66663*_ratio.ratioY,Node232width = 67*_ratio.ratioX, Node232height = 26*_ratio.ratioY;
- (function () {
- if (Node232align === 'left') {
- Node232textStart = Node232fontSize * 0.2 > 2 ? Node232fontSize * 0.2 - 4 : Node232fontSize * 0.2 - 9;
- Node232textWidth = Node232width;
- Node232lineStart = 1;
- } else if (Node232align === 'right') {
- Node232textStart = 0;
- Node232textWidth =Node232fontSize <= 8 ? Node232width + Node232fontSize * 0.2 + 6 : Node232width - Node232fontSize * 0.2;
- Node232lineStart = (Node232width - (ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node232align === 'center') {
- Node232textStart = -3;
- Node232textWidth = Node232width;
- Node232lineStart = Node232width - ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node232.setImage(GD.getTextJSON(Node232width, Node232height, true, false, false, ' '+ Node232fontSize + 'px "Arial"'))
- Node232.setPosition(1731*ratio.ratioX, 88*ratio.ratioY);
- Node232.setWidth(Node232width);
- Node232.setHeight(Node232height);
- Node232._nodeType = 'text';
- Node232._disallowEvert = true;
- Node232.setRotation(0*Math.PI/180);
- Node232.a('node.width', Node232width);
- Node232.a('node.height', Node232height);
- Node232.a('node.rect', [0, 0, Node232width, Node232height]);
- Node232.a('node.bordercolor','rgba(105,105,105,1)');
- Node232.a('node.borderwidth', 0);
- Node232.a('node.background','' || 'rgba(0,0,0,0)');
- Node232.a('node.gradient','');
- Node232.a('node.gradientcolor','');
- Node232.a('node.text','台');
- Node232.a('node.textalign','center');
- Node232.a('node.textvAlign','middle');
- Node232.a('node.textrect', [Node232textStart, 0, Node232textWidth, Node232height]);
- Node232.a('node.color','rgba(105,105,105,1)');
- Node232.a('node.font',' '+ Node232fontSize + 'px "Arial"');
- Node232.a('node.textvisible',true);
- Node232.a('node.linefeed',false);
- if (false) {
- Node232.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node232.a('node.text') || '台';
- var color=Node232.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node232width,Node232height,14.66663*_ratio.ratioY,"center",color,' '+ Node232fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node232.a('node.underlinepoints',[Node232lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node232fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "Arial"').width + 6, (Node232height - Node232fontSize) * 0.5*_ratio.ratioY + Node232fontSize + 2 ]);
- Node232.a('node.underlinevisible',false);
- Node232.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node232);
- zoomNodeList.push({
- node: Node232,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node233;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg');
- Node233 = new ht.Node();
- Node233.setPosition(1620*ratio.ratioX, 72*ratio.ratioY);
- Node233.setSize(9*ratioX, 60*ratioY);
- Node233.setImage('imgimage//page_list_box_left_green.jpg');
- Node233.setRotation(0*Math.PI/180);
- Node233._zoomBy = 'Default';
- Node233._nodeType = 'image';
- Node233._disallowEvert = true;
- dataModel.add(Node233);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node234type = 'rect';
- var Node234 = new ht.Node(),
- Node234BorderWidth = 1*2;
- if (Node234type === 'arc') {
- Node234BorderWidth *= 1;
- }
- Node234.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node234type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node234.setPosition(1689*ratio.ratioX, 72*ratio.ratioY);
- Node234.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node234.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node234.a('node.width', 127*_ratio.ratioX);
- Node234.a('node.height', 60.81538*_ratio.ratioY);
- Node234.a('node.type', Node234type);
- Node234.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node234.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node234.a('node.gradientcolor', '');
- Node234.a('node.gradient', '');
- Node234.a('node.borderwidth', Node234BorderWidth);
- Node234.a('node.color', 'rgba(128,128,128,1)');
- Node234.a('node.fillrect', [0,0,0,0]);
- Node234.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node234.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node234.a('node.fillgradient', '');
- if (Node234type !== 'rect') {
- Node234.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node234.a('node.arcTo', parseFloat('@arcTo@'));
- Node234.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node234type === 'arc') {
- Node234.a('node.arcOval', true);
- }
- Node234.setRotation(0*Math.PI/180);
- Node234.borderWidth = Node234BorderWidth;
- Node234.borderFillwidth = Node234BorderWidth;
- dataModel.add(Node234);
- Node234._nodename = 'Node234'
- Node234._nodeType = 'rect';
- zoomNodeList.push({
- node: Node234,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node234, Node234.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node235 = new ht.Node();
- var Node235textStart, Node235textWidth, Node235lineStart, Node235align = 'left', Node235fontSize = 15.99996*_ratio.ratioY,Node235width = 29*_ratio.ratioX, Node235height = 25*_ratio.ratioY;
- (function () {
- if (Node235align === 'left') {
- Node235textStart = Node235fontSize * 0.2 > 2 ? Node235fontSize * 0.2 - 4 : Node235fontSize * 0.2 - 9;
- Node235textWidth = Node235width;
- Node235lineStart = 1;
- } else if (Node235align === 'right') {
- Node235textStart = 0;
- Node235textWidth =Node235fontSize <= 8 ? Node235width + Node235fontSize * 0.2 + 6 : Node235width - Node235fontSize * 0.2;
- Node235lineStart = (Node235width - (ht.Default.getTextSize('0', ' '+ Node235fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node235align === 'center') {
- Node235textStart = -3;
- Node235textWidth = Node235width;
- Node235lineStart = Node235width - ht.Default.getTextSize('0', ' '+ Node235fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node235.setImage(GD.getTextJSON(Node235width, Node235height, true, false, false, ' '+ Node235fontSize + 'px "Arial"'))
- Node235.setPosition(1652*ratio.ratioX, 87*ratio.ratioY);
- Node235.setWidth(Node235width);
- Node235.setHeight(Node235height);
- Node235._nodeType = 'text';
- Node235._disallowEvert = true;
- Node235.setRotation(0*Math.PI/180);
- Node235.a('node.width', Node235width);
- Node235.a('node.height', Node235height);
- Node235.a('node.rect', [0, 0, Node235width, Node235height]);
- Node235.a('node.bordercolor','rgba(0,0,0,1)');
- Node235.a('node.borderwidth', 0);
- Node235.a('node.background','' || 'rgba(0,0,0,0)');
- Node235.a('node.gradient','');
- Node235.a('node.gradientcolor','');
- Node235.a('node.text','0');
- Node235.a('node.textalign','left');
- Node235.a('node.textvAlign','middle');
- Node235.a('node.textrect', [Node235textStart, 0, Node235textWidth, Node235height]);
- Node235.a('node.color','rgba(0,0,0,1)');
- Node235.a('node.font',' '+ Node235fontSize + 'px "Arial"');
- Node235.a('node.textvisible',true);
- Node235.a('node.linefeed',false);
- if (false) {
- Node235.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node235.a('node.text') || '0';
- var color=Node235.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node235width,Node235height,15.99996*_ratio.ratioY,"left",color,' '+ Node235fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node235.a('node.underlinepoints',[Node235lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node235fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node235fontSize + 'px "Arial"').width + 6, (Node235height - Node235fontSize) * 0.5*_ratio.ratioY + Node235fontSize + 2 ]);
- Node235.a('node.underlinevisible',false);
- Node235.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node235);
- zoomNodeList.push({
- node: Node235,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node236 = new ht.Node();
- var Node236textStart, Node236textWidth, Node236lineStart, Node236align = 'center', Node236fontSize = 14.66663*_ratio.ratioY,Node236width = 67*_ratio.ratioX, Node236height = 26*_ratio.ratioY;
- (function () {
- if (Node236align === 'left') {
- Node236textStart = Node236fontSize * 0.2 > 2 ? Node236fontSize * 0.2 - 4 : Node236fontSize * 0.2 - 9;
- Node236textWidth = Node236width;
- Node236lineStart = 1;
- } else if (Node236align === 'right') {
- Node236textStart = 0;
- Node236textWidth =Node236fontSize <= 8 ? Node236width + Node236fontSize * 0.2 + 6 : Node236width - Node236fontSize * 0.2;
- Node236lineStart = (Node236width - (ht.Default.getTextSize('台', ' '+ Node236fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node236align === 'center') {
- Node236textStart = -3;
- Node236textWidth = Node236width;
- Node236lineStart = Node236width - ht.Default.getTextSize('台', ' '+ Node236fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node236.setImage(GD.getTextJSON(Node236width, Node236height, true, false, false, ' '+ Node236fontSize + 'px "Arial"'))
- Node236.setPosition(1731*ratio.ratioX, 149*ratio.ratioY);
- Node236.setWidth(Node236width);
- Node236.setHeight(Node236height);
- Node236._nodeType = 'text';
- Node236._disallowEvert = true;
- Node236.setRotation(0*Math.PI/180);
- Node236.a('node.width', Node236width);
- Node236.a('node.height', Node236height);
- Node236.a('node.rect', [0, 0, Node236width, Node236height]);
- Node236.a('node.bordercolor','rgba(105,105,105,1)');
- Node236.a('node.borderwidth', 0);
- Node236.a('node.background','' || 'rgba(0,0,0,0)');
- Node236.a('node.gradient','');
- Node236.a('node.gradientcolor','');
- Node236.a('node.text','台');
- Node236.a('node.textalign','center');
- Node236.a('node.textvAlign','middle');
- Node236.a('node.textrect', [Node236textStart, 0, Node236textWidth, Node236height]);
- Node236.a('node.color','rgba(105,105,105,1)');
- Node236.a('node.font',' '+ Node236fontSize + 'px "Arial"');
- Node236.a('node.textvisible',true);
- Node236.a('node.linefeed',false);
- if (false) {
- Node236.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node236.a('node.text') || '台';
- var color=Node236.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node236width,Node236height,14.66663*_ratio.ratioY,"center",color,' '+ Node236fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node236.a('node.underlinepoints',[Node236lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node236fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node236fontSize + 'px "Arial"').width + 6, (Node236height - Node236fontSize) * 0.5*_ratio.ratioY + Node236fontSize + 2 ]);
- Node236.a('node.underlinevisible',false);
- Node236.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node236);
- zoomNodeList.push({
- node: Node236,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node237;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node237 = new ht.Node();
- Node237.setPosition(1620*ratio.ratioX, 133*ratio.ratioY);
- Node237.setSize(9*ratioX, 60*ratioY);
- Node237.setImage('imgimage//page_list_box_left_pink.jpg');
- Node237.setRotation(0*Math.PI/180);
- Node237._zoomBy = 'Default';
- Node237._nodeType = 'image';
- Node237._disallowEvert = true;
- dataModel.add(Node237);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node238type = 'rect';
- var Node238 = new ht.Node(),
- Node238BorderWidth = 1*2;
- if (Node238type === 'arc') {
- Node238BorderWidth *= 1;
- }
- Node238.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node238type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node238.setPosition(1689*ratio.ratioX, 133*ratio.ratioY);
- Node238.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node238.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node238.a('node.width', 127*_ratio.ratioX);
- Node238.a('node.height', 60.81538*_ratio.ratioY);
- Node238.a('node.type', Node238type);
- Node238.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node238.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node238.a('node.gradientcolor', '');
- Node238.a('node.gradient', '');
- Node238.a('node.borderwidth', Node238BorderWidth);
- Node238.a('node.color', 'rgba(128,128,128,1)');
- Node238.a('node.fillrect', [0,0,0,0]);
- Node238.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node238.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node238.a('node.fillgradient', '');
- if (Node238type !== 'rect') {
- Node238.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node238.a('node.arcTo', parseFloat('@arcTo@'));
- Node238.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node238type === 'arc') {
- Node238.a('node.arcOval', true);
- }
- Node238.setRotation(0*Math.PI/180);
- Node238.borderWidth = Node238BorderWidth;
- Node238.borderFillwidth = Node238BorderWidth;
- dataModel.add(Node238);
- Node238._nodename = 'Node238'
- Node238._nodeType = 'rect';
- zoomNodeList.push({
- node: Node238,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node238, Node238.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node239 = new ht.Node();
- var Node239textStart, Node239textWidth, Node239lineStart, Node239align = 'left', Node239fontSize = 13.3333*_ratio.ratioY,Node239width = 47*_ratio.ratioX, Node239height = 38*_ratio.ratioY;
- (function () {
- if (Node239align === 'left') {
- Node239textStart = Node239fontSize * 0.2 > 2 ? Node239fontSize * 0.2 - 4 : Node239fontSize * 0.2 - 9;
- Node239textWidth = Node239width;
- Node239lineStart = 1;
- } else if (Node239align === 'right') {
- Node239textStart = 0;
- Node239textWidth =Node239fontSize <= 8 ? Node239width + Node239fontSize * 0.2 + 6 : Node239width - Node239fontSize * 0.2;
- Node239lineStart = (Node239width - (ht.Default.getTextSize('限电', 'bold '+ Node239fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node239align === 'center') {
- Node239textStart = -3;
- Node239textWidth = Node239width;
- Node239lineStart = Node239width - ht.Default.getTextSize('限电', 'bold '+ Node239fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node239.setImage(GD.getTextJSON(Node239width, Node239height, true, false, false, 'bold '+ Node239fontSize + 'px "Arial"'))
- Node239.setPosition(1651*ratio.ratioX, 116*ratio.ratioY);
- Node239.setWidth(Node239width);
- Node239.setHeight(Node239height);
- Node239._nodeType = 'text';
- Node239._disallowEvert = true;
- Node239.setRotation(0*Math.PI/180);
- Node239.a('node.width', Node239width);
- Node239.a('node.height', Node239height);
- Node239.a('node.rect', [0, 0, Node239width, Node239height]);
- Node239.a('node.bordercolor','rgba(0,0,0,1)');
- Node239.a('node.borderwidth', 0);
- Node239.a('node.background','' || 'rgba(0,0,0,0)');
- Node239.a('node.gradient','');
- Node239.a('node.gradientcolor','');
- Node239.a('node.text','限电');
- Node239.a('node.textalign','left');
- Node239.a('node.textvAlign','middle');
- Node239.a('node.textrect', [Node239textStart, 0, Node239textWidth, Node239height]);
- Node239.a('node.color','rgba(0,0,0,1)');
- Node239.a('node.font','bold '+ Node239fontSize + 'px "Arial"');
- Node239.a('node.textvisible',true);
- Node239.a('node.linefeed',false);
- if (false) {
- Node239.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node239.a('node.text') || '限电';
- var color=Node239.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node239width,Node239height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node239fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node239.a('node.underlinepoints',[Node239lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node239fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node239fontSize + 'px "Arial"').width + 6, (Node239height - Node239fontSize) * 0.5*_ratio.ratioY + Node239fontSize + 2 ]);
- Node239.a('node.underlinevisible',false);
- Node239.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node239);
- zoomNodeList.push({
- node: Node239,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node240 = new ht.Node();
- var Node240textStart, Node240textWidth, Node240lineStart, Node240align = 'left', Node240fontSize = 15.99996*_ratio.ratioY,Node240width = 29*_ratio.ratioX, Node240height = 25*_ratio.ratioY;
- (function () {
- if (Node240align === 'left') {
- Node240textStart = Node240fontSize * 0.2 > 2 ? Node240fontSize * 0.2 - 4 : Node240fontSize * 0.2 - 9;
- Node240textWidth = Node240width;
- Node240lineStart = 1;
- } else if (Node240align === 'right') {
- Node240textStart = 0;
- Node240textWidth =Node240fontSize <= 8 ? Node240width + Node240fontSize * 0.2 + 6 : Node240width - Node240fontSize * 0.2;
- Node240lineStart = (Node240width - (ht.Default.getTextSize('0', ' '+ Node240fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node240align === 'center') {
- Node240textStart = -3;
- Node240textWidth = Node240width;
- Node240lineStart = Node240width - ht.Default.getTextSize('0', ' '+ Node240fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node240.setImage(GD.getTextJSON(Node240width, Node240height, true, false, false, ' '+ Node240fontSize + 'px "Arial"'))
- Node240.setPosition(1652*ratio.ratioX, 148*ratio.ratioY);
- Node240.setWidth(Node240width);
- Node240.setHeight(Node240height);
- Node240._nodeType = 'text';
- Node240._disallowEvert = true;
- Node240.setRotation(0*Math.PI/180);
- Node240.a('node.width', Node240width);
- Node240.a('node.height', Node240height);
- Node240.a('node.rect', [0, 0, Node240width, Node240height]);
- Node240.a('node.bordercolor','rgba(0,0,0,1)');
- Node240.a('node.borderwidth', 0);
- Node240.a('node.background','' || 'rgba(0,0,0,0)');
- Node240.a('node.gradient','');
- Node240.a('node.gradientcolor','');
- Node240.a('node.text','0');
- Node240.a('node.textalign','left');
- Node240.a('node.textvAlign','middle');
- Node240.a('node.textrect', [Node240textStart, 0, Node240textWidth, Node240height]);
- Node240.a('node.color','rgba(0,0,0,1)');
- Node240.a('node.font',' '+ Node240fontSize + 'px "Arial"');
- Node240.a('node.textvisible',true);
- Node240.a('node.linefeed',false);
- if (false) {
- Node240.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node240.a('node.text') || '0';
- var color=Node240.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node240width,Node240height,15.99996*_ratio.ratioY,"left",color,' '+ Node240fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node240.a('node.underlinepoints',[Node240lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node240fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node240fontSize + 'px "Arial"').width + 6, (Node240height - Node240fontSize) * 0.5*_ratio.ratioY + Node240fontSize + 2 ]);
- Node240.a('node.underlinevisible',false);
- Node240.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node240);
- zoomNodeList.push({
- node: Node240,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node241type = 'rect';
- var Node241 = new ht.Node(),
- Node241BorderWidth = 1*2;
- if (Node241type === 'arc') {
- Node241BorderWidth *= 1;
- }
- Node241.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node241type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node241.setPosition(253*ratio.ratioX, 102*ratio.ratioY);
- Node241.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node241.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node241.a('node.width', 121*_ratio.ratioX);
- Node241.a('node.height', 24.33138*_ratio.ratioY);
- Node241.a('node.type', Node241type);
- Node241.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node241.a('node.background', 'rgba(240,240,240,1)');
- Node241.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node241.a('node.gradient', '');
- Node241.a('node.borderwidth', Node241BorderWidth);
- Node241.a('node.color', 'rgba(224,224,224,1)');
- Node241.a('node.fillrect', [0,0,0,0]);
- Node241.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node241.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node241.a('node.fillgradient', '');
- if (Node241type !== 'rect') {
- Node241.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node241.a('node.arcTo', parseFloat('@arcTo@'));
- Node241.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node241type === 'arc') {
- Node241.a('node.arcOval', true);
- }
- Node241.setRotation(0*Math.PI/180);
- Node241.borderWidth = Node241BorderWidth;
- Node241.borderFillwidth = Node241BorderWidth;
- dataModel.add(Node241);
- Node241._nodename = 'Node241'
- Node241._nodeType = 'rect';
- zoomNodeList.push({
- node: Node241,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node241, Node241.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node242type = 'rect';
- var Node242 = new ht.Node(),
- Node242BorderWidth = 1*2;
- if (Node242type === 'arc') {
- Node242BorderWidth *= 1;
- }
- Node242.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node242type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node242.setPosition(253*ratio.ratioX, 78*ratio.ratioY);
- Node242.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node242.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node242.a('node.width', 121*_ratio.ratioX);
- Node242.a('node.height', 24.33138*_ratio.ratioY);
- Node242.a('node.type', Node242type);
- Node242.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node242.a('node.background', 'rgba(240,240,240,1)');
- Node242.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node242.a('node.gradient', '');
- Node242.a('node.borderwidth', Node242BorderWidth);
- Node242.a('node.color', 'rgba(224,224,224,1)');
- Node242.a('node.fillrect', [0,0,0,0]);
- Node242.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node242.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node242.a('node.fillgradient', '');
- if (Node242type !== 'rect') {
- Node242.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node242.a('node.arcTo', parseFloat('@arcTo@'));
- Node242.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node242type === 'arc') {
- Node242.a('node.arcOval', true);
- }
- Node242.setRotation(0*Math.PI/180);
- Node242.borderWidth = Node242BorderWidth;
- Node242.borderFillwidth = Node242BorderWidth;
- dataModel.add(Node242);
- Node242._nodename = 'Node242'
- Node242._nodeType = 'rect';
- zoomNodeList.push({
- node: Node242,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node242, Node242.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node243type = 'rect';
- var Node243 = new ht.Node(),
- Node243BorderWidth = 1*2;
- if (Node243type === 'arc') {
- Node243BorderWidth *= 1;
- }
- Node243.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node243type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node243.setPosition(253*ratio.ratioX, 127*ratio.ratioY);
- Node243.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node243.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node243.a('node.width', 121*_ratio.ratioX);
- Node243.a('node.height', 24.33136*_ratio.ratioY);
- Node243.a('node.type', Node243type);
- Node243.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node243.a('node.background', 'rgba(240,240,240,1)');
- Node243.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node243.a('node.gradient', '');
- Node243.a('node.borderwidth', Node243BorderWidth);
- Node243.a('node.color', 'rgba(224,224,224,1)');
- Node243.a('node.fillrect', [0,0,0,0]);
- Node243.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node243.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node243.a('node.fillgradient', '');
- if (Node243type !== 'rect') {
- Node243.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node243.a('node.arcTo', parseFloat('@arcTo@'));
- Node243.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node243type === 'arc') {
- Node243.a('node.arcOval', true);
- }
- Node243.setRotation(0*Math.PI/180);
- Node243.borderWidth = Node243BorderWidth;
- Node243.borderFillwidth = Node243BorderWidth;
- dataModel.add(Node243);
- Node243._nodename = 'Node243'
- Node243._nodeType = 'rect';
- zoomNodeList.push({
- node: Node243,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node243, Node243.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node244type = 'rect';
- var Node244 = new ht.Node(),
- Node244BorderWidth = 1*2;
- if (Node244type === 'arc') {
- Node244BorderWidth *= 1;
- }
- Node244.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node244type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node244.setPosition(253*ratio.ratioX, 54*ratio.ratioY);
- Node244.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node244.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node244.a('node.width', 121*_ratio.ratioX);
- Node244.a('node.height', 24.33136*_ratio.ratioY);
- Node244.a('node.type', Node244type);
- Node244.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node244.a('node.background', 'rgba(240,240,240,1)');
- Node244.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node244.a('node.gradient', '');
- Node244.a('node.borderwidth', Node244BorderWidth);
- Node244.a('node.color', 'rgba(224,224,224,1)');
- Node244.a('node.fillrect', [0,0,0,0]);
- Node244.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node244.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node244.a('node.fillgradient', '');
- if (Node244type !== 'rect') {
- Node244.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node244.a('node.arcTo', parseFloat('@arcTo@'));
- Node244.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node244type === 'arc') {
- Node244.a('node.arcOval', true);
- }
- Node244.setRotation(0*Math.PI/180);
- Node244.borderWidth = Node244BorderWidth;
- Node244.borderFillwidth = Node244BorderWidth;
- dataModel.add(Node244);
- Node244._nodename = 'Node244'
- Node244._nodeType = 'rect';
- zoomNodeList.push({
- node: Node244,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node244, Node244.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node245type = 'rect';
- var Node245 = new ht.Node(),
- Node245BorderWidth = 1*2;
- if (Node245type === 'arc') {
- Node245BorderWidth *= 1;
- }
- Node245.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node245type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node245.setPosition(253*ratio.ratioX, 151*ratio.ratioY);
- Node245.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node245.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node245.a('node.width', 121*_ratio.ratioX);
- Node245.a('node.height', 24.33138*_ratio.ratioY);
- Node245.a('node.type', Node245type);
- Node245.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node245.a('node.background', 'rgba(240,240,240,1)');
- Node245.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node245.a('node.gradient', '');
- Node245.a('node.borderwidth', Node245BorderWidth);
- Node245.a('node.color', 'rgba(224,224,224,1)');
- Node245.a('node.fillrect', [0,0,0,0]);
- Node245.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node245.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node245.a('node.fillgradient', '');
- if (Node245type !== 'rect') {
- Node245.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node245.a('node.arcTo', parseFloat('@arcTo@'));
- Node245.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node245type === 'arc') {
- Node245.a('node.arcOval', true);
- }
- Node245.setRotation(0*Math.PI/180);
- Node245.borderWidth = Node245BorderWidth;
- Node245.borderFillwidth = Node245BorderWidth;
- dataModel.add(Node245);
- Node245._nodename = 'Node245'
- Node245._nodeType = 'rect';
- zoomNodeList.push({
- node: Node245,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node245, Node245.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node246 = new ht.Node();
- var Node246textStart, Node246textWidth, Node246lineStart, Node246align = 'left', Node246fontSize = 13.3333*_ratio.ratioY,Node246width = 61*_ratio.ratioX, Node246height = 26*_ratio.ratioY;
- (function () {
- if (Node246align === 'left') {
- Node246textStart = Node246fontSize * 0.2 > 2 ? Node246fontSize * 0.2 - 4 : Node246fontSize * 0.2 - 9;
- Node246textWidth = Node246width;
- Node246lineStart = 1;
- } else if (Node246align === 'right') {
- Node246textStart = 0;
- Node246textWidth =Node246fontSize <= 8 ? Node246width + Node246fontSize * 0.2 + 6 : Node246width - Node246fontSize * 0.2;
- Node246lineStart = (Node246width - (ht.Default.getTextSize('功率', ' '+ Node246fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node246align === 'center') {
- Node246textStart = -3;
- Node246textWidth = Node246width;
- Node246lineStart = Node246width - ht.Default.getTextSize('功率', ' '+ Node246fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node246.setImage(GD.getTextJSON(Node246width, Node246height, true, false, false, ' '+ Node246fontSize + 'px "微软雅黑"'))
- Node246.setPosition(227*ratio.ratioX, 80*ratio.ratioY);
- Node246.setWidth(Node246width);
- Node246.setHeight(Node246height);
- Node246._nodeType = 'text';
- Node246._disallowEvert = true;
- Node246.setRotation(0*Math.PI/180);
- Node246.a('node.width', Node246width);
- Node246.a('node.height', Node246height);
- Node246.a('node.rect', [0, 0, Node246width, Node246height]);
- Node246.a('node.bordercolor','rgba(0,0,0,1)');
- Node246.a('node.borderwidth', 0);
- Node246.a('node.background','' || 'rgba(0,0,0,0)');
- Node246.a('node.gradient','');
- Node246.a('node.gradientcolor','');
- Node246.a('node.text','功率');
- Node246.a('node.textalign','left');
- Node246.a('node.textvAlign','middle');
- Node246.a('node.textrect', [Node246textStart, 0, Node246textWidth, Node246height]);
- Node246.a('node.color','rgba(0,0,0,1)');
- Node246.a('node.font',' '+ Node246fontSize + 'px "微软雅黑"');
- Node246.a('node.textvisible',true);
- Node246.a('node.linefeed',false);
- if (false) {
- Node246.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node246.a('node.text') || '功率';
- var color=Node246.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node246width,Node246height,13.3333*_ratio.ratioY,"left",color,' '+ Node246fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node246.a('node.underlinepoints',[Node246lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node246fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node246fontSize + 'px "微软雅黑"').width + 6, (Node246height - Node246fontSize) * 0.5*_ratio.ratioY + Node246fontSize + 2 ]);
- Node246.a('node.underlinevisible',false);
- Node246.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node246);
- zoomNodeList.push({
- node: Node246,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node247 = new ht.Node();
- var Node247textStart, Node247textWidth, Node247lineStart, Node247align = 'left', Node247fontSize = 13.3333*_ratio.ratioY,Node247width = 61*_ratio.ratioX, Node247height = 26*_ratio.ratioY;
- (function () {
- if (Node247align === 'left') {
- Node247textStart = Node247fontSize * 0.2 > 2 ? Node247fontSize * 0.2 - 4 : Node247fontSize * 0.2 - 9;
- Node247textWidth = Node247width;
- Node247lineStart = 1;
- } else if (Node247align === 'right') {
- Node247textStart = 0;
- Node247textWidth =Node247fontSize <= 8 ? Node247width + Node247fontSize * 0.2 + 6 : Node247width - Node247fontSize * 0.2;
- Node247lineStart = (Node247width - (ht.Default.getTextSize('风速', ' '+ Node247fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node247align === 'center') {
- Node247textStart = -3;
- Node247textWidth = Node247width;
- Node247lineStart = Node247width - ht.Default.getTextSize('风速', ' '+ Node247fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, ' '+ Node247fontSize + 'px "微软雅黑"'))
- Node247.setPosition(227*ratio.ratioX, 104*ratio.ratioY);
- Node247.setWidth(Node247width);
- Node247.setHeight(Node247height);
- Node247._nodeType = 'text';
- Node247._disallowEvert = true;
- Node247.setRotation(0*Math.PI/180);
- Node247.a('node.width', Node247width);
- Node247.a('node.height', Node247height);
- Node247.a('node.rect', [0, 0, Node247width, Node247height]);
- Node247.a('node.bordercolor','rgba(0,0,0,1)');
- Node247.a('node.borderwidth', 0);
- Node247.a('node.background','' || 'rgba(0,0,0,0)');
- Node247.a('node.gradient','');
- Node247.a('node.gradientcolor','');
- Node247.a('node.text','风速');
- Node247.a('node.textalign','left');
- Node247.a('node.textvAlign','middle');
- Node247.a('node.textrect', [Node247textStart, 0, Node247textWidth, Node247height]);
- Node247.a('node.color','rgba(0,0,0,1)');
- Node247.a('node.font',' '+ Node247fontSize + 'px "微软雅黑"');
- Node247.a('node.textvisible',true);
- Node247.a('node.linefeed',false);
- if (false) {
- Node247.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node247.a('node.text') || '风速';
- var color=Node247.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node247width,Node247height,13.3333*_ratio.ratioY,"left",color,' '+ Node247fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node247.a('node.underlinepoints',[Node247lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node247fontSize + 'px "微软雅黑"').width + 6, (Node247height - Node247fontSize) * 0.5*_ratio.ratioY + Node247fontSize + 2 ]);
- Node247.a('node.underlinevisible',false);
- Node247.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node247);
- zoomNodeList.push({
- node: Node247,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node248 = new ht.Node();
- var Node248textStart, Node248textWidth, Node248lineStart, Node248align = 'left', Node248fontSize = 13.3333*_ratio.ratioY,Node248width = 77*_ratio.ratioX, Node248height = 26*_ratio.ratioY;
- (function () {
- if (Node248align === 'left') {
- Node248textStart = Node248fontSize * 0.2 > 2 ? Node248fontSize * 0.2 - 4 : Node248fontSize * 0.2 - 9;
- Node248textWidth = Node248width;
- Node248lineStart = 1;
- } else if (Node248align === 'right') {
- Node248textStart = 0;
- Node248textWidth =Node248fontSize <= 8 ? Node248width + Node248fontSize * 0.2 + 6 : Node248width - Node248fontSize * 0.2;
- Node248lineStart = (Node248width - (ht.Default.getTextSize('发电量', ' '+ Node248fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node248align === 'center') {
- Node248textStart = -3;
- Node248textWidth = Node248width;
- Node248lineStart = Node248width - ht.Default.getTextSize('发电量', ' '+ Node248fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "微软雅黑"'))
- Node248.setPosition(233*ratio.ratioX, 129*ratio.ratioY);
- Node248.setWidth(Node248width);
- Node248.setHeight(Node248height);
- Node248._nodeType = 'text';
- Node248._disallowEvert = true;
- Node248.setRotation(0*Math.PI/180);
- Node248.a('node.width', Node248width);
- Node248.a('node.height', Node248height);
- Node248.a('node.rect', [0, 0, Node248width, Node248height]);
- Node248.a('node.bordercolor','rgba(0,0,0,1)');
- Node248.a('node.borderwidth', 0);
- Node248.a('node.background','' || 'rgba(0,0,0,0)');
- Node248.a('node.gradient','');
- Node248.a('node.gradientcolor','');
- Node248.a('node.text','发电量');
- Node248.a('node.textalign','left');
- Node248.a('node.textvAlign','middle');
- Node248.a('node.textrect', [Node248textStart, 0, Node248textWidth, Node248height]);
- Node248.a('node.color','rgba(0,0,0,1)');
- Node248.a('node.font',' '+ Node248fontSize + 'px "微软雅黑"');
- Node248.a('node.textvisible',true);
- Node248.a('node.linefeed',false);
- if (false) {
- Node248.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node248.a('node.text') || '发电量';
- var color=Node248.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node248width,Node248height,13.3333*_ratio.ratioY,"left",color,' '+ Node248fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node248.a('node.underlinepoints',[Node248lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node248fontSize + 'px "微软雅黑"').width + 6, (Node248height - Node248fontSize) * 0.5*_ratio.ratioY + Node248fontSize + 2 ]);
- Node248.a('node.underlinevisible',false);
- Node248.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node248);
- zoomNodeList.push({
- node: Node248,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node249type = 'rect';
- var Node249 = new ht.Node(),
- Node249BorderWidth = 1*2;
- if (Node249type === 'arc') {
- Node249BorderWidth *= 1;
- }
- Node249.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node249type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node249.setPosition(537*ratio.ratioX, 102*ratio.ratioY);
- Node249.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node249.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node249.a('node.width', 121*_ratio.ratioX);
- Node249.a('node.height', 24.33138*_ratio.ratioY);
- Node249.a('node.type', Node249type);
- Node249.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node249.a('node.background', 'rgba(240,240,240,1)');
- Node249.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node249.a('node.gradient', '');
- Node249.a('node.borderwidth', Node249BorderWidth);
- Node249.a('node.color', 'rgba(224,224,224,1)');
- Node249.a('node.fillrect', [0,0,0,0]);
- Node249.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node249.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node249.a('node.fillgradient', '');
- if (Node249type !== 'rect') {
- Node249.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node249.a('node.arcTo', parseFloat('@arcTo@'));
- Node249.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node249type === 'arc') {
- Node249.a('node.arcOval', true);
- }
- Node249.setRotation(0*Math.PI/180);
- Node249.borderWidth = Node249BorderWidth;
- Node249.borderFillwidth = Node249BorderWidth;
- dataModel.add(Node249);
- Node249._nodename = 'Node249'
- Node249._nodeType = 'rect';
- zoomNodeList.push({
- node: Node249,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node249, Node249.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node250type = 'rect';
- var Node250 = new ht.Node(),
- Node250BorderWidth = 1*2;
- if (Node250type === 'arc') {
- Node250BorderWidth *= 1;
- }
- Node250.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node250type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node250.setPosition(537*ratio.ratioX, 78*ratio.ratioY);
- Node250.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node250.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node250.a('node.width', 121*_ratio.ratioX);
- Node250.a('node.height', 24.33138*_ratio.ratioY);
- Node250.a('node.type', Node250type);
- Node250.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node250.a('node.background', 'rgba(240,240,240,1)');
- Node250.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node250.a('node.gradient', '');
- Node250.a('node.borderwidth', Node250BorderWidth);
- Node250.a('node.color', 'rgba(224,224,224,1)');
- Node250.a('node.fillrect', [0,0,0,0]);
- Node250.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node250.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node250.a('node.fillgradient', '');
- if (Node250type !== 'rect') {
- Node250.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node250.a('node.arcTo', parseFloat('@arcTo@'));
- Node250.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node250type === 'arc') {
- Node250.a('node.arcOval', true);
- }
- Node250.setRotation(0*Math.PI/180);
- Node250.borderWidth = Node250BorderWidth;
- Node250.borderFillwidth = Node250BorderWidth;
- dataModel.add(Node250);
- Node250._nodename = 'Node250'
- Node250._nodeType = 'rect';
- zoomNodeList.push({
- node: Node250,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node250, Node250.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node251type = 'rect';
- var Node251 = new ht.Node(),
- Node251BorderWidth = 1*2;
- if (Node251type === 'arc') {
- Node251BorderWidth *= 1;
- }
- Node251.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node251type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node251.setPosition(537*ratio.ratioX, 127*ratio.ratioY);
- Node251.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node251.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node251.a('node.width', 121*_ratio.ratioX);
- Node251.a('node.height', 24.33136*_ratio.ratioY);
- Node251.a('node.type', Node251type);
- Node251.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node251.a('node.background', 'rgba(240,240,240,1)');
- Node251.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node251.a('node.gradient', '');
- Node251.a('node.borderwidth', Node251BorderWidth);
- Node251.a('node.color', 'rgba(224,224,224,1)');
- Node251.a('node.fillrect', [0,0,0,0]);
- Node251.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node251.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node251.a('node.fillgradient', '');
- if (Node251type !== 'rect') {
- Node251.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node251.a('node.arcTo', parseFloat('@arcTo@'));
- Node251.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node251type === 'arc') {
- Node251.a('node.arcOval', true);
- }
- Node251.setRotation(0*Math.PI/180);
- Node251.borderWidth = Node251BorderWidth;
- Node251.borderFillwidth = Node251BorderWidth;
- dataModel.add(Node251);
- Node251._nodename = 'Node251'
- Node251._nodeType = 'rect';
- zoomNodeList.push({
- node: Node251,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node251, Node251.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node252type = 'rect';
- var Node252 = new ht.Node(),
- Node252BorderWidth = 1*2;
- if (Node252type === 'arc') {
- Node252BorderWidth *= 1;
- }
- Node252.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node252type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node252.setPosition(537*ratio.ratioX, 54*ratio.ratioY);
- Node252.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node252.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node252.a('node.width', 121*_ratio.ratioX);
- Node252.a('node.height', 24.33136*_ratio.ratioY);
- Node252.a('node.type', Node252type);
- Node252.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node252.a('node.background', 'rgba(240,240,240,1)');
- Node252.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node252.a('node.gradient', '');
- Node252.a('node.borderwidth', Node252BorderWidth);
- Node252.a('node.color', 'rgba(224,224,224,1)');
- Node252.a('node.fillrect', [0,0,0,0]);
- Node252.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node252.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node252.a('node.fillgradient', '');
- if (Node252type !== 'rect') {
- Node252.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node252.a('node.arcTo', parseFloat('@arcTo@'));
- Node252.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node252type === 'arc') {
- Node252.a('node.arcOval', true);
- }
- Node252.setRotation(0*Math.PI/180);
- Node252.borderWidth = Node252BorderWidth;
- Node252.borderFillwidth = Node252BorderWidth;
- dataModel.add(Node252);
- Node252._nodename = 'Node252'
- Node252._nodeType = 'rect';
- zoomNodeList.push({
- node: Node252,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node252, Node252.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node253type = 'rect';
- var Node253 = new ht.Node(),
- Node253BorderWidth = 1*2;
- if (Node253type === 'arc') {
- Node253BorderWidth *= 1;
- }
- Node253.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node253type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node253.setPosition(537*ratio.ratioX, 151*ratio.ratioY);
- Node253.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node253.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node253.a('node.width', 121*_ratio.ratioX);
- Node253.a('node.height', 24.33138*_ratio.ratioY);
- Node253.a('node.type', Node253type);
- Node253.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node253.a('node.background', 'rgba(240,240,240,1)');
- Node253.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node253.a('node.gradient', '');
- Node253.a('node.borderwidth', Node253BorderWidth);
- Node253.a('node.color', 'rgba(224,224,224,1)');
- Node253.a('node.fillrect', [0,0,0,0]);
- Node253.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node253.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node253.a('node.fillgradient', '');
- if (Node253type !== 'rect') {
- Node253.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node253.a('node.arcTo', parseFloat('@arcTo@'));
- Node253.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node253type === 'arc') {
- Node253.a('node.arcOval', true);
- }
- Node253.setRotation(0*Math.PI/180);
- Node253.borderWidth = Node253BorderWidth;
- Node253.borderFillwidth = Node253BorderWidth;
- dataModel.add(Node253);
- Node253._nodename = 'Node253'
- Node253._nodeType = 'rect';
- zoomNodeList.push({
- node: Node253,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node253, Node253.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node254 = new ht.Node();
- var Node254textStart, Node254textWidth, Node254lineStart, Node254align = 'center', Node254fontSize = 13.3333*_ratio.ratioY,Node254width = 113*_ratio.ratioX, Node254height = 26*_ratio.ratioY;
- (function () {
- if (Node254align === 'left') {
- Node254textStart = Node254fontSize * 0.2 > 2 ? Node254fontSize * 0.2 - 4 : Node254fontSize * 0.2 - 9;
- Node254textWidth = Node254width;
- Node254lineStart = 1;
- } else if (Node254align === 'right') {
- Node254textStart = 0;
- Node254textWidth =Node254fontSize <= 8 ? Node254width + Node254fontSize * 0.2 + 6 : Node254width - Node254fontSize * 0.2;
- Node254lineStart = (Node254width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node254fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node254align === 'center') {
- Node254textStart = -3;
- Node254textWidth = Node254width;
- Node254lineStart = Node254width - ht.Default.getTextSize('日维护损失电量', ' '+ Node254fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node254.setImage(GD.getTextJSON(Node254width, Node254height, true, false, false, ' '+ Node254fontSize + 'px "微软雅黑"'))
- Node254.setPosition(537*ratio.ratioX, 56*ratio.ratioY);
- Node254.setWidth(Node254width);
- Node254.setHeight(Node254height);
- Node254._nodeType = 'text';
- Node254._disallowEvert = true;
- Node254.setRotation(0*Math.PI/180);
- Node254.a('node.width', Node254width);
- Node254.a('node.height', Node254height);
- Node254.a('node.rect', [0, 0, Node254width, Node254height]);
- Node254.a('node.bordercolor','rgba(0,0,0,1)');
- Node254.a('node.borderwidth', 0);
- Node254.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node254.a('node.gradient','');
- Node254.a('node.gradientcolor','rgba(255,255,255,0)');
- Node254.a('node.text','日维护损失电量');
- Node254.a('node.textalign','center');
- Node254.a('node.textvAlign','middle');
- Node254.a('node.textrect', [Node254textStart, 0, Node254textWidth, Node254height]);
- Node254.a('node.color','rgba(0,0,0,1)');
- Node254.a('node.font',' '+ Node254fontSize + 'px "微软雅黑"');
- Node254.a('node.textvisible',true);
- Node254.a('node.linefeed',false);
- if (false) {
- Node254.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node254.a('node.text') || '日维护损失电量';
- var color=Node254.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node254width,Node254height,13.3333*_ratio.ratioY,"center",color,' '+ Node254fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node254.a('node.underlinepoints',[Node254lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node254fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node254fontSize + 'px "微软雅黑"').width + 6, (Node254height - Node254fontSize) * 0.5*_ratio.ratioY + Node254fontSize + 2 ]);
- Node254.a('node.underlinevisible',false);
- Node254.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node254);
- zoomNodeList.push({
- node: Node254,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node255 = new ht.Node();
- var Node255textStart, Node255textWidth, Node255lineStart, Node255align = 'center', Node255fontSize = 13.3333*_ratio.ratioY,Node255width = 113*_ratio.ratioX, Node255height = 26*_ratio.ratioY;
- (function () {
- if (Node255align === 'left') {
- Node255textStart = Node255fontSize * 0.2 > 2 ? Node255fontSize * 0.2 - 4 : Node255fontSize * 0.2 - 9;
- Node255textWidth = Node255width;
- Node255lineStart = 1;
- } else if (Node255align === 'right') {
- Node255textStart = 0;
- Node255textWidth =Node255fontSize <= 8 ? Node255width + Node255fontSize * 0.2 + 6 : Node255width - Node255fontSize * 0.2;
- Node255lineStart = (Node255width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node255fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node255align === 'center') {
- Node255textStart = -3;
- Node255textWidth = Node255width;
- Node255lineStart = Node255width - ht.Default.getTextSize('日故障损失电量', ' '+ Node255fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node255.setImage(GD.getTextJSON(Node255width, Node255height, true, false, false, ' '+ Node255fontSize + 'px "微软雅黑"'))
- Node255.setPosition(538*ratio.ratioX, 80*ratio.ratioY);
- Node255.setWidth(Node255width);
- Node255.setHeight(Node255height);
- Node255._nodeType = 'text';
- Node255._disallowEvert = true;
- Node255.setRotation(0*Math.PI/180);
- Node255.a('node.width', Node255width);
- Node255.a('node.height', Node255height);
- Node255.a('node.rect', [0, 0, Node255width, Node255height]);
- Node255.a('node.bordercolor','rgba(0,0,0,1)');
- Node255.a('node.borderwidth', 0);
- Node255.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node255.a('node.gradient','');
- Node255.a('node.gradientcolor','rgba(255,255,255,0)');
- Node255.a('node.text','日故障损失电量');
- Node255.a('node.textalign','center');
- Node255.a('node.textvAlign','middle');
- Node255.a('node.textrect', [Node255textStart, 0, Node255textWidth, Node255height]);
- Node255.a('node.color','rgba(0,0,0,1)');
- Node255.a('node.font',' '+ Node255fontSize + 'px "微软雅黑"');
- Node255.a('node.textvisible',true);
- Node255.a('node.linefeed',false);
- if (false) {
- Node255.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node255.a('node.text') || '日故障损失电量';
- var color=Node255.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node255width,Node255height,13.3333*_ratio.ratioY,"center",color,' '+ Node255fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node255.a('node.underlinepoints',[Node255lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node255fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node255fontSize + 'px "微软雅黑"').width + 6, (Node255height - Node255fontSize) * 0.5*_ratio.ratioY + Node255fontSize + 2 ]);
- Node255.a('node.underlinevisible',false);
- Node255.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node255);
- zoomNodeList.push({
- node: Node255,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node256 = new ht.Node();
- var Node256textStart, Node256textWidth, Node256lineStart, Node256align = 'center', Node256fontSize = 13.3333*_ratio.ratioY,Node256width = 113*_ratio.ratioX, Node256height = 26*_ratio.ratioY;
- (function () {
- if (Node256align === 'left') {
- Node256textStart = Node256fontSize * 0.2 > 2 ? Node256fontSize * 0.2 - 4 : Node256fontSize * 0.2 - 9;
- Node256textWidth = Node256width;
- Node256lineStart = 1;
- } else if (Node256align === 'right') {
- Node256textStart = 0;
- Node256textWidth =Node256fontSize <= 8 ? Node256width + Node256fontSize * 0.2 + 6 : Node256width - Node256fontSize * 0.2;
- Node256lineStart = (Node256width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node256fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node256align === 'center') {
- Node256textStart = -3;
- Node256textWidth = Node256width;
- Node256lineStart = Node256width - ht.Default.getTextSize('日限电损失电量', ' '+ Node256fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node256.setImage(GD.getTextJSON(Node256width, Node256height, true, false, false, ' '+ Node256fontSize + 'px "微软雅黑"'))
- Node256.setPosition(538*ratio.ratioX, 105*ratio.ratioY);
- Node256.setWidth(Node256width);
- Node256.setHeight(Node256height);
- Node256._nodeType = 'text';
- Node256._disallowEvert = true;
- Node256.setRotation(0*Math.PI/180);
- Node256.a('node.width', Node256width);
- Node256.a('node.height', Node256height);
- Node256.a('node.rect', [0, 0, Node256width, Node256height]);
- Node256.a('node.bordercolor','rgba(0,0,0,1)');
- Node256.a('node.borderwidth', 0);
- Node256.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node256.a('node.gradient','');
- Node256.a('node.gradientcolor','rgba(255,255,255,0)');
- Node256.a('node.text','日限电损失电量');
- Node256.a('node.textalign','center');
- Node256.a('node.textvAlign','middle');
- Node256.a('node.textrect', [Node256textStart, 0, Node256textWidth, Node256height]);
- Node256.a('node.color','rgba(0,0,0,1)');
- Node256.a('node.font',' '+ Node256fontSize + 'px "微软雅黑"');
- Node256.a('node.textvisible',true);
- Node256.a('node.linefeed',false);
- if (false) {
- Node256.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node256.a('node.text') || '日限电损失电量';
- var color=Node256.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node256width,Node256height,13.3333*_ratio.ratioY,"center",color,' '+ Node256fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node256.a('node.underlinepoints',[Node256lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node256fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node256fontSize + 'px "微软雅黑"').width + 6, (Node256height - Node256fontSize) * 0.5*_ratio.ratioY + Node256fontSize + 2 ]);
- Node256.a('node.underlinevisible',false);
- Node256.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node256);
- zoomNodeList.push({
- node: Node256,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node257 = new ht.Node();
- var Node257textStart, Node257textWidth, Node257lineStart, Node257align = 'center', Node257fontSize = 13.3333*_ratio.ratioY,Node257width = 113*_ratio.ratioX, Node257height = 26*_ratio.ratioY;
- (function () {
- if (Node257align === 'left') {
- Node257textStart = Node257fontSize * 0.2 > 2 ? Node257fontSize * 0.2 - 4 : Node257fontSize * 0.2 - 9;
- Node257textWidth = Node257width;
- Node257lineStart = 1;
- } else if (Node257align === 'right') {
- Node257textStart = 0;
- Node257textWidth =Node257fontSize <= 8 ? Node257width + Node257fontSize * 0.2 + 6 : Node257width - Node257fontSize * 0.2;
- Node257lineStart = (Node257width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node257fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node257align === 'center') {
- Node257textStart = -3;
- Node257textWidth = Node257width;
- Node257lineStart = Node257width - ht.Default.getTextSize('日受累损失电量', ' '+ Node257fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node257.setImage(GD.getTextJSON(Node257width, Node257height, true, false, false, ' '+ Node257fontSize + 'px "微软雅黑"'))
- Node257.setPosition(538*ratio.ratioX, 129*ratio.ratioY);
- Node257.setWidth(Node257width);
- Node257.setHeight(Node257height);
- Node257._nodeType = 'text';
- Node257._disallowEvert = true;
- Node257.setRotation(0*Math.PI/180);
- Node257.a('node.width', Node257width);
- Node257.a('node.height', Node257height);
- Node257.a('node.rect', [0, 0, Node257width, Node257height]);
- Node257.a('node.bordercolor','rgba(0,0,0,1)');
- Node257.a('node.borderwidth', 0);
- Node257.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node257.a('node.gradient','');
- Node257.a('node.gradientcolor','rgba(255,255,255,0)');
- Node257.a('node.text','日受累损失电量');
- Node257.a('node.textalign','center');
- Node257.a('node.textvAlign','middle');
- Node257.a('node.textrect', [Node257textStart, 0, Node257textWidth, Node257height]);
- Node257.a('node.color','rgba(0,0,0,1)');
- Node257.a('node.font',' '+ Node257fontSize + 'px "微软雅黑"');
- Node257.a('node.textvisible',true);
- Node257.a('node.linefeed',false);
- if (false) {
- Node257.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node257.a('node.text') || '日受累损失电量';
- var color=Node257.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node257width,Node257height,13.3333*_ratio.ratioY,"center",color,' '+ Node257fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node257.a('node.underlinepoints',[Node257lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node257fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node257fontSize + 'px "微软雅黑"').width + 6, (Node257height - Node257fontSize) * 0.5*_ratio.ratioY + Node257fontSize + 2 ]);
- Node257.a('node.underlinevisible',false);
- Node257.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node257);
- zoomNodeList.push({
- node: Node257,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258type = 'rect';
- var Node258 = new ht.Node(),
- Node258BorderWidth = 1*2;
- if (Node258type === 'arc') {
- Node258BorderWidth *= 1;
- }
- Node258.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node258type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node258.setPosition(818*ratio.ratioX, 102*ratio.ratioY);
- Node258.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node258.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node258.a('node.width', 117*_ratio.ratioX);
- Node258.a('node.height', 24.33138*_ratio.ratioY);
- Node258.a('node.type', Node258type);
- Node258.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node258.a('node.background', 'rgba(240,240,240,1)');
- Node258.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node258.a('node.gradient', '');
- Node258.a('node.borderwidth', Node258BorderWidth);
- Node258.a('node.color', 'rgba(224,224,224,1)');
- Node258.a('node.fillrect', [0,0,0,0]);
- Node258.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node258.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node258.a('node.fillgradient', '');
- if (Node258type !== 'rect') {
- Node258.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node258.a('node.arcTo', parseFloat('@arcTo@'));
- Node258.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node258type === 'arc') {
- Node258.a('node.arcOval', true);
- }
- Node258.setRotation(0*Math.PI/180);
- Node258.borderWidth = Node258BorderWidth;
- Node258.borderFillwidth = Node258BorderWidth;
- dataModel.add(Node258);
- Node258._nodename = 'Node258'
- Node258._nodeType = 'rect';
- zoomNodeList.push({
- node: Node258,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node258, Node258.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259type = 'rect';
- var Node259 = new ht.Node(),
- Node259BorderWidth = 1*2;
- if (Node259type === 'arc') {
- Node259BorderWidth *= 1;
- }
- Node259.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node259type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node259.setPosition(818*ratio.ratioX, 78*ratio.ratioY);
- Node259.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node259.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node259.a('node.width', 117*_ratio.ratioX);
- Node259.a('node.height', 24.33138*_ratio.ratioY);
- Node259.a('node.type', Node259type);
- Node259.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node259.a('node.background', 'rgba(240,240,240,1)');
- Node259.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node259.a('node.gradient', '');
- Node259.a('node.borderwidth', Node259BorderWidth);
- Node259.a('node.color', 'rgba(224,224,224,1)');
- Node259.a('node.fillrect', [0,0,0,0]);
- Node259.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node259.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node259.a('node.fillgradient', '');
- if (Node259type !== 'rect') {
- Node259.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node259.a('node.arcTo', parseFloat('@arcTo@'));
- Node259.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node259type === 'arc') {
- Node259.a('node.arcOval', true);
- }
- Node259.setRotation(0*Math.PI/180);
- Node259.borderWidth = Node259BorderWidth;
- Node259.borderFillwidth = Node259BorderWidth;
- dataModel.add(Node259);
- Node259._nodename = 'Node259'
- Node259._nodeType = 'rect';
- zoomNodeList.push({
- node: Node259,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node259, Node259.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260type = 'rect';
- var Node260 = new ht.Node(),
- Node260BorderWidth = 1*2;
- if (Node260type === 'arc') {
- Node260BorderWidth *= 1;
- }
- Node260.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node260type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node260.setPosition(818*ratio.ratioX, 127*ratio.ratioY);
- Node260.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node260.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node260.a('node.width', 117*_ratio.ratioX);
- Node260.a('node.height', 24.33136*_ratio.ratioY);
- Node260.a('node.type', Node260type);
- Node260.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node260.a('node.background', 'rgba(240,240,240,1)');
- Node260.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node260.a('node.gradient', '');
- Node260.a('node.borderwidth', Node260BorderWidth);
- Node260.a('node.color', 'rgba(224,224,224,1)');
- Node260.a('node.fillrect', [0,0,0,0]);
- Node260.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node260.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node260.a('node.fillgradient', '');
- if (Node260type !== 'rect') {
- Node260.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node260.a('node.arcTo', parseFloat('@arcTo@'));
- Node260.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node260type === 'arc') {
- Node260.a('node.arcOval', true);
- }
- Node260.setRotation(0*Math.PI/180);
- Node260.borderWidth = Node260BorderWidth;
- Node260.borderFillwidth = Node260BorderWidth;
- dataModel.add(Node260);
- Node260._nodename = 'Node260'
- Node260._nodeType = 'rect';
- zoomNodeList.push({
- node: Node260,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node260, Node260.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261type = 'rect';
- var Node261 = new ht.Node(),
- Node261BorderWidth = 1*2;
- if (Node261type === 'arc') {
- Node261BorderWidth *= 1;
- }
- Node261.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node261type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node261.setPosition(818*ratio.ratioX, 54*ratio.ratioY);
- Node261.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node261.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node261.a('node.width', 117*_ratio.ratioX);
- Node261.a('node.height', 24.33136*_ratio.ratioY);
- Node261.a('node.type', Node261type);
- Node261.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node261.a('node.background', 'rgba(240,240,240,1)');
- Node261.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node261.a('node.gradient', '');
- Node261.a('node.borderwidth', Node261BorderWidth);
- Node261.a('node.color', 'rgba(224,224,224,1)');
- Node261.a('node.fillrect', [0,0,0,0]);
- Node261.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node261.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node261.a('node.fillgradient', '');
- if (Node261type !== 'rect') {
- Node261.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node261.a('node.arcTo', parseFloat('@arcTo@'));
- Node261.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node261type === 'arc') {
- Node261.a('node.arcOval', true);
- }
- Node261.setRotation(0*Math.PI/180);
- Node261.borderWidth = Node261BorderWidth;
- Node261.borderFillwidth = Node261BorderWidth;
- dataModel.add(Node261);
- Node261._nodename = 'Node261'
- Node261._nodeType = 'rect';
- zoomNodeList.push({
- node: Node261,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node261, Node261.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node262type = 'rect';
- var Node262 = new ht.Node(),
- Node262BorderWidth = 1*2;
- if (Node262type === 'arc') {
- Node262BorderWidth *= 1;
- }
- Node262.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node262type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node262.setPosition(818*ratio.ratioX, 151*ratio.ratioY);
- Node262.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node262.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node262.a('node.width', 117*_ratio.ratioX);
- Node262.a('node.height', 24.33138*_ratio.ratioY);
- Node262.a('node.type', Node262type);
- Node262.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node262.a('node.background', 'rgba(240,240,240,1)');
- Node262.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node262.a('node.gradient', '');
- Node262.a('node.borderwidth', Node262BorderWidth);
- Node262.a('node.color', 'rgba(224,224,224,1)');
- Node262.a('node.fillrect', [0,0,0,0]);
- Node262.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node262.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node262.a('node.fillgradient', '');
- if (Node262type !== 'rect') {
- Node262.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node262.a('node.arcTo', parseFloat('@arcTo@'));
- Node262.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node262type === 'arc') {
- Node262.a('node.arcOval', true);
- }
- Node262.setRotation(0*Math.PI/180);
- Node262.borderWidth = Node262BorderWidth;
- Node262.borderFillwidth = Node262BorderWidth;
- dataModel.add(Node262);
- Node262._nodename = 'Node262'
- Node262._nodeType = 'rect';
- zoomNodeList.push({
- node: Node262,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node262, Node262.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node263 = new ht.Node();
- var Node263textStart, Node263textWidth, Node263lineStart, Node263align = 'center', Node263fontSize = 13.3333*_ratio.ratioY,Node263width = 110*_ratio.ratioX, Node263height = 26*_ratio.ratioY;
- (function () {
- if (Node263align === 'left') {
- Node263textStart = Node263fontSize * 0.2 > 2 ? Node263fontSize * 0.2 - 4 : Node263fontSize * 0.2 - 9;
- Node263textWidth = Node263width;
- Node263lineStart = 1;
- } else if (Node263align === 'right') {
- Node263textStart = 0;
- Node263textWidth =Node263fontSize <= 8 ? Node263width + Node263fontSize * 0.2 + 6 : Node263width - Node263fontSize * 0.2;
- Node263lineStart = (Node263width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node263fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node263align === 'center') {
- Node263textStart = -3;
- Node263textWidth = Node263width;
- Node263lineStart = Node263width - ht.Default.getTextSize('月维护损失电量', ' '+ Node263fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node263.setImage(GD.getTextJSON(Node263width, Node263height, true, false, false, ' '+ Node263fontSize + 'px "微软雅黑"'))
- Node263.setPosition(818*ratio.ratioX, 56*ratio.ratioY);
- Node263.setWidth(Node263width);
- Node263.setHeight(Node263height);
- Node263._nodeType = 'text';
- Node263._disallowEvert = true;
- Node263.setRotation(0*Math.PI/180);
- Node263.a('node.width', Node263width);
- Node263.a('node.height', Node263height);
- Node263.a('node.rect', [0, 0, Node263width, Node263height]);
- Node263.a('node.bordercolor','rgba(0,0,0,1)');
- Node263.a('node.borderwidth', 0);
- Node263.a('node.background','' || 'rgba(0,0,0,0)');
- Node263.a('node.gradient','');
- Node263.a('node.gradientcolor','');
- Node263.a('node.text','月维护损失电量');
- Node263.a('node.textalign','center');
- Node263.a('node.textvAlign','middle');
- Node263.a('node.textrect', [Node263textStart, 0, Node263textWidth, Node263height]);
- Node263.a('node.color','rgba(0,0,0,1)');
- Node263.a('node.font',' '+ Node263fontSize + 'px "微软雅黑"');
- Node263.a('node.textvisible',true);
- Node263.a('node.linefeed',false);
- if (false) {
- Node263.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node263.a('node.text') || '月维护损失电量';
- var color=Node263.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node263width,Node263height,13.3333*_ratio.ratioY,"center",color,' '+ Node263fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node263.a('node.underlinepoints',[Node263lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node263fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node263fontSize + 'px "微软雅黑"').width + 6, (Node263height - Node263fontSize) * 0.5*_ratio.ratioY + Node263fontSize + 2 ]);
- Node263.a('node.underlinevisible',false);
- Node263.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node263);
- zoomNodeList.push({
- node: Node263,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node264 = new ht.Node();
- var Node264textStart, Node264textWidth, Node264lineStart, Node264align = 'center', Node264fontSize = 13.3333*_ratio.ratioY,Node264width = 110*_ratio.ratioX, Node264height = 26*_ratio.ratioY;
- (function () {
- if (Node264align === 'left') {
- Node264textStart = Node264fontSize * 0.2 > 2 ? Node264fontSize * 0.2 - 4 : Node264fontSize * 0.2 - 9;
- Node264textWidth = Node264width;
- Node264lineStart = 1;
- } else if (Node264align === 'right') {
- Node264textStart = 0;
- Node264textWidth =Node264fontSize <= 8 ? Node264width + Node264fontSize * 0.2 + 6 : Node264width - Node264fontSize * 0.2;
- Node264lineStart = (Node264width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node264fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node264align === 'center') {
- Node264textStart = -3;
- Node264textWidth = Node264width;
- Node264lineStart = Node264width - ht.Default.getTextSize('月故障损失电量', ' '+ Node264fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node264.setImage(GD.getTextJSON(Node264width, Node264height, true, false, false, ' '+ Node264fontSize + 'px "微软雅黑"'))
- Node264.setPosition(818*ratio.ratioX, 80*ratio.ratioY);
- Node264.setWidth(Node264width);
- Node264.setHeight(Node264height);
- Node264._nodeType = 'text';
- Node264._disallowEvert = true;
- Node264.setRotation(0*Math.PI/180);
- Node264.a('node.width', Node264width);
- Node264.a('node.height', Node264height);
- Node264.a('node.rect', [0, 0, Node264width, Node264height]);
- Node264.a('node.bordercolor','rgba(0,0,0,1)');
- Node264.a('node.borderwidth', 0);
- Node264.a('node.background','' || 'rgba(0,0,0,0)');
- Node264.a('node.gradient','');
- Node264.a('node.gradientcolor','');
- Node264.a('node.text','月故障损失电量');
- Node264.a('node.textalign','center');
- Node264.a('node.textvAlign','middle');
- Node264.a('node.textrect', [Node264textStart, 0, Node264textWidth, Node264height]);
- Node264.a('node.color','rgba(0,0,0,1)');
- Node264.a('node.font',' '+ Node264fontSize + 'px "微软雅黑"');
- Node264.a('node.textvisible',true);
- Node264.a('node.linefeed',false);
- if (false) {
- Node264.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node264.a('node.text') || '月故障损失电量';
- var color=Node264.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264width,Node264height,13.3333*_ratio.ratioY,"center",color,' '+ Node264fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node264.a('node.underlinepoints',[Node264lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node264fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node264fontSize + 'px "微软雅黑"').width + 6, (Node264height - Node264fontSize) * 0.5*_ratio.ratioY + Node264fontSize + 2 ]);
- Node264.a('node.underlinevisible',false);
- Node264.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node264);
- zoomNodeList.push({
- node: Node264,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node265 = new ht.Node();
- var Node265textStart, Node265textWidth, Node265lineStart, Node265align = 'center', Node265fontSize = 13.3333*_ratio.ratioY,Node265width = 110*_ratio.ratioX, Node265height = 26*_ratio.ratioY;
- (function () {
- if (Node265align === 'left') {
- Node265textStart = Node265fontSize * 0.2 > 2 ? Node265fontSize * 0.2 - 4 : Node265fontSize * 0.2 - 9;
- Node265textWidth = Node265width;
- Node265lineStart = 1;
- } else if (Node265align === 'right') {
- Node265textStart = 0;
- Node265textWidth =Node265fontSize <= 8 ? Node265width + Node265fontSize * 0.2 + 6 : Node265width - Node265fontSize * 0.2;
- Node265lineStart = (Node265width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node265fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node265align === 'center') {
- Node265textStart = -3;
- Node265textWidth = Node265width;
- Node265lineStart = Node265width - ht.Default.getTextSize('月限电损失电量', ' '+ Node265fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, ' '+ Node265fontSize + 'px "微软雅黑"'))
- Node265.setPosition(818*ratio.ratioX, 105*ratio.ratioY);
- Node265.setWidth(Node265width);
- Node265.setHeight(Node265height);
- Node265._nodeType = 'text';
- Node265._disallowEvert = true;
- Node265.setRotation(0*Math.PI/180);
- Node265.a('node.width', Node265width);
- Node265.a('node.height', Node265height);
- Node265.a('node.rect', [0, 0, Node265width, Node265height]);
- Node265.a('node.bordercolor','rgba(0,0,0,1)');
- Node265.a('node.borderwidth', 0);
- Node265.a('node.background','' || 'rgba(0,0,0,0)');
- Node265.a('node.gradient','');
- Node265.a('node.gradientcolor','');
- Node265.a('node.text','月限电损失电量');
- Node265.a('node.textalign','center');
- Node265.a('node.textvAlign','middle');
- Node265.a('node.textrect', [Node265textStart, 0, Node265textWidth, Node265height]);
- Node265.a('node.color','rgba(0,0,0,1)');
- Node265.a('node.font',' '+ Node265fontSize + 'px "微软雅黑"');
- Node265.a('node.textvisible',true);
- Node265.a('node.linefeed',false);
- if (false) {
- Node265.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node265.a('node.text') || '月限电损失电量';
- var color=Node265.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265width,Node265height,13.3333*_ratio.ratioY,"center",color,' '+ Node265fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node265.a('node.underlinepoints',[Node265lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node265fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node265fontSize + 'px "微软雅黑"').width + 6, (Node265height - Node265fontSize) * 0.5*_ratio.ratioY + Node265fontSize + 2 ]);
- Node265.a('node.underlinevisible',false);
- Node265.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node265);
- zoomNodeList.push({
- node: Node265,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266 = new ht.Node();
- var Node266textStart, Node266textWidth, Node266lineStart, Node266align = 'center', Node266fontSize = 13.3333*_ratio.ratioY,Node266width = 110*_ratio.ratioX, Node266height = 26*_ratio.ratioY;
- (function () {
- if (Node266align === 'left') {
- Node266textStart = Node266fontSize * 0.2 > 2 ? Node266fontSize * 0.2 - 4 : Node266fontSize * 0.2 - 9;
- Node266textWidth = Node266width;
- Node266lineStart = 1;
- } else if (Node266align === 'right') {
- Node266textStart = 0;
- Node266textWidth =Node266fontSize <= 8 ? Node266width + Node266fontSize * 0.2 + 6 : Node266width - Node266fontSize * 0.2;
- Node266lineStart = (Node266width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node266fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node266align === 'center') {
- Node266textStart = -3;
- Node266textWidth = Node266width;
- Node266lineStart = Node266width - ht.Default.getTextSize('月受累损失电量', ' '+ Node266fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node266.setImage(GD.getTextJSON(Node266width, Node266height, true, false, false, ' '+ Node266fontSize + 'px "微软雅黑"'))
- Node266.setPosition(818*ratio.ratioX, 129*ratio.ratioY);
- Node266.setWidth(Node266width);
- Node266.setHeight(Node266height);
- Node266._nodeType = 'text';
- Node266._disallowEvert = true;
- Node266.setRotation(0*Math.PI/180);
- Node266.a('node.width', Node266width);
- Node266.a('node.height', Node266height);
- Node266.a('node.rect', [0, 0, Node266width, Node266height]);
- Node266.a('node.bordercolor','rgba(0,0,0,1)');
- Node266.a('node.borderwidth', 0);
- Node266.a('node.background','' || 'rgba(0,0,0,0)');
- Node266.a('node.gradient','');
- Node266.a('node.gradientcolor','');
- Node266.a('node.text','月受累损失电量');
- Node266.a('node.textalign','center');
- Node266.a('node.textvAlign','middle');
- Node266.a('node.textrect', [Node266textStart, 0, Node266textWidth, Node266height]);
- Node266.a('node.color','rgba(0,0,0,1)');
- Node266.a('node.font',' '+ Node266fontSize + 'px "微软雅黑"');
- Node266.a('node.textvisible',true);
- Node266.a('node.linefeed',false);
- if (false) {
- Node266.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266.a('node.text') || '月受累损失电量';
- var color=Node266.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266width,Node266height,13.3333*_ratio.ratioY,"center",color,' '+ Node266fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node266.a('node.underlinepoints',[Node266lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node266fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node266fontSize + 'px "微软雅黑"').width + 6, (Node266height - Node266fontSize) * 0.5*_ratio.ratioY + Node266fontSize + 2 ]);
- Node266.a('node.underlinevisible',false);
- Node266.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266);
- zoomNodeList.push({
- node: Node266,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267type = 'rect';
- var Node267 = new ht.Node(),
- Node267BorderWidth = 1*2;
- if (Node267type === 'arc') {
- Node267BorderWidth *= 1;
- }
- Node267.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node267type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node267.setPosition(924*ratio.ratioX, 54*ratio.ratioY);
- Node267.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node267.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node267.a('node.width', 95*_ratio.ratioX);
- Node267.a('node.height', 24.33136*_ratio.ratioY);
- Node267.a('node.type', Node267type);
- Node267.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node267.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node267.a('node.gradientcolor', '');
- Node267.a('node.gradient', '');
- Node267.a('node.borderwidth', Node267BorderWidth);
- Node267.a('node.color', 'rgba(224,224,224,1)');
- Node267.a('node.fillrect', [0,0,0,0]);
- Node267.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node267.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node267.a('node.fillgradient', '');
- if (Node267type !== 'rect') {
- Node267.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node267.a('node.arcTo', parseFloat('@arcTo@'));
- Node267.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node267type === 'arc') {
- Node267.a('node.arcOval', true);
- }
- Node267.setRotation(0*Math.PI/180);
- Node267.borderWidth = Node267BorderWidth;
- Node267.borderFillwidth = Node267BorderWidth;
- dataModel.add(Node267);
- Node267._nodename = 'Node267'
- Node267._nodeType = 'rect';
- zoomNodeList.push({
- node: Node267,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node267, Node267.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node268type = 'rect';
- var Node268 = new ht.Node(),
- Node268BorderWidth = 1*2;
- if (Node268type === 'arc') {
- Node268BorderWidth *= 1;
- }
- Node268.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node268type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node268.setPosition(924*ratio.ratioX, 78*ratio.ratioY);
- Node268.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node268.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node268.a('node.width', 95*_ratio.ratioX);
- Node268.a('node.height', 24.33138*_ratio.ratioY);
- Node268.a('node.type', Node268type);
- Node268.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node268.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node268.a('node.gradientcolor', '');
- Node268.a('node.gradient', '');
- Node268.a('node.borderwidth', Node268BorderWidth);
- Node268.a('node.color', 'rgba(224,224,224,1)');
- Node268.a('node.fillrect', [0,0,0,0]);
- Node268.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node268.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node268.a('node.fillgradient', '');
- if (Node268type !== 'rect') {
- Node268.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node268.a('node.arcTo', parseFloat('@arcTo@'));
- Node268.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node268type === 'arc') {
- Node268.a('node.arcOval', true);
- }
- Node268.setRotation(0*Math.PI/180);
- Node268.borderWidth = Node268BorderWidth;
- Node268.borderFillwidth = Node268BorderWidth;
- dataModel.add(Node268);
- Node268._nodename = 'Node268'
- Node268._nodeType = 'rect';
- zoomNodeList.push({
- node: Node268,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node268, Node268.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269type = 'rect';
- var Node269 = new ht.Node(),
- Node269BorderWidth = 1*2;
- if (Node269type === 'arc') {
- Node269BorderWidth *= 1;
- }
- Node269.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node269type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node269.setPosition(924*ratio.ratioX, 102*ratio.ratioY);
- Node269.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node269.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node269.a('node.width', 95*_ratio.ratioX);
- Node269.a('node.height', 24.33138*_ratio.ratioY);
- Node269.a('node.type', Node269type);
- Node269.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node269.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node269.a('node.gradientcolor', '');
- Node269.a('node.gradient', '');
- Node269.a('node.borderwidth', Node269BorderWidth);
- Node269.a('node.color', 'rgba(224,224,224,1)');
- Node269.a('node.fillrect', [0,0,0,0]);
- Node269.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node269.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node269.a('node.fillgradient', '');
- if (Node269type !== 'rect') {
- Node269.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node269.a('node.arcTo', parseFloat('@arcTo@'));
- Node269.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node269type === 'arc') {
- Node269.a('node.arcOval', true);
- }
- Node269.setRotation(0*Math.PI/180);
- Node269.borderWidth = Node269BorderWidth;
- Node269.borderFillwidth = Node269BorderWidth;
- dataModel.add(Node269);
- Node269._nodename = 'Node269'
- Node269._nodeType = 'rect';
- zoomNodeList.push({
- node: Node269,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node269, Node269.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node270type = 'rect';
- var Node270 = new ht.Node(),
- Node270BorderWidth = 1*2;
- if (Node270type === 'arc') {
- Node270BorderWidth *= 1;
- }
- Node270.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node270type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node270.setPosition(924*ratio.ratioX, 127*ratio.ratioY);
- Node270.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node270.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node270.a('node.width', 95*_ratio.ratioX);
- Node270.a('node.height', 24.33136*_ratio.ratioY);
- Node270.a('node.type', Node270type);
- Node270.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node270.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node270.a('node.gradientcolor', '');
- Node270.a('node.gradient', '');
- Node270.a('node.borderwidth', Node270BorderWidth);
- Node270.a('node.color', 'rgba(224,224,224,1)');
- Node270.a('node.fillrect', [0,0,0,0]);
- Node270.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node270.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node270.a('node.fillgradient', '');
- if (Node270type !== 'rect') {
- Node270.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node270.a('node.arcTo', parseFloat('@arcTo@'));
- Node270.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node270type === 'arc') {
- Node270.a('node.arcOval', true);
- }
- Node270.setRotation(0*Math.PI/180);
- Node270.borderWidth = Node270BorderWidth;
- Node270.borderFillwidth = Node270BorderWidth;
- dataModel.add(Node270);
- Node270._nodename = 'Node270'
- Node270._nodeType = 'rect';
- zoomNodeList.push({
- node: Node270,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node270, Node270.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node271type = 'rect';
- var Node271 = new ht.Node(),
- Node271BorderWidth = 1*2;
- if (Node271type === 'arc') {
- Node271BorderWidth *= 1;
- }
- Node271.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node271type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node271.setPosition(924*ratio.ratioX, 151*ratio.ratioY);
- Node271.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node271.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node271.a('node.width', 95*_ratio.ratioX);
- Node271.a('node.height', 24.33138*_ratio.ratioY);
- Node271.a('node.type', Node271type);
- Node271.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node271.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node271.a('node.gradientcolor', '');
- Node271.a('node.gradient', '');
- Node271.a('node.borderwidth', Node271BorderWidth);
- Node271.a('node.color', 'rgba(224,224,224,1)');
- Node271.a('node.fillrect', [0,0,0,0]);
- Node271.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node271.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node271.a('node.fillgradient', '');
- if (Node271type !== 'rect') {
- Node271.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node271.a('node.arcTo', parseFloat('@arcTo@'));
- Node271.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node271type === 'arc') {
- Node271.a('node.arcOval', true);
- }
- Node271.setRotation(0*Math.PI/180);
- Node271.borderWidth = Node271BorderWidth;
- Node271.borderFillwidth = Node271BorderWidth;
- dataModel.add(Node271);
- Node271._nodename = 'Node271'
- Node271._nodeType = 'rect';
- zoomNodeList.push({
- node: Node271,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node271, Node271.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node272type = 'rect';
- var Node272 = new ht.Node(),
- Node272BorderWidth = 1*2;
- if (Node272type === 'arc') {
- Node272BorderWidth *= 1;
- }
- Node272.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node272type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node272.setPosition(1004*ratio.ratioX, 54*ratio.ratioY);
- Node272.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node272.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node272.a('node.width', 65*_ratio.ratioX);
- Node272.a('node.height', 24.33136*_ratio.ratioY);
- Node272.a('node.type', Node272type);
- Node272.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node272.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node272.a('node.gradientcolor', '');
- Node272.a('node.gradient', '');
- Node272.a('node.borderwidth', Node272BorderWidth);
- Node272.a('node.color', 'rgba(224,224,224,1)');
- Node272.a('node.fillrect', [0,0,0,0]);
- Node272.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node272.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node272.a('node.fillgradient', '');
- if (Node272type !== 'rect') {
- Node272.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node272.a('node.arcTo', parseFloat('@arcTo@'));
- Node272.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node272type === 'arc') {
- Node272.a('node.arcOval', true);
- }
- Node272.setRotation(0*Math.PI/180);
- Node272.borderWidth = Node272BorderWidth;
- Node272.borderFillwidth = Node272BorderWidth;
- dataModel.add(Node272);
- Node272._nodename = 'Node272'
- Node272._nodeType = 'rect';
- zoomNodeList.push({
- node: Node272,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node272, Node272.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273 = new ht.Node();
- var Node273textStart, Node273textWidth, Node273lineStart, Node273align = 'center', Node273fontSize = 14.66663*_ratio.ratioY,Node273width = 59*_ratio.ratioX, Node273height = 26*_ratio.ratioY;
- (function () {
- if (Node273align === 'left') {
- Node273textStart = Node273fontSize * 0.2 > 2 ? Node273fontSize * 0.2 - 4 : Node273fontSize * 0.2 - 9;
- Node273textWidth = Node273width;
- Node273lineStart = 1;
- } else if (Node273align === 'right') {
- Node273textStart = 0;
- Node273textWidth =Node273fontSize <= 8 ? Node273width + Node273fontSize * 0.2 + 6 : Node273width - Node273fontSize * 0.2;
- Node273lineStart = (Node273width - (ht.Default.getTextSize('0', ' '+ Node273fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273align === 'center') {
- Node273textStart = -3;
- Node273textWidth = Node273width;
- Node273lineStart = Node273width - ht.Default.getTextSize('0', ' '+ Node273fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273.setImage(GD.getTextJSON(Node273width, Node273height, true, false, false, ' '+ Node273fontSize + 'px "Arial"'))
- Node273.setPosition(924*ratio.ratioX, 56*ratio.ratioY);
- Node273.setWidth(Node273width);
- Node273.setHeight(Node273height);
- Node273._nodeType = 'text';
- Node273._disallowEvert = true;
- Node273.setRotation(0*Math.PI/180);
- Node273.a('node.width', Node273width);
- Node273.a('node.height', Node273height);
- Node273.a('node.rect', [0, 0, Node273width, Node273height]);
- Node273.a('node.bordercolor','rgba(0,0,0,1)');
- Node273.a('node.borderwidth', 0);
- Node273.a('node.background','' || 'rgba(0,0,0,0)');
- Node273.a('node.gradient','');
- Node273.a('node.gradientcolor','');
- Node273.a('node.text','0');
- Node273.a('node.textalign','center');
- Node273.a('node.textvAlign','middle');
- Node273.a('node.textrect', [Node273textStart, 0, Node273textWidth, Node273height]);
- Node273.a('node.color','rgba(0,0,0,1)');
- Node273.a('node.font',' '+ Node273fontSize + 'px "Arial"');
- Node273.a('node.textvisible',true);
- Node273.a('node.linefeed',false);
- if (false) {
- Node273.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273.a('node.text') || '0';
- var color=Node273.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node273width,Node273height,14.66663*_ratio.ratioY,"center",color,' '+ Node273fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273.a('node.underlinepoints',[Node273lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node273fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node273fontSize + 'px "Arial"').width + 6, (Node273height - Node273fontSize) * 0.5*_ratio.ratioY + Node273fontSize + 2 ]);
- Node273.a('node.underlinevisible',false);
- Node273.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273);
- zoomNodeList.push({
- node: Node273,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274 = new ht.Node();
- var Node274textStart, Node274textWidth, Node274lineStart, Node274align = 'center', Node274fontSize = 14.66663*_ratio.ratioY,Node274width = 59*_ratio.ratioX, Node274height = 26*_ratio.ratioY;
- (function () {
- if (Node274align === 'left') {
- Node274textStart = Node274fontSize * 0.2 > 2 ? Node274fontSize * 0.2 - 4 : Node274fontSize * 0.2 - 9;
- Node274textWidth = Node274width;
- Node274lineStart = 1;
- } else if (Node274align === 'right') {
- Node274textStart = 0;
- Node274textWidth =Node274fontSize <= 8 ? Node274width + Node274fontSize * 0.2 + 6 : Node274width - Node274fontSize * 0.2;
- Node274lineStart = (Node274width - (ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274align === 'center') {
- Node274textStart = -3;
- Node274textWidth = Node274width;
- Node274lineStart = Node274width - ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274.setImage(GD.getTextJSON(Node274width, Node274height, true, false, false, ' '+ Node274fontSize + 'px "Arial"'))
- Node274.setPosition(924*ratio.ratioX, 80*ratio.ratioY);
- Node274.setWidth(Node274width);
- Node274.setHeight(Node274height);
- Node274._nodeType = 'text';
- Node274._disallowEvert = true;
- Node274.setRotation(0*Math.PI/180);
- Node274.a('node.width', Node274width);
- Node274.a('node.height', Node274height);
- Node274.a('node.rect', [0, 0, Node274width, Node274height]);
- Node274.a('node.bordercolor','rgba(0,0,0,1)');
- Node274.a('node.borderwidth', 0);
- Node274.a('node.background','' || 'rgba(0,0,0,0)');
- Node274.a('node.gradient','');
- Node274.a('node.gradientcolor','');
- Node274.a('node.text','0');
- Node274.a('node.textalign','center');
- Node274.a('node.textvAlign','middle');
- Node274.a('node.textrect', [Node274textStart, 0, Node274textWidth, Node274height]);
- Node274.a('node.color','rgba(0,0,0,1)');
- Node274.a('node.font',' '+ Node274fontSize + 'px "Arial"');
- Node274.a('node.textvisible',true);
- Node274.a('node.linefeed',false);
- if (false) {
- Node274.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274.a('node.text') || '0';
- var color=Node274.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node274width,Node274height,14.66663*_ratio.ratioY,"center",color,' '+ Node274fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274.a('node.underlinepoints',[Node274lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node274fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "Arial"').width + 6, (Node274height - Node274fontSize) * 0.5*_ratio.ratioY + Node274fontSize + 2 ]);
- Node274.a('node.underlinevisible',false);
- Node274.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274);
- zoomNodeList.push({
- node: Node274,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275 = new ht.Node();
- var Node275textStart, Node275textWidth, Node275lineStart, Node275align = 'center', Node275fontSize = 14.66663*_ratio.ratioY,Node275width = 59*_ratio.ratioX, Node275height = 26*_ratio.ratioY;
- (function () {
- if (Node275align === 'left') {
- Node275textStart = Node275fontSize * 0.2 > 2 ? Node275fontSize * 0.2 - 4 : Node275fontSize * 0.2 - 9;
- Node275textWidth = Node275width;
- Node275lineStart = 1;
- } else if (Node275align === 'right') {
- Node275textStart = 0;
- Node275textWidth =Node275fontSize <= 8 ? Node275width + Node275fontSize * 0.2 + 6 : Node275width - Node275fontSize * 0.2;
- Node275lineStart = (Node275width - (ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275align === 'center') {
- Node275textStart = -3;
- Node275textWidth = Node275width;
- Node275lineStart = Node275width - ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275.setImage(GD.getTextJSON(Node275width, Node275height, true, false, false, ' '+ Node275fontSize + 'px "Arial"'))
- Node275.setPosition(924*ratio.ratioX, 105*ratio.ratioY);
- Node275.setWidth(Node275width);
- Node275.setHeight(Node275height);
- Node275._nodeType = 'text';
- Node275._disallowEvert = true;
- Node275.setRotation(0*Math.PI/180);
- Node275.a('node.width', Node275width);
- Node275.a('node.height', Node275height);
- Node275.a('node.rect', [0, 0, Node275width, Node275height]);
- Node275.a('node.bordercolor','rgba(0,0,0,1)');
- Node275.a('node.borderwidth', 0);
- Node275.a('node.background','' || 'rgba(0,0,0,0)');
- Node275.a('node.gradient','');
- Node275.a('node.gradientcolor','');
- Node275.a('node.text','0');
- Node275.a('node.textalign','center');
- Node275.a('node.textvAlign','middle');
- Node275.a('node.textrect', [Node275textStart, 0, Node275textWidth, Node275height]);
- Node275.a('node.color','rgba(0,0,0,1)');
- Node275.a('node.font',' '+ Node275fontSize + 'px "Arial"');
- Node275.a('node.textvisible',true);
- Node275.a('node.linefeed',false);
- if (false) {
- Node275.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275.a('node.text') || '0';
- var color=Node275.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node275width,Node275height,14.66663*_ratio.ratioY,"center",color,' '+ Node275fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275.a('node.underlinepoints',[Node275lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node275fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "Arial"').width + 6, (Node275height - Node275fontSize) * 0.5*_ratio.ratioY + Node275fontSize + 2 ]);
- Node275.a('node.underlinevisible',false);
- Node275.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275);
- zoomNodeList.push({
- node: Node275,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276 = new ht.Node();
- var Node276textStart, Node276textWidth, Node276lineStart, Node276align = 'center', Node276fontSize = 14.66663*_ratio.ratioY,Node276width = 59*_ratio.ratioX, Node276height = 26*_ratio.ratioY;
- (function () {
- if (Node276align === 'left') {
- Node276textStart = Node276fontSize * 0.2 > 2 ? Node276fontSize * 0.2 - 4 : Node276fontSize * 0.2 - 9;
- Node276textWidth = Node276width;
- Node276lineStart = 1;
- } else if (Node276align === 'right') {
- Node276textStart = 0;
- Node276textWidth =Node276fontSize <= 8 ? Node276width + Node276fontSize * 0.2 + 6 : Node276width - Node276fontSize * 0.2;
- Node276lineStart = (Node276width - (ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276align === 'center') {
- Node276textStart = -3;
- Node276textWidth = Node276width;
- Node276lineStart = Node276width - ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276.setImage(GD.getTextJSON(Node276width, Node276height, true, false, false, ' '+ Node276fontSize + 'px "Arial"'))
- Node276.setPosition(924*ratio.ratioX, 128*ratio.ratioY);
- Node276.setWidth(Node276width);
- Node276.setHeight(Node276height);
- Node276._nodeType = 'text';
- Node276._disallowEvert = true;
- Node276.setRotation(0*Math.PI/180);
- Node276.a('node.width', Node276width);
- Node276.a('node.height', Node276height);
- Node276.a('node.rect', [0, 0, Node276width, Node276height]);
- Node276.a('node.bordercolor','rgba(0,0,0,1)');
- Node276.a('node.borderwidth', 0);
- Node276.a('node.background','' || 'rgba(0,0,0,0)');
- Node276.a('node.gradient','');
- Node276.a('node.gradientcolor','');
- Node276.a('node.text','0');
- Node276.a('node.textalign','center');
- Node276.a('node.textvAlign','middle');
- Node276.a('node.textrect', [Node276textStart, 0, Node276textWidth, Node276height]);
- Node276.a('node.color','rgba(0,0,0,1)');
- Node276.a('node.font',' '+ Node276fontSize + 'px "Arial"');
- Node276.a('node.textvisible',true);
- Node276.a('node.linefeed',false);
- if (false) {
- Node276.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276.a('node.text') || '0';
- var color=Node276.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node276width,Node276height,14.66663*_ratio.ratioY,"center",color,' '+ Node276fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276.a('node.underlinepoints',[Node276lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node276fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "Arial"').width + 6, (Node276height - Node276fontSize) * 0.5*_ratio.ratioY + Node276fontSize + 2 ]);
- Node276.a('node.underlinevisible',false);
- Node276.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276);
- zoomNodeList.push({
- node: Node276,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277 = new ht.Node();
- var Node277textStart, Node277textWidth, Node277lineStart, Node277align = 'center', Node277fontSize = 14.66663*_ratio.ratioY,Node277width = 59*_ratio.ratioX, Node277height = 26*_ratio.ratioY;
- (function () {
- if (Node277align === 'left') {
- Node277textStart = Node277fontSize * 0.2 > 2 ? Node277fontSize * 0.2 - 4 : Node277fontSize * 0.2 - 9;
- Node277textWidth = Node277width;
- Node277lineStart = 1;
- } else if (Node277align === 'right') {
- Node277textStart = 0;
- Node277textWidth =Node277fontSize <= 8 ? Node277width + Node277fontSize * 0.2 + 6 : Node277width - Node277fontSize * 0.2;
- Node277lineStart = (Node277width - (ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277align === 'center') {
- Node277textStart = -3;
- Node277textWidth = Node277width;
- Node277lineStart = Node277width - ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277.setImage(GD.getTextJSON(Node277width, Node277height, true, false, false, ' '+ Node277fontSize + 'px "Arial"'))
- Node277.setPosition(924*ratio.ratioX, 152*ratio.ratioY);
- Node277.setWidth(Node277width);
- Node277.setHeight(Node277height);
- Node277._nodeType = 'text';
- Node277._disallowEvert = true;
- Node277.setRotation(0*Math.PI/180);
- Node277.a('node.width', Node277width);
- Node277.a('node.height', Node277height);
- Node277.a('node.rect', [0, 0, Node277width, Node277height]);
- Node277.a('node.bordercolor','rgba(0,0,0,1)');
- Node277.a('node.borderwidth', 0);
- Node277.a('node.background','' || 'rgba(0,0,0,0)');
- Node277.a('node.gradient','');
- Node277.a('node.gradientcolor','');
- Node277.a('node.text','0');
- Node277.a('node.textalign','center');
- Node277.a('node.textvAlign','middle');
- Node277.a('node.textrect', [Node277textStart, 0, Node277textWidth, Node277height]);
- Node277.a('node.color','rgba(0,0,0,1)');
- Node277.a('node.font',' '+ Node277fontSize + 'px "Arial"');
- Node277.a('node.textvisible',true);
- Node277.a('node.linefeed',false);
- if (false) {
- Node277.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277.a('node.text') || '0';
- var color=Node277.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node277width,Node277height,14.66663*_ratio.ratioY,"center",color,' '+ Node277fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277.a('node.underlinepoints',[Node277lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node277fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "Arial"').width + 6, (Node277height - Node277fontSize) * 0.5*_ratio.ratioY + Node277fontSize + 2 ]);
- Node277.a('node.underlinevisible',false);
- Node277.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277);
- zoomNodeList.push({
- node: Node277,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278type = 'rect';
- var Node278 = new ht.Node(),
- Node278BorderWidth = 1*2;
- if (Node278type === 'arc') {
- Node278BorderWidth *= 1;
- }
- Node278.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node278type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node278.setPosition(1004*ratio.ratioX, 78*ratio.ratioY);
- Node278.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node278.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node278.a('node.width', 65*_ratio.ratioX);
- Node278.a('node.height', 24.33138*_ratio.ratioY);
- Node278.a('node.type', Node278type);
- Node278.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node278.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node278.a('node.gradientcolor', '');
- Node278.a('node.gradient', '');
- Node278.a('node.borderwidth', Node278BorderWidth);
- Node278.a('node.color', 'rgba(224,224,224,1)');
- Node278.a('node.fillrect', [0,0,0,0]);
- Node278.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node278.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node278.a('node.fillgradient', '');
- if (Node278type !== 'rect') {
- Node278.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node278.a('node.arcTo', parseFloat('@arcTo@'));
- Node278.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node278type === 'arc') {
- Node278.a('node.arcOval', true);
- }
- Node278.setRotation(0*Math.PI/180);
- Node278.borderWidth = Node278BorderWidth;
- Node278.borderFillwidth = Node278BorderWidth;
- dataModel.add(Node278);
- Node278._nodename = 'Node278'
- Node278._nodeType = 'rect';
- zoomNodeList.push({
- node: Node278,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node278, Node278.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279type = 'rect';
- var Node279 = new ht.Node(),
- Node279BorderWidth = 1*2;
- if (Node279type === 'arc') {
- Node279BorderWidth *= 1;
- }
- Node279.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node279type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node279.setPosition(1004*ratio.ratioX, 102*ratio.ratioY);
- Node279.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node279.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node279.a('node.width', 65*_ratio.ratioX);
- Node279.a('node.height', 24.33138*_ratio.ratioY);
- Node279.a('node.type', Node279type);
- Node279.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node279.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node279.a('node.gradientcolor', '');
- Node279.a('node.gradient', '');
- Node279.a('node.borderwidth', Node279BorderWidth);
- Node279.a('node.color', 'rgba(224,224,224,1)');
- Node279.a('node.fillrect', [0,0,0,0]);
- Node279.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node279.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node279.a('node.fillgradient', '');
- if (Node279type !== 'rect') {
- Node279.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node279.a('node.arcTo', parseFloat('@arcTo@'));
- Node279.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node279type === 'arc') {
- Node279.a('node.arcOval', true);
- }
- Node279.setRotation(0*Math.PI/180);
- Node279.borderWidth = Node279BorderWidth;
- Node279.borderFillwidth = Node279BorderWidth;
- dataModel.add(Node279);
- Node279._nodename = 'Node279'
- Node279._nodeType = 'rect';
- zoomNodeList.push({
- node: Node279,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node279, Node279.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node280type = 'rect';
- var Node280 = new ht.Node(),
- Node280BorderWidth = 1*2;
- if (Node280type === 'arc') {
- Node280BorderWidth *= 1;
- }
- Node280.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node280type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node280.setPosition(1004*ratio.ratioX, 127*ratio.ratioY);
- Node280.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node280.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node280.a('node.width', 65*_ratio.ratioX);
- Node280.a('node.height', 24.33136*_ratio.ratioY);
- Node280.a('node.type', Node280type);
- Node280.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node280.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node280.a('node.gradientcolor', '');
- Node280.a('node.gradient', '');
- Node280.a('node.borderwidth', Node280BorderWidth);
- Node280.a('node.color', 'rgba(224,224,224,1)');
- Node280.a('node.fillrect', [0,0,0,0]);
- Node280.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node280.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node280.a('node.fillgradient', '');
- if (Node280type !== 'rect') {
- Node280.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node280.a('node.arcTo', parseFloat('@arcTo@'));
- Node280.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node280type === 'arc') {
- Node280.a('node.arcOval', true);
- }
- Node280.setRotation(0*Math.PI/180);
- Node280.borderWidth = Node280BorderWidth;
- Node280.borderFillwidth = Node280BorderWidth;
- dataModel.add(Node280);
- Node280._nodename = 'Node280'
- Node280._nodeType = 'rect';
- zoomNodeList.push({
- node: Node280,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node280, Node280.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node281type = 'rect';
- var Node281 = new ht.Node(),
- Node281BorderWidth = 1*2;
- if (Node281type === 'arc') {
- Node281BorderWidth *= 1;
- }
- Node281.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node281type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node281.setPosition(1004*ratio.ratioX, 151*ratio.ratioY);
- Node281.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node281.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node281.a('node.width', 65*_ratio.ratioX);
- Node281.a('node.height', 24.33138*_ratio.ratioY);
- Node281.a('node.type', Node281type);
- Node281.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node281.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node281.a('node.gradientcolor', '');
- Node281.a('node.gradient', '');
- Node281.a('node.borderwidth', Node281BorderWidth);
- Node281.a('node.color', 'rgba(224,224,224,1)');
- Node281.a('node.fillrect', [0,0,0,0]);
- Node281.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node281.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node281.a('node.fillgradient', '');
- if (Node281type !== 'rect') {
- Node281.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node281.a('node.arcTo', parseFloat('@arcTo@'));
- Node281.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node281type === 'arc') {
- Node281.a('node.arcOval', true);
- }
- Node281.setRotation(0*Math.PI/180);
- Node281.borderWidth = Node281BorderWidth;
- Node281.borderFillwidth = Node281BorderWidth;
- dataModel.add(Node281);
- Node281._nodename = 'Node281'
- Node281._nodeType = 'rect';
- zoomNodeList.push({
- node: Node281,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node281, Node281.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node282 = new ht.Node();
- var Node282textStart, Node282textWidth, Node282lineStart, Node282align = 'center', Node282fontSize = 13.3333*_ratio.ratioY,Node282width = 59*_ratio.ratioX, Node282height = 26*_ratio.ratioY;
- (function () {
- if (Node282align === 'left') {
- Node282textStart = Node282fontSize * 0.2 > 2 ? Node282fontSize * 0.2 - 4 : Node282fontSize * 0.2 - 9;
- Node282textWidth = Node282width;
- Node282lineStart = 1;
- } else if (Node282align === 'right') {
- Node282textStart = 0;
- Node282textWidth =Node282fontSize <= 8 ? Node282width + Node282fontSize * 0.2 + 6 : Node282width - Node282fontSize * 0.2;
- Node282lineStart = (Node282width - (ht.Default.getTextSize('万kWh', ' '+ Node282fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node282align === 'center') {
- Node282textStart = -3;
- Node282textWidth = Node282width;
- Node282lineStart = Node282width - ht.Default.getTextSize('万kWh', ' '+ Node282fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node282.setImage(GD.getTextJSON(Node282width, Node282height, true, false, false, ' '+ Node282fontSize + 'px "Arial"'))
- Node282.setPosition(1005*ratio.ratioX, 56*ratio.ratioY);
- Node282.setWidth(Node282width);
- Node282.setHeight(Node282height);
- Node282._nodeType = 'text';
- Node282._disallowEvert = true;
- Node282.setRotation(0*Math.PI/180);
- Node282.a('node.width', Node282width);
- Node282.a('node.height', Node282height);
- Node282.a('node.rect', [0, 0, Node282width, Node282height]);
- Node282.a('node.bordercolor','rgba(128,128,128,1)');
- Node282.a('node.borderwidth', 0);
- Node282.a('node.background','' || 'rgba(0,0,0,0)');
- Node282.a('node.gradient','');
- Node282.a('node.gradientcolor','');
- Node282.a('node.text','万kWh');
- Node282.a('node.textalign','center');
- Node282.a('node.textvAlign','middle');
- Node282.a('node.textrect', [Node282textStart, 0, Node282textWidth, Node282height]);
- Node282.a('node.color','rgba(128,128,128,1)');
- Node282.a('node.font',' '+ Node282fontSize + 'px "Arial"');
- Node282.a('node.textvisible',true);
- Node282.a('node.linefeed',false);
- if (false) {
- Node282.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node282.a('node.text') || '万kWh';
- var color=Node282.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node282width,Node282height,13.3333*_ratio.ratioY,"center",color,' '+ Node282fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node282.a('node.underlinepoints',[Node282lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node282fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node282fontSize + 'px "Arial"').width + 6, (Node282height - Node282fontSize) * 0.5*_ratio.ratioY + Node282fontSize + 2 ]);
- Node282.a('node.underlinevisible',false);
- Node282.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node282);
- zoomNodeList.push({
- node: Node282,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node283 = new ht.Node();
- var Node283textStart, Node283textWidth, Node283lineStart, Node283align = 'center', Node283fontSize = 13.3333*_ratio.ratioY,Node283width = 59*_ratio.ratioX, Node283height = 26*_ratio.ratioY;
- (function () {
- if (Node283align === 'left') {
- Node283textStart = Node283fontSize * 0.2 > 2 ? Node283fontSize * 0.2 - 4 : Node283fontSize * 0.2 - 9;
- Node283textWidth = Node283width;
- Node283lineStart = 1;
- } else if (Node283align === 'right') {
- Node283textStart = 0;
- Node283textWidth =Node283fontSize <= 8 ? Node283width + Node283fontSize * 0.2 + 6 : Node283width - Node283fontSize * 0.2;
- Node283lineStart = (Node283width - (ht.Default.getTextSize('万kWh', ' '+ Node283fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node283align === 'center') {
- Node283textStart = -3;
- Node283textWidth = Node283width;
- Node283lineStart = Node283width - ht.Default.getTextSize('万kWh', ' '+ Node283fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node283.setImage(GD.getTextJSON(Node283width, Node283height, true, false, false, ' '+ Node283fontSize + 'px "Arial"'))
- Node283.setPosition(1005*ratio.ratioX, 80*ratio.ratioY);
- Node283.setWidth(Node283width);
- Node283.setHeight(Node283height);
- Node283._nodeType = 'text';
- Node283._disallowEvert = true;
- Node283.setRotation(0*Math.PI/180);
- Node283.a('node.width', Node283width);
- Node283.a('node.height', Node283height);
- Node283.a('node.rect', [0, 0, Node283width, Node283height]);
- Node283.a('node.bordercolor','rgba(128,128,128,1)');
- Node283.a('node.borderwidth', 0);
- Node283.a('node.background','' || 'rgba(0,0,0,0)');
- Node283.a('node.gradient','');
- Node283.a('node.gradientcolor','');
- Node283.a('node.text','万kWh');
- Node283.a('node.textalign','center');
- Node283.a('node.textvAlign','middle');
- Node283.a('node.textrect', [Node283textStart, 0, Node283textWidth, Node283height]);
- Node283.a('node.color','rgba(128,128,128,1)');
- Node283.a('node.font',' '+ Node283fontSize + 'px "Arial"');
- Node283.a('node.textvisible',true);
- Node283.a('node.linefeed',false);
- if (false) {
- Node283.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node283.a('node.text') || '万kWh';
- var color=Node283.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node283width,Node283height,13.3333*_ratio.ratioY,"center",color,' '+ Node283fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node283.a('node.underlinepoints',[Node283lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node283fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node283fontSize + 'px "Arial"').width + 6, (Node283height - Node283fontSize) * 0.5*_ratio.ratioY + Node283fontSize + 2 ]);
- Node283.a('node.underlinevisible',false);
- Node283.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node283);
- zoomNodeList.push({
- node: Node283,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node284 = new ht.Node();
- var Node284textStart, Node284textWidth, Node284lineStart, Node284align = 'center', Node284fontSize = 13.3333*_ratio.ratioY,Node284width = 59*_ratio.ratioX, Node284height = 26*_ratio.ratioY;
- (function () {
- if (Node284align === 'left') {
- Node284textStart = Node284fontSize * 0.2 > 2 ? Node284fontSize * 0.2 - 4 : Node284fontSize * 0.2 - 9;
- Node284textWidth = Node284width;
- Node284lineStart = 1;
- } else if (Node284align === 'right') {
- Node284textStart = 0;
- Node284textWidth =Node284fontSize <= 8 ? Node284width + Node284fontSize * 0.2 + 6 : Node284width - Node284fontSize * 0.2;
- Node284lineStart = (Node284width - (ht.Default.getTextSize('万kWh', ' '+ Node284fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node284align === 'center') {
- Node284textStart = -3;
- Node284textWidth = Node284width;
- Node284lineStart = Node284width - ht.Default.getTextSize('万kWh', ' '+ Node284fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node284.setImage(GD.getTextJSON(Node284width, Node284height, true, false, false, ' '+ Node284fontSize + 'px "Arial"'))
- Node284.setPosition(1005*ratio.ratioX, 103*ratio.ratioY);
- Node284.setWidth(Node284width);
- Node284.setHeight(Node284height);
- Node284._nodeType = 'text';
- Node284._disallowEvert = true;
- Node284.setRotation(0*Math.PI/180);
- Node284.a('node.width', Node284width);
- Node284.a('node.height', Node284height);
- Node284.a('node.rect', [0, 0, Node284width, Node284height]);
- Node284.a('node.bordercolor','rgba(128,128,128,1)');
- Node284.a('node.borderwidth', 0);
- Node284.a('node.background','' || 'rgba(0,0,0,0)');
- Node284.a('node.gradient','');
- Node284.a('node.gradientcolor','');
- Node284.a('node.text','万kWh');
- Node284.a('node.textalign','center');
- Node284.a('node.textvAlign','middle');
- Node284.a('node.textrect', [Node284textStart, 0, Node284textWidth, Node284height]);
- Node284.a('node.color','rgba(128,128,128,1)');
- Node284.a('node.font',' '+ Node284fontSize + 'px "Arial"');
- Node284.a('node.textvisible',true);
- Node284.a('node.linefeed',false);
- if (false) {
- Node284.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node284.a('node.text') || '万kWh';
- var color=Node284.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node284width,Node284height,13.3333*_ratio.ratioY,"center",color,' '+ Node284fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node284.a('node.underlinepoints',[Node284lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node284fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node284fontSize + 'px "Arial"').width + 6, (Node284height - Node284fontSize) * 0.5*_ratio.ratioY + Node284fontSize + 2 ]);
- Node284.a('node.underlinevisible',false);
- Node284.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node284);
- zoomNodeList.push({
- node: Node284,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node285 = new ht.Node();
- var Node285textStart, Node285textWidth, Node285lineStart, Node285align = 'center', Node285fontSize = 13.3333*_ratio.ratioY,Node285width = 59*_ratio.ratioX, Node285height = 26*_ratio.ratioY;
- (function () {
- if (Node285align === 'left') {
- Node285textStart = Node285fontSize * 0.2 > 2 ? Node285fontSize * 0.2 - 4 : Node285fontSize * 0.2 - 9;
- Node285textWidth = Node285width;
- Node285lineStart = 1;
- } else if (Node285align === 'right') {
- Node285textStart = 0;
- Node285textWidth =Node285fontSize <= 8 ? Node285width + Node285fontSize * 0.2 + 6 : Node285width - Node285fontSize * 0.2;
- Node285lineStart = (Node285width - (ht.Default.getTextSize('万kWh', ' '+ Node285fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node285align === 'center') {
- Node285textStart = -3;
- Node285textWidth = Node285width;
- Node285lineStart = Node285width - ht.Default.getTextSize('万kWh', ' '+ Node285fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node285.setImage(GD.getTextJSON(Node285width, Node285height, true, false, false, ' '+ Node285fontSize + 'px "Arial"'))
- Node285.setPosition(1005*ratio.ratioX, 129*ratio.ratioY);
- Node285.setWidth(Node285width);
- Node285.setHeight(Node285height);
- Node285._nodeType = 'text';
- Node285._disallowEvert = true;
- Node285.setRotation(0*Math.PI/180);
- Node285.a('node.width', Node285width);
- Node285.a('node.height', Node285height);
- Node285.a('node.rect', [0, 0, Node285width, Node285height]);
- Node285.a('node.bordercolor','rgba(128,128,128,1)');
- Node285.a('node.borderwidth', 0);
- Node285.a('node.background','' || 'rgba(0,0,0,0)');
- Node285.a('node.gradient','');
- Node285.a('node.gradientcolor','');
- Node285.a('node.text','万kWh');
- Node285.a('node.textalign','center');
- Node285.a('node.textvAlign','middle');
- Node285.a('node.textrect', [Node285textStart, 0, Node285textWidth, Node285height]);
- Node285.a('node.color','rgba(128,128,128,1)');
- Node285.a('node.font',' '+ Node285fontSize + 'px "Arial"');
- Node285.a('node.textvisible',true);
- Node285.a('node.linefeed',false);
- if (false) {
- Node285.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node285.a('node.text') || '万kWh';
- var color=Node285.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node285width,Node285height,13.3333*_ratio.ratioY,"center",color,' '+ Node285fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node285.a('node.underlinepoints',[Node285lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node285fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node285fontSize + 'px "Arial"').width + 6, (Node285height - Node285fontSize) * 0.5*_ratio.ratioY + Node285fontSize + 2 ]);
- Node285.a('node.underlinevisible',false);
- Node285.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node285);
- zoomNodeList.push({
- node: Node285,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286 = new ht.Node();
- var Node286textStart, Node286textWidth, Node286lineStart, Node286align = 'center', Node286fontSize = 13.3333*_ratio.ratioY,Node286width = 59*_ratio.ratioX, Node286height = 26*_ratio.ratioY;
- (function () {
- if (Node286align === 'left') {
- Node286textStart = Node286fontSize * 0.2 > 2 ? Node286fontSize * 0.2 - 4 : Node286fontSize * 0.2 - 9;
- Node286textWidth = Node286width;
- Node286lineStart = 1;
- } else if (Node286align === 'right') {
- Node286textStart = 0;
- Node286textWidth =Node286fontSize <= 8 ? Node286width + Node286fontSize * 0.2 + 6 : Node286width - Node286fontSize * 0.2;
- Node286lineStart = (Node286width - (ht.Default.getTextSize('万kWh', ' '+ Node286fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node286align === 'center') {
- Node286textStart = -3;
- Node286textWidth = Node286width;
- Node286lineStart = Node286width - ht.Default.getTextSize('万kWh', ' '+ Node286fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node286.setImage(GD.getTextJSON(Node286width, Node286height, true, false, false, ' '+ Node286fontSize + 'px "Arial"'))
- Node286.setPosition(1005*ratio.ratioX, 153*ratio.ratioY);
- Node286.setWidth(Node286width);
- Node286.setHeight(Node286height);
- Node286._nodeType = 'text';
- Node286._disallowEvert = true;
- Node286.setRotation(0*Math.PI/180);
- Node286.a('node.width', Node286width);
- Node286.a('node.height', Node286height);
- Node286.a('node.rect', [0, 0, Node286width, Node286height]);
- Node286.a('node.bordercolor','rgba(128,128,128,1)');
- Node286.a('node.borderwidth', 0);
- Node286.a('node.background','' || 'rgba(0,0,0,0)');
- Node286.a('node.gradient','');
- Node286.a('node.gradientcolor','');
- Node286.a('node.text','万kWh');
- Node286.a('node.textalign','center');
- Node286.a('node.textvAlign','middle');
- Node286.a('node.textrect', [Node286textStart, 0, Node286textWidth, Node286height]);
- Node286.a('node.color','rgba(128,128,128,1)');
- Node286.a('node.font',' '+ Node286fontSize + 'px "Arial"');
- Node286.a('node.textvisible',true);
- Node286.a('node.linefeed',false);
- if (false) {
- Node286.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node286.a('node.text') || '万kWh';
- var color=Node286.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node286width,Node286height,13.3333*_ratio.ratioY,"center",color,' '+ Node286fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node286.a('node.underlinepoints',[Node286lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node286fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node286fontSize + 'px "Arial"').width + 6, (Node286height - Node286fontSize) * 0.5*_ratio.ratioY + Node286fontSize + 2 ]);
- Node286.a('node.underlinevisible',false);
- Node286.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node286);
- zoomNodeList.push({
- node: Node286,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node287type = 'rect';
- var Node287 = new ht.Node(),
- Node287BorderWidth = 1*2;
- if (Node287type === 'arc') {
- Node287BorderWidth *= 1;
- }
- Node287.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node287type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node287.setPosition(1098*ratio.ratioX, 102*ratio.ratioY);
- Node287.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node287.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node287.a('node.width', 117*_ratio.ratioX);
- Node287.a('node.height', 24.33138*_ratio.ratioY);
- Node287.a('node.type', Node287type);
- Node287.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node287.a('node.background', 'rgba(240,240,240,1)');
- Node287.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node287.a('node.gradient', '');
- Node287.a('node.borderwidth', Node287BorderWidth);
- Node287.a('node.color', 'rgba(224,224,224,1)');
- Node287.a('node.fillrect', [0,0,0,0]);
- Node287.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node287.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node287.a('node.fillgradient', '');
- if (Node287type !== 'rect') {
- Node287.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node287.a('node.arcTo', parseFloat('@arcTo@'));
- Node287.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node287type === 'arc') {
- Node287.a('node.arcOval', true);
- }
- Node287.setRotation(0*Math.PI/180);
- Node287.borderWidth = Node287BorderWidth;
- Node287.borderFillwidth = Node287BorderWidth;
- dataModel.add(Node287);
- Node287._nodename = 'Node287'
- Node287._nodeType = 'rect';
- zoomNodeList.push({
- node: Node287,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node287, Node287.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node288type = 'rect';
- var Node288 = new ht.Node(),
- Node288BorderWidth = 1*2;
- if (Node288type === 'arc') {
- Node288BorderWidth *= 1;
- }
- Node288.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node288type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node288.setPosition(1098*ratio.ratioX, 78*ratio.ratioY);
- Node288.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node288.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node288.a('node.width', 117*_ratio.ratioX);
- Node288.a('node.height', 24.33138*_ratio.ratioY);
- Node288.a('node.type', Node288type);
- Node288.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node288.a('node.background', 'rgba(240,240,240,1)');
- Node288.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node288.a('node.gradient', '');
- Node288.a('node.borderwidth', Node288BorderWidth);
- Node288.a('node.color', 'rgba(224,224,224,1)');
- Node288.a('node.fillrect', [0,0,0,0]);
- Node288.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node288.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node288.a('node.fillgradient', '');
- if (Node288type !== 'rect') {
- Node288.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node288.a('node.arcTo', parseFloat('@arcTo@'));
- Node288.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node288type === 'arc') {
- Node288.a('node.arcOval', true);
- }
- Node288.setRotation(0*Math.PI/180);
- Node288.borderWidth = Node288BorderWidth;
- Node288.borderFillwidth = Node288BorderWidth;
- dataModel.add(Node288);
- Node288._nodename = 'Node288'
- Node288._nodeType = 'rect';
- zoomNodeList.push({
- node: Node288,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node288, Node288.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node289type = 'rect';
- var Node289 = new ht.Node(),
- Node289BorderWidth = 1*2;
- if (Node289type === 'arc') {
- Node289BorderWidth *= 1;
- }
- Node289.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node289type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node289.setPosition(1098*ratio.ratioX, 127*ratio.ratioY);
- Node289.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node289.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node289.a('node.width', 117*_ratio.ratioX);
- Node289.a('node.height', 24.33136*_ratio.ratioY);
- Node289.a('node.type', Node289type);
- Node289.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node289.a('node.background', 'rgba(240,240,240,1)');
- Node289.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node289.a('node.gradient', '');
- Node289.a('node.borderwidth', Node289BorderWidth);
- Node289.a('node.color', 'rgba(224,224,224,1)');
- Node289.a('node.fillrect', [0,0,0,0]);
- Node289.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node289.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node289.a('node.fillgradient', '');
- if (Node289type !== 'rect') {
- Node289.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node289.a('node.arcTo', parseFloat('@arcTo@'));
- Node289.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node289type === 'arc') {
- Node289.a('node.arcOval', true);
- }
- Node289.setRotation(0*Math.PI/180);
- Node289.borderWidth = Node289BorderWidth;
- Node289.borderFillwidth = Node289BorderWidth;
- dataModel.add(Node289);
- Node289._nodename = 'Node289'
- Node289._nodeType = 'rect';
- zoomNodeList.push({
- node: Node289,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node289, Node289.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node290type = 'rect';
- var Node290 = new ht.Node(),
- Node290BorderWidth = 1*2;
- if (Node290type === 'arc') {
- Node290BorderWidth *= 1;
- }
- Node290.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node290type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node290.setPosition(1098*ratio.ratioX, 54*ratio.ratioY);
- Node290.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node290.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node290.a('node.width', 117*_ratio.ratioX);
- Node290.a('node.height', 24.33136*_ratio.ratioY);
- Node290.a('node.type', Node290type);
- Node290.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node290.a('node.background', 'rgba(240,240,240,1)');
- Node290.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node290.a('node.gradient', '');
- Node290.a('node.borderwidth', Node290BorderWidth);
- Node290.a('node.color', 'rgba(224,224,224,1)');
- Node290.a('node.fillrect', [0,0,0,0]);
- Node290.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node290.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node290.a('node.fillgradient', '');
- if (Node290type !== 'rect') {
- Node290.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node290.a('node.arcTo', parseFloat('@arcTo@'));
- Node290.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node290type === 'arc') {
- Node290.a('node.arcOval', true);
- }
- Node290.setRotation(0*Math.PI/180);
- Node290.borderWidth = Node290BorderWidth;
- Node290.borderFillwidth = Node290BorderWidth;
- dataModel.add(Node290);
- Node290._nodename = 'Node290'
- Node290._nodeType = 'rect';
- zoomNodeList.push({
- node: Node290,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node290, Node290.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node291type = 'rect';
- var Node291 = new ht.Node(),
- Node291BorderWidth = 1*2;
- if (Node291type === 'arc') {
- Node291BorderWidth *= 1;
- }
- Node291.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node291type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node291.setPosition(1098*ratio.ratioX, 151*ratio.ratioY);
- Node291.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node291.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node291.a('node.width', 117*_ratio.ratioX);
- Node291.a('node.height', 24.33138*_ratio.ratioY);
- Node291.a('node.type', Node291type);
- Node291.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node291.a('node.background', 'rgba(240,240,240,1)');
- Node291.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node291.a('node.gradient', '');
- Node291.a('node.borderwidth', Node291BorderWidth);
- Node291.a('node.color', 'rgba(224,224,224,1)');
- Node291.a('node.fillrect', [0,0,0,0]);
- Node291.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node291.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node291.a('node.fillgradient', '');
- if (Node291type !== 'rect') {
- Node291.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node291.a('node.arcTo', parseFloat('@arcTo@'));
- Node291.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node291type === 'arc') {
- Node291.a('node.arcOval', true);
- }
- Node291.setRotation(0*Math.PI/180);
- Node291.borderWidth = Node291BorderWidth;
- Node291.borderFillwidth = Node291BorderWidth;
- dataModel.add(Node291);
- Node291._nodename = 'Node291'
- Node291._nodeType = 'rect';
- zoomNodeList.push({
- node: Node291,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node291, Node291.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node292 = new ht.Node();
- var Node292textStart, Node292textWidth, Node292lineStart, Node292align = 'center', Node292fontSize = 13.3333*_ratio.ratioY,Node292width = 110*_ratio.ratioX, Node292height = 26*_ratio.ratioY;
- (function () {
- if (Node292align === 'left') {
- Node292textStart = Node292fontSize * 0.2 > 2 ? Node292fontSize * 0.2 - 4 : Node292fontSize * 0.2 - 9;
- Node292textWidth = Node292width;
- Node292lineStart = 1;
- } else if (Node292align === 'right') {
- Node292textStart = 0;
- Node292textWidth =Node292fontSize <= 8 ? Node292width + Node292fontSize * 0.2 + 6 : Node292width - Node292fontSize * 0.2;
- Node292lineStart = (Node292width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node292fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node292align === 'center') {
- Node292textStart = -3;
- Node292textWidth = Node292width;
- Node292lineStart = Node292width - ht.Default.getTextSize('年维护损失电量', ' '+ Node292fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node292.setImage(GD.getTextJSON(Node292width, Node292height, true, false, false, ' '+ Node292fontSize + 'px "微软雅黑"'))
- Node292.setPosition(1098*ratio.ratioX, 56*ratio.ratioY);
- Node292.setWidth(Node292width);
- Node292.setHeight(Node292height);
- Node292._nodeType = 'text';
- Node292._disallowEvert = true;
- Node292.setRotation(0*Math.PI/180);
- Node292.a('node.width', Node292width);
- Node292.a('node.height', Node292height);
- Node292.a('node.rect', [0, 0, Node292width, Node292height]);
- Node292.a('node.bordercolor','rgba(0,0,0,1)');
- Node292.a('node.borderwidth', 0);
- Node292.a('node.background','' || 'rgba(0,0,0,0)');
- Node292.a('node.gradient','');
- Node292.a('node.gradientcolor','');
- Node292.a('node.text','年维护损失电量');
- Node292.a('node.textalign','center');
- Node292.a('node.textvAlign','middle');
- Node292.a('node.textrect', [Node292textStart, 0, Node292textWidth, Node292height]);
- Node292.a('node.color','rgba(0,0,0,1)');
- Node292.a('node.font',' '+ Node292fontSize + 'px "微软雅黑"');
- Node292.a('node.textvisible',true);
- Node292.a('node.linefeed',false);
- if (false) {
- Node292.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node292.a('node.text') || '年维护损失电量';
- var color=Node292.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node292width,Node292height,13.3333*_ratio.ratioY,"center",color,' '+ Node292fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node292.a('node.underlinepoints',[Node292lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node292fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node292fontSize + 'px "微软雅黑"').width + 6, (Node292height - Node292fontSize) * 0.5*_ratio.ratioY + Node292fontSize + 2 ]);
- Node292.a('node.underlinevisible',false);
- Node292.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node292);
- zoomNodeList.push({
- node: Node292,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node293 = new ht.Node();
- var Node293textStart, Node293textWidth, Node293lineStart, Node293align = 'center', Node293fontSize = 13.3333*_ratio.ratioY,Node293width = 110*_ratio.ratioX, Node293height = 26*_ratio.ratioY;
- (function () {
- if (Node293align === 'left') {
- Node293textStart = Node293fontSize * 0.2 > 2 ? Node293fontSize * 0.2 - 4 : Node293fontSize * 0.2 - 9;
- Node293textWidth = Node293width;
- Node293lineStart = 1;
- } else if (Node293align === 'right') {
- Node293textStart = 0;
- Node293textWidth =Node293fontSize <= 8 ? Node293width + Node293fontSize * 0.2 + 6 : Node293width - Node293fontSize * 0.2;
- Node293lineStart = (Node293width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node293fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node293align === 'center') {
- Node293textStart = -3;
- Node293textWidth = Node293width;
- Node293lineStart = Node293width - ht.Default.getTextSize('年故障损失电量', ' '+ Node293fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node293.setImage(GD.getTextJSON(Node293width, Node293height, true, false, false, ' '+ Node293fontSize + 'px "微软雅黑"'))
- Node293.setPosition(1098*ratio.ratioX, 79*ratio.ratioY);
- Node293.setWidth(Node293width);
- Node293.setHeight(Node293height);
- Node293._nodeType = 'text';
- Node293._disallowEvert = true;
- Node293.setRotation(0*Math.PI/180);
- Node293.a('node.width', Node293width);
- Node293.a('node.height', Node293height);
- Node293.a('node.rect', [0, 0, Node293width, Node293height]);
- Node293.a('node.bordercolor','rgba(0,0,0,1)');
- Node293.a('node.borderwidth', 0);
- Node293.a('node.background','' || 'rgba(0,0,0,0)');
- Node293.a('node.gradient','');
- Node293.a('node.gradientcolor','');
- Node293.a('node.text','年故障损失电量');
- Node293.a('node.textalign','center');
- Node293.a('node.textvAlign','middle');
- Node293.a('node.textrect', [Node293textStart, 0, Node293textWidth, Node293height]);
- Node293.a('node.color','rgba(0,0,0,1)');
- Node293.a('node.font',' '+ Node293fontSize + 'px "微软雅黑"');
- Node293.a('node.textvisible',true);
- Node293.a('node.linefeed',false);
- if (false) {
- Node293.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node293.a('node.text') || '年故障损失电量';
- var color=Node293.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node293width,Node293height,13.3333*_ratio.ratioY,"center",color,' '+ Node293fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node293.a('node.underlinepoints',[Node293lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node293fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node293fontSize + 'px "微软雅黑"').width + 6, (Node293height - Node293fontSize) * 0.5*_ratio.ratioY + Node293fontSize + 2 ]);
- Node293.a('node.underlinevisible',false);
- Node293.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node293);
- zoomNodeList.push({
- node: Node293,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node294 = new ht.Node();
- var Node294textStart, Node294textWidth, Node294lineStart, Node294align = 'center', Node294fontSize = 13.3333*_ratio.ratioY,Node294width = 110*_ratio.ratioX, Node294height = 26*_ratio.ratioY;
- (function () {
- if (Node294align === 'left') {
- Node294textStart = Node294fontSize * 0.2 > 2 ? Node294fontSize * 0.2 - 4 : Node294fontSize * 0.2 - 9;
- Node294textWidth = Node294width;
- Node294lineStart = 1;
- } else if (Node294align === 'right') {
- Node294textStart = 0;
- Node294textWidth =Node294fontSize <= 8 ? Node294width + Node294fontSize * 0.2 + 6 : Node294width - Node294fontSize * 0.2;
- Node294lineStart = (Node294width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node294fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node294align === 'center') {
- Node294textStart = -3;
- Node294textWidth = Node294width;
- Node294lineStart = Node294width - ht.Default.getTextSize('年限电损失电量', ' '+ Node294fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node294.setImage(GD.getTextJSON(Node294width, Node294height, true, false, false, ' '+ Node294fontSize + 'px "微软雅黑"'))
- Node294.setPosition(1098*ratio.ratioX, 104*ratio.ratioY);
- Node294.setWidth(Node294width);
- Node294.setHeight(Node294height);
- Node294._nodeType = 'text';
- Node294._disallowEvert = true;
- Node294.setRotation(0*Math.PI/180);
- Node294.a('node.width', Node294width);
- Node294.a('node.height', Node294height);
- Node294.a('node.rect', [0, 0, Node294width, Node294height]);
- Node294.a('node.bordercolor','rgba(0,0,0,1)');
- Node294.a('node.borderwidth', 0);
- Node294.a('node.background','' || 'rgba(0,0,0,0)');
- Node294.a('node.gradient','');
- Node294.a('node.gradientcolor','');
- Node294.a('node.text','年限电损失电量');
- Node294.a('node.textalign','center');
- Node294.a('node.textvAlign','middle');
- Node294.a('node.textrect', [Node294textStart, 0, Node294textWidth, Node294height]);
- Node294.a('node.color','rgba(0,0,0,1)');
- Node294.a('node.font',' '+ Node294fontSize + 'px "微软雅黑"');
- Node294.a('node.textvisible',true);
- Node294.a('node.linefeed',false);
- if (false) {
- Node294.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node294.a('node.text') || '年限电损失电量';
- var color=Node294.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node294width,Node294height,13.3333*_ratio.ratioY,"center",color,' '+ Node294fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node294.a('node.underlinepoints',[Node294lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node294fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node294fontSize + 'px "微软雅黑"').width + 6, (Node294height - Node294fontSize) * 0.5*_ratio.ratioY + Node294fontSize + 2 ]);
- Node294.a('node.underlinevisible',false);
- Node294.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node294);
- zoomNodeList.push({
- node: Node294,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node295 = new ht.Node();
- var Node295textStart, Node295textWidth, Node295lineStart, Node295align = 'center', Node295fontSize = 13.3333*_ratio.ratioY,Node295width = 110*_ratio.ratioX, Node295height = 26*_ratio.ratioY;
- (function () {
- if (Node295align === 'left') {
- Node295textStart = Node295fontSize * 0.2 > 2 ? Node295fontSize * 0.2 - 4 : Node295fontSize * 0.2 - 9;
- Node295textWidth = Node295width;
- Node295lineStart = 1;
- } else if (Node295align === 'right') {
- Node295textStart = 0;
- Node295textWidth =Node295fontSize <= 8 ? Node295width + Node295fontSize * 0.2 + 6 : Node295width - Node295fontSize * 0.2;
- Node295lineStart = (Node295width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node295fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node295align === 'center') {
- Node295textStart = -3;
- Node295textWidth = Node295width;
- Node295lineStart = Node295width - ht.Default.getTextSize('年受累损失电量', ' '+ Node295fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node295.setImage(GD.getTextJSON(Node295width, Node295height, true, false, false, ' '+ Node295fontSize + 'px "微软雅黑"'))
- Node295.setPosition(1098*ratio.ratioX, 129*ratio.ratioY);
- Node295.setWidth(Node295width);
- Node295.setHeight(Node295height);
- Node295._nodeType = 'text';
- Node295._disallowEvert = true;
- Node295.setRotation(0*Math.PI/180);
- Node295.a('node.width', Node295width);
- Node295.a('node.height', Node295height);
- Node295.a('node.rect', [0, 0, Node295width, Node295height]);
- Node295.a('node.bordercolor','rgba(0,0,0,1)');
- Node295.a('node.borderwidth', 0);
- Node295.a('node.background','' || 'rgba(0,0,0,0)');
- Node295.a('node.gradient','');
- Node295.a('node.gradientcolor','');
- Node295.a('node.text','年受累损失电量');
- Node295.a('node.textalign','center');
- Node295.a('node.textvAlign','middle');
- Node295.a('node.textrect', [Node295textStart, 0, Node295textWidth, Node295height]);
- Node295.a('node.color','rgba(0,0,0,1)');
- Node295.a('node.font',' '+ Node295fontSize + 'px "微软雅黑"');
- Node295.a('node.textvisible',true);
- Node295.a('node.linefeed',false);
- if (false) {
- Node295.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node295.a('node.text') || '年受累损失电量';
- var color=Node295.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node295width,Node295height,13.3333*_ratio.ratioY,"center",color,' '+ Node295fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node295.a('node.underlinepoints',[Node295lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node295fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node295fontSize + 'px "微软雅黑"').width + 6, (Node295height - Node295fontSize) * 0.5*_ratio.ratioY + Node295fontSize + 2 ]);
- Node295.a('node.underlinevisible',false);
- Node295.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node295);
- zoomNodeList.push({
- node: Node295,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node296type = 'rect';
- var Node296 = new ht.Node(),
- Node296BorderWidth = 1*2;
- if (Node296type === 'arc') {
- Node296BorderWidth *= 1;
- }
- Node296.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node296type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node296.setPosition(1204*ratio.ratioX, 54*ratio.ratioY);
- Node296.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node296.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node296.a('node.width', 95*_ratio.ratioX);
- Node296.a('node.height', 24.33136*_ratio.ratioY);
- Node296.a('node.type', Node296type);
- Node296.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node296.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node296.a('node.gradientcolor', '');
- Node296.a('node.gradient', '');
- Node296.a('node.borderwidth', Node296BorderWidth);
- Node296.a('node.color', 'rgba(224,224,224,1)');
- Node296.a('node.fillrect', [0,0,0,0]);
- Node296.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node296.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node296.a('node.fillgradient', '');
- if (Node296type !== 'rect') {
- Node296.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node296.a('node.arcTo', parseFloat('@arcTo@'));
- Node296.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node296type === 'arc') {
- Node296.a('node.arcOval', true);
- }
- Node296.setRotation(0*Math.PI/180);
- Node296.borderWidth = Node296BorderWidth;
- Node296.borderFillwidth = Node296BorderWidth;
- dataModel.add(Node296);
- Node296._nodename = 'Node296'
- Node296._nodeType = 'rect';
- zoomNodeList.push({
- node: Node296,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node296, Node296.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node297type = 'rect';
- var Node297 = new ht.Node(),
- Node297BorderWidth = 1*2;
- if (Node297type === 'arc') {
- Node297BorderWidth *= 1;
- }
- Node297.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node297type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node297.setPosition(1204*ratio.ratioX, 78*ratio.ratioY);
- Node297.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node297.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node297.a('node.width', 95*_ratio.ratioX);
- Node297.a('node.height', 24.33138*_ratio.ratioY);
- Node297.a('node.type', Node297type);
- Node297.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node297.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node297.a('node.gradientcolor', '');
- Node297.a('node.gradient', '');
- Node297.a('node.borderwidth', Node297BorderWidth);
- Node297.a('node.color', 'rgba(224,224,224,1)');
- Node297.a('node.fillrect', [0,0,0,0]);
- Node297.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node297.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node297.a('node.fillgradient', '');
- if (Node297type !== 'rect') {
- Node297.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node297.a('node.arcTo', parseFloat('@arcTo@'));
- Node297.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node297type === 'arc') {
- Node297.a('node.arcOval', true);
- }
- Node297.setRotation(0*Math.PI/180);
- Node297.borderWidth = Node297BorderWidth;
- Node297.borderFillwidth = Node297BorderWidth;
- dataModel.add(Node297);
- Node297._nodename = 'Node297'
- Node297._nodeType = 'rect';
- zoomNodeList.push({
- node: Node297,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node297, Node297.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node298type = 'rect';
- var Node298 = new ht.Node(),
- Node298BorderWidth = 1*2;
- if (Node298type === 'arc') {
- Node298BorderWidth *= 1;
- }
- Node298.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node298type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node298.setPosition(1204*ratio.ratioX, 102*ratio.ratioY);
- Node298.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node298.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node298.a('node.width', 95*_ratio.ratioX);
- Node298.a('node.height', 24.33138*_ratio.ratioY);
- Node298.a('node.type', Node298type);
- Node298.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node298.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node298.a('node.gradientcolor', '');
- Node298.a('node.gradient', '');
- Node298.a('node.borderwidth', Node298BorderWidth);
- Node298.a('node.color', 'rgba(224,224,224,1)');
- Node298.a('node.fillrect', [0,0,0,0]);
- Node298.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node298.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node298.a('node.fillgradient', '');
- if (Node298type !== 'rect') {
- Node298.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node298.a('node.arcTo', parseFloat('@arcTo@'));
- Node298.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node298type === 'arc') {
- Node298.a('node.arcOval', true);
- }
- Node298.setRotation(0*Math.PI/180);
- Node298.borderWidth = Node298BorderWidth;
- Node298.borderFillwidth = Node298BorderWidth;
- dataModel.add(Node298);
- Node298._nodename = 'Node298'
- Node298._nodeType = 'rect';
- zoomNodeList.push({
- node: Node298,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node298, Node298.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node299type = 'rect';
- var Node299 = new ht.Node(),
- Node299BorderWidth = 1*2;
- if (Node299type === 'arc') {
- Node299BorderWidth *= 1;
- }
- Node299.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node299type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node299.setPosition(1204*ratio.ratioX, 127*ratio.ratioY);
- Node299.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node299.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node299.a('node.width', 95*_ratio.ratioX);
- Node299.a('node.height', 24.33136*_ratio.ratioY);
- Node299.a('node.type', Node299type);
- Node299.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node299.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node299.a('node.gradientcolor', '');
- Node299.a('node.gradient', '');
- Node299.a('node.borderwidth', Node299BorderWidth);
- Node299.a('node.color', 'rgba(224,224,224,1)');
- Node299.a('node.fillrect', [0,0,0,0]);
- Node299.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node299.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node299.a('node.fillgradient', '');
- if (Node299type !== 'rect') {
- Node299.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node299.a('node.arcTo', parseFloat('@arcTo@'));
- Node299.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node299type === 'arc') {
- Node299.a('node.arcOval', true);
- }
- Node299.setRotation(0*Math.PI/180);
- Node299.borderWidth = Node299BorderWidth;
- Node299.borderFillwidth = Node299BorderWidth;
- dataModel.add(Node299);
- Node299._nodename = 'Node299'
- Node299._nodeType = 'rect';
- zoomNodeList.push({
- node: Node299,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node299, Node299.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node300type = 'rect';
- var Node300 = new ht.Node(),
- Node300BorderWidth = 1*2;
- if (Node300type === 'arc') {
- Node300BorderWidth *= 1;
- }
- Node300.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node300type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node300.setPosition(1204*ratio.ratioX, 151*ratio.ratioY);
- Node300.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node300.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node300.a('node.width', 95*_ratio.ratioX);
- Node300.a('node.height', 24.33138*_ratio.ratioY);
- Node300.a('node.type', Node300type);
- Node300.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node300.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node300.a('node.gradientcolor', '');
- Node300.a('node.gradient', '');
- Node300.a('node.borderwidth', Node300BorderWidth);
- Node300.a('node.color', 'rgba(224,224,224,1)');
- Node300.a('node.fillrect', [0,0,0,0]);
- Node300.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node300.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node300.a('node.fillgradient', '');
- if (Node300type !== 'rect') {
- Node300.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node300.a('node.arcTo', parseFloat('@arcTo@'));
- Node300.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node300type === 'arc') {
- Node300.a('node.arcOval', true);
- }
- Node300.setRotation(0*Math.PI/180);
- Node300.borderWidth = Node300BorderWidth;
- Node300.borderFillwidth = Node300BorderWidth;
- dataModel.add(Node300);
- Node300._nodename = 'Node300'
- Node300._nodeType = 'rect';
- zoomNodeList.push({
- node: Node300,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node300, Node300.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node301type = 'rect';
- var Node301 = new ht.Node(),
- Node301BorderWidth = 1*2;
- if (Node301type === 'arc') {
- Node301BorderWidth *= 1;
- }
- Node301.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node301type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node301.setPosition(1284*ratio.ratioX, 54*ratio.ratioY);
- Node301.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node301.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node301.a('node.width', 65*_ratio.ratioX);
- Node301.a('node.height', 24.33136*_ratio.ratioY);
- Node301.a('node.type', Node301type);
- Node301.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node301.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node301.a('node.gradientcolor', '');
- Node301.a('node.gradient', '');
- Node301.a('node.borderwidth', Node301BorderWidth);
- Node301.a('node.color', 'rgba(224,224,224,1)');
- Node301.a('node.fillrect', [0,0,0,0]);
- Node301.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node301.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node301.a('node.fillgradient', '');
- if (Node301type !== 'rect') {
- Node301.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node301.a('node.arcTo', parseFloat('@arcTo@'));
- Node301.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node301type === 'arc') {
- Node301.a('node.arcOval', true);
- }
- Node301.setRotation(0*Math.PI/180);
- Node301.borderWidth = Node301BorderWidth;
- Node301.borderFillwidth = Node301BorderWidth;
- dataModel.add(Node301);
- Node301._nodename = 'Node301'
- Node301._nodeType = 'rect';
- zoomNodeList.push({
- node: Node301,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node301, Node301.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node302 = new ht.Node();
- var Node302textStart, Node302textWidth, Node302lineStart, Node302align = 'center', Node302fontSize = 14.66663*_ratio.ratioY,Node302width = 59*_ratio.ratioX, Node302height = 26*_ratio.ratioY;
- (function () {
- if (Node302align === 'left') {
- Node302textStart = Node302fontSize * 0.2 > 2 ? Node302fontSize * 0.2 - 4 : Node302fontSize * 0.2 - 9;
- Node302textWidth = Node302width;
- Node302lineStart = 1;
- } else if (Node302align === 'right') {
- Node302textStart = 0;
- Node302textWidth =Node302fontSize <= 8 ? Node302width + Node302fontSize * 0.2 + 6 : Node302width - Node302fontSize * 0.2;
- Node302lineStart = (Node302width - (ht.Default.getTextSize('0', ' '+ Node302fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node302align === 'center') {
- Node302textStart = -3;
- Node302textWidth = Node302width;
- Node302lineStart = Node302width - ht.Default.getTextSize('0', ' '+ Node302fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node302.setImage(GD.getTextJSON(Node302width, Node302height, true, false, false, ' '+ Node302fontSize + 'px "Arial"'))
- Node302.setPosition(1204*ratio.ratioX, 56*ratio.ratioY);
- Node302.setWidth(Node302width);
- Node302.setHeight(Node302height);
- Node302._nodeType = 'text';
- Node302._disallowEvert = true;
- Node302.setRotation(0*Math.PI/180);
- Node302.a('node.width', Node302width);
- Node302.a('node.height', Node302height);
- Node302.a('node.rect', [0, 0, Node302width, Node302height]);
- Node302.a('node.bordercolor','rgba(0,0,0,1)');
- Node302.a('node.borderwidth', 0);
- Node302.a('node.background','' || 'rgba(0,0,0,0)');
- Node302.a('node.gradient','');
- Node302.a('node.gradientcolor','');
- Node302.a('node.text','0');
- Node302.a('node.textalign','center');
- Node302.a('node.textvAlign','middle');
- Node302.a('node.textrect', [Node302textStart, 0, Node302textWidth, Node302height]);
- Node302.a('node.color','rgba(0,0,0,1)');
- Node302.a('node.font',' '+ Node302fontSize + 'px "Arial"');
- Node302.a('node.textvisible',true);
- Node302.a('node.linefeed',false);
- if (false) {
- Node302.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node302.a('node.text') || '0';
- var color=Node302.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node302width,Node302height,14.66663*_ratio.ratioY,"center",color,' '+ Node302fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node302.a('node.underlinepoints',[Node302lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node302fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node302fontSize + 'px "Arial"').width + 6, (Node302height - Node302fontSize) * 0.5*_ratio.ratioY + Node302fontSize + 2 ]);
- Node302.a('node.underlinevisible',false);
- Node302.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node302);
- zoomNodeList.push({
- node: Node302,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node303 = new ht.Node();
- var Node303textStart, Node303textWidth, Node303lineStart, Node303align = 'center', Node303fontSize = 14.66663*_ratio.ratioY,Node303width = 59*_ratio.ratioX, Node303height = 26*_ratio.ratioY;
- (function () {
- if (Node303align === 'left') {
- Node303textStart = Node303fontSize * 0.2 > 2 ? Node303fontSize * 0.2 - 4 : Node303fontSize * 0.2 - 9;
- Node303textWidth = Node303width;
- Node303lineStart = 1;
- } else if (Node303align === 'right') {
- Node303textStart = 0;
- Node303textWidth =Node303fontSize <= 8 ? Node303width + Node303fontSize * 0.2 + 6 : Node303width - Node303fontSize * 0.2;
- Node303lineStart = (Node303width - (ht.Default.getTextSize('0', ' '+ Node303fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node303align === 'center') {
- Node303textStart = -3;
- Node303textWidth = Node303width;
- Node303lineStart = Node303width - ht.Default.getTextSize('0', ' '+ Node303fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node303.setImage(GD.getTextJSON(Node303width, Node303height, true, false, false, ' '+ Node303fontSize + 'px "Arial"'))
- Node303.setPosition(1204*ratio.ratioX, 80*ratio.ratioY);
- Node303.setWidth(Node303width);
- Node303.setHeight(Node303height);
- Node303._nodeType = 'text';
- Node303._disallowEvert = true;
- Node303.setRotation(0*Math.PI/180);
- Node303.a('node.width', Node303width);
- Node303.a('node.height', Node303height);
- Node303.a('node.rect', [0, 0, Node303width, Node303height]);
- Node303.a('node.bordercolor','rgba(0,0,0,1)');
- Node303.a('node.borderwidth', 0);
- Node303.a('node.background','' || 'rgba(0,0,0,0)');
- Node303.a('node.gradient','');
- Node303.a('node.gradientcolor','');
- Node303.a('node.text','0');
- Node303.a('node.textalign','center');
- Node303.a('node.textvAlign','middle');
- Node303.a('node.textrect', [Node303textStart, 0, Node303textWidth, Node303height]);
- Node303.a('node.color','rgba(0,0,0,1)');
- Node303.a('node.font',' '+ Node303fontSize + 'px "Arial"');
- Node303.a('node.textvisible',true);
- Node303.a('node.linefeed',false);
- if (false) {
- Node303.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node303.a('node.text') || '0';
- var color=Node303.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node303width,Node303height,14.66663*_ratio.ratioY,"center",color,' '+ Node303fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node303.a('node.underlinepoints',[Node303lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node303fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node303fontSize + 'px "Arial"').width + 6, (Node303height - Node303fontSize) * 0.5*_ratio.ratioY + Node303fontSize + 2 ]);
- Node303.a('node.underlinevisible',false);
- Node303.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node303);
- zoomNodeList.push({
- node: Node303,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node304 = new ht.Node();
- var Node304textStart, Node304textWidth, Node304lineStart, Node304align = 'center', Node304fontSize = 14.66663*_ratio.ratioY,Node304width = 59*_ratio.ratioX, Node304height = 26*_ratio.ratioY;
- (function () {
- if (Node304align === 'left') {
- Node304textStart = Node304fontSize * 0.2 > 2 ? Node304fontSize * 0.2 - 4 : Node304fontSize * 0.2 - 9;
- Node304textWidth = Node304width;
- Node304lineStart = 1;
- } else if (Node304align === 'right') {
- Node304textStart = 0;
- Node304textWidth =Node304fontSize <= 8 ? Node304width + Node304fontSize * 0.2 + 6 : Node304width - Node304fontSize * 0.2;
- Node304lineStart = (Node304width - (ht.Default.getTextSize('0', ' '+ Node304fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node304align === 'center') {
- Node304textStart = -3;
- Node304textWidth = Node304width;
- Node304lineStart = Node304width - ht.Default.getTextSize('0', ' '+ Node304fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node304.setImage(GD.getTextJSON(Node304width, Node304height, true, false, false, ' '+ Node304fontSize + 'px "Arial"'))
- Node304.setPosition(1204*ratio.ratioX, 105*ratio.ratioY);
- Node304.setWidth(Node304width);
- Node304.setHeight(Node304height);
- Node304._nodeType = 'text';
- Node304._disallowEvert = true;
- Node304.setRotation(0*Math.PI/180);
- Node304.a('node.width', Node304width);
- Node304.a('node.height', Node304height);
- Node304.a('node.rect', [0, 0, Node304width, Node304height]);
- Node304.a('node.bordercolor','rgba(0,0,0,1)');
- Node304.a('node.borderwidth', 0);
- Node304.a('node.background','' || 'rgba(0,0,0,0)');
- Node304.a('node.gradient','');
- Node304.a('node.gradientcolor','');
- Node304.a('node.text','0');
- Node304.a('node.textalign','center');
- Node304.a('node.textvAlign','middle');
- Node304.a('node.textrect', [Node304textStart, 0, Node304textWidth, Node304height]);
- Node304.a('node.color','rgba(0,0,0,1)');
- Node304.a('node.font',' '+ Node304fontSize + 'px "Arial"');
- Node304.a('node.textvisible',true);
- Node304.a('node.linefeed',false);
- if (false) {
- Node304.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node304.a('node.text') || '0';
- var color=Node304.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node304width,Node304height,14.66663*_ratio.ratioY,"center",color,' '+ Node304fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node304.a('node.underlinepoints',[Node304lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node304fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node304fontSize + 'px "Arial"').width + 6, (Node304height - Node304fontSize) * 0.5*_ratio.ratioY + Node304fontSize + 2 ]);
- Node304.a('node.underlinevisible',false);
- Node304.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node304);
- zoomNodeList.push({
- node: Node304,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node305 = new ht.Node();
- var Node305textStart, Node305textWidth, Node305lineStart, Node305align = 'center', Node305fontSize = 14.66663*_ratio.ratioY,Node305width = 59*_ratio.ratioX, Node305height = 26*_ratio.ratioY;
- (function () {
- if (Node305align === 'left') {
- Node305textStart = Node305fontSize * 0.2 > 2 ? Node305fontSize * 0.2 - 4 : Node305fontSize * 0.2 - 9;
- Node305textWidth = Node305width;
- Node305lineStart = 1;
- } else if (Node305align === 'right') {
- Node305textStart = 0;
- Node305textWidth =Node305fontSize <= 8 ? Node305width + Node305fontSize * 0.2 + 6 : Node305width - Node305fontSize * 0.2;
- Node305lineStart = (Node305width - (ht.Default.getTextSize('0', ' '+ Node305fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node305align === 'center') {
- Node305textStart = -3;
- Node305textWidth = Node305width;
- Node305lineStart = Node305width - ht.Default.getTextSize('0', ' '+ Node305fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node305.setImage(GD.getTextJSON(Node305width, Node305height, true, false, false, ' '+ Node305fontSize + 'px "Arial"'))
- Node305.setPosition(1204*ratio.ratioX, 128*ratio.ratioY);
- Node305.setWidth(Node305width);
- Node305.setHeight(Node305height);
- Node305._nodeType = 'text';
- Node305._disallowEvert = true;
- Node305.setRotation(0*Math.PI/180);
- Node305.a('node.width', Node305width);
- Node305.a('node.height', Node305height);
- Node305.a('node.rect', [0, 0, Node305width, Node305height]);
- Node305.a('node.bordercolor','rgba(0,0,0,1)');
- Node305.a('node.borderwidth', 0);
- Node305.a('node.background','' || 'rgba(0,0,0,0)');
- Node305.a('node.gradient','');
- Node305.a('node.gradientcolor','');
- Node305.a('node.text','0');
- Node305.a('node.textalign','center');
- Node305.a('node.textvAlign','middle');
- Node305.a('node.textrect', [Node305textStart, 0, Node305textWidth, Node305height]);
- Node305.a('node.color','rgba(0,0,0,1)');
- Node305.a('node.font',' '+ Node305fontSize + 'px "Arial"');
- Node305.a('node.textvisible',true);
- Node305.a('node.linefeed',false);
- if (false) {
- Node305.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node305.a('node.text') || '0';
- var color=Node305.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node305width,Node305height,14.66663*_ratio.ratioY,"center",color,' '+ Node305fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node305.a('node.underlinepoints',[Node305lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node305fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node305fontSize + 'px "Arial"').width + 6, (Node305height - Node305fontSize) * 0.5*_ratio.ratioY + Node305fontSize + 2 ]);
- Node305.a('node.underlinevisible',false);
- Node305.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node305);
- zoomNodeList.push({
- node: Node305,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node306 = new ht.Node();
- var Node306textStart, Node306textWidth, Node306lineStart, Node306align = 'center', Node306fontSize = 14.66663*_ratio.ratioY,Node306width = 59*_ratio.ratioX, Node306height = 26*_ratio.ratioY;
- (function () {
- if (Node306align === 'left') {
- Node306textStart = Node306fontSize * 0.2 > 2 ? Node306fontSize * 0.2 - 4 : Node306fontSize * 0.2 - 9;
- Node306textWidth = Node306width;
- Node306lineStart = 1;
- } else if (Node306align === 'right') {
- Node306textStart = 0;
- Node306textWidth =Node306fontSize <= 8 ? Node306width + Node306fontSize * 0.2 + 6 : Node306width - Node306fontSize * 0.2;
- Node306lineStart = (Node306width - (ht.Default.getTextSize('0', ' '+ Node306fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node306align === 'center') {
- Node306textStart = -3;
- Node306textWidth = Node306width;
- Node306lineStart = Node306width - ht.Default.getTextSize('0', ' '+ Node306fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node306.setImage(GD.getTextJSON(Node306width, Node306height, true, false, false, ' '+ Node306fontSize + 'px "Arial"'))
- Node306.setPosition(1204*ratio.ratioX, 152*ratio.ratioY);
- Node306.setWidth(Node306width);
- Node306.setHeight(Node306height);
- Node306._nodeType = 'text';
- Node306._disallowEvert = true;
- Node306.setRotation(0*Math.PI/180);
- Node306.a('node.width', Node306width);
- Node306.a('node.height', Node306height);
- Node306.a('node.rect', [0, 0, Node306width, Node306height]);
- Node306.a('node.bordercolor','rgba(0,0,0,1)');
- Node306.a('node.borderwidth', 0);
- Node306.a('node.background','' || 'rgba(0,0,0,0)');
- Node306.a('node.gradient','');
- Node306.a('node.gradientcolor','');
- Node306.a('node.text','0');
- Node306.a('node.textalign','center');
- Node306.a('node.textvAlign','middle');
- Node306.a('node.textrect', [Node306textStart, 0, Node306textWidth, Node306height]);
- Node306.a('node.color','rgba(0,0,0,1)');
- Node306.a('node.font',' '+ Node306fontSize + 'px "Arial"');
- Node306.a('node.textvisible',true);
- Node306.a('node.linefeed',false);
- if (false) {
- Node306.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node306.a('node.text') || '0';
- var color=Node306.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node306width,Node306height,14.66663*_ratio.ratioY,"center",color,' '+ Node306fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node306.a('node.underlinepoints',[Node306lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node306fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node306fontSize + 'px "Arial"').width + 6, (Node306height - Node306fontSize) * 0.5*_ratio.ratioY + Node306fontSize + 2 ]);
- Node306.a('node.underlinevisible',false);
- Node306.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node306);
- zoomNodeList.push({
- node: Node306,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node307type = 'rect';
- var Node307 = new ht.Node(),
- Node307BorderWidth = 1*2;
- if (Node307type === 'arc') {
- Node307BorderWidth *= 1;
- }
- Node307.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node307type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node307.setPosition(1284*ratio.ratioX, 78*ratio.ratioY);
- Node307.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node307.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node307.a('node.width', 65*_ratio.ratioX);
- Node307.a('node.height', 24.33138*_ratio.ratioY);
- Node307.a('node.type', Node307type);
- Node307.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node307.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node307.a('node.gradientcolor', '');
- Node307.a('node.gradient', '');
- Node307.a('node.borderwidth', Node307BorderWidth);
- Node307.a('node.color', 'rgba(224,224,224,1)');
- Node307.a('node.fillrect', [0,0,0,0]);
- Node307.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node307.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node307.a('node.fillgradient', '');
- if (Node307type !== 'rect') {
- Node307.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node307.a('node.arcTo', parseFloat('@arcTo@'));
- Node307.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node307type === 'arc') {
- Node307.a('node.arcOval', true);
- }
- Node307.setRotation(0*Math.PI/180);
- Node307.borderWidth = Node307BorderWidth;
- Node307.borderFillwidth = Node307BorderWidth;
- dataModel.add(Node307);
- Node307._nodename = 'Node307'
- Node307._nodeType = 'rect';
- zoomNodeList.push({
- node: Node307,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node307, Node307.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node308type = 'rect';
- var Node308 = new ht.Node(),
- Node308BorderWidth = 1*2;
- if (Node308type === 'arc') {
- Node308BorderWidth *= 1;
- }
- Node308.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node308type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node308.setPosition(1284*ratio.ratioX, 102*ratio.ratioY);
- Node308.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node308.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node308.a('node.width', 65*_ratio.ratioX);
- Node308.a('node.height', 24.33138*_ratio.ratioY);
- Node308.a('node.type', Node308type);
- Node308.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node308.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node308.a('node.gradientcolor', '');
- Node308.a('node.gradient', '');
- Node308.a('node.borderwidth', Node308BorderWidth);
- Node308.a('node.color', 'rgba(224,224,224,1)');
- Node308.a('node.fillrect', [0,0,0,0]);
- Node308.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node308.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node308.a('node.fillgradient', '');
- if (Node308type !== 'rect') {
- Node308.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node308.a('node.arcTo', parseFloat('@arcTo@'));
- Node308.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node308type === 'arc') {
- Node308.a('node.arcOval', true);
- }
- Node308.setRotation(0*Math.PI/180);
- Node308.borderWidth = Node308BorderWidth;
- Node308.borderFillwidth = Node308BorderWidth;
- dataModel.add(Node308);
- Node308._nodename = 'Node308'
- Node308._nodeType = 'rect';
- zoomNodeList.push({
- node: Node308,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node308, Node308.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node309type = 'rect';
- var Node309 = new ht.Node(),
- Node309BorderWidth = 1*2;
- if (Node309type === 'arc') {
- Node309BorderWidth *= 1;
- }
- Node309.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node309type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node309.setPosition(1284*ratio.ratioX, 127*ratio.ratioY);
- Node309.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node309.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node309.a('node.width', 65*_ratio.ratioX);
- Node309.a('node.height', 24.33136*_ratio.ratioY);
- Node309.a('node.type', Node309type);
- Node309.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node309.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node309.a('node.gradientcolor', '');
- Node309.a('node.gradient', '');
- Node309.a('node.borderwidth', Node309BorderWidth);
- Node309.a('node.color', 'rgba(224,224,224,1)');
- Node309.a('node.fillrect', [0,0,0,0]);
- Node309.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node309.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node309.a('node.fillgradient', '');
- if (Node309type !== 'rect') {
- Node309.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node309.a('node.arcTo', parseFloat('@arcTo@'));
- Node309.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node309type === 'arc') {
- Node309.a('node.arcOval', true);
- }
- Node309.setRotation(0*Math.PI/180);
- Node309.borderWidth = Node309BorderWidth;
- Node309.borderFillwidth = Node309BorderWidth;
- dataModel.add(Node309);
- Node309._nodename = 'Node309'
- Node309._nodeType = 'rect';
- zoomNodeList.push({
- node: Node309,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node309, Node309.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node310type = 'rect';
- var Node310 = new ht.Node(),
- Node310BorderWidth = 1*2;
- if (Node310type === 'arc') {
- Node310BorderWidth *= 1;
- }
- Node310.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node310type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node310.setPosition(1284*ratio.ratioX, 151*ratio.ratioY);
- Node310.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node310.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node310.a('node.width', 65*_ratio.ratioX);
- Node310.a('node.height', 24.33138*_ratio.ratioY);
- Node310.a('node.type', Node310type);
- Node310.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node310.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node310.a('node.gradientcolor', '');
- Node310.a('node.gradient', '');
- Node310.a('node.borderwidth', Node310BorderWidth);
- Node310.a('node.color', 'rgba(224,224,224,1)');
- Node310.a('node.fillrect', [0,0,0,0]);
- Node310.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node310.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node310.a('node.fillgradient', '');
- if (Node310type !== 'rect') {
- Node310.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node310.a('node.arcTo', parseFloat('@arcTo@'));
- Node310.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node310type === 'arc') {
- Node310.a('node.arcOval', true);
- }
- Node310.setRotation(0*Math.PI/180);
- Node310.borderWidth = Node310BorderWidth;
- Node310.borderFillwidth = Node310BorderWidth;
- dataModel.add(Node310);
- Node310._nodename = 'Node310'
- Node310._nodeType = 'rect';
- zoomNodeList.push({
- node: Node310,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node310, Node310.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node311 = new ht.Node();
- var Node311textStart, Node311textWidth, Node311lineStart, Node311align = 'center', Node311fontSize = 13.3333*_ratio.ratioY,Node311width = 59*_ratio.ratioX, Node311height = 26*_ratio.ratioY;
- (function () {
- if (Node311align === 'left') {
- Node311textStart = Node311fontSize * 0.2 > 2 ? Node311fontSize * 0.2 - 4 : Node311fontSize * 0.2 - 9;
- Node311textWidth = Node311width;
- Node311lineStart = 1;
- } else if (Node311align === 'right') {
- Node311textStart = 0;
- Node311textWidth =Node311fontSize <= 8 ? Node311width + Node311fontSize * 0.2 + 6 : Node311width - Node311fontSize * 0.2;
- Node311lineStart = (Node311width - (ht.Default.getTextSize('万kWh', ' '+ Node311fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node311align === 'center') {
- Node311textStart = -3;
- Node311textWidth = Node311width;
- Node311lineStart = Node311width - ht.Default.getTextSize('万kWh', ' '+ Node311fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node311.setImage(GD.getTextJSON(Node311width, Node311height, true, false, false, ' '+ Node311fontSize + 'px "Arial"'))
- Node311.setPosition(1285*ratio.ratioX, 56*ratio.ratioY);
- Node311.setWidth(Node311width);
- Node311.setHeight(Node311height);
- Node311._nodeType = 'text';
- Node311._disallowEvert = true;
- Node311.setRotation(0*Math.PI/180);
- Node311.a('node.width', Node311width);
- Node311.a('node.height', Node311height);
- Node311.a('node.rect', [0, 0, Node311width, Node311height]);
- Node311.a('node.bordercolor','rgba(128,128,128,1)');
- Node311.a('node.borderwidth', 0);
- Node311.a('node.background','' || 'rgba(0,0,0,0)');
- Node311.a('node.gradient','');
- Node311.a('node.gradientcolor','');
- Node311.a('node.text','万kWh');
- Node311.a('node.textalign','center');
- Node311.a('node.textvAlign','middle');
- Node311.a('node.textrect', [Node311textStart, 0, Node311textWidth, Node311height]);
- Node311.a('node.color','rgba(128,128,128,1)');
- Node311.a('node.font',' '+ Node311fontSize + 'px "Arial"');
- Node311.a('node.textvisible',true);
- Node311.a('node.linefeed',false);
- if (false) {
- Node311.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node311.a('node.text') || '万kWh';
- var color=Node311.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node311width,Node311height,13.3333*_ratio.ratioY,"center",color,' '+ Node311fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node311.a('node.underlinepoints',[Node311lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node311fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node311fontSize + 'px "Arial"').width + 6, (Node311height - Node311fontSize) * 0.5*_ratio.ratioY + Node311fontSize + 2 ]);
- Node311.a('node.underlinevisible',false);
- Node311.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node311);
- zoomNodeList.push({
- node: Node311,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node312 = new ht.Node();
- var Node312textStart, Node312textWidth, Node312lineStart, Node312align = 'center', Node312fontSize = 13.3333*_ratio.ratioY,Node312width = 59*_ratio.ratioX, Node312height = 26*_ratio.ratioY;
- (function () {
- if (Node312align === 'left') {
- Node312textStart = Node312fontSize * 0.2 > 2 ? Node312fontSize * 0.2 - 4 : Node312fontSize * 0.2 - 9;
- Node312textWidth = Node312width;
- Node312lineStart = 1;
- } else if (Node312align === 'right') {
- Node312textStart = 0;
- Node312textWidth =Node312fontSize <= 8 ? Node312width + Node312fontSize * 0.2 + 6 : Node312width - Node312fontSize * 0.2;
- Node312lineStart = (Node312width - (ht.Default.getTextSize('万kWh', ' '+ Node312fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node312align === 'center') {
- Node312textStart = -3;
- Node312textWidth = Node312width;
- Node312lineStart = Node312width - ht.Default.getTextSize('万kWh', ' '+ Node312fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node312.setImage(GD.getTextJSON(Node312width, Node312height, true, false, false, ' '+ Node312fontSize + 'px "Arial"'))
- Node312.setPosition(1285*ratio.ratioX, 80*ratio.ratioY);
- Node312.setWidth(Node312width);
- Node312.setHeight(Node312height);
- Node312._nodeType = 'text';
- Node312._disallowEvert = true;
- Node312.setRotation(0*Math.PI/180);
- Node312.a('node.width', Node312width);
- Node312.a('node.height', Node312height);
- Node312.a('node.rect', [0, 0, Node312width, Node312height]);
- Node312.a('node.bordercolor','rgba(128,128,128,1)');
- Node312.a('node.borderwidth', 0);
- Node312.a('node.background','' || 'rgba(0,0,0,0)');
- Node312.a('node.gradient','');
- Node312.a('node.gradientcolor','');
- Node312.a('node.text','万kWh');
- Node312.a('node.textalign','center');
- Node312.a('node.textvAlign','middle');
- Node312.a('node.textrect', [Node312textStart, 0, Node312textWidth, Node312height]);
- Node312.a('node.color','rgba(128,128,128,1)');
- Node312.a('node.font',' '+ Node312fontSize + 'px "Arial"');
- Node312.a('node.textvisible',true);
- Node312.a('node.linefeed',false);
- if (false) {
- Node312.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node312.a('node.text') || '万kWh';
- var color=Node312.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node312width,Node312height,13.3333*_ratio.ratioY,"center",color,' '+ Node312fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node312.a('node.underlinepoints',[Node312lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node312fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node312fontSize + 'px "Arial"').width + 6, (Node312height - Node312fontSize) * 0.5*_ratio.ratioY + Node312fontSize + 2 ]);
- Node312.a('node.underlinevisible',false);
- Node312.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node312);
- zoomNodeList.push({
- node: Node312,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node313 = new ht.Node();
- var Node313textStart, Node313textWidth, Node313lineStart, Node313align = 'center', Node313fontSize = 13.3333*_ratio.ratioY,Node313width = 59*_ratio.ratioX, Node313height = 26*_ratio.ratioY;
- (function () {
- if (Node313align === 'left') {
- Node313textStart = Node313fontSize * 0.2 > 2 ? Node313fontSize * 0.2 - 4 : Node313fontSize * 0.2 - 9;
- Node313textWidth = Node313width;
- Node313lineStart = 1;
- } else if (Node313align === 'right') {
- Node313textStart = 0;
- Node313textWidth =Node313fontSize <= 8 ? Node313width + Node313fontSize * 0.2 + 6 : Node313width - Node313fontSize * 0.2;
- Node313lineStart = (Node313width - (ht.Default.getTextSize('万kWh', ' '+ Node313fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node313align === 'center') {
- Node313textStart = -3;
- Node313textWidth = Node313width;
- Node313lineStart = Node313width - ht.Default.getTextSize('万kWh', ' '+ Node313fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node313.setImage(GD.getTextJSON(Node313width, Node313height, true, false, false, ' '+ Node313fontSize + 'px "Arial"'))
- Node313.setPosition(1285*ratio.ratioX, 103*ratio.ratioY);
- Node313.setWidth(Node313width);
- Node313.setHeight(Node313height);
- Node313._nodeType = 'text';
- Node313._disallowEvert = true;
- Node313.setRotation(0*Math.PI/180);
- Node313.a('node.width', Node313width);
- Node313.a('node.height', Node313height);
- Node313.a('node.rect', [0, 0, Node313width, Node313height]);
- Node313.a('node.bordercolor','rgba(128,128,128,1)');
- Node313.a('node.borderwidth', 0);
- Node313.a('node.background','' || 'rgba(0,0,0,0)');
- Node313.a('node.gradient','');
- Node313.a('node.gradientcolor','');
- Node313.a('node.text','万kWh');
- Node313.a('node.textalign','center');
- Node313.a('node.textvAlign','middle');
- Node313.a('node.textrect', [Node313textStart, 0, Node313textWidth, Node313height]);
- Node313.a('node.color','rgba(128,128,128,1)');
- Node313.a('node.font',' '+ Node313fontSize + 'px "Arial"');
- Node313.a('node.textvisible',true);
- Node313.a('node.linefeed',false);
- if (false) {
- Node313.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node313.a('node.text') || '万kWh';
- var color=Node313.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node313width,Node313height,13.3333*_ratio.ratioY,"center",color,' '+ Node313fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node313.a('node.underlinepoints',[Node313lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node313fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node313fontSize + 'px "Arial"').width + 6, (Node313height - Node313fontSize) * 0.5*_ratio.ratioY + Node313fontSize + 2 ]);
- Node313.a('node.underlinevisible',false);
- Node313.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node313);
- zoomNodeList.push({
- node: Node313,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node314 = new ht.Node();
- var Node314textStart, Node314textWidth, Node314lineStart, Node314align = 'center', Node314fontSize = 13.3333*_ratio.ratioY,Node314width = 59*_ratio.ratioX, Node314height = 26*_ratio.ratioY;
- (function () {
- if (Node314align === 'left') {
- Node314textStart = Node314fontSize * 0.2 > 2 ? Node314fontSize * 0.2 - 4 : Node314fontSize * 0.2 - 9;
- Node314textWidth = Node314width;
- Node314lineStart = 1;
- } else if (Node314align === 'right') {
- Node314textStart = 0;
- Node314textWidth =Node314fontSize <= 8 ? Node314width + Node314fontSize * 0.2 + 6 : Node314width - Node314fontSize * 0.2;
- Node314lineStart = (Node314width - (ht.Default.getTextSize('万kWh', ' '+ Node314fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node314align === 'center') {
- Node314textStart = -3;
- Node314textWidth = Node314width;
- Node314lineStart = Node314width - ht.Default.getTextSize('万kWh', ' '+ Node314fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node314.setImage(GD.getTextJSON(Node314width, Node314height, true, false, false, ' '+ Node314fontSize + 'px "Arial"'))
- Node314.setPosition(1285*ratio.ratioX, 129*ratio.ratioY);
- Node314.setWidth(Node314width);
- Node314.setHeight(Node314height);
- Node314._nodeType = 'text';
- Node314._disallowEvert = true;
- Node314.setRotation(0*Math.PI/180);
- Node314.a('node.width', Node314width);
- Node314.a('node.height', Node314height);
- Node314.a('node.rect', [0, 0, Node314width, Node314height]);
- Node314.a('node.bordercolor','rgba(128,128,128,1)');
- Node314.a('node.borderwidth', 0);
- Node314.a('node.background','' || 'rgba(0,0,0,0)');
- Node314.a('node.gradient','');
- Node314.a('node.gradientcolor','');
- Node314.a('node.text','万kWh');
- Node314.a('node.textalign','center');
- Node314.a('node.textvAlign','middle');
- Node314.a('node.textrect', [Node314textStart, 0, Node314textWidth, Node314height]);
- Node314.a('node.color','rgba(128,128,128,1)');
- Node314.a('node.font',' '+ Node314fontSize + 'px "Arial"');
- Node314.a('node.textvisible',true);
- Node314.a('node.linefeed',false);
- if (false) {
- Node314.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node314.a('node.text') || '万kWh';
- var color=Node314.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node314width,Node314height,13.3333*_ratio.ratioY,"center",color,' '+ Node314fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node314.a('node.underlinepoints',[Node314lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node314fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node314fontSize + 'px "Arial"').width + 6, (Node314height - Node314fontSize) * 0.5*_ratio.ratioY + Node314fontSize + 2 ]);
- Node314.a('node.underlinevisible',false);
- Node314.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node314);
- zoomNodeList.push({
- node: Node314,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node315 = new ht.Node();
- var Node315textStart, Node315textWidth, Node315lineStart, Node315align = 'center', Node315fontSize = 13.3333*_ratio.ratioY,Node315width = 59*_ratio.ratioX, Node315height = 26*_ratio.ratioY;
- (function () {
- if (Node315align === 'left') {
- Node315textStart = Node315fontSize * 0.2 > 2 ? Node315fontSize * 0.2 - 4 : Node315fontSize * 0.2 - 9;
- Node315textWidth = Node315width;
- Node315lineStart = 1;
- } else if (Node315align === 'right') {
- Node315textStart = 0;
- Node315textWidth =Node315fontSize <= 8 ? Node315width + Node315fontSize * 0.2 + 6 : Node315width - Node315fontSize * 0.2;
- Node315lineStart = (Node315width - (ht.Default.getTextSize('万kWh', ' '+ Node315fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node315align === 'center') {
- Node315textStart = -3;
- Node315textWidth = Node315width;
- Node315lineStart = Node315width - ht.Default.getTextSize('万kWh', ' '+ Node315fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node315.setImage(GD.getTextJSON(Node315width, Node315height, true, false, false, ' '+ Node315fontSize + 'px "Arial"'))
- Node315.setPosition(1285*ratio.ratioX, 153*ratio.ratioY);
- Node315.setWidth(Node315width);
- Node315.setHeight(Node315height);
- Node315._nodeType = 'text';
- Node315._disallowEvert = true;
- Node315.setRotation(0*Math.PI/180);
- Node315.a('node.width', Node315width);
- Node315.a('node.height', Node315height);
- Node315.a('node.rect', [0, 0, Node315width, Node315height]);
- Node315.a('node.bordercolor','rgba(128,128,128,1)');
- Node315.a('node.borderwidth', 0);
- Node315.a('node.background','' || 'rgba(0,0,0,0)');
- Node315.a('node.gradient','');
- Node315.a('node.gradientcolor','');
- Node315.a('node.text','万kWh');
- Node315.a('node.textalign','center');
- Node315.a('node.textvAlign','middle');
- Node315.a('node.textrect', [Node315textStart, 0, Node315textWidth, Node315height]);
- Node315.a('node.color','rgba(128,128,128,1)');
- Node315.a('node.font',' '+ Node315fontSize + 'px "Arial"');
- Node315.a('node.textvisible',true);
- Node315.a('node.linefeed',false);
- if (false) {
- Node315.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node315.a('node.text') || '万kWh';
- var color=Node315.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node315width,Node315height,13.3333*_ratio.ratioY,"center",color,' '+ Node315fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node315.a('node.underlinepoints',[Node315lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node315fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node315fontSize + 'px "Arial"').width + 6, (Node315height - Node315fontSize) * 0.5*_ratio.ratioY + Node315fontSize + 2 ]);
- Node315.a('node.underlinevisible',false);
- Node315.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node315);
- zoomNodeList.push({
- node: Node315,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node316 = new ht.Node();
- var Node316textStart, Node316textWidth, Node316lineStart, Node316align = 'left', Node316fontSize = 13.3333*_ratio.ratioY,Node316width = 67*_ratio.ratioX, Node316height = 26*_ratio.ratioY;
- (function () {
- if (Node316align === 'left') {
- Node316textStart = Node316fontSize * 0.2 > 2 ? Node316fontSize * 0.2 - 4 : Node316fontSize * 0.2 - 9;
- Node316textWidth = Node316width;
- Node316lineStart = 1;
- } else if (Node316align === 'right') {
- Node316textStart = 0;
- Node316textWidth =Node316fontSize <= 8 ? Node316width + Node316fontSize * 0.2 + 6 : Node316width - Node316fontSize * 0.2;
- Node316lineStart = (Node316width - (ht.Default.getTextSize('装机容量', ' '+ Node316fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node316align === 'center') {
- Node316textStart = -3;
- Node316textWidth = Node316width;
- Node316lineStart = Node316width - ht.Default.getTextSize('装机容量', ' '+ Node316fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node316.setImage(GD.getTextJSON(Node316width, Node316height, true, false, false, ' '+ Node316fontSize + 'px "微软雅黑"'))
- Node316.setPosition(230*ratio.ratioX, 55*ratio.ratioY);
- Node316.setWidth(Node316width);
- Node316.setHeight(Node316height);
- Node316._nodeType = 'text';
- Node316._disallowEvert = true;
- Node316.setRotation(0*Math.PI/180);
- Node316.a('node.width', Node316width);
- Node316.a('node.height', Node316height);
- Node316.a('node.rect', [0, 0, Node316width, Node316height]);
- Node316.a('node.bordercolor','rgba(0,0,0,1)');
- Node316.a('node.borderwidth', 0);
- Node316.a('node.background','' || 'rgba(0,0,0,0)');
- Node316.a('node.gradient','');
- Node316.a('node.gradientcolor','');
- Node316.a('node.text','装机容量');
- Node316.a('node.textalign','left');
- Node316.a('node.textvAlign','middle');
- Node316.a('node.textrect', [Node316textStart, 0, Node316textWidth, Node316height]);
- Node316.a('node.color','rgba(0,0,0,1)');
- Node316.a('node.font',' '+ Node316fontSize + 'px "微软雅黑"');
- Node316.a('node.textvisible',true);
- Node316.a('node.linefeed',false);
- if (false) {
- Node316.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node316.a('node.text') || '装机容量';
- var color=Node316.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node316width,Node316height,13.3333*_ratio.ratioY,"left",color,' '+ Node316fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node316.a('node.underlinepoints',[Node316lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node316fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node316fontSize + 'px "微软雅黑"').width + 6, (Node316height - Node316fontSize) * 0.5*_ratio.ratioY + Node316fontSize + 2 ]);
- Node316.a('node.underlinevisible',false);
- Node316.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node316);
- zoomNodeList.push({
- node: Node316,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node317type = 'rect';
- var Node317 = new ht.Node(),
- Node317BorderWidth = 1*2;
- if (Node317type === 'arc') {
- Node317BorderWidth *= 1;
- }
- Node317.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node317type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node317.setPosition(361*ratio.ratioX, 54*ratio.ratioY);
- Node317.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node317.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node317.a('node.width', 94*_ratio.ratioX);
- Node317.a('node.height', 24.33136*_ratio.ratioY);
- Node317.a('node.type', Node317type);
- Node317.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node317.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node317.a('node.gradientcolor', '');
- Node317.a('node.gradient', '');
- Node317.a('node.borderwidth', Node317BorderWidth);
- Node317.a('node.color', 'rgba(224,224,224,1)');
- Node317.a('node.fillrect', [0,0,0,0]);
- Node317.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node317.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node317.a('node.fillgradient', '');
- if (Node317type !== 'rect') {
- Node317.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node317.a('node.arcTo', parseFloat('@arcTo@'));
- Node317.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node317type === 'arc') {
- Node317.a('node.arcOval', true);
- }
- Node317.setRotation(0*Math.PI/180);
- Node317.borderWidth = Node317BorderWidth;
- Node317.borderFillwidth = Node317BorderWidth;
- dataModel.add(Node317);
- Node317._nodename = 'Node317'
- Node317._nodeType = 'rect';
- zoomNodeList.push({
- node: Node317,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node317, Node317.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node318type = 'rect';
- var Node318 = new ht.Node(),
- Node318BorderWidth = 1*2;
- if (Node318type === 'arc') {
- Node318BorderWidth *= 1;
- }
- Node318.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node318type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node318.setPosition(361*ratio.ratioX, 78*ratio.ratioY);
- Node318.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node318.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node318.a('node.width', 94*_ratio.ratioX);
- Node318.a('node.height', 24.33138*_ratio.ratioY);
- Node318.a('node.type', Node318type);
- Node318.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node318.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node318.a('node.gradientcolor', '');
- Node318.a('node.gradient', '');
- Node318.a('node.borderwidth', Node318BorderWidth);
- Node318.a('node.color', 'rgba(224,224,224,1)');
- Node318.a('node.fillrect', [0,0,0,0]);
- Node318.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node318.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node318.a('node.fillgradient', '');
- if (Node318type !== 'rect') {
- Node318.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node318.a('node.arcTo', parseFloat('@arcTo@'));
- Node318.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node318type === 'arc') {
- Node318.a('node.arcOval', true);
- }
- Node318.setRotation(0*Math.PI/180);
- Node318.borderWidth = Node318BorderWidth;
- Node318.borderFillwidth = Node318BorderWidth;
- dataModel.add(Node318);
- Node318._nodename = 'Node318'
- Node318._nodeType = 'rect';
- zoomNodeList.push({
- node: Node318,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node318, Node318.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node319type = 'rect';
- var Node319 = new ht.Node(),
- Node319BorderWidth = 1*2;
- if (Node319type === 'arc') {
- Node319BorderWidth *= 1;
- }
- Node319.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node319type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node319.setPosition(361*ratio.ratioX, 102*ratio.ratioY);
- Node319.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node319.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node319.a('node.width', 94*_ratio.ratioX);
- Node319.a('node.height', 24.33138*_ratio.ratioY);
- Node319.a('node.type', Node319type);
- Node319.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node319.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node319.a('node.gradientcolor', '');
- Node319.a('node.gradient', '');
- Node319.a('node.borderwidth', Node319BorderWidth);
- Node319.a('node.color', 'rgba(224,224,224,1)');
- Node319.a('node.fillrect', [0,0,0,0]);
- Node319.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node319.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node319.a('node.fillgradient', '');
- if (Node319type !== 'rect') {
- Node319.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node319.a('node.arcTo', parseFloat('@arcTo@'));
- Node319.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node319type === 'arc') {
- Node319.a('node.arcOval', true);
- }
- Node319.setRotation(0*Math.PI/180);
- Node319.borderWidth = Node319BorderWidth;
- Node319.borderFillwidth = Node319BorderWidth;
- dataModel.add(Node319);
- Node319._nodename = 'Node319'
- Node319._nodeType = 'rect';
- zoomNodeList.push({
- node: Node319,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node319, Node319.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node320type = 'rect';
- var Node320 = new ht.Node(),
- Node320BorderWidth = 1*2;
- if (Node320type === 'arc') {
- Node320BorderWidth *= 1;
- }
- Node320.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node320type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node320.setPosition(361*ratio.ratioX, 127*ratio.ratioY);
- Node320.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node320.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node320.a('node.width', 94*_ratio.ratioX);
- Node320.a('node.height', 24.33136*_ratio.ratioY);
- Node320.a('node.type', Node320type);
- Node320.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node320.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node320.a('node.gradientcolor', '');
- Node320.a('node.gradient', '');
- Node320.a('node.borderwidth', Node320BorderWidth);
- Node320.a('node.color', 'rgba(224,224,224,1)');
- Node320.a('node.fillrect', [0,0,0,0]);
- Node320.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node320.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node320.a('node.fillgradient', '');
- if (Node320type !== 'rect') {
- Node320.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node320.a('node.arcTo', parseFloat('@arcTo@'));
- Node320.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node320type === 'arc') {
- Node320.a('node.arcOval', true);
- }
- Node320.setRotation(0*Math.PI/180);
- Node320.borderWidth = Node320BorderWidth;
- Node320.borderFillwidth = Node320BorderWidth;
- dataModel.add(Node320);
- Node320._nodename = 'Node320'
- Node320._nodeType = 'rect';
- zoomNodeList.push({
- node: Node320,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node320, Node320.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node321type = 'rect';
- var Node321 = new ht.Node(),
- Node321BorderWidth = 1*2;
- if (Node321type === 'arc') {
- Node321BorderWidth *= 1;
- }
- Node321.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node321type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node321.setPosition(361*ratio.ratioX, 151*ratio.ratioY);
- Node321.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node321.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node321.a('node.width', 94*_ratio.ratioX);
- Node321.a('node.height', 24.33138*_ratio.ratioY);
- Node321.a('node.type', Node321type);
- Node321.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node321.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node321.a('node.gradientcolor', '');
- Node321.a('node.gradient', '');
- Node321.a('node.borderwidth', Node321BorderWidth);
- Node321.a('node.color', 'rgba(224,224,224,1)');
- Node321.a('node.fillrect', [0,0,0,0]);
- Node321.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node321.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node321.a('node.fillgradient', '');
- if (Node321type !== 'rect') {
- Node321.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node321.a('node.arcTo', parseFloat('@arcTo@'));
- Node321.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node321type === 'arc') {
- Node321.a('node.arcOval', true);
- }
- Node321.setRotation(0*Math.PI/180);
- Node321.borderWidth = Node321BorderWidth;
- Node321.borderFillwidth = Node321BorderWidth;
- dataModel.add(Node321);
- Node321._nodename = 'Node321'
- Node321._nodeType = 'rect';
- zoomNodeList.push({
- node: Node321,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node321, Node321.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node322 = new ht.Node();
- var Node322textStart, Node322textWidth, Node322lineStart, Node322align = 'center', Node322fontSize = 13.3333*_ratio.ratioY,Node322width = 58*_ratio.ratioX, Node322height = 26*_ratio.ratioY;
- (function () {
- if (Node322align === 'left') {
- Node322textStart = Node322fontSize * 0.2 > 2 ? Node322fontSize * 0.2 - 4 : Node322fontSize * 0.2 - 9;
- Node322textWidth = Node322width;
- Node322lineStart = 1;
- } else if (Node322align === 'right') {
- Node322textStart = 0;
- Node322textWidth =Node322fontSize <= 8 ? Node322width + Node322fontSize * 0.2 + 6 : Node322width - Node322fontSize * 0.2;
- Node322lineStart = (Node322width - (ht.Default.getTextSize('0', ' '+ Node322fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node322align === 'center') {
- Node322textStart = -3;
- Node322textWidth = Node322width;
- Node322lineStart = Node322width - ht.Default.getTextSize('0', ' '+ Node322fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, ' '+ Node322fontSize + 'px "Arial"'))
- Node322.setPosition(361*ratio.ratioX, 56*ratio.ratioY);
- Node322.setWidth(Node322width);
- Node322.setHeight(Node322height);
- Node322._nodeType = 'text';
- Node322._disallowEvert = true;
- Node322.setRotation(0*Math.PI/180);
- Node322.a('node.width', Node322width);
- Node322.a('node.height', Node322height);
- Node322.a('node.rect', [0, 0, Node322width, Node322height]);
- Node322.a('node.bordercolor','rgba(0,0,0,1)');
- Node322.a('node.borderwidth', 0);
- Node322.a('node.background','' || 'rgba(0,0,0,0)');
- Node322.a('node.gradient','');
- Node322.a('node.gradientcolor','');
- Node322.a('node.text','0');
- Node322.a('node.textalign','center');
- Node322.a('node.textvAlign','middle');
- Node322.a('node.textrect', [Node322textStart, 0, Node322textWidth, Node322height]);
- Node322.a('node.color','rgba(0,0,0,1)');
- Node322.a('node.font',' '+ Node322fontSize + 'px "Arial"');
- Node322.a('node.textvisible',true);
- Node322.a('node.linefeed',false);
- if (false) {
- Node322.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node322.a('node.text') || '0';
- var color=Node322.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node322width,Node322height,13.3333*_ratio.ratioY,"center",color,' '+ Node322fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node322.a('node.underlinepoints',[Node322lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node322fontSize + 'px "Arial"').width + 6, (Node322height - Node322fontSize) * 0.5*_ratio.ratioY + Node322fontSize + 2 ]);
- Node322.a('node.underlinevisible',false);
- Node322.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node322);
- zoomNodeList.push({
- node: Node322,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node323 = new ht.Node();
- var Node323textStart, Node323textWidth, Node323lineStart, Node323align = 'center', Node323fontSize = 13.3333*_ratio.ratioY,Node323width = 58*_ratio.ratioX, Node323height = 26*_ratio.ratioY;
- (function () {
- if (Node323align === 'left') {
- Node323textStart = Node323fontSize * 0.2 > 2 ? Node323fontSize * 0.2 - 4 : Node323fontSize * 0.2 - 9;
- Node323textWidth = Node323width;
- Node323lineStart = 1;
- } else if (Node323align === 'right') {
- Node323textStart = 0;
- Node323textWidth =Node323fontSize <= 8 ? Node323width + Node323fontSize * 0.2 + 6 : Node323width - Node323fontSize * 0.2;
- Node323lineStart = (Node323width - (ht.Default.getTextSize('0', ' '+ Node323fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node323align === 'center') {
- Node323textStart = -3;
- Node323textWidth = Node323width;
- Node323lineStart = Node323width - ht.Default.getTextSize('0', ' '+ Node323fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node323.setImage(GD.getTextJSON(Node323width, Node323height, true, false, false, ' '+ Node323fontSize + 'px "Arial"'))
- Node323.setPosition(361*ratio.ratioX, 80*ratio.ratioY);
- Node323.setWidth(Node323width);
- Node323.setHeight(Node323height);
- Node323._nodeType = 'text';
- Node323._disallowEvert = true;
- Node323.setRotation(0*Math.PI/180);
- Node323.a('node.width', Node323width);
- Node323.a('node.height', Node323height);
- Node323.a('node.rect', [0, 0, Node323width, Node323height]);
- Node323.a('node.bordercolor','rgba(0,0,0,1)');
- Node323.a('node.borderwidth', 0);
- Node323.a('node.background','' || 'rgba(0,0,0,0)');
- Node323.a('node.gradient','');
- Node323.a('node.gradientcolor','');
- Node323.a('node.text','0');
- Node323.a('node.textalign','center');
- Node323.a('node.textvAlign','middle');
- Node323.a('node.textrect', [Node323textStart, 0, Node323textWidth, Node323height]);
- Node323.a('node.color','rgba(0,0,0,1)');
- Node323.a('node.font',' '+ Node323fontSize + 'px "Arial"');
- Node323.a('node.textvisible',true);
- Node323.a('node.linefeed',false);
- if (false) {
- Node323.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node323.a('node.text') || '0';
- var color=Node323.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node323width,Node323height,13.3333*_ratio.ratioY,"center",color,' '+ Node323fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node323.a('node.underlinepoints',[Node323lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node323fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node323fontSize + 'px "Arial"').width + 6, (Node323height - Node323fontSize) * 0.5*_ratio.ratioY + Node323fontSize + 2 ]);
- Node323.a('node.underlinevisible',false);
- Node323.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node323);
- zoomNodeList.push({
- node: Node323,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node324 = new ht.Node();
- var Node324textStart, Node324textWidth, Node324lineStart, Node324align = 'center', Node324fontSize = 13.3333*_ratio.ratioY,Node324width = 58*_ratio.ratioX, Node324height = 26*_ratio.ratioY;
- (function () {
- if (Node324align === 'left') {
- Node324textStart = Node324fontSize * 0.2 > 2 ? Node324fontSize * 0.2 - 4 : Node324fontSize * 0.2 - 9;
- Node324textWidth = Node324width;
- Node324lineStart = 1;
- } else if (Node324align === 'right') {
- Node324textStart = 0;
- Node324textWidth =Node324fontSize <= 8 ? Node324width + Node324fontSize * 0.2 + 6 : Node324width - Node324fontSize * 0.2;
- Node324lineStart = (Node324width - (ht.Default.getTextSize('0', ' '+ Node324fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node324align === 'center') {
- Node324textStart = -3;
- Node324textWidth = Node324width;
- Node324lineStart = Node324width - ht.Default.getTextSize('0', ' '+ Node324fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "Arial"'))
- Node324.setPosition(361*ratio.ratioX, 105*ratio.ratioY);
- Node324.setWidth(Node324width);
- Node324.setHeight(Node324height);
- Node324._nodeType = 'text';
- Node324._disallowEvert = true;
- Node324.setRotation(0*Math.PI/180);
- Node324.a('node.width', Node324width);
- Node324.a('node.height', Node324height);
- Node324.a('node.rect', [0, 0, Node324width, Node324height]);
- Node324.a('node.bordercolor','rgba(0,0,0,1)');
- Node324.a('node.borderwidth', 0);
- Node324.a('node.background','' || 'rgba(0,0,0,0)');
- Node324.a('node.gradient','');
- Node324.a('node.gradientcolor','');
- Node324.a('node.text','0');
- Node324.a('node.textalign','center');
- Node324.a('node.textvAlign','middle');
- Node324.a('node.textrect', [Node324textStart, 0, Node324textWidth, Node324height]);
- Node324.a('node.color','rgba(0,0,0,1)');
- Node324.a('node.font',' '+ Node324fontSize + 'px "Arial"');
- Node324.a('node.textvisible',true);
- Node324.a('node.linefeed',false);
- if (false) {
- Node324.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node324.a('node.text') || '0';
- var color=Node324.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node324width,Node324height,13.3333*_ratio.ratioY,"center",color,' '+ Node324fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node324.a('node.underlinepoints',[Node324lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node324fontSize + 'px "Arial"').width + 6, (Node324height - Node324fontSize) * 0.5*_ratio.ratioY + Node324fontSize + 2 ]);
- Node324.a('node.underlinevisible',false);
- Node324.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node324);
- zoomNodeList.push({
- node: Node324,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node325 = new ht.Node();
- var Node325textStart, Node325textWidth, Node325lineStart, Node325align = 'center', Node325fontSize = 13.3333*_ratio.ratioY,Node325width = 58*_ratio.ratioX, Node325height = 26*_ratio.ratioY;
- (function () {
- if (Node325align === 'left') {
- Node325textStart = Node325fontSize * 0.2 > 2 ? Node325fontSize * 0.2 - 4 : Node325fontSize * 0.2 - 9;
- Node325textWidth = Node325width;
- Node325lineStart = 1;
- } else if (Node325align === 'right') {
- Node325textStart = 0;
- Node325textWidth =Node325fontSize <= 8 ? Node325width + Node325fontSize * 0.2 + 6 : Node325width - Node325fontSize * 0.2;
- Node325lineStart = (Node325width - (ht.Default.getTextSize('0', ' '+ Node325fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node325align === 'center') {
- Node325textStart = -3;
- Node325textWidth = Node325width;
- Node325lineStart = Node325width - ht.Default.getTextSize('0', ' '+ Node325fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node325.setImage(GD.getTextJSON(Node325width, Node325height, true, false, false, ' '+ Node325fontSize + 'px "Arial"'))
- Node325.setPosition(361*ratio.ratioX, 128*ratio.ratioY);
- Node325.setWidth(Node325width);
- Node325.setHeight(Node325height);
- Node325._nodeType = 'text';
- Node325._disallowEvert = true;
- Node325.setRotation(0*Math.PI/180);
- Node325.a('node.width', Node325width);
- Node325.a('node.height', Node325height);
- Node325.a('node.rect', [0, 0, Node325width, Node325height]);
- Node325.a('node.bordercolor','rgba(0,0,0,1)');
- Node325.a('node.borderwidth', 0);
- Node325.a('node.background','' || 'rgba(0,0,0,0)');
- Node325.a('node.gradient','');
- Node325.a('node.gradientcolor','');
- Node325.a('node.text','0');
- Node325.a('node.textalign','center');
- Node325.a('node.textvAlign','middle');
- Node325.a('node.textrect', [Node325textStart, 0, Node325textWidth, Node325height]);
- Node325.a('node.color','rgba(0,0,0,1)');
- Node325.a('node.font',' '+ Node325fontSize + 'px "Arial"');
- Node325.a('node.textvisible',true);
- Node325.a('node.linefeed',false);
- if (false) {
- Node325.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node325.a('node.text') || '0';
- var color=Node325.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node325width,Node325height,13.3333*_ratio.ratioY,"center",color,' '+ Node325fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node325.a('node.underlinepoints',[Node325lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node325fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node325fontSize + 'px "Arial"').width + 6, (Node325height - Node325fontSize) * 0.5*_ratio.ratioY + Node325fontSize + 2 ]);
- Node325.a('node.underlinevisible',false);
- Node325.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node325);
- zoomNodeList.push({
- node: Node325,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node326 = new ht.Node();
- var Node326textStart, Node326textWidth, Node326lineStart, Node326align = 'center', Node326fontSize = 13.3333*_ratio.ratioY,Node326width = 58*_ratio.ratioX, Node326height = 26*_ratio.ratioY;
- (function () {
- if (Node326align === 'left') {
- Node326textStart = Node326fontSize * 0.2 > 2 ? Node326fontSize * 0.2 - 4 : Node326fontSize * 0.2 - 9;
- Node326textWidth = Node326width;
- Node326lineStart = 1;
- } else if (Node326align === 'right') {
- Node326textStart = 0;
- Node326textWidth =Node326fontSize <= 8 ? Node326width + Node326fontSize * 0.2 + 6 : Node326width - Node326fontSize * 0.2;
- Node326lineStart = (Node326width - (ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node326align === 'center') {
- Node326textStart = -3;
- Node326textWidth = Node326width;
- Node326lineStart = Node326width - ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node326.setImage(GD.getTextJSON(Node326width, Node326height, true, false, false, ' '+ Node326fontSize + 'px "Arial"'))
- Node326.setPosition(361*ratio.ratioX, 152*ratio.ratioY);
- Node326.setWidth(Node326width);
- Node326.setHeight(Node326height);
- Node326._nodeType = 'text';
- Node326._disallowEvert = true;
- Node326.setRotation(0*Math.PI/180);
- Node326.a('node.width', Node326width);
- Node326.a('node.height', Node326height);
- Node326.a('node.rect', [0, 0, Node326width, Node326height]);
- Node326.a('node.bordercolor','rgba(0,0,0,1)');
- Node326.a('node.borderwidth', 0);
- Node326.a('node.background','' || 'rgba(0,0,0,0)');
- Node326.a('node.gradient','');
- Node326.a('node.gradientcolor','');
- Node326.a('node.text','0');
- Node326.a('node.textalign','center');
- Node326.a('node.textvAlign','middle');
- Node326.a('node.textrect', [Node326textStart, 0, Node326textWidth, Node326height]);
- Node326.a('node.color','rgba(0,0,0,1)');
- Node326.a('node.font',' '+ Node326fontSize + 'px "Arial"');
- Node326.a('node.textvisible',true);
- Node326.a('node.linefeed',false);
- if (false) {
- Node326.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node326.a('node.text') || '0';
- var color=Node326.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node326width,Node326height,13.3333*_ratio.ratioY,"center",color,' '+ Node326fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node326.a('node.underlinepoints',[Node326lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node326fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "Arial"').width + 6, (Node326height - Node326fontSize) * 0.5*_ratio.ratioY + Node326fontSize + 2 ]);
- Node326.a('node.underlinevisible',false);
- Node326.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node326);
- zoomNodeList.push({
- node: Node326,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node327type = 'rect';
- var Node327 = new ht.Node(),
- Node327BorderWidth = 1*2;
- if (Node327type === 'arc') {
- Node327BorderWidth *= 1;
- }
- Node327.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node327type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node327.setPosition(440*ratio.ratioX, 54*ratio.ratioY);
- Node327.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node327.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node327.a('node.width', 65*_ratio.ratioX);
- Node327.a('node.height', 24.33136*_ratio.ratioY);
- Node327.a('node.type', Node327type);
- Node327.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node327.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node327.a('node.gradientcolor', '');
- Node327.a('node.gradient', '');
- Node327.a('node.borderwidth', Node327BorderWidth);
- Node327.a('node.color', 'rgba(224,224,224,1)');
- Node327.a('node.fillrect', [0,0,0,0]);
- Node327.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node327.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node327.a('node.fillgradient', '');
- if (Node327type !== 'rect') {
- Node327.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node327.a('node.arcTo', parseFloat('@arcTo@'));
- Node327.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node327type === 'arc') {
- Node327.a('node.arcOval', true);
- }
- Node327.setRotation(0*Math.PI/180);
- Node327.borderWidth = Node327BorderWidth;
- Node327.borderFillwidth = Node327BorderWidth;
- dataModel.add(Node327);
- Node327._nodename = 'Node327'
- Node327._nodeType = 'rect';
- zoomNodeList.push({
- node: Node327,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node327, Node327.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node328type = 'rect';
- var Node328 = new ht.Node(),
- Node328BorderWidth = 1*2;
- if (Node328type === 'arc') {
- Node328BorderWidth *= 1;
- }
- Node328.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node328type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node328.setPosition(440*ratio.ratioX, 78*ratio.ratioY);
- Node328.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node328.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node328.a('node.width', 65*_ratio.ratioX);
- Node328.a('node.height', 24.33138*_ratio.ratioY);
- Node328.a('node.type', Node328type);
- Node328.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node328.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node328.a('node.gradientcolor', '');
- Node328.a('node.gradient', '');
- Node328.a('node.borderwidth', Node328BorderWidth);
- Node328.a('node.color', 'rgba(224,224,224,1)');
- Node328.a('node.fillrect', [0,0,0,0]);
- Node328.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node328.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node328.a('node.fillgradient', '');
- if (Node328type !== 'rect') {
- Node328.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node328.a('node.arcTo', parseFloat('@arcTo@'));
- Node328.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node328type === 'arc') {
- Node328.a('node.arcOval', true);
- }
- Node328.setRotation(0*Math.PI/180);
- Node328.borderWidth = Node328BorderWidth;
- Node328.borderFillwidth = Node328BorderWidth;
- dataModel.add(Node328);
- Node328._nodename = 'Node328'
- Node328._nodeType = 'rect';
- zoomNodeList.push({
- node: Node328,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node328, Node328.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node329type = 'rect';
- var Node329 = new ht.Node(),
- Node329BorderWidth = 1*2;
- if (Node329type === 'arc') {
- Node329BorderWidth *= 1;
- }
- Node329.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node329type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node329.setPosition(440*ratio.ratioX, 102*ratio.ratioY);
- Node329.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node329.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node329.a('node.width', 65*_ratio.ratioX);
- Node329.a('node.height', 24.33138*_ratio.ratioY);
- Node329.a('node.type', Node329type);
- Node329.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node329.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node329.a('node.gradientcolor', '');
- Node329.a('node.gradient', '');
- Node329.a('node.borderwidth', Node329BorderWidth);
- Node329.a('node.color', 'rgba(224,224,224,1)');
- Node329.a('node.fillrect', [0,0,0,0]);
- Node329.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node329.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node329.a('node.fillgradient', '');
- if (Node329type !== 'rect') {
- Node329.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node329.a('node.arcTo', parseFloat('@arcTo@'));
- Node329.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node329type === 'arc') {
- Node329.a('node.arcOval', true);
- }
- Node329.setRotation(0*Math.PI/180);
- Node329.borderWidth = Node329BorderWidth;
- Node329.borderFillwidth = Node329BorderWidth;
- dataModel.add(Node329);
- Node329._nodename = 'Node329'
- Node329._nodeType = 'rect';
- zoomNodeList.push({
- node: Node329,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node329, Node329.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node330type = 'rect';
- var Node330 = new ht.Node(),
- Node330BorderWidth = 1*2;
- if (Node330type === 'arc') {
- Node330BorderWidth *= 1;
- }
- Node330.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node330type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node330.setPosition(440*ratio.ratioX, 127*ratio.ratioY);
- Node330.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node330.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node330.a('node.width', 65*_ratio.ratioX);
- Node330.a('node.height', 24.33136*_ratio.ratioY);
- Node330.a('node.type', Node330type);
- Node330.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node330.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node330.a('node.gradientcolor', '');
- Node330.a('node.gradient', '');
- Node330.a('node.borderwidth', Node330BorderWidth);
- Node330.a('node.color', 'rgba(224,224,224,1)');
- Node330.a('node.fillrect', [0,0,0,0]);
- Node330.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node330.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node330.a('node.fillgradient', '');
- if (Node330type !== 'rect') {
- Node330.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node330.a('node.arcTo', parseFloat('@arcTo@'));
- Node330.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node330type === 'arc') {
- Node330.a('node.arcOval', true);
- }
- Node330.setRotation(0*Math.PI/180);
- Node330.borderWidth = Node330BorderWidth;
- Node330.borderFillwidth = Node330BorderWidth;
- dataModel.add(Node330);
- Node330._nodename = 'Node330'
- Node330._nodeType = 'rect';
- zoomNodeList.push({
- node: Node330,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node330, Node330.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node331type = 'rect';
- var Node331 = new ht.Node(),
- Node331BorderWidth = 1*2;
- if (Node331type === 'arc') {
- Node331BorderWidth *= 1;
- }
- Node331.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node331type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node331.setPosition(440*ratio.ratioX, 151*ratio.ratioY);
- Node331.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node331.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node331.a('node.width', 65*_ratio.ratioX);
- Node331.a('node.height', 24.33138*_ratio.ratioY);
- Node331.a('node.type', Node331type);
- Node331.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node331.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node331.a('node.gradientcolor', '');
- Node331.a('node.gradient', '');
- Node331.a('node.borderwidth', Node331BorderWidth);
- Node331.a('node.color', 'rgba(224,224,224,1)');
- Node331.a('node.fillrect', [0,0,0,0]);
- Node331.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node331.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node331.a('node.fillgradient', '');
- if (Node331type !== 'rect') {
- Node331.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node331.a('node.arcTo', parseFloat('@arcTo@'));
- Node331.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node331type === 'arc') {
- Node331.a('node.arcOval', true);
- }
- Node331.setRotation(0*Math.PI/180);
- Node331.borderWidth = Node331BorderWidth;
- Node331.borderFillwidth = Node331BorderWidth;
- dataModel.add(Node331);
- Node331._nodename = 'Node331'
- Node331._nodeType = 'rect';
- zoomNodeList.push({
- node: Node331,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node331, Node331.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node332 = new ht.Node();
- var Node332textStart, Node332textWidth, Node332lineStart, Node332align = 'center', Node332fontSize = 13.3333*_ratio.ratioY,Node332width = 59*_ratio.ratioX, Node332height = 26*_ratio.ratioY;
- (function () {
- if (Node332align === 'left') {
- Node332textStart = Node332fontSize * 0.2 > 2 ? Node332fontSize * 0.2 - 4 : Node332fontSize * 0.2 - 9;
- Node332textWidth = Node332width;
- Node332lineStart = 1;
- } else if (Node332align === 'right') {
- Node332textStart = 0;
- Node332textWidth =Node332fontSize <= 8 ? Node332width + Node332fontSize * 0.2 + 6 : Node332width - Node332fontSize * 0.2;
- Node332lineStart = (Node332width - (ht.Default.getTextSize('万kW', ' '+ Node332fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node332align === 'center') {
- Node332textStart = -3;
- Node332textWidth = Node332width;
- Node332lineStart = Node332width - ht.Default.getTextSize('万kW', ' '+ Node332fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node332.setImage(GD.getTextJSON(Node332width, Node332height, true, false, false, ' '+ Node332fontSize + 'px "Arial"'))
- Node332.setPosition(441*ratio.ratioX, 56*ratio.ratioY);
- Node332.setWidth(Node332width);
- Node332.setHeight(Node332height);
- Node332._nodeType = 'text';
- Node332._disallowEvert = true;
- Node332.setRotation(0*Math.PI/180);
- Node332.a('node.width', Node332width);
- Node332.a('node.height', Node332height);
- Node332.a('node.rect', [0, 0, Node332width, Node332height]);
- Node332.a('node.bordercolor','rgba(128,128,128,1)');
- Node332.a('node.borderwidth', 0);
- Node332.a('node.background','' || 'rgba(0,0,0,0)');
- Node332.a('node.gradient','');
- Node332.a('node.gradientcolor','');
- Node332.a('node.text','万kW');
- Node332.a('node.textalign','center');
- Node332.a('node.textvAlign','middle');
- Node332.a('node.textrect', [Node332textStart, 0, Node332textWidth, Node332height]);
- Node332.a('node.color','rgba(128,128,128,1)');
- Node332.a('node.font',' '+ Node332fontSize + 'px "Arial"');
- Node332.a('node.textvisible',true);
- Node332.a('node.linefeed',false);
- if (false) {
- Node332.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node332.a('node.text') || '万kW';
- var color=Node332.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node332width,Node332height,13.3333*_ratio.ratioY,"center",color,' '+ Node332fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node332.a('node.underlinepoints',[Node332lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node332fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node332fontSize + 'px "Arial"').width + 6, (Node332height - Node332fontSize) * 0.5*_ratio.ratioY + Node332fontSize + 2 ]);
- Node332.a('node.underlinevisible',false);
- Node332.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node332);
- zoomNodeList.push({
- node: Node332,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node333 = new ht.Node();
- var Node333textStart, Node333textWidth, Node333lineStart, Node333align = 'center', Node333fontSize = 13.3333*_ratio.ratioY,Node333width = 59*_ratio.ratioX, Node333height = 26*_ratio.ratioY;
- (function () {
- if (Node333align === 'left') {
- Node333textStart = Node333fontSize * 0.2 > 2 ? Node333fontSize * 0.2 - 4 : Node333fontSize * 0.2 - 9;
- Node333textWidth = Node333width;
- Node333lineStart = 1;
- } else if (Node333align === 'right') {
- Node333textStart = 0;
- Node333textWidth =Node333fontSize <= 8 ? Node333width + Node333fontSize * 0.2 + 6 : Node333width - Node333fontSize * 0.2;
- Node333lineStart = (Node333width - (ht.Default.getTextSize('MW', ' '+ Node333fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node333align === 'center') {
- Node333textStart = -3;
- Node333textWidth = Node333width;
- Node333lineStart = Node333width - ht.Default.getTextSize('MW', ' '+ Node333fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node333.setImage(GD.getTextJSON(Node333width, Node333height, true, false, false, ' '+ Node333fontSize + 'px "Arial"'))
- Node333.setPosition(441*ratio.ratioX, 80*ratio.ratioY);
- Node333.setWidth(Node333width);
- Node333.setHeight(Node333height);
- Node333._nodeType = 'text';
- Node333._disallowEvert = true;
- Node333.setRotation(0*Math.PI/180);
- Node333.a('node.width', Node333width);
- Node333.a('node.height', Node333height);
- Node333.a('node.rect', [0, 0, Node333width, Node333height]);
- Node333.a('node.bordercolor','rgba(128,128,128,1)');
- Node333.a('node.borderwidth', 0);
- Node333.a('node.background','' || 'rgba(0,0,0,0)');
- Node333.a('node.gradient','');
- Node333.a('node.gradientcolor','');
- Node333.a('node.text','MW');
- Node333.a('node.textalign','center');
- Node333.a('node.textvAlign','middle');
- Node333.a('node.textrect', [Node333textStart, 0, Node333textWidth, Node333height]);
- Node333.a('node.color','rgba(128,128,128,1)');
- Node333.a('node.font',' '+ Node333fontSize + 'px "Arial"');
- Node333.a('node.textvisible',true);
- Node333.a('node.linefeed',false);
- if (false) {
- Node333.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node333.a('node.text') || 'MW';
- var color=Node333.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node333width,Node333height,13.3333*_ratio.ratioY,"center",color,' '+ Node333fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node333.a('node.underlinepoints',[Node333lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node333fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node333fontSize + 'px "Arial"').width + 6, (Node333height - Node333fontSize) * 0.5*_ratio.ratioY + Node333fontSize + 2 ]);
- Node333.a('node.underlinevisible',false);
- Node333.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node333);
- zoomNodeList.push({
- node: Node333,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node334 = new ht.Node();
- var Node334textStart, Node334textWidth, Node334lineStart, Node334align = 'center', Node334fontSize = 13.3333*_ratio.ratioY,Node334width = 59*_ratio.ratioX, Node334height = 26*_ratio.ratioY;
- (function () {
- if (Node334align === 'left') {
- Node334textStart = Node334fontSize * 0.2 > 2 ? Node334fontSize * 0.2 - 4 : Node334fontSize * 0.2 - 9;
- Node334textWidth = Node334width;
- Node334lineStart = 1;
- } else if (Node334align === 'right') {
- Node334textStart = 0;
- Node334textWidth =Node334fontSize <= 8 ? Node334width + Node334fontSize * 0.2 + 6 : Node334width - Node334fontSize * 0.2;
- Node334lineStart = (Node334width - (ht.Default.getTextSize('m/s', ' '+ Node334fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node334align === 'center') {
- Node334textStart = -3;
- Node334textWidth = Node334width;
- Node334lineStart = Node334width - ht.Default.getTextSize('m/s', ' '+ Node334fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node334.setImage(GD.getTextJSON(Node334width, Node334height, true, false, false, ' '+ Node334fontSize + 'px "Arial"'))
- Node334.setPosition(441*ratio.ratioX, 103*ratio.ratioY);
- Node334.setWidth(Node334width);
- Node334.setHeight(Node334height);
- Node334._nodeType = 'text';
- Node334._disallowEvert = true;
- Node334.setRotation(0*Math.PI/180);
- Node334.a('node.width', Node334width);
- Node334.a('node.height', Node334height);
- Node334.a('node.rect', [0, 0, Node334width, Node334height]);
- Node334.a('node.bordercolor','rgba(128,128,128,1)');
- Node334.a('node.borderwidth', 0);
- Node334.a('node.background','' || 'rgba(0,0,0,0)');
- Node334.a('node.gradient','');
- Node334.a('node.gradientcolor','');
- Node334.a('node.text','m/s');
- Node334.a('node.textalign','center');
- Node334.a('node.textvAlign','middle');
- Node334.a('node.textrect', [Node334textStart, 0, Node334textWidth, Node334height]);
- Node334.a('node.color','rgba(128,128,128,1)');
- Node334.a('node.font',' '+ Node334fontSize + 'px "Arial"');
- Node334.a('node.textvisible',true);
- Node334.a('node.linefeed',false);
- if (false) {
- Node334.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node334.a('node.text') || 'm/s';
- var color=Node334.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node334width,Node334height,13.3333*_ratio.ratioY,"center",color,' '+ Node334fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node334.a('node.underlinepoints',[Node334lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node334fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node334fontSize + 'px "Arial"').width + 6, (Node334height - Node334fontSize) * 0.5*_ratio.ratioY + Node334fontSize + 2 ]);
- Node334.a('node.underlinevisible',false);
- Node334.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node334);
- zoomNodeList.push({
- node: Node334,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node335 = new ht.Node();
- var Node335textStart, Node335textWidth, Node335lineStart, Node335align = 'center', Node335fontSize = 13.3333*_ratio.ratioY,Node335width = 59*_ratio.ratioX, Node335height = 26*_ratio.ratioY;
- (function () {
- if (Node335align === 'left') {
- Node335textStart = Node335fontSize * 0.2 > 2 ? Node335fontSize * 0.2 - 4 : Node335fontSize * 0.2 - 9;
- Node335textWidth = Node335width;
- Node335lineStart = 1;
- } else if (Node335align === 'right') {
- Node335textStart = 0;
- Node335textWidth =Node335fontSize <= 8 ? Node335width + Node335fontSize * 0.2 + 6 : Node335width - Node335fontSize * 0.2;
- Node335lineStart = (Node335width - (ht.Default.getTextSize('万kWh', ' '+ Node335fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node335align === 'center') {
- Node335textStart = -3;
- Node335textWidth = Node335width;
- Node335lineStart = Node335width - ht.Default.getTextSize('万kWh', ' '+ Node335fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node335.setImage(GD.getTextJSON(Node335width, Node335height, true, false, false, ' '+ Node335fontSize + 'px "Arial"'))
- Node335.setPosition(441*ratio.ratioX, 129*ratio.ratioY);
- Node335.setWidth(Node335width);
- Node335.setHeight(Node335height);
- Node335._nodeType = 'text';
- Node335._disallowEvert = true;
- Node335.setRotation(0*Math.PI/180);
- Node335.a('node.width', Node335width);
- Node335.a('node.height', Node335height);
- Node335.a('node.rect', [0, 0, Node335width, Node335height]);
- Node335.a('node.bordercolor','rgba(128,128,128,1)');
- Node335.a('node.borderwidth', 0);
- Node335.a('node.background','' || 'rgba(0,0,0,0)');
- Node335.a('node.gradient','');
- Node335.a('node.gradientcolor','');
- Node335.a('node.text','万kWh');
- Node335.a('node.textalign','center');
- Node335.a('node.textvAlign','middle');
- Node335.a('node.textrect', [Node335textStart, 0, Node335textWidth, Node335height]);
- Node335.a('node.color','rgba(128,128,128,1)');
- Node335.a('node.font',' '+ Node335fontSize + 'px "Arial"');
- Node335.a('node.textvisible',true);
- Node335.a('node.linefeed',false);
- if (false) {
- Node335.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node335.a('node.text') || '万kWh';
- var color=Node335.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node335width,Node335height,13.3333*_ratio.ratioY,"center",color,' '+ Node335fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node335.a('node.underlinepoints',[Node335lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node335fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node335fontSize + 'px "Arial"').width + 6, (Node335height - Node335fontSize) * 0.5*_ratio.ratioY + Node335fontSize + 2 ]);
- Node335.a('node.underlinevisible',false);
- Node335.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node335);
- zoomNodeList.push({
- node: Node335,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node336 = new ht.Node();
- var Node336textStart, Node336textWidth, Node336lineStart, Node336align = 'center', Node336fontSize = 13.3333*_ratio.ratioY,Node336width = 59*_ratio.ratioX, Node336height = 26*_ratio.ratioY;
- (function () {
- if (Node336align === 'left') {
- Node336textStart = Node336fontSize * 0.2 > 2 ? Node336fontSize * 0.2 - 4 : Node336fontSize * 0.2 - 9;
- Node336textWidth = Node336width;
- Node336lineStart = 1;
- } else if (Node336align === 'right') {
- Node336textStart = 0;
- Node336textWidth =Node336fontSize <= 8 ? Node336width + Node336fontSize * 0.2 + 6 : Node336width - Node336fontSize * 0.2;
- Node336lineStart = (Node336width - (ht.Default.getTextSize('万kWh', ' '+ Node336fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node336align === 'center') {
- Node336textStart = -3;
- Node336textWidth = Node336width;
- Node336lineStart = Node336width - ht.Default.getTextSize('万kWh', ' '+ Node336fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node336.setImage(GD.getTextJSON(Node336width, Node336height, true, false, false, ' '+ Node336fontSize + 'px "Arial"'))
- Node336.setPosition(441*ratio.ratioX, 153*ratio.ratioY);
- Node336.setWidth(Node336width);
- Node336.setHeight(Node336height);
- Node336._nodeType = 'text';
- Node336._disallowEvert = true;
- Node336.setRotation(0*Math.PI/180);
- Node336.a('node.width', Node336width);
- Node336.a('node.height', Node336height);
- Node336.a('node.rect', [0, 0, Node336width, Node336height]);
- Node336.a('node.bordercolor','rgba(128,128,128,1)');
- Node336.a('node.borderwidth', 0);
- Node336.a('node.background','' || 'rgba(0,0,0,0)');
- Node336.a('node.gradient','');
- Node336.a('node.gradientcolor','');
- Node336.a('node.text','万kWh');
- Node336.a('node.textalign','center');
- Node336.a('node.textvAlign','middle');
- Node336.a('node.textrect', [Node336textStart, 0, Node336textWidth, Node336height]);
- Node336.a('node.color','rgba(128,128,128,1)');
- Node336.a('node.font',' '+ Node336fontSize + 'px "Arial"');
- Node336.a('node.textvisible',true);
- Node336.a('node.linefeed',false);
- if (false) {
- Node336.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node336.a('node.text') || '万kWh';
- var color=Node336.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node336width,Node336height,13.3333*_ratio.ratioY,"center",color,' '+ Node336fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node336.a('node.underlinepoints',[Node336lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node336fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node336fontSize + 'px "Arial"').width + 6, (Node336height - Node336fontSize) * 0.5*_ratio.ratioY + Node336fontSize + 2 ]);
- Node336.a('node.underlinevisible',false);
- Node336.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node336);
- zoomNodeList.push({
- node: Node336,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node337type = 'rect';
- var Node337 = new ht.Node(),
- Node337BorderWidth = 1*2;
- if (Node337type === 'arc') {
- Node337BorderWidth *= 1;
- }
- Node337.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node337type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node337.setPosition(645*ratio.ratioX, 54*ratio.ratioY);
- Node337.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node337.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node337.a('node.width', 94*_ratio.ratioX);
- Node337.a('node.height', 24.33136*_ratio.ratioY);
- Node337.a('node.type', Node337type);
- Node337.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node337.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node337.a('node.gradientcolor', '');
- Node337.a('node.gradient', '');
- Node337.a('node.borderwidth', Node337BorderWidth);
- Node337.a('node.color', 'rgba(224,224,224,1)');
- Node337.a('node.fillrect', [0,0,0,0]);
- Node337.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node337.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node337.a('node.fillgradient', '');
- if (Node337type !== 'rect') {
- Node337.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node337.a('node.arcTo', parseFloat('@arcTo@'));
- Node337.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node337type === 'arc') {
- Node337.a('node.arcOval', true);
- }
- Node337.setRotation(0*Math.PI/180);
- Node337.borderWidth = Node337BorderWidth;
- Node337.borderFillwidth = Node337BorderWidth;
- dataModel.add(Node337);
- Node337._nodename = 'Node337'
- Node337._nodeType = 'rect';
- zoomNodeList.push({
- node: Node337,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node337, Node337.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node338type = 'rect';
- var Node338 = new ht.Node(),
- Node338BorderWidth = 1*2;
- if (Node338type === 'arc') {
- Node338BorderWidth *= 1;
- }
- Node338.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node338type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node338.setPosition(645*ratio.ratioX, 78*ratio.ratioY);
- Node338.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node338.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node338.a('node.width', 94*_ratio.ratioX);
- Node338.a('node.height', 24.33138*_ratio.ratioY);
- Node338.a('node.type', Node338type);
- Node338.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node338.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node338.a('node.gradientcolor', '');
- Node338.a('node.gradient', '');
- Node338.a('node.borderwidth', Node338BorderWidth);
- Node338.a('node.color', 'rgba(224,224,224,1)');
- Node338.a('node.fillrect', [0,0,0,0]);
- Node338.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node338.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node338.a('node.fillgradient', '');
- if (Node338type !== 'rect') {
- Node338.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node338.a('node.arcTo', parseFloat('@arcTo@'));
- Node338.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node338type === 'arc') {
- Node338.a('node.arcOval', true);
- }
- Node338.setRotation(0*Math.PI/180);
- Node338.borderWidth = Node338BorderWidth;
- Node338.borderFillwidth = Node338BorderWidth;
- dataModel.add(Node338);
- Node338._nodename = 'Node338'
- Node338._nodeType = 'rect';
- zoomNodeList.push({
- node: Node338,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node338, Node338.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node339type = 'rect';
- var Node339 = new ht.Node(),
- Node339BorderWidth = 1*2;
- if (Node339type === 'arc') {
- Node339BorderWidth *= 1;
- }
- Node339.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node339type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node339.setPosition(645*ratio.ratioX, 102*ratio.ratioY);
- Node339.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node339.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node339.a('node.width', 94*_ratio.ratioX);
- Node339.a('node.height', 24.33138*_ratio.ratioY);
- Node339.a('node.type', Node339type);
- Node339.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node339.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node339.a('node.gradientcolor', '');
- Node339.a('node.gradient', '');
- Node339.a('node.borderwidth', Node339BorderWidth);
- Node339.a('node.color', 'rgba(224,224,224,1)');
- Node339.a('node.fillrect', [0,0,0,0]);
- Node339.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node339.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node339.a('node.fillgradient', '');
- if (Node339type !== 'rect') {
- Node339.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node339.a('node.arcTo', parseFloat('@arcTo@'));
- Node339.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node339type === 'arc') {
- Node339.a('node.arcOval', true);
- }
- Node339.setRotation(0*Math.PI/180);
- Node339.borderWidth = Node339BorderWidth;
- Node339.borderFillwidth = Node339BorderWidth;
- dataModel.add(Node339);
- Node339._nodename = 'Node339'
- Node339._nodeType = 'rect';
- zoomNodeList.push({
- node: Node339,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node339, Node339.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node340type = 'rect';
- var Node340 = new ht.Node(),
- Node340BorderWidth = 1*2;
- if (Node340type === 'arc') {
- Node340BorderWidth *= 1;
- }
- Node340.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node340type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node340.setPosition(645*ratio.ratioX, 127*ratio.ratioY);
- Node340.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node340.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node340.a('node.width', 94*_ratio.ratioX);
- Node340.a('node.height', 24.33136*_ratio.ratioY);
- Node340.a('node.type', Node340type);
- Node340.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node340.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node340.a('node.gradientcolor', '');
- Node340.a('node.gradient', '');
- Node340.a('node.borderwidth', Node340BorderWidth);
- Node340.a('node.color', 'rgba(224,224,224,1)');
- Node340.a('node.fillrect', [0,0,0,0]);
- Node340.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node340.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node340.a('node.fillgradient', '');
- if (Node340type !== 'rect') {
- Node340.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node340.a('node.arcTo', parseFloat('@arcTo@'));
- Node340.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node340type === 'arc') {
- Node340.a('node.arcOval', true);
- }
- Node340.setRotation(0*Math.PI/180);
- Node340.borderWidth = Node340BorderWidth;
- Node340.borderFillwidth = Node340BorderWidth;
- dataModel.add(Node340);
- Node340._nodename = 'Node340'
- Node340._nodeType = 'rect';
- zoomNodeList.push({
- node: Node340,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node340, Node340.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node341type = 'rect';
- var Node341 = new ht.Node(),
- Node341BorderWidth = 1*2;
- if (Node341type === 'arc') {
- Node341BorderWidth *= 1;
- }
- Node341.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node341type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node341.setPosition(645*ratio.ratioX, 151*ratio.ratioY);
- Node341.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node341.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node341.a('node.width', 94*_ratio.ratioX);
- Node341.a('node.height', 24.33138*_ratio.ratioY);
- Node341.a('node.type', Node341type);
- Node341.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node341.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node341.a('node.gradientcolor', '');
- Node341.a('node.gradient', '');
- Node341.a('node.borderwidth', Node341BorderWidth);
- Node341.a('node.color', 'rgba(224,224,224,1)');
- Node341.a('node.fillrect', [0,0,0,0]);
- Node341.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node341.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node341.a('node.fillgradient', '');
- if (Node341type !== 'rect') {
- Node341.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node341.a('node.arcTo', parseFloat('@arcTo@'));
- Node341.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node341type === 'arc') {
- Node341.a('node.arcOval', true);
- }
- Node341.setRotation(0*Math.PI/180);
- Node341.borderWidth = Node341BorderWidth;
- Node341.borderFillwidth = Node341BorderWidth;
- dataModel.add(Node341);
- Node341._nodename = 'Node341'
- Node341._nodeType = 'rect';
- zoomNodeList.push({
- node: Node341,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node341, Node341.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node342 = new ht.Node();
- var Node342textStart, Node342textWidth, Node342lineStart, Node342align = 'center', Node342fontSize = 13.3333*_ratio.ratioY,Node342width = 58*_ratio.ratioX, Node342height = 26*_ratio.ratioY;
- (function () {
- if (Node342align === 'left') {
- Node342textStart = Node342fontSize * 0.2 > 2 ? Node342fontSize * 0.2 - 4 : Node342fontSize * 0.2 - 9;
- Node342textWidth = Node342width;
- Node342lineStart = 1;
- } else if (Node342align === 'right') {
- Node342textStart = 0;
- Node342textWidth =Node342fontSize <= 8 ? Node342width + Node342fontSize * 0.2 + 6 : Node342width - Node342fontSize * 0.2;
- Node342lineStart = (Node342width - (ht.Default.getTextSize('0', ' '+ Node342fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node342align === 'center') {
- Node342textStart = -3;
- Node342textWidth = Node342width;
- Node342lineStart = Node342width - ht.Default.getTextSize('0', ' '+ Node342fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node342.setImage(GD.getTextJSON(Node342width, Node342height, true, false, false, ' '+ Node342fontSize + 'px "Arial"'))
- Node342.setPosition(645*ratio.ratioX, 56*ratio.ratioY);
- Node342.setWidth(Node342width);
- Node342.setHeight(Node342height);
- Node342._nodeType = 'text';
- Node342._disallowEvert = true;
- Node342.setRotation(0*Math.PI/180);
- Node342.a('node.width', Node342width);
- Node342.a('node.height', Node342height);
- Node342.a('node.rect', [0, 0, Node342width, Node342height]);
- Node342.a('node.bordercolor','rgba(0,0,0,1)');
- Node342.a('node.borderwidth', 0);
- Node342.a('node.background','' || 'rgba(0,0,0,0)');
- Node342.a('node.gradient','');
- Node342.a('node.gradientcolor','');
- Node342.a('node.text','0');
- Node342.a('node.textalign','center');
- Node342.a('node.textvAlign','middle');
- Node342.a('node.textrect', [Node342textStart, 0, Node342textWidth, Node342height]);
- Node342.a('node.color','rgba(0,0,0,1)');
- Node342.a('node.font',' '+ Node342fontSize + 'px "Arial"');
- Node342.a('node.textvisible',true);
- Node342.a('node.linefeed',false);
- if (false) {
- Node342.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node342.a('node.text') || '0';
- var color=Node342.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node342width,Node342height,13.3333*_ratio.ratioY,"center",color,' '+ Node342fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node342.a('node.underlinepoints',[Node342lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node342fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node342fontSize + 'px "Arial"').width + 6, (Node342height - Node342fontSize) * 0.5*_ratio.ratioY + Node342fontSize + 2 ]);
- Node342.a('node.underlinevisible',false);
- Node342.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node342);
- zoomNodeList.push({
- node: Node342,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node343 = new ht.Node();
- var Node343textStart, Node343textWidth, Node343lineStart, Node343align = 'center', Node343fontSize = 13.3333*_ratio.ratioY,Node343width = 58*_ratio.ratioX, Node343height = 26*_ratio.ratioY;
- (function () {
- if (Node343align === 'left') {
- Node343textStart = Node343fontSize * 0.2 > 2 ? Node343fontSize * 0.2 - 4 : Node343fontSize * 0.2 - 9;
- Node343textWidth = Node343width;
- Node343lineStart = 1;
- } else if (Node343align === 'right') {
- Node343textStart = 0;
- Node343textWidth =Node343fontSize <= 8 ? Node343width + Node343fontSize * 0.2 + 6 : Node343width - Node343fontSize * 0.2;
- Node343lineStart = (Node343width - (ht.Default.getTextSize('0', ' '+ Node343fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node343align === 'center') {
- Node343textStart = -3;
- Node343textWidth = Node343width;
- Node343lineStart = Node343width - ht.Default.getTextSize('0', ' '+ Node343fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node343.setImage(GD.getTextJSON(Node343width, Node343height, true, false, false, ' '+ Node343fontSize + 'px "Arial"'))
- Node343.setPosition(645*ratio.ratioX, 80*ratio.ratioY);
- Node343.setWidth(Node343width);
- Node343.setHeight(Node343height);
- Node343._nodeType = 'text';
- Node343._disallowEvert = true;
- Node343.setRotation(0*Math.PI/180);
- Node343.a('node.width', Node343width);
- Node343.a('node.height', Node343height);
- Node343.a('node.rect', [0, 0, Node343width, Node343height]);
- Node343.a('node.bordercolor','rgba(0,0,0,1)');
- Node343.a('node.borderwidth', 0);
- Node343.a('node.background','' || 'rgba(0,0,0,0)');
- Node343.a('node.gradient','');
- Node343.a('node.gradientcolor','');
- Node343.a('node.text','0');
- Node343.a('node.textalign','center');
- Node343.a('node.textvAlign','middle');
- Node343.a('node.textrect', [Node343textStart, 0, Node343textWidth, Node343height]);
- Node343.a('node.color','rgba(0,0,0,1)');
- Node343.a('node.font',' '+ Node343fontSize + 'px "Arial"');
- Node343.a('node.textvisible',true);
- Node343.a('node.linefeed',false);
- if (false) {
- Node343.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node343.a('node.text') || '0';
- var color=Node343.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node343width,Node343height,13.3333*_ratio.ratioY,"center",color,' '+ Node343fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node343.a('node.underlinepoints',[Node343lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node343fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node343fontSize + 'px "Arial"').width + 6, (Node343height - Node343fontSize) * 0.5*_ratio.ratioY + Node343fontSize + 2 ]);
- Node343.a('node.underlinevisible',false);
- Node343.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node343);
- zoomNodeList.push({
- node: Node343,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node344 = new ht.Node();
- var Node344textStart, Node344textWidth, Node344lineStart, Node344align = 'center', Node344fontSize = 13.3333*_ratio.ratioY,Node344width = 58*_ratio.ratioX, Node344height = 26*_ratio.ratioY;
- (function () {
- if (Node344align === 'left') {
- Node344textStart = Node344fontSize * 0.2 > 2 ? Node344fontSize * 0.2 - 4 : Node344fontSize * 0.2 - 9;
- Node344textWidth = Node344width;
- Node344lineStart = 1;
- } else if (Node344align === 'right') {
- Node344textStart = 0;
- Node344textWidth =Node344fontSize <= 8 ? Node344width + Node344fontSize * 0.2 + 6 : Node344width - Node344fontSize * 0.2;
- Node344lineStart = (Node344width - (ht.Default.getTextSize('0', ' '+ Node344fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node344align === 'center') {
- Node344textStart = -3;
- Node344textWidth = Node344width;
- Node344lineStart = Node344width - ht.Default.getTextSize('0', ' '+ Node344fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node344.setImage(GD.getTextJSON(Node344width, Node344height, true, false, false, ' '+ Node344fontSize + 'px "Arial"'))
- Node344.setPosition(645*ratio.ratioX, 105*ratio.ratioY);
- Node344.setWidth(Node344width);
- Node344.setHeight(Node344height);
- Node344._nodeType = 'text';
- Node344._disallowEvert = true;
- Node344.setRotation(0*Math.PI/180);
- Node344.a('node.width', Node344width);
- Node344.a('node.height', Node344height);
- Node344.a('node.rect', [0, 0, Node344width, Node344height]);
- Node344.a('node.bordercolor','rgba(0,0,0,1)');
- Node344.a('node.borderwidth', 0);
- Node344.a('node.background','' || 'rgba(0,0,0,0)');
- Node344.a('node.gradient','');
- Node344.a('node.gradientcolor','');
- Node344.a('node.text','0');
- Node344.a('node.textalign','center');
- Node344.a('node.textvAlign','middle');
- Node344.a('node.textrect', [Node344textStart, 0, Node344textWidth, Node344height]);
- Node344.a('node.color','rgba(0,0,0,1)');
- Node344.a('node.font',' '+ Node344fontSize + 'px "Arial"');
- Node344.a('node.textvisible',true);
- Node344.a('node.linefeed',false);
- if (false) {
- Node344.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node344.a('node.text') || '0';
- var color=Node344.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node344width,Node344height,13.3333*_ratio.ratioY,"center",color,' '+ Node344fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node344.a('node.underlinepoints',[Node344lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node344fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node344fontSize + 'px "Arial"').width + 6, (Node344height - Node344fontSize) * 0.5*_ratio.ratioY + Node344fontSize + 2 ]);
- Node344.a('node.underlinevisible',false);
- Node344.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node344);
- zoomNodeList.push({
- node: Node344,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node345 = new ht.Node();
- var Node345textStart, Node345textWidth, Node345lineStart, Node345align = 'center', Node345fontSize = 13.3333*_ratio.ratioY,Node345width = 58*_ratio.ratioX, Node345height = 26*_ratio.ratioY;
- (function () {
- if (Node345align === 'left') {
- Node345textStart = Node345fontSize * 0.2 > 2 ? Node345fontSize * 0.2 - 4 : Node345fontSize * 0.2 - 9;
- Node345textWidth = Node345width;
- Node345lineStart = 1;
- } else if (Node345align === 'right') {
- Node345textStart = 0;
- Node345textWidth =Node345fontSize <= 8 ? Node345width + Node345fontSize * 0.2 + 6 : Node345width - Node345fontSize * 0.2;
- Node345lineStart = (Node345width - (ht.Default.getTextSize('0', ' '+ Node345fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node345align === 'center') {
- Node345textStart = -3;
- Node345textWidth = Node345width;
- Node345lineStart = Node345width - ht.Default.getTextSize('0', ' '+ Node345fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node345.setImage(GD.getTextJSON(Node345width, Node345height, true, false, false, ' '+ Node345fontSize + 'px "Arial"'))
- Node345.setPosition(645*ratio.ratioX, 128*ratio.ratioY);
- Node345.setWidth(Node345width);
- Node345.setHeight(Node345height);
- Node345._nodeType = 'text';
- Node345._disallowEvert = true;
- Node345.setRotation(0*Math.PI/180);
- Node345.a('node.width', Node345width);
- Node345.a('node.height', Node345height);
- Node345.a('node.rect', [0, 0, Node345width, Node345height]);
- Node345.a('node.bordercolor','rgba(0,0,0,1)');
- Node345.a('node.borderwidth', 0);
- Node345.a('node.background','' || 'rgba(0,0,0,0)');
- Node345.a('node.gradient','');
- Node345.a('node.gradientcolor','');
- Node345.a('node.text','0');
- Node345.a('node.textalign','center');
- Node345.a('node.textvAlign','middle');
- Node345.a('node.textrect', [Node345textStart, 0, Node345textWidth, Node345height]);
- Node345.a('node.color','rgba(0,0,0,1)');
- Node345.a('node.font',' '+ Node345fontSize + 'px "Arial"');
- Node345.a('node.textvisible',true);
- Node345.a('node.linefeed',false);
- if (false) {
- Node345.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node345.a('node.text') || '0';
- var color=Node345.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node345width,Node345height,13.3333*_ratio.ratioY,"center",color,' '+ Node345fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node345.a('node.underlinepoints',[Node345lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node345fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node345fontSize + 'px "Arial"').width + 6, (Node345height - Node345fontSize) * 0.5*_ratio.ratioY + Node345fontSize + 2 ]);
- Node345.a('node.underlinevisible',false);
- Node345.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node345);
- zoomNodeList.push({
- node: Node345,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node346 = new ht.Node();
- var Node346textStart, Node346textWidth, Node346lineStart, Node346align = 'center', Node346fontSize = 13.3333*_ratio.ratioY,Node346width = 58*_ratio.ratioX, Node346height = 26*_ratio.ratioY;
- (function () {
- if (Node346align === 'left') {
- Node346textStart = Node346fontSize * 0.2 > 2 ? Node346fontSize * 0.2 - 4 : Node346fontSize * 0.2 - 9;
- Node346textWidth = Node346width;
- Node346lineStart = 1;
- } else if (Node346align === 'right') {
- Node346textStart = 0;
- Node346textWidth =Node346fontSize <= 8 ? Node346width + Node346fontSize * 0.2 + 6 : Node346width - Node346fontSize * 0.2;
- Node346lineStart = (Node346width - (ht.Default.getTextSize('0', ' '+ Node346fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node346align === 'center') {
- Node346textStart = -3;
- Node346textWidth = Node346width;
- Node346lineStart = Node346width - ht.Default.getTextSize('0', ' '+ Node346fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node346.setImage(GD.getTextJSON(Node346width, Node346height, true, false, false, ' '+ Node346fontSize + 'px "Arial"'))
- Node346.setPosition(645*ratio.ratioX, 152*ratio.ratioY);
- Node346.setWidth(Node346width);
- Node346.setHeight(Node346height);
- Node346._nodeType = 'text';
- Node346._disallowEvert = true;
- Node346.setRotation(0*Math.PI/180);
- Node346.a('node.width', Node346width);
- Node346.a('node.height', Node346height);
- Node346.a('node.rect', [0, 0, Node346width, Node346height]);
- Node346.a('node.bordercolor','rgba(0,0,0,1)');
- Node346.a('node.borderwidth', 0);
- Node346.a('node.background','' || 'rgba(0,0,0,0)');
- Node346.a('node.gradient','');
- Node346.a('node.gradientcolor','');
- Node346.a('node.text','0');
- Node346.a('node.textalign','center');
- Node346.a('node.textvAlign','middle');
- Node346.a('node.textrect', [Node346textStart, 0, Node346textWidth, Node346height]);
- Node346.a('node.color','rgba(0,0,0,1)');
- Node346.a('node.font',' '+ Node346fontSize + 'px "Arial"');
- Node346.a('node.textvisible',true);
- Node346.a('node.linefeed',false);
- if (false) {
- Node346.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node346.a('node.text') || '0';
- var color=Node346.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node346width,Node346height,13.3333*_ratio.ratioY,"center",color,' '+ Node346fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node346.a('node.underlinepoints',[Node346lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node346fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node346fontSize + 'px "Arial"').width + 6, (Node346height - Node346fontSize) * 0.5*_ratio.ratioY + Node346fontSize + 2 ]);
- Node346.a('node.underlinevisible',false);
- Node346.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node346);
- zoomNodeList.push({
- node: Node346,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node347type = 'rect';
- var Node347 = new ht.Node(),
- Node347BorderWidth = 1*2;
- if (Node347type === 'arc') {
- Node347BorderWidth *= 1;
- }
- Node347.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node347type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node347.setPosition(724*ratio.ratioX, 54*ratio.ratioY);
- Node347.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node347.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node347.a('node.width', 65*_ratio.ratioX);
- Node347.a('node.height', 24.33136*_ratio.ratioY);
- Node347.a('node.type', Node347type);
- Node347.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node347.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node347.a('node.gradientcolor', '');
- Node347.a('node.gradient', '');
- Node347.a('node.borderwidth', Node347BorderWidth);
- Node347.a('node.color', 'rgba(224,224,224,1)');
- Node347.a('node.fillrect', [0,0,0,0]);
- Node347.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node347.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node347.a('node.fillgradient', '');
- if (Node347type !== 'rect') {
- Node347.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node347.a('node.arcTo', parseFloat('@arcTo@'));
- Node347.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node347type === 'arc') {
- Node347.a('node.arcOval', true);
- }
- Node347.setRotation(0*Math.PI/180);
- Node347.borderWidth = Node347BorderWidth;
- Node347.borderFillwidth = Node347BorderWidth;
- dataModel.add(Node347);
- Node347._nodename = 'Node347'
- Node347._nodeType = 'rect';
- zoomNodeList.push({
- node: Node347,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node347, Node347.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node348type = 'rect';
- var Node348 = new ht.Node(),
- Node348BorderWidth = 1*2;
- if (Node348type === 'arc') {
- Node348BorderWidth *= 1;
- }
- Node348.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node348type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node348.setPosition(724*ratio.ratioX, 78*ratio.ratioY);
- Node348.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node348.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node348.a('node.width', 65*_ratio.ratioX);
- Node348.a('node.height', 24.33138*_ratio.ratioY);
- Node348.a('node.type', Node348type);
- Node348.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node348.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node348.a('node.gradientcolor', '');
- Node348.a('node.gradient', '');
- Node348.a('node.borderwidth', Node348BorderWidth);
- Node348.a('node.color', 'rgba(224,224,224,1)');
- Node348.a('node.fillrect', [0,0,0,0]);
- Node348.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node348.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node348.a('node.fillgradient', '');
- if (Node348type !== 'rect') {
- Node348.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node348.a('node.arcTo', parseFloat('@arcTo@'));
- Node348.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node348type === 'arc') {
- Node348.a('node.arcOval', true);
- }
- Node348.setRotation(0*Math.PI/180);
- Node348.borderWidth = Node348BorderWidth;
- Node348.borderFillwidth = Node348BorderWidth;
- dataModel.add(Node348);
- Node348._nodename = 'Node348'
- Node348._nodeType = 'rect';
- zoomNodeList.push({
- node: Node348,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node348, Node348.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node349type = 'rect';
- var Node349 = new ht.Node(),
- Node349BorderWidth = 1*2;
- if (Node349type === 'arc') {
- Node349BorderWidth *= 1;
- }
- Node349.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node349type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node349.setPosition(724*ratio.ratioX, 102*ratio.ratioY);
- Node349.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node349.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node349.a('node.width', 65*_ratio.ratioX);
- Node349.a('node.height', 24.33138*_ratio.ratioY);
- Node349.a('node.type', Node349type);
- Node349.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node349.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node349.a('node.gradientcolor', '');
- Node349.a('node.gradient', '');
- Node349.a('node.borderwidth', Node349BorderWidth);
- Node349.a('node.color', 'rgba(224,224,224,1)');
- Node349.a('node.fillrect', [0,0,0,0]);
- Node349.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node349.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node349.a('node.fillgradient', '');
- if (Node349type !== 'rect') {
- Node349.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node349.a('node.arcTo', parseFloat('@arcTo@'));
- Node349.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node349type === 'arc') {
- Node349.a('node.arcOval', true);
- }
- Node349.setRotation(0*Math.PI/180);
- Node349.borderWidth = Node349BorderWidth;
- Node349.borderFillwidth = Node349BorderWidth;
- dataModel.add(Node349);
- Node349._nodename = 'Node349'
- Node349._nodeType = 'rect';
- zoomNodeList.push({
- node: Node349,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node349, Node349.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node350type = 'rect';
- var Node350 = new ht.Node(),
- Node350BorderWidth = 1*2;
- if (Node350type === 'arc') {
- Node350BorderWidth *= 1;
- }
- Node350.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node350type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node350.setPosition(724*ratio.ratioX, 127*ratio.ratioY);
- Node350.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node350.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node350.a('node.width', 65*_ratio.ratioX);
- Node350.a('node.height', 24.33136*_ratio.ratioY);
- Node350.a('node.type', Node350type);
- Node350.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node350.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node350.a('node.gradientcolor', '');
- Node350.a('node.gradient', '');
- Node350.a('node.borderwidth', Node350BorderWidth);
- Node350.a('node.color', 'rgba(224,224,224,1)');
- Node350.a('node.fillrect', [0,0,0,0]);
- Node350.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node350.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node350.a('node.fillgradient', '');
- if (Node350type !== 'rect') {
- Node350.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node350.a('node.arcTo', parseFloat('@arcTo@'));
- Node350.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node350type === 'arc') {
- Node350.a('node.arcOval', true);
- }
- Node350.setRotation(0*Math.PI/180);
- Node350.borderWidth = Node350BorderWidth;
- Node350.borderFillwidth = Node350BorderWidth;
- dataModel.add(Node350);
- Node350._nodename = 'Node350'
- Node350._nodeType = 'rect';
- zoomNodeList.push({
- node: Node350,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node350, Node350.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node351type = 'rect';
- var Node351 = new ht.Node(),
- Node351BorderWidth = 1*2;
- if (Node351type === 'arc') {
- Node351BorderWidth *= 1;
- }
- Node351.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node351type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node351.setPosition(724*ratio.ratioX, 151*ratio.ratioY);
- Node351.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node351.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node351.a('node.width', 65*_ratio.ratioX);
- Node351.a('node.height', 24.33138*_ratio.ratioY);
- Node351.a('node.type', Node351type);
- Node351.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node351.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node351.a('node.gradientcolor', '');
- Node351.a('node.gradient', '');
- Node351.a('node.borderwidth', Node351BorderWidth);
- Node351.a('node.color', 'rgba(224,224,224,1)');
- Node351.a('node.fillrect', [0,0,0,0]);
- Node351.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node351.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node351.a('node.fillgradient', '');
- if (Node351type !== 'rect') {
- Node351.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node351.a('node.arcTo', parseFloat('@arcTo@'));
- Node351.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node351type === 'arc') {
- Node351.a('node.arcOval', true);
- }
- Node351.setRotation(0*Math.PI/180);
- Node351.borderWidth = Node351BorderWidth;
- Node351.borderFillwidth = Node351BorderWidth;
- dataModel.add(Node351);
- Node351._nodename = 'Node351'
- Node351._nodeType = 'rect';
- zoomNodeList.push({
- node: Node351,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node351, Node351.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node352 = new ht.Node();
- var Node352textStart, Node352textWidth, Node352lineStart, Node352align = 'center', Node352fontSize = 13.3333*_ratio.ratioY,Node352width = 59*_ratio.ratioX, Node352height = 26*_ratio.ratioY;
- (function () {
- if (Node352align === 'left') {
- Node352textStart = Node352fontSize * 0.2 > 2 ? Node352fontSize * 0.2 - 4 : Node352fontSize * 0.2 - 9;
- Node352textWidth = Node352width;
- Node352lineStart = 1;
- } else if (Node352align === 'right') {
- Node352textStart = 0;
- Node352textWidth =Node352fontSize <= 8 ? Node352width + Node352fontSize * 0.2 + 6 : Node352width - Node352fontSize * 0.2;
- Node352lineStart = (Node352width - (ht.Default.getTextSize('万kWh', ' '+ Node352fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node352align === 'center') {
- Node352textStart = -3;
- Node352textWidth = Node352width;
- Node352lineStart = Node352width - ht.Default.getTextSize('万kWh', ' '+ Node352fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node352.setImage(GD.getTextJSON(Node352width, Node352height, true, false, false, ' '+ Node352fontSize + 'px "Arial"'))
- Node352.setPosition(725*ratio.ratioX, 56*ratio.ratioY);
- Node352.setWidth(Node352width);
- Node352.setHeight(Node352height);
- Node352._nodeType = 'text';
- Node352._disallowEvert = true;
- Node352.setRotation(0*Math.PI/180);
- Node352.a('node.width', Node352width);
- Node352.a('node.height', Node352height);
- Node352.a('node.rect', [0, 0, Node352width, Node352height]);
- Node352.a('node.bordercolor','rgba(128,128,128,1)');
- Node352.a('node.borderwidth', 0);
- Node352.a('node.background','' || 'rgba(0,0,0,0)');
- Node352.a('node.gradient','');
- Node352.a('node.gradientcolor','');
- Node352.a('node.text','万kWh');
- Node352.a('node.textalign','center');
- Node352.a('node.textvAlign','middle');
- Node352.a('node.textrect', [Node352textStart, 0, Node352textWidth, Node352height]);
- Node352.a('node.color','rgba(128,128,128,1)');
- Node352.a('node.font',' '+ Node352fontSize + 'px "Arial"');
- Node352.a('node.textvisible',true);
- Node352.a('node.linefeed',false);
- if (false) {
- Node352.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node352.a('node.text') || '万kWh';
- var color=Node352.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node352width,Node352height,13.3333*_ratio.ratioY,"center",color,' '+ Node352fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node352.a('node.underlinepoints',[Node352lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node352fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node352fontSize + 'px "Arial"').width + 6, (Node352height - Node352fontSize) * 0.5*_ratio.ratioY + Node352fontSize + 2 ]);
- Node352.a('node.underlinevisible',false);
- Node352.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node352);
- zoomNodeList.push({
- node: Node352,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node353 = new ht.Node();
- var Node353textStart, Node353textWidth, Node353lineStart, Node353align = 'center', Node353fontSize = 13.3333*_ratio.ratioY,Node353width = 59*_ratio.ratioX, Node353height = 26*_ratio.ratioY;
- (function () {
- if (Node353align === 'left') {
- Node353textStart = Node353fontSize * 0.2 > 2 ? Node353fontSize * 0.2 - 4 : Node353fontSize * 0.2 - 9;
- Node353textWidth = Node353width;
- Node353lineStart = 1;
- } else if (Node353align === 'right') {
- Node353textStart = 0;
- Node353textWidth =Node353fontSize <= 8 ? Node353width + Node353fontSize * 0.2 + 6 : Node353width - Node353fontSize * 0.2;
- Node353lineStart = (Node353width - (ht.Default.getTextSize('万kWh', ' '+ Node353fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node353align === 'center') {
- Node353textStart = -3;
- Node353textWidth = Node353width;
- Node353lineStart = Node353width - ht.Default.getTextSize('万kWh', ' '+ Node353fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node353.setImage(GD.getTextJSON(Node353width, Node353height, true, false, false, ' '+ Node353fontSize + 'px "Arial"'))
- Node353.setPosition(725*ratio.ratioX, 80*ratio.ratioY);
- Node353.setWidth(Node353width);
- Node353.setHeight(Node353height);
- Node353._nodeType = 'text';
- Node353._disallowEvert = true;
- Node353.setRotation(0*Math.PI/180);
- Node353.a('node.width', Node353width);
- Node353.a('node.height', Node353height);
- Node353.a('node.rect', [0, 0, Node353width, Node353height]);
- Node353.a('node.bordercolor','rgba(128,128,128,1)');
- Node353.a('node.borderwidth', 0);
- Node353.a('node.background','' || 'rgba(0,0,0,0)');
- Node353.a('node.gradient','');
- Node353.a('node.gradientcolor','');
- Node353.a('node.text','万kWh');
- Node353.a('node.textalign','center');
- Node353.a('node.textvAlign','middle');
- Node353.a('node.textrect', [Node353textStart, 0, Node353textWidth, Node353height]);
- Node353.a('node.color','rgba(128,128,128,1)');
- Node353.a('node.font',' '+ Node353fontSize + 'px "Arial"');
- Node353.a('node.textvisible',true);
- Node353.a('node.linefeed',false);
- if (false) {
- Node353.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node353.a('node.text') || '万kWh';
- var color=Node353.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node353width,Node353height,13.3333*_ratio.ratioY,"center",color,' '+ Node353fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node353.a('node.underlinepoints',[Node353lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node353fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node353fontSize + 'px "Arial"').width + 6, (Node353height - Node353fontSize) * 0.5*_ratio.ratioY + Node353fontSize + 2 ]);
- Node353.a('node.underlinevisible',false);
- Node353.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node353);
- zoomNodeList.push({
- node: Node353,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node354 = new ht.Node();
- var Node354textStart, Node354textWidth, Node354lineStart, Node354align = 'center', Node354fontSize = 13.3333*_ratio.ratioY,Node354width = 59*_ratio.ratioX, Node354height = 26*_ratio.ratioY;
- (function () {
- if (Node354align === 'left') {
- Node354textStart = Node354fontSize * 0.2 > 2 ? Node354fontSize * 0.2 - 4 : Node354fontSize * 0.2 - 9;
- Node354textWidth = Node354width;
- Node354lineStart = 1;
- } else if (Node354align === 'right') {
- Node354textStart = 0;
- Node354textWidth =Node354fontSize <= 8 ? Node354width + Node354fontSize * 0.2 + 6 : Node354width - Node354fontSize * 0.2;
- Node354lineStart = (Node354width - (ht.Default.getTextSize('万kWh', ' '+ Node354fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node354align === 'center') {
- Node354textStart = -3;
- Node354textWidth = Node354width;
- Node354lineStart = Node354width - ht.Default.getTextSize('万kWh', ' '+ Node354fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node354.setImage(GD.getTextJSON(Node354width, Node354height, true, false, false, ' '+ Node354fontSize + 'px "Arial"'))
- Node354.setPosition(725*ratio.ratioX, 103*ratio.ratioY);
- Node354.setWidth(Node354width);
- Node354.setHeight(Node354height);
- Node354._nodeType = 'text';
- Node354._disallowEvert = true;
- Node354.setRotation(0*Math.PI/180);
- Node354.a('node.width', Node354width);
- Node354.a('node.height', Node354height);
- Node354.a('node.rect', [0, 0, Node354width, Node354height]);
- Node354.a('node.bordercolor','rgba(128,128,128,1)');
- Node354.a('node.borderwidth', 0);
- Node354.a('node.background','' || 'rgba(0,0,0,0)');
- Node354.a('node.gradient','');
- Node354.a('node.gradientcolor','');
- Node354.a('node.text','万kWh');
- Node354.a('node.textalign','center');
- Node354.a('node.textvAlign','middle');
- Node354.a('node.textrect', [Node354textStart, 0, Node354textWidth, Node354height]);
- Node354.a('node.color','rgba(128,128,128,1)');
- Node354.a('node.font',' '+ Node354fontSize + 'px "Arial"');
- Node354.a('node.textvisible',true);
- Node354.a('node.linefeed',false);
- if (false) {
- Node354.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node354.a('node.text') || '万kWh';
- var color=Node354.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node354width,Node354height,13.3333*_ratio.ratioY,"center",color,' '+ Node354fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node354.a('node.underlinepoints',[Node354lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node354fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node354fontSize + 'px "Arial"').width + 6, (Node354height - Node354fontSize) * 0.5*_ratio.ratioY + Node354fontSize + 2 ]);
- Node354.a('node.underlinevisible',false);
- Node354.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node354);
- zoomNodeList.push({
- node: Node354,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node355 = new ht.Node();
- var Node355textStart, Node355textWidth, Node355lineStart, Node355align = 'center', Node355fontSize = 13.3333*_ratio.ratioY,Node355width = 59*_ratio.ratioX, Node355height = 26*_ratio.ratioY;
- (function () {
- if (Node355align === 'left') {
- Node355textStart = Node355fontSize * 0.2 > 2 ? Node355fontSize * 0.2 - 4 : Node355fontSize * 0.2 - 9;
- Node355textWidth = Node355width;
- Node355lineStart = 1;
- } else if (Node355align === 'right') {
- Node355textStart = 0;
- Node355textWidth =Node355fontSize <= 8 ? Node355width + Node355fontSize * 0.2 + 6 : Node355width - Node355fontSize * 0.2;
- Node355lineStart = (Node355width - (ht.Default.getTextSize('万kWh', ' '+ Node355fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node355align === 'center') {
- Node355textStart = -3;
- Node355textWidth = Node355width;
- Node355lineStart = Node355width - ht.Default.getTextSize('万kWh', ' '+ Node355fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node355.setImage(GD.getTextJSON(Node355width, Node355height, true, false, false, ' '+ Node355fontSize + 'px "Arial"'))
- Node355.setPosition(725*ratio.ratioX, 129*ratio.ratioY);
- Node355.setWidth(Node355width);
- Node355.setHeight(Node355height);
- Node355._nodeType = 'text';
- Node355._disallowEvert = true;
- Node355.setRotation(0*Math.PI/180);
- Node355.a('node.width', Node355width);
- Node355.a('node.height', Node355height);
- Node355.a('node.rect', [0, 0, Node355width, Node355height]);
- Node355.a('node.bordercolor','rgba(128,128,128,1)');
- Node355.a('node.borderwidth', 0);
- Node355.a('node.background','' || 'rgba(0,0,0,0)');
- Node355.a('node.gradient','');
- Node355.a('node.gradientcolor','');
- Node355.a('node.text','万kWh');
- Node355.a('node.textalign','center');
- Node355.a('node.textvAlign','middle');
- Node355.a('node.textrect', [Node355textStart, 0, Node355textWidth, Node355height]);
- Node355.a('node.color','rgba(128,128,128,1)');
- Node355.a('node.font',' '+ Node355fontSize + 'px "Arial"');
- Node355.a('node.textvisible',true);
- Node355.a('node.linefeed',false);
- if (false) {
- Node355.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node355.a('node.text') || '万kWh';
- var color=Node355.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node355width,Node355height,13.3333*_ratio.ratioY,"center",color,' '+ Node355fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node355.a('node.underlinepoints',[Node355lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node355fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node355fontSize + 'px "Arial"').width + 6, (Node355height - Node355fontSize) * 0.5*_ratio.ratioY + Node355fontSize + 2 ]);
- Node355.a('node.underlinevisible',false);
- Node355.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node355);
- zoomNodeList.push({
- node: Node355,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node356 = new ht.Node();
- var Node356textStart, Node356textWidth, Node356lineStart, Node356align = 'center', Node356fontSize = 13.3333*_ratio.ratioY,Node356width = 59*_ratio.ratioX, Node356height = 26*_ratio.ratioY;
- (function () {
- if (Node356align === 'left') {
- Node356textStart = Node356fontSize * 0.2 > 2 ? Node356fontSize * 0.2 - 4 : Node356fontSize * 0.2 - 9;
- Node356textWidth = Node356width;
- Node356lineStart = 1;
- } else if (Node356align === 'right') {
- Node356textStart = 0;
- Node356textWidth =Node356fontSize <= 8 ? Node356width + Node356fontSize * 0.2 + 6 : Node356width - Node356fontSize * 0.2;
- Node356lineStart = (Node356width - (ht.Default.getTextSize('万kWh', ' '+ Node356fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node356align === 'center') {
- Node356textStart = -3;
- Node356textWidth = Node356width;
- Node356lineStart = Node356width - ht.Default.getTextSize('万kWh', ' '+ Node356fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node356.setImage(GD.getTextJSON(Node356width, Node356height, true, false, false, ' '+ Node356fontSize + 'px "Arial"'))
- Node356.setPosition(725*ratio.ratioX, 153*ratio.ratioY);
- Node356.setWidth(Node356width);
- Node356.setHeight(Node356height);
- Node356._nodeType = 'text';
- Node356._disallowEvert = true;
- Node356.setRotation(0*Math.PI/180);
- Node356.a('node.width', Node356width);
- Node356.a('node.height', Node356height);
- Node356.a('node.rect', [0, 0, Node356width, Node356height]);
- Node356.a('node.bordercolor','rgba(128,128,128,1)');
- Node356.a('node.borderwidth', 0);
- Node356.a('node.background','' || 'rgba(0,0,0,0)');
- Node356.a('node.gradient','');
- Node356.a('node.gradientcolor','');
- Node356.a('node.text','万kWh');
- Node356.a('node.textalign','center');
- Node356.a('node.textvAlign','middle');
- Node356.a('node.textrect', [Node356textStart, 0, Node356textWidth, Node356height]);
- Node356.a('node.color','rgba(128,128,128,1)');
- Node356.a('node.font',' '+ Node356fontSize + 'px "Arial"');
- Node356.a('node.textvisible',true);
- Node356.a('node.linefeed',false);
- if (false) {
- Node356.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node356.a('node.text') || '万kWh';
- var color=Node356.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node356width,Node356height,13.3333*_ratio.ratioY,"center",color,' '+ Node356fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node356.a('node.underlinepoints',[Node356lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node356fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node356fontSize + 'px "Arial"').width + 6, (Node356height - Node356fontSize) * 0.5*_ratio.ratioY + Node356fontSize + 2 ]);
- Node356.a('node.underlinevisible',false);
- Node356.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node356);
- zoomNodeList.push({
- node: Node356,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node357 = new ht.Node();
- var Node357textStart, Node357textWidth, Node357lineStart, Node357align = 'left', Node357fontSize = 11.99997*_ratio.ratioY,Node357width = 53*_ratio.ratioX, Node357height = 20*_ratio.ratioY;
- (function () {
- if (Node357align === 'left') {
- Node357textStart = Node357fontSize * 0.2 > 2 ? Node357fontSize * 0.2 - 4 : Node357fontSize * 0.2 - 9;
- Node357textWidth = Node357width;
- Node357lineStart = 1;
- } else if (Node357align === 'right') {
- Node357textStart = 0;
- Node357textWidth =Node357fontSize <= 8 ? Node357width + Node357fontSize * 0.2 + 6 : Node357width - Node357fontSize * 0.2;
- Node357lineStart = (Node357width - (ht.Default.getTextSize('机', 'bold '+ Node357fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node357align === 'center') {
- Node357textStart = -3;
- Node357textWidth = Node357width;
- Node357lineStart = Node357width - ht.Default.getTextSize('机', 'bold '+ Node357fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node357.setImage(GD.getTextJSON(Node357width, Node357height, true, false, false, 'bold '+ Node357fontSize + 'px "Arial"'))
- Node357.setPosition(1350*ratio.ratioX, 90*ratio.ratioY);
- Node357.setWidth(Node357width);
- Node357.setHeight(Node357height);
- Node357._nodeType = 'text';
- Node357._disallowEvert = true;
- Node357.setRotation(0*Math.PI/180);
- Node357.a('node.width', Node357width);
- Node357.a('node.height', Node357height);
- Node357.a('node.rect', [0, 0, Node357width, Node357height]);
- Node357.a('node.bordercolor','rgba(255,255,255,1)');
- Node357.a('node.borderwidth', 0);
- Node357.a('node.background','' || 'rgba(0,0,0,0)');
- Node357.a('node.gradient','');
- Node357.a('node.gradientcolor','');
- Node357.a('node.text','机');
- Node357.a('node.textalign','left');
- Node357.a('node.textvAlign','middle');
- Node357.a('node.textrect', [Node357textStart, 0, Node357textWidth, Node357height]);
- Node357.a('node.color','rgba(255,255,255,1)');
- Node357.a('node.font','bold '+ Node357fontSize + 'px "Arial"');
- Node357.a('node.textvisible',true);
- Node357.a('node.linefeed',false);
- if (false) {
- Node357.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node357.a('node.text') || '机';
- var color=Node357.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node357width,Node357height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node357fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node357.a('node.underlinepoints',[Node357lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node357fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node357fontSize + 'px "Arial"').width + 6, (Node357height - Node357fontSize) * 0.5*_ratio.ratioY + Node357fontSize + 2 ]);
- Node357.a('node.underlinevisible',false);
- Node357.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node357);
- zoomNodeList.push({
- node: Node357,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node358 = new ht.Node();
- var Node358textStart, Node358textWidth, Node358lineStart, Node358align = 'left', Node358fontSize = 11.99997*_ratio.ratioY,Node358width = 53*_ratio.ratioX, Node358height = 20*_ratio.ratioY;
- (function () {
- if (Node358align === 'left') {
- Node358textStart = Node358fontSize * 0.2 > 2 ? Node358fontSize * 0.2 - 4 : Node358fontSize * 0.2 - 9;
- Node358textWidth = Node358width;
- Node358lineStart = 1;
- } else if (Node358align === 'right') {
- Node358textStart = 0;
- Node358textWidth =Node358fontSize <= 8 ? Node358width + Node358fontSize * 0.2 + 6 : Node358width - Node358fontSize * 0.2;
- Node358lineStart = (Node358width - (ht.Default.getTextSize('状', 'bold '+ Node358fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node358align === 'center') {
- Node358textStart = -3;
- Node358textWidth = Node358width;
- Node358lineStart = Node358width - ht.Default.getTextSize('状', 'bold '+ Node358fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node358.setImage(GD.getTextJSON(Node358width, Node358height, true, false, false, 'bold '+ Node358fontSize + 'px "Arial"'))
- Node358.setPosition(1350*ratio.ratioX, 113*ratio.ratioY);
- Node358.setWidth(Node358width);
- Node358.setHeight(Node358height);
- Node358._nodeType = 'text';
- Node358._disallowEvert = true;
- Node358.setRotation(0*Math.PI/180);
- Node358.a('node.width', Node358width);
- Node358.a('node.height', Node358height);
- Node358.a('node.rect', [0, 0, Node358width, Node358height]);
- Node358.a('node.bordercolor','rgba(255,255,255,1)');
- Node358.a('node.borderwidth', 0);
- Node358.a('node.background','' || 'rgba(0,0,0,0)');
- Node358.a('node.gradient','');
- Node358.a('node.gradientcolor','');
- Node358.a('node.text','状');
- Node358.a('node.textalign','left');
- Node358.a('node.textvAlign','middle');
- Node358.a('node.textrect', [Node358textStart, 0, Node358textWidth, Node358height]);
- Node358.a('node.color','rgba(255,255,255,1)');
- Node358.a('node.font','bold '+ Node358fontSize + 'px "Arial"');
- Node358.a('node.textvisible',true);
- Node358.a('node.linefeed',false);
- if (false) {
- Node358.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node358.a('node.text') || '状';
- var color=Node358.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node358width,Node358height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node358fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node358.a('node.underlinepoints',[Node358lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node358fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node358fontSize + 'px "Arial"').width + 6, (Node358height - Node358fontSize) * 0.5*_ratio.ratioY + Node358fontSize + 2 ]);
- Node358.a('node.underlinevisible',false);
- Node358.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node358);
- zoomNodeList.push({
- node: Node358,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node359 = new ht.Node();
- var Node359textStart, Node359textWidth, Node359lineStart, Node359align = 'left', Node359fontSize = 11.99997*_ratio.ratioY,Node359width = 53*_ratio.ratioX, Node359height = 20*_ratio.ratioY;
- (function () {
- if (Node359align === 'left') {
- Node359textStart = Node359fontSize * 0.2 > 2 ? Node359fontSize * 0.2 - 4 : Node359fontSize * 0.2 - 9;
- Node359textWidth = Node359width;
- Node359lineStart = 1;
- } else if (Node359align === 'right') {
- Node359textStart = 0;
- Node359textWidth =Node359fontSize <= 8 ? Node359width + Node359fontSize * 0.2 + 6 : Node359width - Node359fontSize * 0.2;
- Node359lineStart = (Node359width - (ht.Default.getTextSize('态', 'bold '+ Node359fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node359align === 'center') {
- Node359textStart = -3;
- Node359textWidth = Node359width;
- Node359lineStart = Node359width - ht.Default.getTextSize('态', 'bold '+ Node359fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node359.setImage(GD.getTextJSON(Node359width, Node359height, true, false, false, 'bold '+ Node359fontSize + 'px "Arial"'))
- Node359.setPosition(1350*ratio.ratioX, 135*ratio.ratioY);
- Node359.setWidth(Node359width);
- Node359.setHeight(Node359height);
- Node359._nodeType = 'text';
- Node359._disallowEvert = true;
- Node359.setRotation(0*Math.PI/180);
- Node359.a('node.width', Node359width);
- Node359.a('node.height', Node359height);
- Node359.a('node.rect', [0, 0, Node359width, Node359height]);
- Node359.a('node.bordercolor','rgba(255,255,255,1)');
- Node359.a('node.borderwidth', 0);
- Node359.a('node.background','' || 'rgba(0,0,0,0)');
- Node359.a('node.gradient','');
- Node359.a('node.gradientcolor','');
- Node359.a('node.text','态');
- Node359.a('node.textalign','left');
- Node359.a('node.textvAlign','middle');
- Node359.a('node.textrect', [Node359textStart, 0, Node359textWidth, Node359height]);
- Node359.a('node.color','rgba(255,255,255,1)');
- Node359.a('node.font','bold '+ Node359fontSize + 'px "Arial"');
- Node359.a('node.textvisible',true);
- Node359.a('node.linefeed',false);
- if (false) {
- Node359.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node359.a('node.text') || '态';
- var color=Node359.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node359width,Node359height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node359fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node359.a('node.underlinepoints',[Node359lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node359fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node359fontSize + 'px "Arial"').width + 6, (Node359height - Node359fontSize) * 0.5*_ratio.ratioY + Node359fontSize + 2 ]);
- Node359.a('node.underlinevisible',false);
- Node359.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node359);
- zoomNodeList.push({
- node: Node359,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node360 = new ht.Node();
- var Node360textStart, Node360textWidth, Node360lineStart, Node360align = 'center', Node360fontSize = 14.66663*_ratio.ratioY,Node360width = 67*_ratio.ratioX, Node360height = 26*_ratio.ratioY;
- (function () {
- if (Node360align === 'left') {
- Node360textStart = Node360fontSize * 0.2 > 2 ? Node360fontSize * 0.2 - 4 : Node360fontSize * 0.2 - 9;
- Node360textWidth = Node360width;
- Node360lineStart = 1;
- } else if (Node360align === 'right') {
- Node360textStart = 0;
- Node360textWidth =Node360fontSize <= 8 ? Node360width + Node360fontSize * 0.2 + 6 : Node360width - Node360fontSize * 0.2;
- Node360lineStart = (Node360width - (ht.Default.getTextSize('台', ' '+ Node360fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node360align === 'center') {
- Node360textStart = -3;
- Node360textWidth = Node360width;
- Node360lineStart = Node360width - ht.Default.getTextSize('台', ' '+ Node360fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node360.setImage(GD.getTextJSON(Node360width, Node360height, true, false, false, ' '+ Node360fontSize + 'px "Arial"'))
- Node360.setPosition(1593*ratio.ratioX, 88*ratio.ratioY);
- Node360.setWidth(Node360width);
- Node360.setHeight(Node360height);
- Node360._nodeType = 'text';
- Node360._disallowEvert = true;
- Node360.setRotation(0*Math.PI/180);
- Node360.a('node.width', Node360width);
- Node360.a('node.height', Node360height);
- Node360.a('node.rect', [0, 0, Node360width, Node360height]);
- Node360.a('node.bordercolor','rgba(105,105,105,1)');
- Node360.a('node.borderwidth', 0);
- Node360.a('node.background','' || 'rgba(0,0,0,0)');
- Node360.a('node.gradient','');
- Node360.a('node.gradientcolor','');
- Node360.a('node.text','台');
- Node360.a('node.textalign','center');
- Node360.a('node.textvAlign','middle');
- Node360.a('node.textrect', [Node360textStart, 0, Node360textWidth, Node360height]);
- Node360.a('node.color','rgba(105,105,105,1)');
- Node360.a('node.font',' '+ Node360fontSize + 'px "Arial"');
- Node360.a('node.textvisible',true);
- Node360.a('node.linefeed',false);
- if (false) {
- Node360.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node360.a('node.text') || '台';
- var color=Node360.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node360width,Node360height,14.66663*_ratio.ratioY,"center",color,' '+ Node360fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node360.a('node.underlinepoints',[Node360lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node360fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node360fontSize + 'px "Arial"').width + 6, (Node360height - Node360fontSize) * 0.5*_ratio.ratioY + Node360fontSize + 2 ]);
- Node360.a('node.underlinevisible',false);
- Node360.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node360);
- zoomNodeList.push({
- node: Node360,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node361;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg');
- Node361 = new ht.Node();
- Node361.setPosition(1482*ratio.ratioX, 72*ratio.ratioY);
- Node361.setSize(9*ratioX, 60*ratioY);
- Node361.setImage('imgimage//page_list_box_left_blue.jpg');
- Node361.setRotation(0*Math.PI/180);
- Node361._zoomBy = 'Default';
- Node361._nodeType = 'image';
- Node361._disallowEvert = true;
- dataModel.add(Node361);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node362type = 'rect';
- var Node362 = new ht.Node(),
- Node362BorderWidth = 1*2;
- if (Node362type === 'arc') {
- Node362BorderWidth *= 1;
- }
- Node362.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node362type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node362.setPosition(1551*ratio.ratioX, 72*ratio.ratioY);
- Node362.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node362.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node362.a('node.width', 127*_ratio.ratioX);
- Node362.a('node.height', 60.81538*_ratio.ratioY);
- Node362.a('node.type', Node362type);
- Node362.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node362.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node362.a('node.gradientcolor', '');
- Node362.a('node.gradient', '');
- Node362.a('node.borderwidth', Node362BorderWidth);
- Node362.a('node.color', 'rgba(128,128,128,1)');
- Node362.a('node.fillrect', [0,0,0,0]);
- Node362.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node362.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node362.a('node.fillgradient', '');
- if (Node362type !== 'rect') {
- Node362.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node362.a('node.arcTo', parseFloat('@arcTo@'));
- Node362.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node362type === 'arc') {
- Node362.a('node.arcOval', true);
- }
- Node362.setRotation(0*Math.PI/180);
- Node362.borderWidth = Node362BorderWidth;
- Node362.borderFillwidth = Node362BorderWidth;
- dataModel.add(Node362);
- Node362._nodename = 'Node362'
- Node362._nodeType = 'rect';
- zoomNodeList.push({
- node: Node362,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node362, Node362.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node363 = new ht.Node();
- var Node363textStart, Node363textWidth, Node363lineStart, Node363align = 'left', Node363fontSize = 15.99996*_ratio.ratioY,Node363width = 29*_ratio.ratioX, Node363height = 25*_ratio.ratioY;
- (function () {
- if (Node363align === 'left') {
- Node363textStart = Node363fontSize * 0.2 > 2 ? Node363fontSize * 0.2 - 4 : Node363fontSize * 0.2 - 9;
- Node363textWidth = Node363width;
- Node363lineStart = 1;
- } else if (Node363align === 'right') {
- Node363textStart = 0;
- Node363textWidth =Node363fontSize <= 8 ? Node363width + Node363fontSize * 0.2 + 6 : Node363width - Node363fontSize * 0.2;
- Node363lineStart = (Node363width - (ht.Default.getTextSize('0', ' '+ Node363fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node363align === 'center') {
- Node363textStart = -3;
- Node363textWidth = Node363width;
- Node363lineStart = Node363width - ht.Default.getTextSize('0', ' '+ Node363fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node363.setImage(GD.getTextJSON(Node363width, Node363height, true, false, false, ' '+ Node363fontSize + 'px "Arial"'))
- Node363.setPosition(1514*ratio.ratioX, 87*ratio.ratioY);
- Node363.setWidth(Node363width);
- Node363.setHeight(Node363height);
- Node363._nodeType = 'text';
- Node363._disallowEvert = true;
- Node363.setRotation(0*Math.PI/180);
- Node363.a('node.width', Node363width);
- Node363.a('node.height', Node363height);
- Node363.a('node.rect', [0, 0, Node363width, Node363height]);
- Node363.a('node.bordercolor','rgba(0,0,0,1)');
- Node363.a('node.borderwidth', 0);
- Node363.a('node.background','' || 'rgba(0,0,0,0)');
- Node363.a('node.gradient','');
- Node363.a('node.gradientcolor','');
- Node363.a('node.text','0');
- Node363.a('node.textalign','left');
- Node363.a('node.textvAlign','middle');
- Node363.a('node.textrect', [Node363textStart, 0, Node363textWidth, Node363height]);
- Node363.a('node.color','rgba(0,0,0,1)');
- Node363.a('node.font',' '+ Node363fontSize + 'px "Arial"');
- Node363.a('node.textvisible',true);
- Node363.a('node.linefeed',false);
- if (false) {
- Node363.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node363.a('node.text') || '0';
- var color=Node363.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node363width,Node363height,15.99996*_ratio.ratioY,"left",color,' '+ Node363fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node363.a('node.underlinepoints',[Node363lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node363fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node363fontSize + 'px "Arial"').width + 6, (Node363height - Node363fontSize) * 0.5*_ratio.ratioY + Node363fontSize + 2 ]);
- Node363.a('node.underlinevisible',false);
- Node363.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node363);
- zoomNodeList.push({
- node: Node363,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node364;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg');
- Node364 = new ht.Node();
- Node364.setPosition(1758*ratio.ratioX, 72*ratio.ratioY);
- Node364.setSize(9*ratioX, 60*ratioY);
- Node364.setImage('imgimage//page_list_box_left_red.jpg');
- Node364.setRotation(0*Math.PI/180);
- Node364._zoomBy = 'Default';
- Node364._nodeType = 'image';
- Node364._disallowEvert = true;
- dataModel.add(Node364);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node365 = new ht.Node();
- var Node365textStart, Node365textWidth, Node365lineStart, Node365align = 'left', Node365fontSize = 15.99996*_ratio.ratioY,Node365width = 29*_ratio.ratioX, Node365height = 25*_ratio.ratioY;
- (function () {
- if (Node365align === 'left') {
- Node365textStart = Node365fontSize * 0.2 > 2 ? Node365fontSize * 0.2 - 4 : Node365fontSize * 0.2 - 9;
- Node365textWidth = Node365width;
- Node365lineStart = 1;
- } else if (Node365align === 'right') {
- Node365textStart = 0;
- Node365textWidth =Node365fontSize <= 8 ? Node365width + Node365fontSize * 0.2 + 6 : Node365width - Node365fontSize * 0.2;
- Node365lineStart = (Node365width - (ht.Default.getTextSize('0', ' '+ Node365fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node365align === 'center') {
- Node365textStart = -3;
- Node365textWidth = Node365width;
- Node365lineStart = Node365width - ht.Default.getTextSize('0', ' '+ Node365fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node365.setImage(GD.getTextJSON(Node365width, Node365height, true, false, false, ' '+ Node365fontSize + 'px "Arial"'))
- Node365.setPosition(1790*ratio.ratioX, 87*ratio.ratioY);
- Node365.setWidth(Node365width);
- Node365.setHeight(Node365height);
- Node365._nodeType = 'text';
- Node365._disallowEvert = true;
- Node365.setRotation(0*Math.PI/180);
- Node365.a('node.width', Node365width);
- Node365.a('node.height', Node365height);
- Node365.a('node.rect', [0, 0, Node365width, Node365height]);
- Node365.a('node.bordercolor','rgba(0,0,0,1)');
- Node365.a('node.borderwidth', 0);
- Node365.a('node.background','' || 'rgba(0,0,0,0)');
- Node365.a('node.gradient','');
- Node365.a('node.gradientcolor','');
- Node365.a('node.text','0');
- Node365.a('node.textalign','left');
- Node365.a('node.textvAlign','middle');
- Node365.a('node.textrect', [Node365textStart, 0, Node365textWidth, Node365height]);
- Node365.a('node.color','rgba(0,0,0,1)');
- Node365.a('node.font',' '+ Node365fontSize + 'px "Arial"');
- Node365.a('node.textvisible',true);
- Node365.a('node.linefeed',false);
- if (false) {
- Node365.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node365.a('node.text') || '0';
- var color=Node365.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node365width,Node365height,15.99996*_ratio.ratioY,"left",color,' '+ Node365fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node365.a('node.underlinepoints',[Node365lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node365fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node365fontSize + 'px "Arial"').width + 6, (Node365height - Node365fontSize) * 0.5*_ratio.ratioY + Node365fontSize + 2 ]);
- Node365.a('node.underlinevisible',false);
- Node365.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node365);
- zoomNodeList.push({
- node: Node365,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node366;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
- Node366 = new ht.Node();
- Node366.setPosition(1758*ratio.ratioX, 133*ratio.ratioY);
- Node366.setSize(9*ratioX, 60*ratioY);
- Node366.setImage('imgimage//page_list_box_left_black.jpg');
- Node366.setRotation(0*Math.PI/180);
- Node366._zoomBy = 'Default';
- Node366._nodeType = 'image';
- Node366._disallowEvert = true;
- dataModel.add(Node366);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node367 = new ht.Node();
- var Node367textStart, Node367textWidth, Node367lineStart, Node367align = 'left', Node367fontSize = 13.3333*_ratio.ratioY,Node367width = 47*_ratio.ratioX, Node367height = 38*_ratio.ratioY;
- (function () {
- if (Node367align === 'left') {
- Node367textStart = Node367fontSize * 0.2 > 2 ? Node367fontSize * 0.2 - 4 : Node367fontSize * 0.2 - 9;
- Node367textWidth = Node367width;
- Node367lineStart = 1;
- } else if (Node367align === 'right') {
- Node367textStart = 0;
- Node367textWidth =Node367fontSize <= 8 ? Node367width + Node367fontSize * 0.2 + 6 : Node367width - Node367fontSize * 0.2;
- Node367lineStart = (Node367width - (ht.Default.getTextSize('离线', 'bold '+ Node367fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node367align === 'center') {
- Node367textStart = -3;
- Node367textWidth = Node367width;
- Node367lineStart = Node367width - ht.Default.getTextSize('离线', 'bold '+ Node367fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node367.setImage(GD.getTextJSON(Node367width, Node367height, true, false, false, 'bold '+ Node367fontSize + 'px "Arial"'))
- Node367.setPosition(1789*ratio.ratioX, 116*ratio.ratioY);
- Node367.setWidth(Node367width);
- Node367.setHeight(Node367height);
- Node367._nodeType = 'text';
- Node367._disallowEvert = true;
- Node367.setRotation(0*Math.PI/180);
- Node367.a('node.width', Node367width);
- Node367.a('node.height', Node367height);
- Node367.a('node.rect', [0, 0, Node367width, Node367height]);
- Node367.a('node.bordercolor','rgba(0,0,0,1)');
- Node367.a('node.borderwidth', 0);
- Node367.a('node.background','' || 'rgba(0,0,0,0)');
- Node367.a('node.gradient','');
- Node367.a('node.gradientcolor','');
- Node367.a('node.text','离线');
- Node367.a('node.textalign','left');
- Node367.a('node.textvAlign','middle');
- Node367.a('node.textrect', [Node367textStart, 0, Node367textWidth, Node367height]);
- Node367.a('node.color','rgba(0,0,0,1)');
- Node367.a('node.font','bold '+ Node367fontSize + 'px "Arial"');
- Node367.a('node.textvisible',true);
- Node367.a('node.linefeed',false);
- if (false) {
- Node367.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node367.a('node.text') || '离线';
- var color=Node367.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node367width,Node367height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node367fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node367.a('node.underlinepoints',[Node367lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node367fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node367fontSize + 'px "Arial"').width + 6, (Node367height - Node367fontSize) * 0.5*_ratio.ratioY + Node367fontSize + 2 ]);
- Node367.a('node.underlinevisible',false);
- Node367.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node367);
- zoomNodeList.push({
- node: Node367,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node368 = new ht.Node();
- var Node368textStart, Node368textWidth, Node368lineStart, Node368align = 'left', Node368fontSize = 15.99996*_ratio.ratioY,Node368width = 29*_ratio.ratioX, Node368height = 25*_ratio.ratioY;
- (function () {
- if (Node368align === 'left') {
- Node368textStart = Node368fontSize * 0.2 > 2 ? Node368fontSize * 0.2 - 4 : Node368fontSize * 0.2 - 9;
- Node368textWidth = Node368width;
- Node368lineStart = 1;
- } else if (Node368align === 'right') {
- Node368textStart = 0;
- Node368textWidth =Node368fontSize <= 8 ? Node368width + Node368fontSize * 0.2 + 6 : Node368width - Node368fontSize * 0.2;
- Node368lineStart = (Node368width - (ht.Default.getTextSize('0', ' '+ Node368fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node368align === 'center') {
- Node368textStart = -3;
- Node368textWidth = Node368width;
- Node368lineStart = Node368width - ht.Default.getTextSize('0', ' '+ Node368fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node368.setImage(GD.getTextJSON(Node368width, Node368height, true, false, false, ' '+ Node368fontSize + 'px "Arial"'))
- Node368.setPosition(1790*ratio.ratioX, 148*ratio.ratioY);
- Node368.setWidth(Node368width);
- Node368.setHeight(Node368height);
- Node368._nodeType = 'text';
- Node368._disallowEvert = true;
- Node368.setRotation(0*Math.PI/180);
- Node368.a('node.width', Node368width);
- Node368.a('node.height', Node368height);
- Node368.a('node.rect', [0, 0, Node368width, Node368height]);
- Node368.a('node.bordercolor','rgba(0,0,0,1)');
- Node368.a('node.borderwidth', 0);
- Node368.a('node.background','' || 'rgba(0,0,0,0)');
- Node368.a('node.gradient','');
- Node368.a('node.gradientcolor','');
- Node368.a('node.text','0');
- Node368.a('node.textalign','left');
- Node368.a('node.textvAlign','middle');
- Node368.a('node.textrect', [Node368textStart, 0, Node368textWidth, Node368height]);
- Node368.a('node.color','rgba(0,0,0,1)');
- Node368.a('node.font',' '+ Node368fontSize + 'px "Arial"');
- Node368.a('node.textvisible',true);
- Node368.a('node.linefeed',false);
- if (false) {
- Node368.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node368.a('node.text') || '0';
- var color=Node368.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node368width,Node368height,15.99996*_ratio.ratioY,"left",color,' '+ Node368fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node368.a('node.underlinepoints',[Node368lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node368fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node368fontSize + 'px "Arial"').width + 6, (Node368height - Node368fontSize) * 0.5*_ratio.ratioY + Node368fontSize + 2 ]);
- Node368.a('node.underlinevisible',false);
- Node368.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node368);
- zoomNodeList.push({
- node: Node368,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node369 = new ht.Node();
- var Node369textStart, Node369textWidth, Node369lineStart, Node369align = 'left', Node369fontSize = 13.3333*_ratio.ratioY,Node369width = 77*_ratio.ratioX, Node369height = 26*_ratio.ratioY;
- (function () {
- if (Node369align === 'left') {
- Node369textStart = Node369fontSize * 0.2 > 2 ? Node369fontSize * 0.2 - 4 : Node369fontSize * 0.2 - 9;
- Node369textWidth = Node369width;
- Node369lineStart = 1;
- } else if (Node369align === 'right') {
- Node369textStart = 0;
- Node369textWidth =Node369fontSize <= 8 ? Node369width + Node369fontSize * 0.2 + 6 : Node369width - Node369fontSize * 0.2;
- Node369lineStart = (Node369width - (ht.Default.getTextSize('上网电量', ' '+ Node369fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node369align === 'center') {
- Node369textStart = -3;
- Node369textWidth = Node369width;
- Node369lineStart = Node369width - ht.Default.getTextSize('上网电量', ' '+ Node369fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node369.setImage(GD.getTextJSON(Node369width, Node369height, true, false, false, ' '+ Node369fontSize + 'px "微软雅黑"'))
- Node369.setPosition(233*ratio.ratioX, 151*ratio.ratioY);
- Node369.setWidth(Node369width);
- Node369.setHeight(Node369height);
- Node369._nodeType = 'text';
- Node369._disallowEvert = true;
- Node369.setRotation(0*Math.PI/180);
- Node369.a('node.width', Node369width);
- Node369.a('node.height', Node369height);
- Node369.a('node.rect', [0, 0, Node369width, Node369height]);
- Node369.a('node.bordercolor','rgba(0,0,0,1)');
- Node369.a('node.borderwidth', 0);
- Node369.a('node.background','' || 'rgba(0,0,0,0)');
- Node369.a('node.gradient','');
- Node369.a('node.gradientcolor','');
- Node369.a('node.text','上网电量');
- Node369.a('node.textalign','left');
- Node369.a('node.textvAlign','middle');
- Node369.a('node.textrect', [Node369textStart, 0, Node369textWidth, Node369height]);
- Node369.a('node.color','rgba(0,0,0,1)');
- Node369.a('node.font',' '+ Node369fontSize + 'px "微软雅黑"');
- Node369.a('node.textvisible',true);
- Node369.a('node.linefeed',false);
- if (false) {
- Node369.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node369.a('node.text') || '上网电量';
- var color=Node369.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node369width,Node369height,13.3333*_ratio.ratioY,"left",color,' '+ Node369fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node369.a('node.underlinepoints',[Node369lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node369fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node369fontSize + 'px "微软雅黑"').width + 6, (Node369height - Node369fontSize) * 0.5*_ratio.ratioY + Node369fontSize + 2 ]);
- Node369.a('node.underlinevisible',false);
- Node369.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node369);
- zoomNodeList.push({
- node: Node369,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node370 = new ht.Node();
- var Node370textStart, Node370textWidth, Node370lineStart, Node370align = 'center', Node370fontSize = 13.3333*_ratio.ratioY,Node370width = 113*_ratio.ratioX, Node370height = 26*_ratio.ratioY;
- (function () {
- if (Node370align === 'left') {
- Node370textStart = Node370fontSize * 0.2 > 2 ? Node370fontSize * 0.2 - 4 : Node370fontSize * 0.2 - 9;
- Node370textWidth = Node370width;
- Node370lineStart = 1;
- } else if (Node370align === 'right') {
- Node370textStart = 0;
- Node370textWidth =Node370fontSize <= 8 ? Node370width + Node370fontSize * 0.2 + 6 : Node370width - Node370fontSize * 0.2;
- Node370lineStart = (Node370width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node370fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node370align === 'center') {
- Node370textStart = -3;
- Node370textWidth = Node370width;
- Node370lineStart = Node370width - ht.Default.getTextSize('日性能损失电量', ' '+ Node370fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node370.setImage(GD.getTextJSON(Node370width, Node370height, true, false, false, ' '+ Node370fontSize + 'px "微软雅黑"'))
- Node370.setPosition(538*ratio.ratioX, 152*ratio.ratioY);
- Node370.setWidth(Node370width);
- Node370.setHeight(Node370height);
- Node370._nodeType = 'text';
- Node370._disallowEvert = true;
- Node370.setRotation(0*Math.PI/180);
- Node370.a('node.width', Node370width);
- Node370.a('node.height', Node370height);
- Node370.a('node.rect', [0, 0, Node370width, Node370height]);
- Node370.a('node.bordercolor','rgba(0,0,0,1)');
- Node370.a('node.borderwidth', 0);
- Node370.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node370.a('node.gradient','');
- Node370.a('node.gradientcolor','rgba(255,255,255,0)');
- Node370.a('node.text','日性能损失电量');
- Node370.a('node.textalign','center');
- Node370.a('node.textvAlign','middle');
- Node370.a('node.textrect', [Node370textStart, 0, Node370textWidth, Node370height]);
- Node370.a('node.color','rgba(0,0,0,1)');
- Node370.a('node.font',' '+ Node370fontSize + 'px "微软雅黑"');
- Node370.a('node.textvisible',true);
- Node370.a('node.linefeed',false);
- if (false) {
- Node370.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node370.a('node.text') || '日性能损失电量';
- var color=Node370.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node370width,Node370height,13.3333*_ratio.ratioY,"center",color,' '+ Node370fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node370.a('node.underlinepoints',[Node370lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node370fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node370fontSize + 'px "微软雅黑"').width + 6, (Node370height - Node370fontSize) * 0.5*_ratio.ratioY + Node370fontSize + 2 ]);
- Node370.a('node.underlinevisible',false);
- Node370.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node370);
- zoomNodeList.push({
- node: Node370,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node371 = new ht.Node();
- var Node371textStart, Node371textWidth, Node371lineStart, Node371align = 'center', Node371fontSize = 13.3333*_ratio.ratioY,Node371width = 110*_ratio.ratioX, Node371height = 26*_ratio.ratioY;
- (function () {
- if (Node371align === 'left') {
- Node371textStart = Node371fontSize * 0.2 > 2 ? Node371fontSize * 0.2 - 4 : Node371fontSize * 0.2 - 9;
- Node371textWidth = Node371width;
- Node371lineStart = 1;
- } else if (Node371align === 'right') {
- Node371textStart = 0;
- Node371textWidth =Node371fontSize <= 8 ? Node371width + Node371fontSize * 0.2 + 6 : Node371width - Node371fontSize * 0.2;
- Node371lineStart = (Node371width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node371fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node371align === 'center') {
- Node371textStart = -3;
- Node371textWidth = Node371width;
- Node371lineStart = Node371width - ht.Default.getTextSize('月性能损失电量', ' '+ Node371fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node371.setImage(GD.getTextJSON(Node371width, Node371height, true, false, false, ' '+ Node371fontSize + 'px "微软雅黑"'))
- Node371.setPosition(819*ratio.ratioX, 152*ratio.ratioY);
- Node371.setWidth(Node371width);
- Node371.setHeight(Node371height);
- Node371._nodeType = 'text';
- Node371._disallowEvert = true;
- Node371.setRotation(0*Math.PI/180);
- Node371.a('node.width', Node371width);
- Node371.a('node.height', Node371height);
- Node371.a('node.rect', [0, 0, Node371width, Node371height]);
- Node371.a('node.bordercolor','rgba(0,0,0,1)');
- Node371.a('node.borderwidth', 0);
- Node371.a('node.background','' || 'rgba(0,0,0,0)');
- Node371.a('node.gradient','');
- Node371.a('node.gradientcolor','');
- Node371.a('node.text','月性能损失电量');
- Node371.a('node.textalign','center');
- Node371.a('node.textvAlign','middle');
- Node371.a('node.textrect', [Node371textStart, 0, Node371textWidth, Node371height]);
- Node371.a('node.color','rgba(0,0,0,1)');
- Node371.a('node.font',' '+ Node371fontSize + 'px "微软雅黑"');
- Node371.a('node.textvisible',true);
- Node371.a('node.linefeed',false);
- if (false) {
- Node371.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node371.a('node.text') || '月性能损失电量';
- var color=Node371.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node371width,Node371height,13.3333*_ratio.ratioY,"center",color,' '+ Node371fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node371.a('node.underlinepoints',[Node371lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node371fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node371fontSize + 'px "微软雅黑"').width + 6, (Node371height - Node371fontSize) * 0.5*_ratio.ratioY + Node371fontSize + 2 ]);
- Node371.a('node.underlinevisible',false);
- Node371.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node371);
- zoomNodeList.push({
- node: Node371,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node372 = new ht.Node();
- var Node372textStart, Node372textWidth, Node372lineStart, Node372align = 'center', Node372fontSize = 13.3333*_ratio.ratioY,Node372width = 110*_ratio.ratioX, Node372height = 26*_ratio.ratioY;
- (function () {
- if (Node372align === 'left') {
- Node372textStart = Node372fontSize * 0.2 > 2 ? Node372fontSize * 0.2 - 4 : Node372fontSize * 0.2 - 9;
- Node372textWidth = Node372width;
- Node372lineStart = 1;
- } else if (Node372align === 'right') {
- Node372textStart = 0;
- Node372textWidth =Node372fontSize <= 8 ? Node372width + Node372fontSize * 0.2 + 6 : Node372width - Node372fontSize * 0.2;
- Node372lineStart = (Node372width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node372fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node372align === 'center') {
- Node372textStart = -3;
- Node372textWidth = Node372width;
- Node372lineStart = Node372width - ht.Default.getTextSize('年性能损失电量', ' '+ Node372fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node372.setImage(GD.getTextJSON(Node372width, Node372height, true, false, false, ' '+ Node372fontSize + 'px "微软雅黑"'))
- Node372.setPosition(1099*ratio.ratioX, 151*ratio.ratioY);
- Node372.setWidth(Node372width);
- Node372.setHeight(Node372height);
- Node372._nodeType = 'text';
- Node372._disallowEvert = true;
- Node372.setRotation(0*Math.PI/180);
- Node372.a('node.width', Node372width);
- Node372.a('node.height', Node372height);
- Node372.a('node.rect', [0, 0, Node372width, Node372height]);
- Node372.a('node.bordercolor','rgba(0,0,0,1)');
- Node372.a('node.borderwidth', 0);
- Node372.a('node.background','' || 'rgba(0,0,0,0)');
- Node372.a('node.gradient','');
- Node372.a('node.gradientcolor','');
- Node372.a('node.text','年性能损失电量');
- Node372.a('node.textalign','center');
- Node372.a('node.textvAlign','middle');
- Node372.a('node.textrect', [Node372textStart, 0, Node372textWidth, Node372height]);
- Node372.a('node.color','rgba(0,0,0,1)');
- Node372.a('node.font',' '+ Node372fontSize + 'px "微软雅黑"');
- Node372.a('node.textvisible',true);
- Node372.a('node.linefeed',false);
- if (false) {
- Node372.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node372.a('node.text') || '年性能损失电量';
- var color=Node372.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node372width,Node372height,13.3333*_ratio.ratioY,"center",color,' '+ Node372fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node372.a('node.underlinepoints',[Node372lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node372fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node372fontSize + 'px "微软雅黑"').width + 6, (Node372height - Node372fontSize) * 0.5*_ratio.ratioY + Node372fontSize + 2 ]);
- Node372.a('node.underlinevisible',false);
- Node372.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node372);
- zoomNodeList.push({
- node: Node372,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node373 = new ht.Node();
- var Node373textStart, Node373textWidth, Node373lineStart, Node373align = 'left', Node373fontSize = 13.3333*_ratio.ratioY,Node373width = 47*_ratio.ratioX, Node373height = 38*_ratio.ratioY;
- (function () {
- if (Node373align === 'left') {
- Node373textStart = Node373fontSize * 0.2 > 2 ? Node373fontSize * 0.2 - 4 : Node373fontSize * 0.2 - 9;
- Node373textWidth = Node373width;
- Node373lineStart = 1;
- } else if (Node373align === 'right') {
- Node373textStart = 0;
- Node373textWidth =Node373fontSize <= 8 ? Node373width + Node373fontSize * 0.2 + 6 : Node373width - Node373fontSize * 0.2;
- Node373lineStart = (Node373width - (ht.Default.getTextSize('运行', 'bold '+ Node373fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node373align === 'center') {
- Node373textStart = -3;
- Node373textWidth = Node373width;
- Node373lineStart = Node373width - ht.Default.getTextSize('运行', 'bold '+ Node373fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node373.setImage(GD.getTextJSON(Node373width, Node373height, true, false, false, 'bold '+ Node373fontSize + 'px "Arial"'))
- Node373.setPosition(1513*ratio.ratioX, 54*ratio.ratioY);
- Node373.setWidth(Node373width);
- Node373.setHeight(Node373height);
- Node373._nodeType = 'text';
- Node373._disallowEvert = true;
- Node373.setRotation(0*Math.PI/180);
- Node373.a('node.width', Node373width);
- Node373.a('node.height', Node373height);
- Node373.a('node.rect', [0, 0, Node373width, Node373height]);
- Node373.a('node.bordercolor','rgba(0,0,0,1)');
- Node373.a('node.borderwidth', 0);
- Node373.a('node.background','' || 'rgba(0,0,0,0)');
- Node373.a('node.gradient','');
- Node373.a('node.gradientcolor','');
- Node373.a('node.text','运行');
- Node373.a('node.textalign','left');
- Node373.a('node.textvAlign','middle');
- Node373.a('node.textrect', [Node373textStart, 0, Node373textWidth, Node373height]);
- Node373.a('node.color','rgba(0,0,0,1)');
- Node373.a('node.font','bold '+ Node373fontSize + 'px "Arial"');
- Node373.a('node.textvisible',true);
- Node373.a('node.linefeed',false);
- if (false) {
- Node373.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node373.a('node.text') || '运行';
- var color=Node373.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node373width,Node373height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node373fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node373.a('node.underlinepoints',[Node373lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node373fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node373fontSize + 'px "Arial"').width + 6, (Node373height - Node373fontSize) * 0.5*_ratio.ratioY + Node373fontSize + 2 ]);
- Node373.a('node.underlinevisible',false);
- Node373.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node373);
- zoomNodeList.push({
- node: Node373,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node374 = new ht.Node();
- var Node374textStart, Node374textWidth, Node374lineStart, Node374align = 'left', Node374fontSize = 13.3333*_ratio.ratioY,Node374width = 47*_ratio.ratioX, Node374height = 38*_ratio.ratioY;
- (function () {
- if (Node374align === 'left') {
- Node374textStart = Node374fontSize * 0.2 > 2 ? Node374fontSize * 0.2 - 4 : Node374fontSize * 0.2 - 9;
- Node374textWidth = Node374width;
- Node374lineStart = 1;
- } else if (Node374align === 'right') {
- Node374textStart = 0;
- Node374textWidth =Node374fontSize <= 8 ? Node374width + Node374fontSize * 0.2 + 6 : Node374width - Node374fontSize * 0.2;
- Node374lineStart = (Node374width - (ht.Default.getTextSize('待机', 'bold '+ Node374fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node374align === 'center') {
- Node374textStart = -3;
- Node374textWidth = Node374width;
- Node374lineStart = Node374width - ht.Default.getTextSize('待机', 'bold '+ Node374fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node374.setImage(GD.getTextJSON(Node374width, Node374height, true, false, false, 'bold '+ Node374fontSize + 'px "Arial"'))
- Node374.setPosition(1651*ratio.ratioX, 54*ratio.ratioY);
- Node374.setWidth(Node374width);
- Node374.setHeight(Node374height);
- Node374._nodeType = 'text';
- Node374._disallowEvert = true;
- Node374.setRotation(0*Math.PI/180);
- Node374.a('node.width', Node374width);
- Node374.a('node.height', Node374height);
- Node374.a('node.rect', [0, 0, Node374width, Node374height]);
- Node374.a('node.bordercolor','rgba(0,0,0,1)');
- Node374.a('node.borderwidth', 0);
- Node374.a('node.background','' || 'rgba(0,0,0,0)');
- Node374.a('node.gradient','');
- Node374.a('node.gradientcolor','');
- Node374.a('node.text','待机');
- Node374.a('node.textalign','left');
- Node374.a('node.textvAlign','middle');
- Node374.a('node.textrect', [Node374textStart, 0, Node374textWidth, Node374height]);
- Node374.a('node.color','rgba(0,0,0,1)');
- Node374.a('node.font','bold '+ Node374fontSize + 'px "Arial"');
- Node374.a('node.textvisible',true);
- Node374.a('node.linefeed',false);
- if (false) {
- Node374.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node374.a('node.text') || '待机';
- var color=Node374.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node374width,Node374height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node374fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node374.a('node.underlinepoints',[Node374lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node374fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node374fontSize + 'px "Arial"').width + 6, (Node374height - Node374fontSize) * 0.5*_ratio.ratioY + Node374fontSize + 2 ]);
- Node374.a('node.underlinevisible',false);
- Node374.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node374);
- zoomNodeList.push({
- node: Node374,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node375 = new ht.Node();
- var Node375textStart, Node375textWidth, Node375lineStart, Node375align = 'left', Node375fontSize = 13.3333*_ratio.ratioY,Node375width = 47*_ratio.ratioX, Node375height = 38*_ratio.ratioY;
- (function () {
- if (Node375align === 'left') {
- Node375textStart = Node375fontSize * 0.2 > 2 ? Node375fontSize * 0.2 - 4 : Node375fontSize * 0.2 - 9;
- Node375textWidth = Node375width;
- Node375lineStart = 1;
- } else if (Node375align === 'right') {
- Node375textStart = 0;
- Node375textWidth =Node375fontSize <= 8 ? Node375width + Node375fontSize * 0.2 + 6 : Node375width - Node375fontSize * 0.2;
- Node375lineStart = (Node375width - (ht.Default.getTextSize('故障', 'bold '+ Node375fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node375align === 'center') {
- Node375textStart = -3;
- Node375textWidth = Node375width;
- Node375lineStart = Node375width - ht.Default.getTextSize('故障', 'bold '+ Node375fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node375.setImage(GD.getTextJSON(Node375width, Node375height, true, false, false, 'bold '+ Node375fontSize + 'px "Arial"'))
- Node375.setPosition(1789*ratio.ratioX, 54*ratio.ratioY);
- Node375.setWidth(Node375width);
- Node375.setHeight(Node375height);
- Node375._nodeType = 'text';
- Node375._disallowEvert = true;
- Node375.setRotation(0*Math.PI/180);
- Node375.a('node.width', Node375width);
- Node375.a('node.height', Node375height);
- Node375.a('node.rect', [0, 0, Node375width, Node375height]);
- Node375.a('node.bordercolor','rgba(0,0,0,1)');
- Node375.a('node.borderwidth', 0);
- Node375.a('node.background','' || 'rgba(0,0,0,0)');
- Node375.a('node.gradient','');
- Node375.a('node.gradientcolor','');
- Node375.a('node.text','故障');
- Node375.a('node.textalign','left');
- Node375.a('node.textvAlign','middle');
- Node375.a('node.textrect', [Node375textStart, 0, Node375textWidth, Node375height]);
- Node375.a('node.color','rgba(0,0,0,1)');
- Node375.a('node.font','bold '+ Node375fontSize + 'px "Arial"');
- Node375.a('node.textvisible',true);
- Node375.a('node.linefeed',false);
- if (false) {
- Node375.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node375.a('node.text') || '故障';
- var color=Node375.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node375width,Node375height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node375fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node375.a('node.underlinepoints',[Node375lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node375fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node375fontSize + 'px "Arial"').width + 6, (Node375height - Node375fontSize) * 0.5*_ratio.ratioY + Node375fontSize + 2 ]);
- Node375.a('node.underlinevisible',false);
- Node375.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node375);
- zoomNodeList.push({
- node: Node375,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'xdssdl':PageBackground_xdssdl,'gzssdl':PageBackground_gzssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'ztjs':PageBackground_ztjs,'aaa':PageBackground_aaa,'bbb':PageBackground_bbb,'ccc':PageBackground_ccc,'ddd':PageBackground_ddd,'eee':PageBackground_eee,'G':PageBackground_G,'H':PageBackground_H,'I':PageBackground_I,'J':PageBackground_J,'K':PageBackground_K,'L':PageBackground_L,'M':PageBackground_M,'N':PageBackground_N,'O':PageBackground_O,'P':PageBackground_P,'R':PageBackground_R,'S':PageBackground_S,'T':PageBackground_T,'U':PageBackground_U,'V':PageBackground_V,'W':PageBackground_W,'X':PageBackground_X,'Y':PageBackground_Y,'Z':PageBackground_Z,'AA':PageBackground_AA,'BB':PageBackground_BB,'CC':PageBackground_CC,'DD':PageBackground_DD,'EE':PageBackground_EE,'FF':PageBackground_FF,'GG':PageBackground_GG,'HH':PageBackground_HH,'II':PageBackground_II,'JJ':PageBackground_JJ,'KK':PageBackground_KK,'LL':PageBackground_LL,'MM':PageBackground_MM,'NN':PageBackground_NN,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- if(typeof(Node0.borderWidth)!="undefined"){setDashStyle(Node0,"Node0",'NoDash',Node0.borderWidth);}
- if(typeof(Node2.borderWidth)!="undefined"){setDashStyle(Node2,"Node2",'NoDash',Node2.borderWidth);}
- if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);}
- if(typeof(Node6.borderWidth)!="undefined"){setDashStyle(Node6,"Node6",'NoDash',Node6.borderWidth);}
- if((0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}
- if((0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}
- if((0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}
- if((0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}
- if((0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}
- if((0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}
- if((0 )){Node203.s('2d.visible',true);}else{Node203.s('2d.visible',false);}
- if((0 )){Node205.s('2d.visible',true);}else{Node205.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++;
- Node22.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0012") ),-1));
- Node25.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0011") ),-1));
- Node28.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0010") ),-1));
- Node66.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0006") ),-1));
- Node70.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0002") ),-1));
- Node80.a('node.text',''+aaa+'');
- Node87.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0014") ),-1));
- Node90.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0015") ),-1));
- Node98.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0036") ),-1));
- Node99.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0165") ),-1));
- Node101.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0013") ),-1));
- Node103.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0023") ),-1));
- Node104.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0068") ),-1));
- Node105.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0075") ),-1));
- Node106.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0069") ),-1));
- Node108.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0016") ),-1));
- Node110.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0003") ),-1));
- Node111.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0027") ),-1));
- Node112.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0029") ),-1));
- Node113.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0031") ),-1));
- Node114.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0004") ),-1));
- Node119.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0035") ),-1));
- Node120.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0037") ),-1));
- Node121.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0018") ),-1));
- Node125.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0024") ),-1));
- Node126.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0005") ),-1));
- Node166.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0020") + getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0024") + getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0032") + getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0180") + getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0100") + getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0104") ),-1));
- Node167.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0024") ),-1));
- Node168.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0032") ),-1));
- Node169.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0020") ),-1));
- Node170.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0100") + getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0104") ),-1));
- Node171.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0180") ),-1));
- Node172.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0013") ),-1));
- Node173.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0038") ),-1));
- Node174.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0014") ),-1));
- Node175.a('node.text',GetDital((getVarValue("GL_FJ_JSD.SX_GD_GLF_JS_"+AA+"_"+BB+"_"+CC+"_CI0196") ),-1));
- Node176.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0073") ),-1));
- Node177.a('node.text',GetDital((getVarValue("GL_FJ.SX_GD_GLF_FJ_"+AA+"_"+BB+"_"+CC+"_AI0017") ),-1));
- Node189.a('node.text',''+bbb+'');
- Node225.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node231.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') ),-1));
- Node235.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') ),-1));
- Node240.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') ),-1));
- Node273.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144') ),-1));
- Node274.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140') ),-1));
- Node275.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168') ),-1));
- Node276.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164') ),-1));
- Node277.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196') ),-1));
- Node302.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038') ),-1));
- Node303.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034') ),-1));
- Node304.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065') ),-1));
- Node305.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061') ),-1));
- Node306.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188') ),-1));
- Node322.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005') ),-1));
- Node323.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125') ),-1));
- Node324.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124') ),-1));
- Node325.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077') ),-1));
- Node326.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126') ),-1));
- Node342.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089') ),-1));
- Node343.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085') ),-1));
- Node344.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116') ),-1));
- Node345.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112') ),-1));
- Node346.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192') ),-1));
- Node363.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node365.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') ),-1));
- Node368.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((sxxny==1)>0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node192.s('2d.visible',true);}else{Node192.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node194.s('2d.visible',true);}else{Node194.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node196.s('2d.visible',true);}else{Node196.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node198.s('2d.visible',true);}else{Node198.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node200.s('2d.visible',true);}else{Node200.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node202.s('2d.visible',true);}else{Node202.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node203.s('2d.visible',true);}else{Node203.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node204.s('2d.visible',true);}else{Node204.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node205.s('2d.visible',true);}else{Node205.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node206.s('2d.visible',true);}else{Node206.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node207_0.s('2d.visible',true);}else{Node207_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node207_1.s('2d.visible',true);}else{Node207_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node208_0.s('2d.visible',true);}else{Node208_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node208_1.s('2d.visible',true);}else{Node208_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node209_0.s('2d.visible',true);}else{Node209_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node209_1.s('2d.visible',true);}else{Node209_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node210_0.s('2d.visible',true);}else{Node210_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node210_1.s('2d.visible',true);}else{Node210_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node211_0.s('2d.visible',true);}else{Node211_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node211_1.s('2d.visible',true);}else{Node211_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node212_0.s('2d.visible',true);}else{Node212_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node212_1.s('2d.visible',true);}else{Node212_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node213_0.s('2d.visible',true);}else{Node213_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node213_1.s('2d.visible',true);}else{Node213_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node214_0.s('2d.visible',true);}else{Node214_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node214_1.s('2d.visible',true);}else{Node214_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node215_0.s('2d.visible',true);}else{Node215_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node215_1.s('2d.visible',true);}else{Node215_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node216_0.s('2d.visible',true);}else{Node216_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node216_1.s('2d.visible',true);}else{Node216_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node217_0.s('2d.visible',true);}else{Node217_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node217_1.s('2d.visible',true);}else{Node217_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node218_0.s('2d.visible',true);}else{Node218_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node218_1.s('2d.visible',true);}else{Node218_1.s('2d.visible',false);}}
- /*@Timer500ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer500msCmd, 500));
- function Timer1sCmd() {
- Counter1s++;
- if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === Node193){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node195){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node197){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node199){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node201){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node207_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node207_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node208_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node208_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node209_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node209_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node210_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node210_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node211_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node211_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node212_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node212_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; 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 !== Node191&& objMouseOn===Node191){sxxny=0; }
- if(data !== Node193&& objMouseOn===Node193){yygjb=0; }
- if(data !== Node195&& objMouseOn===Node195){plhts=0; }
- if(data !== Node197&& objMouseOn===Node197){tqwns=0; }
- if(data !== Node199&& objMouseOn===Node199){gljf=0; }
- if(data !== Node201&& objMouseOn===Node201){hyfy=0; }
- if(data !== Node203&& objMouseOn===Node203){llbts=0; }
- if(data !== Node205&& objMouseOn===Node205){ygcls=0; }
- if(data !== Node207_0&& objMouseOn===Node207_0){A=0; }
- if(data !== Node207_1&& objMouseOn===Node207_1){A=0; }
- if(data !== Node208_0&& objMouseOn===Node208_0){B=0; }
- if(data !== Node208_1&& objMouseOn===Node208_1){B=0; }
- if(data !== Node209_0&& objMouseOn===Node209_0){C=0; }
- if(data !== Node209_1&& objMouseOn===Node209_1){C=0; }
- if(data !== Node210_0&& objMouseOn===Node210_0){F=0; }
- if(data !== Node210_1&& objMouseOn===Node210_1){F=0; }
- if(data !== Node211_0&& objMouseOn===Node211_0){E=0; }
- if(data !== Node211_1&& objMouseOn===Node211_1){E=0; }
- if(data !== Node212_0&& objMouseOn===Node212_0){D=0; }
- if(data !== Node212_1&& objMouseOn===Node212_1){D=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 === Node192){sxxny=1; }
- if(data === Node194){yygjb=1; }
- if(data === Node196){plhts=1; }
- if(data === Node198){tqwns=1; }
- if(data === Node200){gljf=1; }
- if(data === Node202){hyfy=1; }
- if(data === Node204){llbts=1; }
- if(data === Node206){ygcls=1; }
- if(data === Node213_0){A=1; }
- if(data === Node213_1){A=1; }
- if(data === Node214_0){B=1; }
- if(data === Node214_1){B=1; }
- if(data === Node215_0){C=1; }
- if(data === Node215_1){C=1; }
- if(data === Node216_0){E=1; }
- if(data === Node216_1){E=1; }
- if(data === Node217_0){F=1; }
- if(data === Node217_1){F=1; }
- if(data === Node218_0){D=1; }
- if(data === Node218_1){D=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();
- }
- })();
-
- })();
- }
|