1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188 |
- /*@WebApiFunc@*/
- var varList = ['HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0601','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0602','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0603','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0001','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0007','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0008','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0009','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0010','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0054','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0055','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0056','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0057','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0022','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0020','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0021','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0019','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0011','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0012','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0013','SX_GD_HYF_DQ_P1_L1_001_AI0014','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0023','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0024','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0025','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0074','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0075','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0076','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0077','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0078','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0079','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0080','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0081','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0626','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0627','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0628','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0003','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0015','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0016','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0017','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0018','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0027','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0028','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0029','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0030','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0038','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0039','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0040','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0041','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0042','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0043','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0044','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0045','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0046','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0047','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0048','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0049','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0050','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0051','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0052','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0053','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0058','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0059','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0060','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0061','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0062','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0063','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0064','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0065','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0066','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0067','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0068','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0069','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0070','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0071','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0072','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0073','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0035','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0036','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0037','HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0674','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0004','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0009','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0129','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0130','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0131','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0171','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0144','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0140','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0168','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0160','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0164','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0038','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0034','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0065','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0054','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0061','GS_JCD.LN_GD_HY_JS_XX_XX_XXX_CI0006','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0125','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0124','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0077','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0089','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0085','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0116','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0108','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0112','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0126','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0192','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0196','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0188'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
- '1234/syz_hy': ['lib/粗线.js','lib/紫箭头.js','lib/粗黄线长.js','lib/接地.js','lib/123.js','lib/黄色接地.js','lib/12345.js','lib/主变.js','lib/黄色箭头.js','lib/黄色向上接地.js','lib/黄箭头.js','lib/开关通用图元.js','lib/断路器通用图元.js','lib/手车通用图元.js','lib/倒置 接地刀闸通用图元.js'],
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 108 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- anniu=0;
- A=0;
- B=0;
- C=0;
- D=0;
- F=0;
- E=0;
- AA="";
- BB="";
- CC="";
- Node255_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0006";
- Node256_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0004";
- Node257_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0024";
- Node258_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0022";
- Node259_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0042";
- Node260_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0040";
- Node261_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0093";
- Node262_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0124";
- Node263_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0125";
- Node264_xianshi="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0133";
- Node265_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0002";
- Node266_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0014";
- Node267_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0020";
- Node268_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0038";
- Node269_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0088";
- Node270_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0034";
- Node271_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0052";
- Node272_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0119";
- Node273_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0128";
- Node274_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0064";
- Node275_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0070";
- Node276_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0076";
- Node277_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0082";
- Node278_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0058";
- Node279_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0095";
- Node280_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0101";
- Node281_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0107";
- Node282_xianshi1="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0113";
- Node283_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0090";
- Node284_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0056";
- Node285_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0036";
- Node286_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0054";
- Node287_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0050";
- Node288_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0121";
- Node289_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0130";
- Node290_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0066";
- Node291_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0072";
- Node292_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0078";
- Node293_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0084";
- Node294_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0060";
- Node295_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0097";
- Node296_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0103";
- Node297_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0109";
- Node298_xianshi2="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0115";
- Node299_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0012";
- Node300_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0010";
- Node301_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0004";
- Node302_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0016";
- Node303_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0018";
- Node304_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0030";
- Node305_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0028";
- Node306_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0026";
- Node307_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0048";
- Node321_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0046";
- Node322_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0044";
- Node323_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0094";
- Node324_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0092";
- Node325_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0032";
- Node326_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0050";
- Node327_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0126";
- Node328_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0127";
- Node329_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0134";
- Node342_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0132";
- Node343_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0068";
- Node344_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0074";
- Node345_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0080";
- Node346_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0086";
- Node347_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0099";
- Node348_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0105";
- Node349_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0111";
- Node350_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0117";
- Node353_xianshi4="HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0123";
- Node362_xianshi2="SX_GD_HYF_DQ_P1_L1_001_DI0062";
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 964};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, 964*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 482*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 964*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 964*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 964*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0 = new ht.lib['粗线'](971*ratio.ratioX, 364*ratio.ratioY, 1511*_ratio.ratioX, 9*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node0');
- _libModel.add("Node0", Node0);
- Node0.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1 = new ht.lib['紫箭头'](432*ratio.ratioX, 213*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node1');
- _libModel.add("Node1", Node1);
- Node1.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2 = new ht.lib['粗黄线长'](512*ratio.ratioX, 641*ratio.ratioY, 820*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node2');
- _libModel.add("Node2", Node2);
- Node2.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3 = new ht.lib['粗黄线长'](1423*ratio.ratioX, 641*ratio.ratioY, 820*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node3');
- _libModel.add("Node3", Node3);
- Node3.setRotation(0*Math.PI/180);
- ;
- ;
- var Node4points=[433, 219,433, 239],
- Node4rect=ht.Default.unionPoint([{x:433,y:219},{x:433,y:239}]),
- Node4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node4points.length;i++){
- if(i%2==0){
- Node4compspts.push(Node4points[i]-Node4rect.x);
- }else{
- Node4compspts.push(Node4points[i]-Node4rect.y);
- }
- }
- var Node4ptslength=Node4compspts.length;
- if (Node4rect.height === 0) {
- Node4compspts[0] -= 0;
- Node4compspts[Node4ptslength-2] += 0;
- } else if (Node4rect.width === 0){
- Node4compspts[1] -= 0;
- Node4compspts[Node4ptslength-1] += 0;
- } else {
- Node4compspts[0] -= 0;
- Node4compspts[1] -= 0;
- Node4compspts[Node4ptslength-2] += 0;
- Node4compspts[Node4ptslength-1] += 0;
- }
- Node4 = new ht.Node();
- Node4.borderWidth = 1;
- Node4rect.width = Node4rect.width === 0 ? 0.0001 : Node4rect.width;
- Node4rect.height = Node4rect.height === 0 ? 0.0001 : Node4rect.height;
- var Node4endCompspts = [Node4compspts[Node4ptslength-2],Node4compspts[Node4ptslength-1],0,0];
- var Node4startCompspts = [Node4compspts[0],Node4compspts[1],0,0];
- Node4.setImage(GD.getPolyLineJSON());
- Node4.setPosition(Node4rect.x+Node4rect.width/2,Node4rect.y+Node4rect.height/2);
- Node4.setSize(Node4rect.width,Node4rect.height);
- Node4.setStyle("opacity",1);
- Node4.s({'pixelPerfect':true});
- Node4borderwidth=1;
- Node4.setRotation(0);
- dataModel.add(Node4);
- Node4.a('node.points',Node4compspts);
- Node4.a('node.segments',[1,2]);
- Node4.a('node.color','rgba(255,0,255,1)');
- Node4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node4.a('node.borderColor','rgba(255,0,255,1)');
- Node4.a('node.background','rgba(255,0,255,1)');
- Node4.a('node.gradient','');
- Node4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node4.a('node.endCompspts',Node4endCompspts);
- Node4.a('node.startCompspts',Node4startCompspts);
- (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 = 'Node4';
- 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);
- }
- })(Node4, Node4.getImage(), Node4compspts, Node4endCompspts, Node4startCompspts);
- var Node5points=[433, 228,493, 228],
- Node5rect=ht.Default.unionPoint([{x:433,y:228},{x:493,y:228}]),
- Node5compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node5points.length;i++){
- if(i%2==0){
- Node5compspts.push(Node5points[i]-Node5rect.x);
- }else{
- Node5compspts.push(Node5points[i]-Node5rect.y);
- }
- }
- var Node5ptslength=Node5compspts.length;
- if (Node5rect.height === 0) {
- Node5compspts[0] -= 0;
- Node5compspts[Node5ptslength-2] += 0;
- } else if (Node5rect.width === 0){
- Node5compspts[1] -= 0;
- Node5compspts[Node5ptslength-1] += 0;
- } else {
- Node5compspts[0] -= 0;
- Node5compspts[1] -= 0;
- Node5compspts[Node5ptslength-2] += 0;
- Node5compspts[Node5ptslength-1] += 0;
- }
- Node5 = new ht.Node();
- Node5.borderWidth = 1;
- Node5rect.width = Node5rect.width === 0 ? 0.0001 : Node5rect.width;
- Node5rect.height = Node5rect.height === 0 ? 0.0001 : Node5rect.height;
- var Node5endCompspts = [Node5compspts[Node5ptslength-2],Node5compspts[Node5ptslength-1],0,0];
- var Node5startCompspts = [Node5compspts[0],Node5compspts[1],0,0];
- Node5.setImage(GD.getPolyLineJSON());
- Node5.setPosition(Node5rect.x+Node5rect.width/2,Node5rect.y+Node5rect.height/2);
- Node5.setSize(Node5rect.width,Node5rect.height);
- Node5.setStyle("opacity",1);
- Node5.s({'pixelPerfect':true});
- Node5borderwidth=1;
- Node5.setRotation(0);
- dataModel.add(Node5);
- Node5.a('node.points',Node5compspts);
- Node5.a('node.segments',[1,2]);
- Node5.a('node.color','rgba(255,0,255,1)');
- Node5.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node5.a('node.borderColor','rgba(255,0,255,1)');
- Node5.a('node.background','rgba(255,0,255,1)');
- Node5.a('node.gradient','');
- Node5.a('node.gradientcolor','rgba(255,0,255,1)');
- Node5.a('node.endCompspts',Node5endCompspts);
- Node5.a('node.startCompspts',Node5startCompspts);
- (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 = 'Node5';
- 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);
- }
- })(Node5, Node5.getImage(), Node5compspts, Node5endCompspts, Node5startCompspts);
- var Node6points=[501, 239,501, 239],
- Node6rect=ht.Default.unionPoint([{x:501,y:239},{x:501,y:239}]),
- Node6compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node6points.length;i++){
- if(i%2==0){
- Node6compspts.push(Node6points[i]-Node6rect.x);
- }else{
- Node6compspts.push(Node6points[i]-Node6rect.y);
- }
- }
- var Node6ptslength=Node6compspts.length;
- if (Node6rect.height === 0) {
- Node6compspts[0] -= 0;
- Node6compspts[Node6ptslength-2] += 0;
- } else if (Node6rect.width === 0){
- Node6compspts[1] -= 0;
- Node6compspts[Node6ptslength-1] += 0;
- } else {
- Node6compspts[0] -= 0;
- Node6compspts[1] -= 0;
- Node6compspts[Node6ptslength-2] += 0;
- Node6compspts[Node6ptslength-1] += 0;
- }
- Node6 = new ht.Node();
- Node6.borderWidth = 1;
- Node6rect.width = Node6rect.width === 0 ? 0.0001 : Node6rect.width;
- Node6rect.height = Node6rect.height === 0 ? 0.0001 : Node6rect.height;
- var Node6endCompspts = [Node6compspts[Node6ptslength-2],Node6compspts[Node6ptslength-1],0,0];
- var Node6startCompspts = [Node6compspts[0],Node6compspts[1],0,0];
- Node6.setImage(GD.getPolyLineJSON());
- Node6.setPosition(Node6rect.x+Node6rect.width/2,Node6rect.y+Node6rect.height/2);
- Node6.setSize(Node6rect.width,Node6rect.height);
- Node6.setStyle("opacity",1);
- Node6.s({'pixelPerfect':true});
- Node6borderwidth=1;
- Node6.setRotation(0);
- dataModel.add(Node6);
- Node6.a('node.points',Node6compspts);
- Node6.a('node.segments',[1,2]);
- Node6.a('node.color','rgba(255,0,255,1)');
- Node6.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node6.a('node.borderColor','rgba(255,0,255,1)');
- Node6.a('node.background','rgba(255,0,255,1)');
- Node6.a('node.gradient','');
- Node6.a('node.gradientcolor','rgba(255,0,255,1)');
- Node6.a('node.endCompspts',Node6endCompspts);
- Node6.a('node.startCompspts',Node6startCompspts);
- (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 = 'Node6';
- 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);
- }
- })(Node6, Node6.getImage(), Node6compspts, Node6endCompspts, Node6startCompspts);
- var Node7points=[493, 228,493, 233],
- Node7rect=ht.Default.unionPoint([{x:493,y:228},{x:493,y:233}]),
- Node7compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node7points.length;i++){
- if(i%2==0){
- Node7compspts.push(Node7points[i]-Node7rect.x);
- }else{
- Node7compspts.push(Node7points[i]-Node7rect.y);
- }
- }
- var Node7ptslength=Node7compspts.length;
- if (Node7rect.height === 0) {
- Node7compspts[0] -= 0;
- Node7compspts[Node7ptslength-2] += 0;
- } else if (Node7rect.width === 0){
- Node7compspts[1] -= 0;
- Node7compspts[Node7ptslength-1] += 0;
- } else {
- Node7compspts[0] -= 0;
- Node7compspts[1] -= 0;
- Node7compspts[Node7ptslength-2] += 0;
- Node7compspts[Node7ptslength-1] += 0;
- }
- Node7 = new ht.Node();
- Node7.borderWidth = 1;
- Node7rect.width = Node7rect.width === 0 ? 0.0001 : Node7rect.width;
- Node7rect.height = Node7rect.height === 0 ? 0.0001 : Node7rect.height;
- var Node7endCompspts = [Node7compspts[Node7ptslength-2],Node7compspts[Node7ptslength-1],0,0];
- var Node7startCompspts = [Node7compspts[0],Node7compspts[1],0,0];
- Node7.setImage(GD.getPolyLineJSON());
- Node7.setPosition(Node7rect.x+Node7rect.width/2,Node7rect.y+Node7rect.height/2);
- Node7.setSize(Node7rect.width,Node7rect.height);
- Node7.setStyle("opacity",1);
- Node7.s({'pixelPerfect':true});
- Node7borderwidth=1;
- Node7.setRotation(0);
- dataModel.add(Node7);
- Node7.a('node.points',Node7compspts);
- Node7.a('node.segments',[1,2]);
- Node7.a('node.color','rgba(255,0,255,1)');
- Node7.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node7.a('node.borderColor','rgba(255,0,255,1)');
- Node7.a('node.background','rgba(255,0,255,1)');
- Node7.a('node.gradient','');
- Node7.a('node.gradientcolor','rgba(255,0,255,1)');
- Node7.a('node.endCompspts',Node7endCompspts);
- Node7.a('node.startCompspts',Node7startCompspts);
- (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 = 'Node7';
- 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);
- }
- })(Node7, Node7.getImage(), Node7compspts, Node7endCompspts, Node7startCompspts);
- var Node8points=[430, 288,430, 288],
- Node8rect=ht.Default.unionPoint([{x:430,y:288},{x:430,y:288}]),
- Node8compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node8points.length;i++){
- if(i%2==0){
- Node8compspts.push(Node8points[i]-Node8rect.x);
- }else{
- Node8compspts.push(Node8points[i]-Node8rect.y);
- }
- }
- var Node8ptslength=Node8compspts.length;
- if (Node8rect.height === 0) {
- Node8compspts[0] -= 0;
- Node8compspts[Node8ptslength-2] += 0;
- } else if (Node8rect.width === 0){
- Node8compspts[1] -= 0;
- Node8compspts[Node8ptslength-1] += 0;
- } else {
- Node8compspts[0] -= 0;
- Node8compspts[1] -= 0;
- Node8compspts[Node8ptslength-2] += 0;
- Node8compspts[Node8ptslength-1] += 0;
- }
- Node8 = new ht.Node();
- Node8.borderWidth = 1;
- Node8rect.width = Node8rect.width === 0 ? 0.0001 : Node8rect.width;
- Node8rect.height = Node8rect.height === 0 ? 0.0001 : Node8rect.height;
- var Node8endCompspts = [Node8compspts[Node8ptslength-2],Node8compspts[Node8ptslength-1],0,0];
- var Node8startCompspts = [Node8compspts[0],Node8compspts[1],0,0];
- Node8.setImage(GD.getPolyLineJSON());
- Node8.setPosition(Node8rect.x+Node8rect.width/2,Node8rect.y+Node8rect.height/2);
- Node8.setSize(Node8rect.width,Node8rect.height);
- Node8.setStyle("opacity",1);
- Node8.s({'pixelPerfect':true});
- Node8borderwidth=1;
- Node8.setRotation(0);
- dataModel.add(Node8);
- Node8.a('node.points',Node8compspts);
- Node8.a('node.segments',[1,2]);
- Node8.a('node.color','rgba(255,0,255,1)');
- Node8.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node8.a('node.borderColor','rgba(255,0,255,1)');
- Node8.a('node.background','rgba(255,0,255,1)');
- Node8.a('node.gradient','');
- Node8.a('node.gradientcolor','rgba(255,0,255,1)');
- Node8.a('node.endCompspts',Node8endCompspts);
- Node8.a('node.startCompspts',Node8startCompspts);
- (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 = 'Node8';
- 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);
- }
- })(Node8, Node8.getImage(), Node8compspts, Node8endCompspts, Node8startCompspts);
- var Node9_0points=[429, 266,429, 266],
- Node9_0rect=ht.Default.unionPoint([{x:429,y:266},{x:429,y:266}]),
- Node9_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node9_0points.length;i++){
- if(i%2==0){
- Node9_0compspts.push(Node9_0points[i]-Node9_0rect.x);
- }else{
- Node9_0compspts.push(Node9_0points[i]-Node9_0rect.y);
- }
- }
- var Node9_0ptslength=Node9_0compspts.length;
- if (Node9_0rect.height === 0) {
- Node9_0compspts[0] -= 0;
- Node9_0compspts[Node9_0ptslength-2] += 0;
- } else if (Node9_0rect.width === 0){
- Node9_0compspts[1] -= 0;
- Node9_0compspts[Node9_0ptslength-1] += 0;
- } else {
- Node9_0compspts[0] -= 0;
- Node9_0compspts[1] -= 0;
- Node9_0compspts[Node9_0ptslength-2] += 0;
- Node9_0compspts[Node9_0ptslength-1] += 0;
- }
- Node9_0 = new ht.Node();
- Node9_0.borderWidth = 1;
- Node9_0rect.width = Node9_0rect.width === 0 ? 0.0001 : Node9_0rect.width;
- Node9_0rect.height = Node9_0rect.height === 0 ? 0.0001 : Node9_0rect.height;
- var Node9_0endCompspts = [Node9_0compspts[Node9_0ptslength-2],Node9_0compspts[Node9_0ptslength-1],0,0];
- var Node9_0startCompspts = [Node9_0compspts[0],Node9_0compspts[1],0,0];
- Node9_0.setImage(GD.getPolyLineJSON());
- Node9_0.setPosition(Node9_0rect.x+Node9_0rect.width/2,Node9_0rect.y+Node9_0rect.height/2);
- Node9_0.setSize(Node9_0rect.width,Node9_0rect.height);
- Node9_0.setStyle("opacity",1);
- Node9_0.s({'pixelPerfect':true});
- Node9_0borderwidth=1;
- Node9_0.setRotation(0);
- dataModel.add(Node9_0);
- Node9_0.a('node.points',Node9_0compspts);
- Node9_0.a('node.segments',[1,2]);
- Node9_0.a('node.color','rgba(255,0,255,1)');
- Node9_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node9_0.a('node.borderColor','rgba(255,0,255,1)');
- Node9_0.a('node.background','rgba(255,0,255,1)');
- Node9_0.a('node.gradient','');
- Node9_0.a('node.gradientcolor','rgba(255,0,255,1)');
- Node9_0.a('node.endCompspts',Node9_0endCompspts);
- Node9_0.a('node.startCompspts',Node9_0startCompspts);
- (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 = 'Node9_0';
- 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);
- }
- })(Node9_0, Node9_0.getImage(), Node9_0compspts, Node9_0endCompspts, Node9_0startCompspts);
- var Node9_1points=[432, 261,432, 281],
- Node9_1rect=ht.Default.unionPoint([{x:432,y:261},{x:432,y:281}]),
- Node9_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node9_1points.length;i++){
- if(i%2==0){
- Node9_1compspts.push(Node9_1points[i]-Node9_1rect.x);
- }else{
- Node9_1compspts.push(Node9_1points[i]-Node9_1rect.y);
- }
- }
- var Node9_1ptslength=Node9_1compspts.length;
- if (Node9_1rect.height === 0) {
- Node9_1compspts[0] -= 0;
- Node9_1compspts[Node9_1ptslength-2] += 0;
- } else if (Node9_1rect.width === 0){
- Node9_1compspts[1] -= 0;
- Node9_1compspts[Node9_1ptslength-1] += 0;
- } else {
- Node9_1compspts[0] -= 0;
- Node9_1compspts[1] -= 0;
- Node9_1compspts[Node9_1ptslength-2] += 0;
- Node9_1compspts[Node9_1ptslength-1] += 0;
- }
- Node9_1 = new ht.Node();
- Node9_1.borderWidth = 1;
- Node9_1rect.width = Node9_1rect.width === 0 ? 0.0001 : Node9_1rect.width;
- Node9_1rect.height = Node9_1rect.height === 0 ? 0.0001 : Node9_1rect.height;
- var Node9_1endCompspts = [Node9_1compspts[Node9_1ptslength-2],Node9_1compspts[Node9_1ptslength-1],0,0];
- var Node9_1startCompspts = [Node9_1compspts[0],Node9_1compspts[1],0,0];
- Node9_1.setImage(GD.getPolyLineJSON());
- Node9_1.setPosition(Node9_1rect.x+Node9_1rect.width/2,Node9_1rect.y+Node9_1rect.height/2);
- Node9_1.setSize(Node9_1rect.width,Node9_1rect.height);
- Node9_1.setStyle("opacity",1);
- Node9_1.s({'pixelPerfect':true});
- Node9_1borderwidth=1;
- Node9_1.setRotation(0);
- dataModel.add(Node9_1);
- Node9_1.a('node.points',Node9_1compspts);
- Node9_1.a('node.segments',[1,2]);
- Node9_1.a('node.color','rgba(255,0,255,1)');
- Node9_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node9_1.a('node.borderColor','rgba(255,0,255,1)');
- Node9_1.a('node.background','rgba(255,0,255,1)');
- Node9_1.a('node.gradient','');
- Node9_1.a('node.gradientcolor','rgba(255,0,255,1)');
- Node9_1.a('node.endCompspts',Node9_1endCompspts);
- Node9_1.a('node.startCompspts',Node9_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node9_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node9_1, Node9_1.getImage(), Node9_1compspts, Node9_1endCompspts, Node9_1startCompspts);
- var Node9_2points=[432, 270,492, 270],
- Node9_2rect=ht.Default.unionPoint([{x:432,y:270},{x:492,y:270}]),
- Node9_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node9_2points.length;i++){
- if(i%2==0){
- Node9_2compspts.push(Node9_2points[i]-Node9_2rect.x);
- }else{
- Node9_2compspts.push(Node9_2points[i]-Node9_2rect.y);
- }
- }
- var Node9_2ptslength=Node9_2compspts.length;
- if (Node9_2rect.height === 0) {
- Node9_2compspts[0] -= 0;
- Node9_2compspts[Node9_2ptslength-2] += 0;
- } else if (Node9_2rect.width === 0){
- Node9_2compspts[1] -= 0;
- Node9_2compspts[Node9_2ptslength-1] += 0;
- } else {
- Node9_2compspts[0] -= 0;
- Node9_2compspts[1] -= 0;
- Node9_2compspts[Node9_2ptslength-2] += 0;
- Node9_2compspts[Node9_2ptslength-1] += 0;
- }
- Node9_2 = new ht.Node();
- Node9_2.borderWidth = 1;
- Node9_2rect.width = Node9_2rect.width === 0 ? 0.0001 : Node9_2rect.width;
- Node9_2rect.height = Node9_2rect.height === 0 ? 0.0001 : Node9_2rect.height;
- var Node9_2endCompspts = [Node9_2compspts[Node9_2ptslength-2],Node9_2compspts[Node9_2ptslength-1],0,0];
- var Node9_2startCompspts = [Node9_2compspts[0],Node9_2compspts[1],0,0];
- Node9_2.setImage(GD.getPolyLineJSON());
- Node9_2.setPosition(Node9_2rect.x+Node9_2rect.width/2,Node9_2rect.y+Node9_2rect.height/2);
- Node9_2.setSize(Node9_2rect.width,Node9_2rect.height);
- Node9_2.setStyle("opacity",1);
- Node9_2.s({'pixelPerfect':true});
- Node9_2borderwidth=1;
- Node9_2.setRotation(0);
- dataModel.add(Node9_2);
- Node9_2.a('node.points',Node9_2compspts);
- Node9_2.a('node.segments',[1,2]);
- Node9_2.a('node.color','rgba(255,0,255,1)');
- Node9_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node9_2.a('node.borderColor','rgba(255,0,255,1)');
- Node9_2.a('node.background','rgba(255,0,255,1)');
- Node9_2.a('node.gradient','');
- Node9_2.a('node.gradientcolor','rgba(255,0,255,1)');
- Node9_2.a('node.endCompspts',Node9_2endCompspts);
- Node9_2.a('node.startCompspts',Node9_2startCompspts);
- (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 = 'Node9_2';
- 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);
- }
- })(Node9_2, Node9_2.getImage(), Node9_2compspts, Node9_2endCompspts, Node9_2startCompspts);
- var Node9_3points=[500, 281,500, 281],
- Node9_3rect=ht.Default.unionPoint([{x:500,y:281},{x:500,y:281}]),
- Node9_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node9_3points.length;i++){
- if(i%2==0){
- Node9_3compspts.push(Node9_3points[i]-Node9_3rect.x);
- }else{
- Node9_3compspts.push(Node9_3points[i]-Node9_3rect.y);
- }
- }
- var Node9_3ptslength=Node9_3compspts.length;
- if (Node9_3rect.height === 0) {
- Node9_3compspts[0] -= 0;
- Node9_3compspts[Node9_3ptslength-2] += 0;
- } else if (Node9_3rect.width === 0){
- Node9_3compspts[1] -= 0;
- Node9_3compspts[Node9_3ptslength-1] += 0;
- } else {
- Node9_3compspts[0] -= 0;
- Node9_3compspts[1] -= 0;
- Node9_3compspts[Node9_3ptslength-2] += 0;
- Node9_3compspts[Node9_3ptslength-1] += 0;
- }
- Node9_3 = new ht.Node();
- Node9_3.borderWidth = 1;
- Node9_3rect.width = Node9_3rect.width === 0 ? 0.0001 : Node9_3rect.width;
- Node9_3rect.height = Node9_3rect.height === 0 ? 0.0001 : Node9_3rect.height;
- var Node9_3endCompspts = [Node9_3compspts[Node9_3ptslength-2],Node9_3compspts[Node9_3ptslength-1],0,0];
- var Node9_3startCompspts = [Node9_3compspts[0],Node9_3compspts[1],0,0];
- Node9_3.setImage(GD.getPolyLineJSON());
- Node9_3.setPosition(Node9_3rect.x+Node9_3rect.width/2,Node9_3rect.y+Node9_3rect.height/2);
- Node9_3.setSize(Node9_3rect.width,Node9_3rect.height);
- Node9_3.setStyle("opacity",1);
- Node9_3.s({'pixelPerfect':true});
- Node9_3borderwidth=1;
- Node9_3.setRotation(0);
- dataModel.add(Node9_3);
- Node9_3.a('node.points',Node9_3compspts);
- Node9_3.a('node.segments',[1,2]);
- Node9_3.a('node.color','rgba(255,0,255,1)');
- Node9_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node9_3.a('node.borderColor','rgba(255,0,255,1)');
- Node9_3.a('node.background','rgba(255,0,255,1)');
- Node9_3.a('node.gradient','');
- Node9_3.a('node.gradientcolor','rgba(255,0,255,1)');
- Node9_3.a('node.endCompspts',Node9_3endCompspts);
- Node9_3.a('node.startCompspts',Node9_3startCompspts);
- (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 = 'Node9_3';
- 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);
- }
- })(Node9_3, Node9_3.getImage(), Node9_3compspts, Node9_3endCompspts, Node9_3startCompspts);
- var Node9_4points=[492, 270,492, 275],
- Node9_4rect=ht.Default.unionPoint([{x:492,y:270},{x:492,y:275}]),
- Node9_4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node9_4points.length;i++){
- if(i%2==0){
- Node9_4compspts.push(Node9_4points[i]-Node9_4rect.x);
- }else{
- Node9_4compspts.push(Node9_4points[i]-Node9_4rect.y);
- }
- }
- var Node9_4ptslength=Node9_4compspts.length;
- if (Node9_4rect.height === 0) {
- Node9_4compspts[0] -= 0;
- Node9_4compspts[Node9_4ptslength-2] += 0;
- } else if (Node9_4rect.width === 0){
- Node9_4compspts[1] -= 0;
- Node9_4compspts[Node9_4ptslength-1] += 0;
- } else {
- Node9_4compspts[0] -= 0;
- Node9_4compspts[1] -= 0;
- Node9_4compspts[Node9_4ptslength-2] += 0;
- Node9_4compspts[Node9_4ptslength-1] += 0;
- }
- Node9_4 = new ht.Node();
- Node9_4.borderWidth = 1;
- Node9_4rect.width = Node9_4rect.width === 0 ? 0.0001 : Node9_4rect.width;
- Node9_4rect.height = Node9_4rect.height === 0 ? 0.0001 : Node9_4rect.height;
- var Node9_4endCompspts = [Node9_4compspts[Node9_4ptslength-2],Node9_4compspts[Node9_4ptslength-1],0,0];
- var Node9_4startCompspts = [Node9_4compspts[0],Node9_4compspts[1],0,0];
- Node9_4.setImage(GD.getPolyLineJSON());
- Node9_4.setPosition(Node9_4rect.x+Node9_4rect.width/2,Node9_4rect.y+Node9_4rect.height/2);
- Node9_4.setSize(Node9_4rect.width,Node9_4rect.height);
- Node9_4.setStyle("opacity",1);
- Node9_4.s({'pixelPerfect':true});
- Node9_4borderwidth=1;
- Node9_4.setRotation(0);
- dataModel.add(Node9_4);
- Node9_4.a('node.points',Node9_4compspts);
- Node9_4.a('node.segments',[1,2]);
- Node9_4.a('node.color','rgba(255,0,255,1)');
- Node9_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node9_4.a('node.borderColor','rgba(255,0,255,1)');
- Node9_4.a('node.background','rgba(255,0,255,1)');
- Node9_4.a('node.gradient','');
- Node9_4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node9_4.a('node.endCompspts',Node9_4endCompspts);
- Node9_4.a('node.startCompspts',Node9_4startCompspts);
- (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 = 'Node9_4';
- 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);
- }
- })(Node9_4, Node9_4.getImage(), Node9_4compspts, Node9_4endCompspts, Node9_4startCompspts);
- var Node10_0points=[430, 305,430, 305],
- Node10_0rect=ht.Default.unionPoint([{x:430,y:305},{x:430,y:305}]),
- Node10_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node10_0points.length;i++){
- if(i%2==0){
- Node10_0compspts.push(Node10_0points[i]-Node10_0rect.x);
- }else{
- Node10_0compspts.push(Node10_0points[i]-Node10_0rect.y);
- }
- }
- var Node10_0ptslength=Node10_0compspts.length;
- if (Node10_0rect.height === 0) {
- Node10_0compspts[0] -= 0;
- Node10_0compspts[Node10_0ptslength-2] += 0;
- } else if (Node10_0rect.width === 0){
- Node10_0compspts[1] -= 0;
- Node10_0compspts[Node10_0ptslength-1] += 0;
- } else {
- Node10_0compspts[0] -= 0;
- Node10_0compspts[1] -= 0;
- Node10_0compspts[Node10_0ptslength-2] += 0;
- Node10_0compspts[Node10_0ptslength-1] += 0;
- }
- Node10_0 = new ht.Node();
- Node10_0.borderWidth = 1;
- Node10_0rect.width = Node10_0rect.width === 0 ? 0.0001 : Node10_0rect.width;
- Node10_0rect.height = Node10_0rect.height === 0 ? 0.0001 : Node10_0rect.height;
- var Node10_0endCompspts = [Node10_0compspts[Node10_0ptslength-2],Node10_0compspts[Node10_0ptslength-1],0,0];
- var Node10_0startCompspts = [Node10_0compspts[0],Node10_0compspts[1],0,0];
- Node10_0.setImage(GD.getPolyLineJSON());
- Node10_0.setPosition(Node10_0rect.x+Node10_0rect.width/2,Node10_0rect.y+Node10_0rect.height/2);
- Node10_0.setSize(Node10_0rect.width,Node10_0rect.height);
- Node10_0.setStyle("opacity",1);
- Node10_0.s({'pixelPerfect':true});
- Node10_0borderwidth=1;
- Node10_0.setRotation(0);
- dataModel.add(Node10_0);
- Node10_0.a('node.points',Node10_0compspts);
- Node10_0.a('node.segments',[1,2]);
- Node10_0.a('node.color','rgba(255,0,255,1)');
- Node10_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node10_0.a('node.borderColor','rgba(255,0,255,1)');
- Node10_0.a('node.background','rgba(255,0,255,1)');
- Node10_0.a('node.gradient','');
- Node10_0.a('node.gradientcolor','rgba(255,0,255,1)');
- Node10_0.a('node.endCompspts',Node10_0endCompspts);
- Node10_0.a('node.startCompspts',Node10_0startCompspts);
- (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 = 'Node10_0';
- 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);
- }
- })(Node10_0, Node10_0.getImage(), Node10_0compspts, Node10_0endCompspts, Node10_0startCompspts);
- var Node10_1points=[433, 300,433, 320],
- Node10_1rect=ht.Default.unionPoint([{x:433,y:300},{x:433,y:320}]),
- Node10_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node10_1points.length;i++){
- if(i%2==0){
- Node10_1compspts.push(Node10_1points[i]-Node10_1rect.x);
- }else{
- Node10_1compspts.push(Node10_1points[i]-Node10_1rect.y);
- }
- }
- var Node10_1ptslength=Node10_1compspts.length;
- if (Node10_1rect.height === 0) {
- Node10_1compspts[0] -= 0;
- Node10_1compspts[Node10_1ptslength-2] += 0;
- } else if (Node10_1rect.width === 0){
- Node10_1compspts[1] -= 0;
- Node10_1compspts[Node10_1ptslength-1] += 0;
- } else {
- Node10_1compspts[0] -= 0;
- Node10_1compspts[1] -= 0;
- Node10_1compspts[Node10_1ptslength-2] += 0;
- Node10_1compspts[Node10_1ptslength-1] += 0;
- }
- Node10_1 = new ht.Node();
- Node10_1.borderWidth = 1;
- Node10_1rect.width = Node10_1rect.width === 0 ? 0.0001 : Node10_1rect.width;
- Node10_1rect.height = Node10_1rect.height === 0 ? 0.0001 : Node10_1rect.height;
- var Node10_1endCompspts = [Node10_1compspts[Node10_1ptslength-2],Node10_1compspts[Node10_1ptslength-1],0,0];
- var Node10_1startCompspts = [Node10_1compspts[0],Node10_1compspts[1],0,0];
- Node10_1.setImage(GD.getPolyLineJSON());
- Node10_1.setPosition(Node10_1rect.x+Node10_1rect.width/2,Node10_1rect.y+Node10_1rect.height/2);
- Node10_1.setSize(Node10_1rect.width,Node10_1rect.height);
- Node10_1.setStyle("opacity",1);
- Node10_1.s({'pixelPerfect':true});
- Node10_1borderwidth=1;
- Node10_1.setRotation(0);
- dataModel.add(Node10_1);
- Node10_1.a('node.points',Node10_1compspts);
- Node10_1.a('node.segments',[1,2]);
- Node10_1.a('node.color','rgba(255,0,255,1)');
- Node10_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node10_1.a('node.borderColor','rgba(255,0,255,1)');
- Node10_1.a('node.background','rgba(255,0,255,1)');
- Node10_1.a('node.gradient','');
- Node10_1.a('node.gradientcolor','rgba(255,0,255,1)');
- Node10_1.a('node.endCompspts',Node10_1endCompspts);
- Node10_1.a('node.startCompspts',Node10_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node10_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node10_1, Node10_1.getImage(), Node10_1compspts, Node10_1endCompspts, Node10_1startCompspts);
- var Node10_2points=[433, 309,493, 309],
- Node10_2rect=ht.Default.unionPoint([{x:433,y:309},{x:493,y:309}]),
- Node10_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node10_2points.length;i++){
- if(i%2==0){
- Node10_2compspts.push(Node10_2points[i]-Node10_2rect.x);
- }else{
- Node10_2compspts.push(Node10_2points[i]-Node10_2rect.y);
- }
- }
- var Node10_2ptslength=Node10_2compspts.length;
- if (Node10_2rect.height === 0) {
- Node10_2compspts[0] -= 0;
- Node10_2compspts[Node10_2ptslength-2] += 0;
- } else if (Node10_2rect.width === 0){
- Node10_2compspts[1] -= 0;
- Node10_2compspts[Node10_2ptslength-1] += 0;
- } else {
- Node10_2compspts[0] -= 0;
- Node10_2compspts[1] -= 0;
- Node10_2compspts[Node10_2ptslength-2] += 0;
- Node10_2compspts[Node10_2ptslength-1] += 0;
- }
- Node10_2 = new ht.Node();
- Node10_2.borderWidth = 1;
- Node10_2rect.width = Node10_2rect.width === 0 ? 0.0001 : Node10_2rect.width;
- Node10_2rect.height = Node10_2rect.height === 0 ? 0.0001 : Node10_2rect.height;
- var Node10_2endCompspts = [Node10_2compspts[Node10_2ptslength-2],Node10_2compspts[Node10_2ptslength-1],0,0];
- var Node10_2startCompspts = [Node10_2compspts[0],Node10_2compspts[1],0,0];
- Node10_2.setImage(GD.getPolyLineJSON());
- Node10_2.setPosition(Node10_2rect.x+Node10_2rect.width/2,Node10_2rect.y+Node10_2rect.height/2);
- Node10_2.setSize(Node10_2rect.width,Node10_2rect.height);
- Node10_2.setStyle("opacity",1);
- Node10_2.s({'pixelPerfect':true});
- Node10_2borderwidth=1;
- Node10_2.setRotation(0);
- dataModel.add(Node10_2);
- Node10_2.a('node.points',Node10_2compspts);
- Node10_2.a('node.segments',[1,2]);
- Node10_2.a('node.color','rgba(255,0,255,1)');
- Node10_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node10_2.a('node.borderColor','rgba(255,0,255,1)');
- Node10_2.a('node.background','rgba(255,0,255,1)');
- Node10_2.a('node.gradient','');
- Node10_2.a('node.gradientcolor','rgba(255,0,255,1)');
- Node10_2.a('node.endCompspts',Node10_2endCompspts);
- Node10_2.a('node.startCompspts',Node10_2startCompspts);
- (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 = 'Node10_2';
- 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);
- }
- })(Node10_2, Node10_2.getImage(), Node10_2compspts, Node10_2endCompspts, Node10_2startCompspts);
- var Node10_3points=[501, 320,501, 320],
- Node10_3rect=ht.Default.unionPoint([{x:501,y:320},{x:501,y:320}]),
- Node10_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node10_3points.length;i++){
- if(i%2==0){
- Node10_3compspts.push(Node10_3points[i]-Node10_3rect.x);
- }else{
- Node10_3compspts.push(Node10_3points[i]-Node10_3rect.y);
- }
- }
- var Node10_3ptslength=Node10_3compspts.length;
- if (Node10_3rect.height === 0) {
- Node10_3compspts[0] -= 0;
- Node10_3compspts[Node10_3ptslength-2] += 0;
- } else if (Node10_3rect.width === 0){
- Node10_3compspts[1] -= 0;
- Node10_3compspts[Node10_3ptslength-1] += 0;
- } else {
- Node10_3compspts[0] -= 0;
- Node10_3compspts[1] -= 0;
- Node10_3compspts[Node10_3ptslength-2] += 0;
- Node10_3compspts[Node10_3ptslength-1] += 0;
- }
- Node10_3 = new ht.Node();
- Node10_3.borderWidth = 1;
- Node10_3rect.width = Node10_3rect.width === 0 ? 0.0001 : Node10_3rect.width;
- Node10_3rect.height = Node10_3rect.height === 0 ? 0.0001 : Node10_3rect.height;
- var Node10_3endCompspts = [Node10_3compspts[Node10_3ptslength-2],Node10_3compspts[Node10_3ptslength-1],0,0];
- var Node10_3startCompspts = [Node10_3compspts[0],Node10_3compspts[1],0,0];
- Node10_3.setImage(GD.getPolyLineJSON());
- Node10_3.setPosition(Node10_3rect.x+Node10_3rect.width/2,Node10_3rect.y+Node10_3rect.height/2);
- Node10_3.setSize(Node10_3rect.width,Node10_3rect.height);
- Node10_3.setStyle("opacity",1);
- Node10_3.s({'pixelPerfect':true});
- Node10_3borderwidth=1;
- Node10_3.setRotation(0);
- dataModel.add(Node10_3);
- Node10_3.a('node.points',Node10_3compspts);
- Node10_3.a('node.segments',[1,2]);
- Node10_3.a('node.color','rgba(255,0,255,1)');
- Node10_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node10_3.a('node.borderColor','rgba(255,0,255,1)');
- Node10_3.a('node.background','rgba(255,0,255,1)');
- Node10_3.a('node.gradient','');
- Node10_3.a('node.gradientcolor','rgba(255,0,255,1)');
- Node10_3.a('node.endCompspts',Node10_3endCompspts);
- Node10_3.a('node.startCompspts',Node10_3startCompspts);
- (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 = 'Node10_3';
- 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);
- }
- })(Node10_3, Node10_3.getImage(), Node10_3compspts, Node10_3endCompspts, Node10_3startCompspts);
- var Node10_4points=[493, 309,493, 314],
- Node10_4rect=ht.Default.unionPoint([{x:493,y:309},{x:493,y:314}]),
- Node10_4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node10_4points.length;i++){
- if(i%2==0){
- Node10_4compspts.push(Node10_4points[i]-Node10_4rect.x);
- }else{
- Node10_4compspts.push(Node10_4points[i]-Node10_4rect.y);
- }
- }
- var Node10_4ptslength=Node10_4compspts.length;
- if (Node10_4rect.height === 0) {
- Node10_4compspts[0] -= 0;
- Node10_4compspts[Node10_4ptslength-2] += 0;
- } else if (Node10_4rect.width === 0){
- Node10_4compspts[1] -= 0;
- Node10_4compspts[Node10_4ptslength-1] += 0;
- } else {
- Node10_4compspts[0] -= 0;
- Node10_4compspts[1] -= 0;
- Node10_4compspts[Node10_4ptslength-2] += 0;
- Node10_4compspts[Node10_4ptslength-1] += 0;
- }
- Node10_4 = new ht.Node();
- Node10_4.borderWidth = 1;
- Node10_4rect.width = Node10_4rect.width === 0 ? 0.0001 : Node10_4rect.width;
- Node10_4rect.height = Node10_4rect.height === 0 ? 0.0001 : Node10_4rect.height;
- var Node10_4endCompspts = [Node10_4compspts[Node10_4ptslength-2],Node10_4compspts[Node10_4ptslength-1],0,0];
- var Node10_4startCompspts = [Node10_4compspts[0],Node10_4compspts[1],0,0];
- Node10_4.setImage(GD.getPolyLineJSON());
- Node10_4.setPosition(Node10_4rect.x+Node10_4rect.width/2,Node10_4rect.y+Node10_4rect.height/2);
- Node10_4.setSize(Node10_4rect.width,Node10_4rect.height);
- Node10_4.setStyle("opacity",1);
- Node10_4.s({'pixelPerfect':true});
- Node10_4borderwidth=1;
- Node10_4.setRotation(0);
- dataModel.add(Node10_4);
- Node10_4.a('node.points',Node10_4compspts);
- Node10_4.a('node.segments',[1,2]);
- Node10_4.a('node.color','rgba(255,0,255,1)');
- Node10_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node10_4.a('node.borderColor','rgba(255,0,255,1)');
- Node10_4.a('node.background','rgba(255,0,255,1)');
- Node10_4.a('node.gradient','');
- Node10_4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node10_4.a('node.endCompspts',Node10_4endCompspts);
- Node10_4.a('node.startCompspts',Node10_4startCompspts);
- (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 = 'Node10_4';
- 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);
- }
- })(Node10_4, Node10_4.getImage(), Node10_4compspts, Node10_4endCompspts, Node10_4startCompspts);
- var Node11points=[433, 339,433, 359],
- Node11rect=ht.Default.unionPoint([{x:433,y:339},{x:433,y:359}]),
- Node11compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node11points.length;i++){
- if(i%2==0){
- Node11compspts.push(Node11points[i]-Node11rect.x);
- }else{
- Node11compspts.push(Node11points[i]-Node11rect.y);
- }
- }
- var Node11ptslength=Node11compspts.length;
- if (Node11rect.height === 0) {
- Node11compspts[0] -= 0;
- Node11compspts[Node11ptslength-2] += 0;
- } else if (Node11rect.width === 0){
- Node11compspts[1] -= 0;
- Node11compspts[Node11ptslength-1] += 0;
- } else {
- Node11compspts[0] -= 0;
- Node11compspts[1] -= 0;
- Node11compspts[Node11ptslength-2] += 0;
- Node11compspts[Node11ptslength-1] += 0;
- }
- Node11 = new ht.Node();
- Node11.borderWidth = 1;
- Node11rect.width = Node11rect.width === 0 ? 0.0001 : Node11rect.width;
- Node11rect.height = Node11rect.height === 0 ? 0.0001 : Node11rect.height;
- var Node11endCompspts = [Node11compspts[Node11ptslength-2],Node11compspts[Node11ptslength-1],0,0];
- var Node11startCompspts = [Node11compspts[0],Node11compspts[1],0,0];
- Node11.setImage(GD.getPolyLineJSON());
- Node11.setPosition(Node11rect.x+Node11rect.width/2,Node11rect.y+Node11rect.height/2);
- Node11.setSize(Node11rect.width,Node11rect.height);
- Node11.setStyle("opacity",1);
- Node11.s({'pixelPerfect':true});
- Node11borderwidth=1;
- Node11.setRotation(0);
- dataModel.add(Node11);
- Node11.a('node.points',Node11compspts);
- Node11.a('node.segments',[1,2]);
- Node11.a('node.color','rgba(255,0,255,1)');
- Node11.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node11.a('node.borderColor','rgba(255,0,255,1)');
- Node11.a('node.background','rgba(255,0,255,1)');
- Node11.a('node.gradient','');
- Node11.a('node.gradientcolor','rgba(255,0,255,1)');
- Node11.a('node.endCompspts',Node11endCompspts);
- Node11.a('node.startCompspts',Node11startCompspts);
- (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 = 'Node11';
- 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);
- }
- })(Node11, Node11.getImage(), Node11compspts, Node11endCompspts, Node11startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12 = new ht.lib['接地'](492*ratio.ratioX, 255*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node12');
- _libModel.add("Node12", Node12);
- Node12.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13 = new ht.lib['接地'](492*ratio.ratioX, 297*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node13');
- _libModel.add("Node13", Node13);
- Node13.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14 = new ht.lib['接地'](492*ratio.ratioX, 335*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node14');
- _libModel.add("Node14", Node14);
- Node14.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15 = new ht.Node();
- var Node15textStart, Node15textWidth, Node15lineStart, Node15align = 'left', Node15fontSize = 13.3333*_ratio.ratioY,Node15width = 29*_ratio.ratioX, Node15height = 16*_ratio.ratioY;
- (function () {
- if (Node15align === 'left') {
- Node15textStart = Node15fontSize * 0.2 > 2 ? Node15fontSize * 0.2 - 4 : Node15fontSize * 0.2 - 9;
- Node15textWidth = Node15width;
- Node15lineStart = 1;
- } else if (Node15align === 'right') {
- Node15textStart = 0;
- Node15textWidth =Node15fontSize <= 8 ? Node15width + Node15fontSize * 0.2 + 6 : Node15width - Node15fontSize * 0.2;
- Node15lineStart = (Node15width - (ht.Default.getTextSize('Ua :', ' '+ Node15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node15align === 'center') {
- Node15textStart = -3;
- Node15textWidth = Node15width;
- Node15lineStart = Node15width - ht.Default.getTextSize('Ua :', ' '+ Node15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node15.setImage(GD.getTextJSON(Node15width, Node15height, true, false, false, ' '+ Node15fontSize + 'px "Arial"'))
- Node15.setPosition(244*ratio.ratioX, 259*ratio.ratioY);
- Node15.setWidth(Node15width);
- Node15.setHeight(Node15height);
- Node15._nodeType = 'text';
- Node15._disallowEvert = true;
- Node15.setRotation(0*Math.PI/180);
- Node15.a('node.width', Node15width);
- Node15.a('node.height', Node15height);
- Node15.a('node.rect', [0, 0, Node15width, Node15height]);
- Node15.a('node.bordercolor','rgba(0,0,0,1)');
- Node15.a('node.borderwidth', 0);
- Node15.a('node.background','' || 'rgba(0,0,0,0)');
- Node15.a('node.gradient','');
- Node15.a('node.gradientcolor','');
- Node15.a('node.text','Ua :');
- Node15.a('node.textalign','left');
- Node15.a('node.textvAlign','middle');
- Node15.a('node.textrect', [Node15textStart, 0, Node15textWidth, Node15height]);
- Node15.a('node.color','rgba(0,0,0,1)');
- Node15.a('node.font',' '+ Node15fontSize + 'px "Arial"');
- Node15.a('node.textvisible',true);
- Node15.a('node.linefeed',false);
- if (false) {
- Node15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node15.a('node.text') || 'Ua :';
- var color=Node15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node15width,Node15height,13.3333*_ratio.ratioY,"left",color,' '+ Node15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node15.a('node.underlinepoints',[Node15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node15fontSize + 2 , ht.Default.getTextSize('Ua :', ' '+ Node15fontSize + 'px "Arial"').width + 6, (Node15height - Node15fontSize) * 0.5*_ratio.ratioY + Node15fontSize + 2 ]);
- Node15.a('node.underlinevisible',false);
- Node15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node15);
- zoomNodeList.push({
- node: Node15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16 = new ht.Node();
- var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 13.3333*_ratio.ratioY,Node16width = 29*_ratio.ratioX, Node16height = 16*_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('Ub :', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16align === 'center') {
- Node16textStart = -3;
- Node16textWidth = Node16width;
- Node16lineStart = Node16width - ht.Default.getTextSize('Ub :', ' '+ Node16fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
- Node16.setPosition(244*ratio.ratioX, 282*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','Ub :');
- 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') || 'Ub :';
- var color=Node16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16.a('node.underlinepoints',[Node16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('Ub :', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
- Node16.a('node.underlinevisible',false);
- Node16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node16);
- zoomNodeList.push({
- node: Node16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17 = new ht.Node();
- var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'left', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 29*_ratio.ratioX, Node17height = 16*_ratio.ratioY;
- (function () {
- if (Node17align === 'left') {
- Node17textStart = Node17fontSize * 0.2 > 2 ? Node17fontSize * 0.2 - 4 : Node17fontSize * 0.2 - 9;
- Node17textWidth = Node17width;
- Node17lineStart = 1;
- } else if (Node17align === 'right') {
- Node17textStart = 0;
- Node17textWidth =Node17fontSize <= 8 ? Node17width + Node17fontSize * 0.2 + 6 : Node17width - Node17fontSize * 0.2;
- Node17lineStart = (Node17width - (ht.Default.getTextSize('Uc :', ' '+ Node17fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node17align === 'center') {
- Node17textStart = -3;
- Node17textWidth = Node17width;
- Node17lineStart = Node17width - ht.Default.getTextSize('Uc :', ' '+ Node17fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node17.setImage(GD.getTextJSON(Node17width, Node17height, true, false, false, ' '+ Node17fontSize + 'px "Arial"'))
- Node17.setPosition(244*ratio.ratioX, 303*ratio.ratioY);
- Node17.setWidth(Node17width);
- Node17.setHeight(Node17height);
- Node17._nodeType = 'text';
- Node17._disallowEvert = true;
- Node17.setRotation(0*Math.PI/180);
- Node17.a('node.width', Node17width);
- Node17.a('node.height', Node17height);
- Node17.a('node.rect', [0, 0, Node17width, Node17height]);
- Node17.a('node.bordercolor','rgba(0,0,0,1)');
- Node17.a('node.borderwidth', 0);
- Node17.a('node.background','' || 'rgba(0,0,0,0)');
- Node17.a('node.gradient','');
- Node17.a('node.gradientcolor','');
- Node17.a('node.text','Uc :');
- Node17.a('node.textalign','left');
- Node17.a('node.textvAlign','middle');
- Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
- Node17.a('node.color','rgba(0,0,0,1)');
- Node17.a('node.font',' '+ Node17fontSize + 'px "Arial"');
- Node17.a('node.textvisible',true);
- Node17.a('node.linefeed',false);
- if (false) {
- Node17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node17.a('node.text') || 'Uc :';
- var color=Node17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"left",color,' '+ Node17fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node17.a('node.underlinepoints',[Node17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('Uc :', ' '+ Node17fontSize + 'px "Arial"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]);
- Node17.a('node.underlinevisible',false);
- Node17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node17);
- zoomNodeList.push({
- node: Node17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18 = new ht.Node();
- var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'left', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 37*_ratio.ratioX, Node18height = 16*_ratio.ratioY;
- (function () {
- if (Node18align === 'left') {
- Node18textStart = Node18fontSize * 0.2 > 2 ? Node18fontSize * 0.2 - 4 : Node18fontSize * 0.2 - 9;
- Node18textWidth = Node18width;
- Node18lineStart = 1;
- } else if (Node18align === 'right') {
- Node18textStart = 0;
- Node18textWidth =Node18fontSize <= 8 ? Node18width + Node18fontSize * 0.2 + 6 : Node18width - Node18fontSize * 0.2;
- Node18lineStart = (Node18width - (ht.Default.getTextSize('Uab :', ' '+ Node18fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node18align === 'center') {
- Node18textStart = -3;
- Node18textWidth = Node18width;
- Node18lineStart = Node18width - ht.Default.getTextSize('Uab :', ' '+ Node18fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node18.setImage(GD.getTextJSON(Node18width, Node18height, true, false, false, ' '+ Node18fontSize + 'px "Arial"'))
- Node18.setPosition(240*ratio.ratioX, 322*ratio.ratioY);
- Node18.setWidth(Node18width);
- Node18.setHeight(Node18height);
- Node18._nodeType = 'text';
- Node18._disallowEvert = true;
- Node18.setRotation(0*Math.PI/180);
- Node18.a('node.width', Node18width);
- Node18.a('node.height', Node18height);
- Node18.a('node.rect', [0, 0, Node18width, Node18height]);
- Node18.a('node.bordercolor','rgba(0,0,0,1)');
- Node18.a('node.borderwidth', 0);
- Node18.a('node.background','' || 'rgba(0,0,0,0)');
- Node18.a('node.gradient','');
- Node18.a('node.gradientcolor','');
- Node18.a('node.text','Uab :');
- Node18.a('node.textalign','left');
- Node18.a('node.textvAlign','middle');
- Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
- Node18.a('node.color','rgba(0,0,0,1)');
- Node18.a('node.font',' '+ Node18fontSize + 'px "Arial"');
- Node18.a('node.textvisible',true);
- Node18.a('node.linefeed',false);
- if (false) {
- Node18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node18.a('node.text') || 'Uab :';
- var color=Node18.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"left",color,' '+ Node18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18.a('node.underlinepoints',[Node18lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('Uab :', ' '+ 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 = 15.99996*_ratio.ratioY,Node19width = 88*_ratio.ratioX, Node19height = 20*_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('220kV母线', ' '+ Node19fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node19align === 'center') {
- Node19textStart = -3;
- Node19textWidth = Node19width;
- Node19lineStart = Node19width - ht.Default.getTextSize('220kV母线', ' '+ Node19fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "Arial"'))
- Node19.setPosition(260*ratio.ratioX, 349*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','220kV母线');
- 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') || '220kV母线';
- var color=Node19.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node19width,Node19height,15.99996*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19.a('node.underlinepoints',[Node19lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('220kV母线', ' '+ Node19fontSize + 'px "Arial"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]);
- Node19.a('node.underlinevisible',false);
- Node19.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node19);
- zoomNodeList.push({
- node: Node19,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20 = new ht.Node();
- var Node20textStart, Node20textWidth, Node20lineStart, Node20align = 'left', Node20fontSize = 13.3333*_ratio.ratioY,Node20width = 39*_ratio.ratioX, Node20height = 16*_ratio.ratioY;
- (function () {
- if (Node20align === 'left') {
- Node20textStart = Node20fontSize * 0.2 > 2 ? Node20fontSize * 0.2 - 4 : Node20fontSize * 0.2 - 9;
- Node20textWidth = Node20width;
- Node20lineStart = 1;
- } else if (Node20align === 'right') {
- Node20textStart = 0;
- Node20textWidth =Node20fontSize <= 8 ? Node20width + Node20fontSize * 0.2 + 6 : Node20width - Node20fontSize * 0.2;
- Node20lineStart = (Node20width - (ht.Default.getTextSize('212-1', ' '+ Node20fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node20align === 'center') {
- Node20textStart = -3;
- Node20textWidth = Node20width;
- Node20lineStart = Node20width - ht.Default.getTextSize('212-1', ' '+ Node20fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node20.setImage(GD.getTextJSON(Node20width, Node20height, true, false, false, ' '+ Node20fontSize + 'px "Arial"'))
- Node20.setPosition(402*ratio.ratioX, 249*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','212-1');
- 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') || '212-1';
- var color=Node20.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node20width,Node20height,13.3333*_ratio.ratioY,"left",color,' '+ Node20fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20.a('node.underlinepoints',[Node20lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node20fontSize + 2 , ht.Default.getTextSize('212-1', ' '+ 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 = 54*_ratio.ratioX, Node21height = 16*_ratio.ratioY;
- (function () {
- if (Node21align === 'left') {
- Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9;
- Node21textWidth = Node21width;
- Node21lineStart = 1;
- } else if (Node21align === 'right') {
- Node21textStart = 0;
- Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2;
- Node21lineStart = (Node21width - (ht.Default.getTextSize('212-线0', ' '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21align === 'center') {
- Node21textStart = -3;
- Node21textWidth = Node21width;
- Node21lineStart = Node21width - ht.Default.getTextSize('212-线0', ' '+ Node21fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, ' '+ Node21fontSize + 'px "Arial"'))
- Node21.setPosition(534*ratio.ratioX, 241*ratio.ratioY);
- Node21.setWidth(Node21width);
- Node21.setHeight(Node21height);
- Node21._nodeType = 'text';
- Node21._disallowEvert = true;
- Node21.setRotation(0*Math.PI/180);
- Node21.a('node.width', Node21width);
- Node21.a('node.height', Node21height);
- Node21.a('node.rect', [0, 0, Node21width, Node21height]);
- Node21.a('node.bordercolor','rgba(0,0,0,1)');
- Node21.a('node.borderwidth', 0);
- Node21.a('node.background','' || 'rgba(0,0,0,0)');
- Node21.a('node.gradient','');
- Node21.a('node.gradientcolor','');
- Node21.a('node.text','212-线0');
- Node21.a('node.textalign','left');
- Node21.a('node.textvAlign','middle');
- Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]);
- Node21.a('node.color','rgba(0,0,0,1)');
- Node21.a('node.font',' '+ 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') || '212-线0';
- var color=Node21.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,' '+ Node21fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21.a('node.underlinepoints',[Node21lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('212-线0', ' '+ 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 = 39*_ratio.ratioX, Node22height = 16*_ratio.ratioY;
- (function () {
- if (Node22align === 'left') {
- Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9;
- Node22textWidth = Node22width;
- Node22lineStart = 1;
- } else if (Node22align === 'right') {
- Node22textStart = 0;
- Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2;
- Node22lineStart = (Node22width - (ht.Default.getTextSize('212', ' '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22align === 'center') {
- Node22textStart = -3;
- Node22textWidth = Node22width;
- Node22lineStart = Node22width - ht.Default.getTextSize('212', ' '+ Node22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, ' '+ Node22fontSize + 'px "Arial"'))
- Node22.setPosition(401*ratio.ratioX, 286*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','212');
- 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') || '212';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('212', ' '+ 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 = 41*_ratio.ratioX, Node23height = 16*_ratio.ratioY;
- (function () {
- if (Node23align === 'left') {
- Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9;
- Node23textWidth = Node23width;
- Node23lineStart = 1;
- } else if (Node23align === 'right') {
- Node23textStart = 0;
- Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2;
- Node23lineStart = (Node23width - (ht.Default.getTextSize('212-A', ' '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23align === 'center') {
- Node23textStart = -3;
- Node23textWidth = Node23width;
- Node23lineStart = Node23width - ht.Default.getTextSize('212-A', ' '+ Node23fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, ' '+ Node23fontSize + 'px "Arial"'))
- Node23.setPosition(402*ratio.ratioX, 331*ratio.ratioY);
- Node23.setWidth(Node23width);
- Node23.setHeight(Node23height);
- Node23._nodeType = 'text';
- Node23._disallowEvert = true;
- Node23.setRotation(0*Math.PI/180);
- Node23.a('node.width', Node23width);
- Node23.a('node.height', Node23height);
- Node23.a('node.rect', [0, 0, Node23width, Node23height]);
- Node23.a('node.bordercolor','rgba(0,0,0,1)');
- Node23.a('node.borderwidth', 0);
- Node23.a('node.background','' || 'rgba(0,0,0,0)');
- Node23.a('node.gradient','');
- Node23.a('node.gradientcolor','');
- Node23.a('node.text','212-A');
- Node23.a('node.textalign','left');
- Node23.a('node.textvAlign','middle');
- Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
- Node23.a('node.color','rgba(0,0,0,1)');
- Node23.a('node.font',' '+ 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') || '212-A';
- var color=Node23.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,' '+ Node23fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23.a('node.underlinepoints',[Node23lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('212-A', ' '+ 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 = 54*_ratio.ratioX, Node24height = 16*_ratio.ratioY;
- (function () {
- if (Node24align === 'left') {
- Node24textStart = Node24fontSize * 0.2 > 2 ? Node24fontSize * 0.2 - 4 : Node24fontSize * 0.2 - 9;
- Node24textWidth = Node24width;
- Node24lineStart = 1;
- } else if (Node24align === 'right') {
- Node24textStart = 0;
- Node24textWidth =Node24fontSize <= 8 ? Node24width + Node24fontSize * 0.2 + 6 : Node24width - Node24fontSize * 0.2;
- Node24lineStart = (Node24width - (ht.Default.getTextSize('212-10', ' '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24align === 'center') {
- Node24textStart = -3;
- Node24textWidth = Node24width;
- Node24lineStart = Node24width - ht.Default.getTextSize('212-10', ' '+ Node24fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, ' '+ Node24fontSize + 'px "Arial"'))
- Node24.setPosition(535*ratio.ratioX, 284*ratio.ratioY);
- Node24.setWidth(Node24width);
- Node24.setHeight(Node24height);
- Node24._nodeType = 'text';
- Node24._disallowEvert = true;
- Node24.setRotation(0*Math.PI/180);
- Node24.a('node.width', Node24width);
- Node24.a('node.height', Node24height);
- Node24.a('node.rect', [0, 0, Node24width, Node24height]);
- Node24.a('node.bordercolor','rgba(0,0,0,1)');
- Node24.a('node.borderwidth', 0);
- Node24.a('node.background','' || 'rgba(0,0,0,0)');
- Node24.a('node.gradient','');
- Node24.a('node.gradientcolor','');
- Node24.a('node.text','212-10');
- Node24.a('node.textalign','left');
- Node24.a('node.textvAlign','middle');
- Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]);
- Node24.a('node.color','rgba(0,0,0,1)');
- Node24.a('node.font',' '+ 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') || '212-10';
- var color=Node24.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,' '+ Node24fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24.a('node.underlinepoints',[Node24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('212-10', ' '+ 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 = 54*_ratio.ratioX, Node25height = 16*_ratio.ratioY;
- (function () {
- if (Node25align === 'left') {
- Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9;
- Node25textWidth = Node25width;
- Node25lineStart = 1;
- } else if (Node25align === 'right') {
- Node25textStart = 0;
- Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2;
- Node25lineStart = (Node25width - (ht.Default.getTextSize('212-A0', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node25align === 'center') {
- Node25textStart = -3;
- Node25textWidth = Node25width;
- Node25lineStart = Node25width - ht.Default.getTextSize('212-A0', ' '+ Node25fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"'))
- Node25.setPosition(540*ratio.ratioX, 320*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','212-A0');
- 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') || '212-A0';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('212-A0', ' '+ 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 = 29*_ratio.ratioX, Node26height = 16*_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('Ia :', ' '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26align === 'center') {
- Node26textStart = -3;
- Node26textWidth = Node26width;
- Node26lineStart = Node26width - ht.Default.getTextSize('Ia :', ' '+ Node26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, ' '+ Node26fontSize + 'px "Arial"'))
- Node26.setPosition(666*ratio.ratioX, 251*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(255,0,255,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','Ia :');
- Node26.a('node.textalign','left');
- Node26.a('node.textvAlign','middle');
- Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
- Node26.a('node.color','rgba(255,0,255,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') || 'Ia :';
- var color=Node26.a('node.color') || 'rgba(255,0,255,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ 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 = 29*_ratio.ratioX, Node27height = 16*_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('P :', ' '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27align === 'center') {
- Node27textStart = -3;
- Node27textWidth = Node27width;
- Node27lineStart = Node27width - ht.Default.getTextSize('P :', ' '+ Node27fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27.setImage(GD.getTextJSON(Node27width, Node27height, true, false, false, ' '+ Node27fontSize + 'px "Arial"'))
- Node27.setPosition(666*ratio.ratioX, 274*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(0,0,0,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','P :');
- Node27.a('node.textalign','left');
- Node27.a('node.textvAlign','middle');
- Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]);
- Node27.a('node.color','rgba(0,0,0,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') || 'P :';
- var color=Node27.a('node.color') || 'rgba(0,0,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('P :', ' '+ 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 = 29*_ratio.ratioX, Node28height = 16*_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('Q :', ' '+ Node28fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28align === 'center') {
- Node28textStart = -3;
- Node28textWidth = Node28width;
- Node28lineStart = Node28width - ht.Default.getTextSize('Q :', ' '+ Node28fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28.setImage(GD.getTextJSON(Node28width, Node28height, true, false, false, ' '+ Node28fontSize + 'px "Arial"'))
- Node28.setPosition(666*ratio.ratioX, 295*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','Q :');
- 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') || 'Q :';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node28fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ 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 = 41*_ratio.ratioX, Node29height = 16*_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('COS :', ' '+ Node29fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node29align === 'center') {
- Node29textStart = -3;
- Node29textWidth = Node29width;
- Node29lineStart = Node29width - ht.Default.getTextSize('COS :', ' '+ Node29fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node29.setImage(GD.getTextJSON(Node29width, Node29height, true, false, false, ' '+ Node29fontSize + 'px "Arial"'))
- Node29.setPosition(653*ratio.ratioX, 315*ratio.ratioY);
- Node29.setWidth(Node29width);
- Node29.setHeight(Node29height);
- Node29._nodeType = 'text';
- Node29._disallowEvert = true;
- Node29.setRotation(0*Math.PI/180);
- Node29.a('node.width', Node29width);
- Node29.a('node.height', Node29height);
- Node29.a('node.rect', [0, 0, Node29width, Node29height]);
- Node29.a('node.bordercolor','rgba(0,0,0,1)');
- Node29.a('node.borderwidth', 0);
- Node29.a('node.background','' || 'rgba(0,0,0,0)');
- Node29.a('node.gradient','');
- Node29.a('node.gradientcolor','');
- Node29.a('node.text','COS :');
- Node29.a('node.textalign','left');
- Node29.a('node.textvAlign','middle');
- Node29.a('node.textrect', [Node29textStart, 0, Node29textWidth, Node29height]);
- Node29.a('node.color','rgba(0,0,0,1)');
- Node29.a('node.font',' '+ Node29fontSize + 'px "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') || 'COS :';
- var color=Node29.a('node.color') || 'rgba(0,0,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node29fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ 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'
- }); var Node30points=[790, 285,790, 285],
- Node30rect=ht.Default.unionPoint([{x:790,y:285},{x:790,y:285}]),
- Node30compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node30points.length;i++){
- if(i%2==0){
- Node30compspts.push(Node30points[i]-Node30rect.x);
- }else{
- Node30compspts.push(Node30points[i]-Node30rect.y);
- }
- }
- var Node30ptslength=Node30compspts.length;
- if (Node30rect.height === 0) {
- Node30compspts[0] -= 0;
- Node30compspts[Node30ptslength-2] += 0;
- } else if (Node30rect.width === 0){
- Node30compspts[1] -= 0;
- Node30compspts[Node30ptslength-1] += 0;
- } else {
- Node30compspts[0] -= 0;
- Node30compspts[1] -= 0;
- Node30compspts[Node30ptslength-2] += 0;
- Node30compspts[Node30ptslength-1] += 0;
- }
- Node30 = new ht.Node();
- Node30.borderWidth = 1;
- Node30rect.width = Node30rect.width === 0 ? 0.0001 : Node30rect.width;
- Node30rect.height = Node30rect.height === 0 ? 0.0001 : Node30rect.height;
- var Node30endCompspts = [Node30compspts[Node30ptslength-2],Node30compspts[Node30ptslength-1],0,0];
- var Node30startCompspts = [Node30compspts[0],Node30compspts[1],0,0];
- Node30.setImage(GD.getPolyLineJSON());
- Node30.setPosition(Node30rect.x+Node30rect.width/2,Node30rect.y+Node30rect.height/2);
- Node30.setSize(Node30rect.width,Node30rect.height);
- Node30.setStyle("opacity",1);
- Node30.s({'pixelPerfect':true});
- Node30borderwidth=1;
- Node30.setRotation(0);
- dataModel.add(Node30);
- Node30.a('node.points',Node30compspts);
- Node30.a('node.segments',[1,2]);
- Node30.a('node.color','rgba(255,0,255,1)');
- Node30.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node30.a('node.borderColor','rgba(255,0,255,1)');
- Node30.a('node.background','rgba(255,0,255,1)');
- Node30.a('node.gradient','');
- Node30.a('node.gradientcolor','rgba(255,0,255,1)');
- Node30.a('node.endCompspts',Node30endCompspts);
- Node30.a('node.startCompspts',Node30startCompspts);
- (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 = 'Node30';
- 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);
- }
- })(Node30, Node30.getImage(), Node30compspts, Node30endCompspts, Node30startCompspts);
- var Node31points=[793, 289,853, 289],
- Node31rect=ht.Default.unionPoint([{x:793,y:289},{x:853,y:289}]),
- Node31compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node31points.length;i++){
- if(i%2==0){
- Node31compspts.push(Node31points[i]-Node31rect.x);
- }else{
- Node31compspts.push(Node31points[i]-Node31rect.y);
- }
- }
- var Node31ptslength=Node31compspts.length;
- if (Node31rect.height === 0) {
- Node31compspts[0] -= 0;
- Node31compspts[Node31ptslength-2] += 0;
- } else if (Node31rect.width === 0){
- Node31compspts[1] -= 0;
- Node31compspts[Node31ptslength-1] += 0;
- } else {
- Node31compspts[0] -= 0;
- Node31compspts[1] -= 0;
- Node31compspts[Node31ptslength-2] += 0;
- Node31compspts[Node31ptslength-1] += 0;
- }
- Node31 = new ht.Node();
- Node31.borderWidth = 1;
- Node31rect.width = Node31rect.width === 0 ? 0.0001 : Node31rect.width;
- Node31rect.height = Node31rect.height === 0 ? 0.0001 : Node31rect.height;
- var Node31endCompspts = [Node31compspts[Node31ptslength-2],Node31compspts[Node31ptslength-1],0,0];
- var Node31startCompspts = [Node31compspts[0],Node31compspts[1],0,0];
- Node31.setImage(GD.getPolyLineJSON());
- Node31.setPosition(Node31rect.x+Node31rect.width/2,Node31rect.y+Node31rect.height/2);
- Node31.setSize(Node31rect.width,Node31rect.height);
- Node31.setStyle("opacity",1);
- Node31.s({'pixelPerfect':true});
- Node31borderwidth=1;
- Node31.setRotation(0);
- dataModel.add(Node31);
- Node31.a('node.points',Node31compspts);
- Node31.a('node.segments',[1,2]);
- Node31.a('node.color','rgba(255,0,255,1)');
- Node31.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node31.a('node.borderColor','rgba(255,0,255,1)');
- Node31.a('node.background','rgba(255,0,255,1)');
- Node31.a('node.gradient','');
- Node31.a('node.gradientcolor','rgba(255,0,255,1)');
- Node31.a('node.endCompspts',Node31endCompspts);
- Node31.a('node.startCompspts',Node31startCompspts);
- (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 = 'Node31';
- 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);
- }
- })(Node31, Node31.getImage(), Node31compspts, Node31endCompspts, Node31startCompspts);
- var Node32points=[861, 300,861, 300],
- Node32rect=ht.Default.unionPoint([{x:861,y:300},{x:861,y:300}]),
- Node32compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node32points.length;i++){
- if(i%2==0){
- Node32compspts.push(Node32points[i]-Node32rect.x);
- }else{
- Node32compspts.push(Node32points[i]-Node32rect.y);
- }
- }
- var Node32ptslength=Node32compspts.length;
- if (Node32rect.height === 0) {
- Node32compspts[0] -= 0;
- Node32compspts[Node32ptslength-2] += 0;
- } else if (Node32rect.width === 0){
- Node32compspts[1] -= 0;
- Node32compspts[Node32ptslength-1] += 0;
- } else {
- Node32compspts[0] -= 0;
- Node32compspts[1] -= 0;
- Node32compspts[Node32ptslength-2] += 0;
- Node32compspts[Node32ptslength-1] += 0;
- }
- Node32 = new ht.Node();
- Node32.borderWidth = 1;
- Node32rect.width = Node32rect.width === 0 ? 0.0001 : Node32rect.width;
- Node32rect.height = Node32rect.height === 0 ? 0.0001 : Node32rect.height;
- var Node32endCompspts = [Node32compspts[Node32ptslength-2],Node32compspts[Node32ptslength-1],0,0];
- var Node32startCompspts = [Node32compspts[0],Node32compspts[1],0,0];
- Node32.setImage(GD.getPolyLineJSON());
- Node32.setPosition(Node32rect.x+Node32rect.width/2,Node32rect.y+Node32rect.height/2);
- Node32.setSize(Node32rect.width,Node32rect.height);
- Node32.setStyle("opacity",1);
- Node32.s({'pixelPerfect':true});
- Node32borderwidth=1;
- Node32.setRotation(0);
- dataModel.add(Node32);
- Node32.a('node.points',Node32compspts);
- Node32.a('node.segments',[1,2]);
- Node32.a('node.color','rgba(255,0,255,1)');
- Node32.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node32.a('node.borderColor','rgba(255,0,255,1)');
- Node32.a('node.background','rgba(255,0,255,1)');
- Node32.a('node.gradient','');
- Node32.a('node.gradientcolor','rgba(255,0,255,1)');
- Node32.a('node.endCompspts',Node32endCompspts);
- Node32.a('node.startCompspts',Node32startCompspts);
- (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 = 'Node32';
- 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);
- }
- })(Node32, Node32.getImage(), Node32compspts, Node32endCompspts, Node32startCompspts);
- var Node33points=[853, 289,853, 294],
- Node33rect=ht.Default.unionPoint([{x:853,y:289},{x:853,y:294}]),
- Node33compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node33points.length;i++){
- if(i%2==0){
- Node33compspts.push(Node33points[i]-Node33rect.x);
- }else{
- Node33compspts.push(Node33points[i]-Node33rect.y);
- }
- }
- var Node33ptslength=Node33compspts.length;
- if (Node33rect.height === 0) {
- Node33compspts[0] -= 0;
- Node33compspts[Node33ptslength-2] += 0;
- } else if (Node33rect.width === 0){
- Node33compspts[1] -= 0;
- Node33compspts[Node33ptslength-1] += 0;
- } else {
- Node33compspts[0] -= 0;
- Node33compspts[1] -= 0;
- Node33compspts[Node33ptslength-2] += 0;
- Node33compspts[Node33ptslength-1] += 0;
- }
- Node33 = new ht.Node();
- Node33.borderWidth = 1;
- Node33rect.width = Node33rect.width === 0 ? 0.0001 : Node33rect.width;
- Node33rect.height = Node33rect.height === 0 ? 0.0001 : Node33rect.height;
- var Node33endCompspts = [Node33compspts[Node33ptslength-2],Node33compspts[Node33ptslength-1],0,0];
- var Node33startCompspts = [Node33compspts[0],Node33compspts[1],0,0];
- Node33.setImage(GD.getPolyLineJSON());
- Node33.setPosition(Node33rect.x+Node33rect.width/2,Node33rect.y+Node33rect.height/2);
- Node33.setSize(Node33rect.width,Node33rect.height);
- Node33.setStyle("opacity",1);
- Node33.s({'pixelPerfect':true});
- Node33borderwidth=1;
- Node33.setRotation(0);
- dataModel.add(Node33);
- Node33.a('node.points',Node33compspts);
- Node33.a('node.segments',[1,2]);
- Node33.a('node.color','rgba(255,0,255,1)');
- Node33.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node33.a('node.borderColor','rgba(255,0,255,1)');
- Node33.a('node.background','rgba(255,0,255,1)');
- Node33.a('node.gradient','');
- Node33.a('node.gradientcolor','rgba(255,0,255,1)');
- Node33.a('node.endCompspts',Node33endCompspts);
- Node33.a('node.startCompspts',Node33startCompspts);
- (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 = 'Node33';
- 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);
- }
- })(Node33, Node33.getImage(), Node33compspts, Node33endCompspts, Node33startCompspts);
- var Node34points=[793, 269,793, 301],
- Node34rect=ht.Default.unionPoint([{x:793,y:269},{x:793,y:301}]),
- Node34compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node34points.length;i++){
- if(i%2==0){
- Node34compspts.push(Node34points[i]-Node34rect.x);
- }else{
- Node34compspts.push(Node34points[i]-Node34rect.y);
- }
- }
- var Node34ptslength=Node34compspts.length;
- if (Node34rect.height === 0) {
- Node34compspts[0] -= 0;
- Node34compspts[Node34ptslength-2] += 0;
- } else if (Node34rect.width === 0){
- Node34compspts[1] -= 0;
- Node34compspts[Node34ptslength-1] += 0;
- } else {
- Node34compspts[0] -= 0;
- Node34compspts[1] -= 0;
- Node34compspts[Node34ptslength-2] += 0;
- Node34compspts[Node34ptslength-1] += 0;
- }
- Node34 = new ht.Node();
- Node34.borderWidth = 1;
- Node34rect.width = Node34rect.width === 0 ? 0.0001 : Node34rect.width;
- Node34rect.height = Node34rect.height === 0 ? 0.0001 : Node34rect.height;
- var Node34endCompspts = [Node34compspts[Node34ptslength-2],Node34compspts[Node34ptslength-1],0,0];
- var Node34startCompspts = [Node34compspts[0],Node34compspts[1],0,0];
- Node34.setImage(GD.getPolyLineJSON());
- Node34.setPosition(Node34rect.x+Node34rect.width/2,Node34rect.y+Node34rect.height/2);
- Node34.setSize(Node34rect.width,Node34rect.height);
- Node34.setStyle("opacity",1);
- Node34.s({'pixelPerfect':true});
- Node34borderwidth=1;
- Node34.setRotation(0);
- dataModel.add(Node34);
- Node34.a('node.points',Node34compspts);
- Node34.a('node.segments',[1,2]);
- Node34.a('node.color','rgba(255,0,255,1)');
- Node34.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node34.a('node.borderColor','rgba(255,0,255,1)');
- Node34.a('node.background','rgba(255,0,255,1)');
- Node34.a('node.gradient','');
- Node34.a('node.gradientcolor','rgba(255,0,255,1)');
- Node34.a('node.endCompspts',Node34endCompspts);
- Node34.a('node.startCompspts',Node34startCompspts);
- (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 = 'Node34';
- 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);
- }
- })(Node34, Node34.getImage(), Node34compspts, Node34endCompspts, Node34startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35 = new ht.lib['123'](786*ratio.ratioX, 250*ratio.ratioY, 46*_ratio.ratioX, 38*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node35');
- _libModel.add("Node35", Node35);
- Node35.setRotation(0*Math.PI/180);
- ;
- ;
- var Node36points=[794, 327,854, 327],
- Node36rect=ht.Default.unionPoint([{x:794,y:327},{x:854,y:327}]),
- Node36compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node36points.length;i++){
- if(i%2==0){
- Node36compspts.push(Node36points[i]-Node36rect.x);
- }else{
- Node36compspts.push(Node36points[i]-Node36rect.y);
- }
- }
- var Node36ptslength=Node36compspts.length;
- if (Node36rect.height === 0) {
- Node36compspts[0] -= 0;
- Node36compspts[Node36ptslength-2] += 0;
- } else if (Node36rect.width === 0){
- Node36compspts[1] -= 0;
- Node36compspts[Node36ptslength-1] += 0;
- } else {
- Node36compspts[0] -= 0;
- Node36compspts[1] -= 0;
- Node36compspts[Node36ptslength-2] += 0;
- Node36compspts[Node36ptslength-1] += 0;
- }
- Node36 = new ht.Node();
- Node36.borderWidth = 1;
- Node36rect.width = Node36rect.width === 0 ? 0.0001 : Node36rect.width;
- Node36rect.height = Node36rect.height === 0 ? 0.0001 : Node36rect.height;
- var Node36endCompspts = [Node36compspts[Node36ptslength-2],Node36compspts[Node36ptslength-1],0,0];
- var Node36startCompspts = [Node36compspts[0],Node36compspts[1],0,0];
- Node36.setImage(GD.getPolyLineJSON());
- Node36.setPosition(Node36rect.x+Node36rect.width/2,Node36rect.y+Node36rect.height/2);
- Node36.setSize(Node36rect.width,Node36rect.height);
- Node36.setStyle("opacity",1);
- Node36.s({'pixelPerfect':true});
- Node36borderwidth=1;
- Node36.setRotation(0);
- dataModel.add(Node36);
- Node36.a('node.points',Node36compspts);
- Node36.a('node.segments',[1,2]);
- Node36.a('node.color','rgba(255,0,255,1)');
- Node36.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node36.a('node.borderColor','rgba(255,0,255,1)');
- Node36.a('node.background','rgba(255,0,255,1)');
- Node36.a('node.gradient','');
- Node36.a('node.gradientcolor','rgba(255,0,255,1)');
- Node36.a('node.endCompspts',Node36endCompspts);
- Node36.a('node.startCompspts',Node36startCompspts);
- (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 = 'Node36';
- 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);
- }
- })(Node36, Node36.getImage(), Node36compspts, Node36endCompspts, Node36startCompspts);
- var Node37points=[862, 333,862, 333],
- Node37rect=ht.Default.unionPoint([{x:862,y:333},{x:862,y:333}]),
- Node37compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node37points.length;i++){
- if(i%2==0){
- Node37compspts.push(Node37points[i]-Node37rect.x);
- }else{
- Node37compspts.push(Node37points[i]-Node37rect.y);
- }
- }
- var Node37ptslength=Node37compspts.length;
- if (Node37rect.height === 0) {
- Node37compspts[0] -= 0;
- Node37compspts[Node37ptslength-2] += 0;
- } else if (Node37rect.width === 0){
- Node37compspts[1] -= 0;
- Node37compspts[Node37ptslength-1] += 0;
- } else {
- Node37compspts[0] -= 0;
- Node37compspts[1] -= 0;
- Node37compspts[Node37ptslength-2] += 0;
- Node37compspts[Node37ptslength-1] += 0;
- }
- Node37 = new ht.Node();
- Node37.borderWidth = 1;
- Node37rect.width = Node37rect.width === 0 ? 0.0001 : Node37rect.width;
- Node37rect.height = Node37rect.height === 0 ? 0.0001 : Node37rect.height;
- var Node37endCompspts = [Node37compspts[Node37ptslength-2],Node37compspts[Node37ptslength-1],0,0];
- var Node37startCompspts = [Node37compspts[0],Node37compspts[1],0,0];
- Node37.setImage(GD.getPolyLineJSON());
- Node37.setPosition(Node37rect.x+Node37rect.width/2,Node37rect.y+Node37rect.height/2);
- Node37.setSize(Node37rect.width,Node37rect.height);
- Node37.setStyle("opacity",1);
- Node37.s({'pixelPerfect':true});
- Node37borderwidth=1;
- Node37.setRotation(0);
- dataModel.add(Node37);
- Node37.a('node.points',Node37compspts);
- Node37.a('node.segments',[1,2]);
- Node37.a('node.color','rgba(255,0,255,1)');
- Node37.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node37.a('node.borderColor','rgba(255,0,255,1)');
- Node37.a('node.background','rgba(255,0,255,1)');
- Node37.a('node.gradient','');
- Node37.a('node.gradientcolor','rgba(255,0,255,1)');
- Node37.a('node.endCompspts',Node37endCompspts);
- Node37.a('node.startCompspts',Node37startCompspts);
- (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 = 'Node37';
- 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);
- }
- })(Node37, Node37.getImage(), Node37compspts, Node37endCompspts, Node37startCompspts);
- var Node38points=[854, 328,854, 333],
- Node38rect=ht.Default.unionPoint([{x:854,y:328},{x:854,y:333}]),
- Node38compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node38points.length;i++){
- if(i%2==0){
- Node38compspts.push(Node38points[i]-Node38rect.x);
- }else{
- Node38compspts.push(Node38points[i]-Node38rect.y);
- }
- }
- var Node38ptslength=Node38compspts.length;
- if (Node38rect.height === 0) {
- Node38compspts[0] -= 0;
- Node38compspts[Node38ptslength-2] += 0;
- } else if (Node38rect.width === 0){
- Node38compspts[1] -= 0;
- Node38compspts[Node38ptslength-1] += 0;
- } else {
- Node38compspts[0] -= 0;
- Node38compspts[1] -= 0;
- Node38compspts[Node38ptslength-2] += 0;
- Node38compspts[Node38ptslength-1] += 0;
- }
- Node38 = new ht.Node();
- Node38.borderWidth = 1;
- Node38rect.width = Node38rect.width === 0 ? 0.0001 : Node38rect.width;
- Node38rect.height = Node38rect.height === 0 ? 0.0001 : Node38rect.height;
- var Node38endCompspts = [Node38compspts[Node38ptslength-2],Node38compspts[Node38ptslength-1],0,0];
- var Node38startCompspts = [Node38compspts[0],Node38compspts[1],0,0];
- Node38.setImage(GD.getPolyLineJSON());
- Node38.setPosition(Node38rect.x+Node38rect.width/2,Node38rect.y+Node38rect.height/2);
- Node38.setSize(Node38rect.width,Node38rect.height);
- Node38.setStyle("opacity",1);
- Node38.s({'pixelPerfect':true});
- Node38borderwidth=1;
- Node38.setRotation(0);
- dataModel.add(Node38);
- Node38.a('node.points',Node38compspts);
- Node38.a('node.segments',[1,2]);
- Node38.a('node.color','rgba(255,0,255,1)');
- Node38.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node38.a('node.borderColor','rgba(255,0,255,1)');
- Node38.a('node.background','rgba(255,0,255,1)');
- Node38.a('node.gradient','');
- Node38.a('node.gradientcolor','rgba(255,0,255,1)');
- Node38.a('node.endCompspts',Node38endCompspts);
- Node38.a('node.startCompspts',Node38startCompspts);
- (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 = 'Node38';
- 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);
- }
- })(Node38, Node38.getImage(), Node38compspts, Node38endCompspts, Node38startCompspts);
- var Node39points=[793, 318,793, 358],
- Node39rect=ht.Default.unionPoint([{x:793,y:318},{x:793,y:358}]),
- Node39compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node39points.length;i++){
- if(i%2==0){
- Node39compspts.push(Node39points[i]-Node39rect.x);
- }else{
- Node39compspts.push(Node39points[i]-Node39rect.y);
- }
- }
- var Node39ptslength=Node39compspts.length;
- if (Node39rect.height === 0) {
- Node39compspts[0] -= 0;
- Node39compspts[Node39ptslength-2] += 0;
- } else if (Node39rect.width === 0){
- Node39compspts[1] -= 0;
- Node39compspts[Node39ptslength-1] += 0;
- } else {
- Node39compspts[0] -= 0;
- Node39compspts[1] -= 0;
- Node39compspts[Node39ptslength-2] += 0;
- Node39compspts[Node39ptslength-1] += 0;
- }
- Node39 = new ht.Node();
- Node39.borderWidth = 1;
- Node39rect.width = Node39rect.width === 0 ? 0.0001 : Node39rect.width;
- Node39rect.height = Node39rect.height === 0 ? 0.0001 : Node39rect.height;
- var Node39endCompspts = [Node39compspts[Node39ptslength-2],Node39compspts[Node39ptslength-1],0,0];
- var Node39startCompspts = [Node39compspts[0],Node39compspts[1],0,0];
- Node39.setImage(GD.getPolyLineJSON());
- Node39.setPosition(Node39rect.x+Node39rect.width/2,Node39rect.y+Node39rect.height/2);
- Node39.setSize(Node39rect.width,Node39rect.height);
- Node39.setStyle("opacity",1);
- Node39.s({'pixelPerfect':true});
- Node39borderwidth=1;
- Node39.setRotation(0);
- dataModel.add(Node39);
- Node39.a('node.points',Node39compspts);
- Node39.a('node.segments',[1,2]);
- Node39.a('node.color','rgba(255,0,255,1)');
- Node39.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node39.a('node.borderColor','rgba(255,0,255,1)');
- Node39.a('node.background','rgba(255,0,255,1)');
- Node39.a('node.gradient','');
- Node39.a('node.gradientcolor','rgba(255,0,255,1)');
- Node39.a('node.endCompspts',Node39endCompspts);
- Node39.a('node.startCompspts',Node39startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node39';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node39, Node39.getImage(), Node39compspts, Node39endCompspts, Node39startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40 = new ht.lib['接地'](852*ratio.ratioX, 314*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node40');
- _libModel.add("Node40", Node40);
- Node40.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.lib['接地'](853*ratio.ratioX, 350*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node41');
- _libModel.add("Node41", Node41);
- Node41.setRotation(0*Math.PI/180);
- ;
- ;
- _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 = 34*_ratio.ratioX, Node42height = 16*_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('2A9', ' '+ Node42fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node42align === 'center') {
- Node42textStart = -3;
- Node42textWidth = Node42width;
- Node42lineStart = Node42width - ht.Default.getTextSize('2A9', ' '+ Node42fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node42.setImage(GD.getTextJSON(Node42width, Node42height, true, false, false, ' '+ Node42fontSize + 'px "Arial"'))
- Node42.setPosition(758*ratio.ratioX, 308*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(0,0,0,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','2A9');
- Node42.a('node.textalign','left');
- Node42.a('node.textvAlign','middle');
- Node42.a('node.textrect', [Node42textStart, 0, Node42textWidth, Node42height]);
- Node42.a('node.color','rgba(0,0,0,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') || '2A9';
- var color=Node42.a('node.color') || 'rgba(0,0,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node42fontSize + 2 , ht.Default.getTextSize('2A9', ' '+ 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 = 36*_ratio.ratioX, Node43height = 16*_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('2A90', ' '+ Node43fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node43align === 'center') {
- Node43textStart = -3;
- Node43textWidth = Node43width;
- Node43lineStart = Node43width - ht.Default.getTextSize('2A90', ' '+ Node43fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, ' '+ Node43fontSize + 'px "Arial"'))
- Node43.setPosition(879*ratio.ratioX, 300*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(0,0,0,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','2A90');
- Node43.a('node.textalign','left');
- Node43.a('node.textvAlign','middle');
- Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]);
- Node43.a('node.color','rgba(0,0,0,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') || '2A90';
- var color=Node43.a('node.color') || 'rgba(0,0,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('2A90', ' '+ 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 = 36*_ratio.ratioX, Node44height = 16*_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('2A10', ' '+ Node44fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node44align === 'center') {
- Node44textStart = -3;
- Node44textWidth = Node44width;
- Node44lineStart = Node44width - ht.Default.getTextSize('2A10', ' '+ Node44fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node44.setImage(GD.getTextJSON(Node44width, Node44height, true, false, false, ' '+ Node44fontSize + 'px "Arial"'))
- Node44.setPosition(884*ratio.ratioX, 336*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(0,0,0,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','2A10');
- Node44.a('node.textalign','left');
- Node44.a('node.textvAlign','middle');
- Node44.a('node.textrect', [Node44textStart, 0, Node44textWidth, Node44height]);
- Node44.a('node.color','rgba(0,0,0,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') || '2A10';
- var color=Node44.a('node.color') || 'rgba(0,0,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node44fontSize + 2 , ht.Default.getTextSize('2A10', ' '+ 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'
- }); var Node45points=[1105, 207,1105, 239],
- Node45rect=ht.Default.unionPoint([{x:1105,y:207},{x:1105,y:239}]),
- Node45compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node45points.length;i++){
- if(i%2==0){
- Node45compspts.push(Node45points[i]-Node45rect.x);
- }else{
- Node45compspts.push(Node45points[i]-Node45rect.y);
- }
- }
- var Node45ptslength=Node45compspts.length;
- if (Node45rect.height === 0) {
- Node45compspts[0] -= 0;
- Node45compspts[Node45ptslength-2] += 0;
- } else if (Node45rect.width === 0){
- Node45compspts[1] -= 0;
- Node45compspts[Node45ptslength-1] += 0;
- } else {
- Node45compspts[0] -= 0;
- Node45compspts[1] -= 0;
- Node45compspts[Node45ptslength-2] += 0;
- Node45compspts[Node45ptslength-1] += 0;
- }
- Node45 = new ht.Node();
- Node45.borderWidth = 1;
- Node45rect.width = Node45rect.width === 0 ? 0.0001 : Node45rect.width;
- Node45rect.height = Node45rect.height === 0 ? 0.0001 : Node45rect.height;
- var Node45endCompspts = [Node45compspts[Node45ptslength-2],Node45compspts[Node45ptslength-1],0,0];
- var Node45startCompspts = [Node45compspts[0],Node45compspts[1],0,0];
- Node45.setImage(GD.getPolyLineJSON());
- Node45.setPosition(Node45rect.x+Node45rect.width/2,Node45rect.y+Node45rect.height/2);
- Node45.setSize(Node45rect.width,Node45rect.height);
- Node45.setStyle("opacity",1);
- Node45.s({'pixelPerfect':true});
- Node45borderwidth=1;
- Node45.setRotation(0);
- dataModel.add(Node45);
- Node45.a('node.points',Node45compspts);
- Node45.a('node.segments',[1,2]);
- Node45.a('node.color','rgba(255,0,255,1)');
- Node45.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node45.a('node.borderColor','rgba(255,0,255,1)');
- Node45.a('node.background','rgba(255,0,255,1)');
- Node45.a('node.gradient','');
- Node45.a('node.gradientcolor','rgba(255,0,255,1)');
- Node45.a('node.endCompspts',Node45endCompspts);
- Node45.a('node.startCompspts',Node45startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node45';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node45, Node45.getImage(), Node45compspts, Node45endCompspts, Node45startCompspts);
- var Node46points=[1105, 228,1165, 228],
- Node46rect=ht.Default.unionPoint([{x:1105,y:228},{x:1165,y:228}]),
- Node46compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node46points.length;i++){
- if(i%2==0){
- Node46compspts.push(Node46points[i]-Node46rect.x);
- }else{
- Node46compspts.push(Node46points[i]-Node46rect.y);
- }
- }
- var Node46ptslength=Node46compspts.length;
- if (Node46rect.height === 0) {
- Node46compspts[0] -= 0;
- Node46compspts[Node46ptslength-2] += 0;
- } else if (Node46rect.width === 0){
- Node46compspts[1] -= 0;
- Node46compspts[Node46ptslength-1] += 0;
- } else {
- Node46compspts[0] -= 0;
- Node46compspts[1] -= 0;
- Node46compspts[Node46ptslength-2] += 0;
- Node46compspts[Node46ptslength-1] += 0;
- }
- Node46 = new ht.Node();
- Node46.borderWidth = 1;
- Node46rect.width = Node46rect.width === 0 ? 0.0001 : Node46rect.width;
- Node46rect.height = Node46rect.height === 0 ? 0.0001 : Node46rect.height;
- var Node46endCompspts = [Node46compspts[Node46ptslength-2],Node46compspts[Node46ptslength-1],0,0];
- var Node46startCompspts = [Node46compspts[0],Node46compspts[1],0,0];
- Node46.setImage(GD.getPolyLineJSON());
- Node46.setPosition(Node46rect.x+Node46rect.width/2,Node46rect.y+Node46rect.height/2);
- Node46.setSize(Node46rect.width,Node46rect.height);
- Node46.setStyle("opacity",1);
- Node46.s({'pixelPerfect':true});
- Node46borderwidth=1;
- Node46.setRotation(0);
- dataModel.add(Node46);
- Node46.a('node.points',Node46compspts);
- Node46.a('node.segments',[1,2]);
- Node46.a('node.color','rgba(255,0,255,1)');
- Node46.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node46.a('node.borderColor','rgba(255,0,255,1)');
- Node46.a('node.background','rgba(255,0,255,1)');
- Node46.a('node.gradient','');
- Node46.a('node.gradientcolor','rgba(255,0,255,1)');
- Node46.a('node.endCompspts',Node46endCompspts);
- Node46.a('node.startCompspts',Node46startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node46';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node46, Node46.getImage(), Node46compspts, Node46endCompspts, Node46startCompspts);
- var Node47points=[1173, 239,1173, 239],
- Node47rect=ht.Default.unionPoint([{x:1173,y:239},{x:1173,y:239}]),
- Node47compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node47points.length;i++){
- if(i%2==0){
- Node47compspts.push(Node47points[i]-Node47rect.x);
- }else{
- Node47compspts.push(Node47points[i]-Node47rect.y);
- }
- }
- var Node47ptslength=Node47compspts.length;
- if (Node47rect.height === 0) {
- Node47compspts[0] -= 0;
- Node47compspts[Node47ptslength-2] += 0;
- } else if (Node47rect.width === 0){
- Node47compspts[1] -= 0;
- Node47compspts[Node47ptslength-1] += 0;
- } else {
- Node47compspts[0] -= 0;
- Node47compspts[1] -= 0;
- Node47compspts[Node47ptslength-2] += 0;
- Node47compspts[Node47ptslength-1] += 0;
- }
- Node47 = new ht.Node();
- Node47.borderWidth = 1;
- Node47rect.width = Node47rect.width === 0 ? 0.0001 : Node47rect.width;
- Node47rect.height = Node47rect.height === 0 ? 0.0001 : Node47rect.height;
- var Node47endCompspts = [Node47compspts[Node47ptslength-2],Node47compspts[Node47ptslength-1],0,0];
- var Node47startCompspts = [Node47compspts[0],Node47compspts[1],0,0];
- Node47.setImage(GD.getPolyLineJSON());
- Node47.setPosition(Node47rect.x+Node47rect.width/2,Node47rect.y+Node47rect.height/2);
- Node47.setSize(Node47rect.width,Node47rect.height);
- Node47.setStyle("opacity",1);
- Node47.s({'pixelPerfect':true});
- Node47borderwidth=1;
- Node47.setRotation(0);
- dataModel.add(Node47);
- Node47.a('node.points',Node47compspts);
- Node47.a('node.segments',[1,2]);
- Node47.a('node.color','rgba(255,0,255,1)');
- Node47.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node47.a('node.borderColor','rgba(255,0,255,1)');
- Node47.a('node.background','rgba(255,0,255,1)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','rgba(255,0,255,1)');
- Node47.a('node.endCompspts',Node47endCompspts);
- Node47.a('node.startCompspts',Node47startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node47';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node47, Node47.getImage(), Node47compspts, Node47endCompspts, Node47startCompspts);
- var Node48points=[1165, 228,1165, 233],
- Node48rect=ht.Default.unionPoint([{x:1165,y:228},{x:1165,y:233}]),
- Node48compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node48points.length;i++){
- if(i%2==0){
- Node48compspts.push(Node48points[i]-Node48rect.x);
- }else{
- Node48compspts.push(Node48points[i]-Node48rect.y);
- }
- }
- var Node48ptslength=Node48compspts.length;
- if (Node48rect.height === 0) {
- Node48compspts[0] -= 0;
- Node48compspts[Node48ptslength-2] += 0;
- } else if (Node48rect.width === 0){
- Node48compspts[1] -= 0;
- Node48compspts[Node48ptslength-1] += 0;
- } else {
- Node48compspts[0] -= 0;
- Node48compspts[1] -= 0;
- Node48compspts[Node48ptslength-2] += 0;
- Node48compspts[Node48ptslength-1] += 0;
- }
- Node48 = new ht.Node();
- Node48.borderWidth = 1;
- Node48rect.width = Node48rect.width === 0 ? 0.0001 : Node48rect.width;
- Node48rect.height = Node48rect.height === 0 ? 0.0001 : Node48rect.height;
- var Node48endCompspts = [Node48compspts[Node48ptslength-2],Node48compspts[Node48ptslength-1],0,0];
- var Node48startCompspts = [Node48compspts[0],Node48compspts[1],0,0];
- Node48.setImage(GD.getPolyLineJSON());
- Node48.setPosition(Node48rect.x+Node48rect.width/2,Node48rect.y+Node48rect.height/2);
- Node48.setSize(Node48rect.width,Node48rect.height);
- Node48.setStyle("opacity",1);
- Node48.s({'pixelPerfect':true});
- Node48borderwidth=1;
- Node48.setRotation(0);
- dataModel.add(Node48);
- Node48.a('node.points',Node48compspts);
- Node48.a('node.segments',[1,2]);
- Node48.a('node.color','rgba(255,0,255,1)');
- Node48.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node48.a('node.borderColor','rgba(255,0,255,1)');
- Node48.a('node.background','rgba(255,0,255,1)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','rgba(255,0,255,1)');
- Node48.a('node.endCompspts',Node48endCompspts);
- Node48.a('node.startCompspts',Node48startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node48';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node48, Node48.getImage(), Node48compspts, Node48endCompspts, Node48startCompspts);
- var Node49points=[1102, 288,1102, 288],
- Node49rect=ht.Default.unionPoint([{x:1102,y:288},{x:1102,y:288}]),
- Node49compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node49points.length;i++){
- if(i%2==0){
- Node49compspts.push(Node49points[i]-Node49rect.x);
- }else{
- Node49compspts.push(Node49points[i]-Node49rect.y);
- }
- }
- var Node49ptslength=Node49compspts.length;
- if (Node49rect.height === 0) {
- Node49compspts[0] -= 0;
- Node49compspts[Node49ptslength-2] += 0;
- } else if (Node49rect.width === 0){
- Node49compspts[1] -= 0;
- Node49compspts[Node49ptslength-1] += 0;
- } else {
- Node49compspts[0] -= 0;
- Node49compspts[1] -= 0;
- Node49compspts[Node49ptslength-2] += 0;
- Node49compspts[Node49ptslength-1] += 0;
- }
- Node49 = new ht.Node();
- Node49.borderWidth = 1;
- Node49rect.width = Node49rect.width === 0 ? 0.0001 : Node49rect.width;
- Node49rect.height = Node49rect.height === 0 ? 0.0001 : Node49rect.height;
- var Node49endCompspts = [Node49compspts[Node49ptslength-2],Node49compspts[Node49ptslength-1],0,0];
- var Node49startCompspts = [Node49compspts[0],Node49compspts[1],0,0];
- Node49.setImage(GD.getPolyLineJSON());
- Node49.setPosition(Node49rect.x+Node49rect.width/2,Node49rect.y+Node49rect.height/2);
- Node49.setSize(Node49rect.width,Node49rect.height);
- Node49.setStyle("opacity",1);
- Node49.s({'pixelPerfect':true});
- Node49borderwidth=1;
- Node49.setRotation(0);
- dataModel.add(Node49);
- Node49.a('node.points',Node49compspts);
- Node49.a('node.segments',[1,2]);
- Node49.a('node.color','rgba(255,0,255,1)');
- Node49.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node49.a('node.borderColor','rgba(255,0,255,1)');
- Node49.a('node.background','rgba(255,0,255,1)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','rgba(255,0,255,1)');
- Node49.a('node.endCompspts',Node49endCompspts);
- Node49.a('node.startCompspts',Node49startCompspts);
- (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 = 'Node49';
- 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);
- }
- })(Node49, Node49.getImage(), Node49compspts, Node49endCompspts, Node49startCompspts);
- var Node50_0points=[1102, 266,1102, 266],
- Node50_0rect=ht.Default.unionPoint([{x:1102,y:266},{x:1102,y:266}]),
- Node50_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node50_0points.length;i++){
- if(i%2==0){
- Node50_0compspts.push(Node50_0points[i]-Node50_0rect.x);
- }else{
- Node50_0compspts.push(Node50_0points[i]-Node50_0rect.y);
- }
- }
- var Node50_0ptslength=Node50_0compspts.length;
- if (Node50_0rect.height === 0) {
- Node50_0compspts[0] -= 0;
- Node50_0compspts[Node50_0ptslength-2] += 0;
- } else if (Node50_0rect.width === 0){
- Node50_0compspts[1] -= 0;
- Node50_0compspts[Node50_0ptslength-1] += 0;
- } else {
- Node50_0compspts[0] -= 0;
- Node50_0compspts[1] -= 0;
- Node50_0compspts[Node50_0ptslength-2] += 0;
- Node50_0compspts[Node50_0ptslength-1] += 0;
- }
- Node50_0 = new ht.Node();
- Node50_0.borderWidth = 1;
- Node50_0rect.width = Node50_0rect.width === 0 ? 0.0001 : Node50_0rect.width;
- Node50_0rect.height = Node50_0rect.height === 0 ? 0.0001 : Node50_0rect.height;
- var Node50_0endCompspts = [Node50_0compspts[Node50_0ptslength-2],Node50_0compspts[Node50_0ptslength-1],0,0];
- var Node50_0startCompspts = [Node50_0compspts[0],Node50_0compspts[1],0,0];
- Node50_0.setImage(GD.getPolyLineJSON());
- Node50_0.setPosition(Node50_0rect.x+Node50_0rect.width/2,Node50_0rect.y+Node50_0rect.height/2);
- Node50_0.setSize(Node50_0rect.width,Node50_0rect.height);
- Node50_0.setStyle("opacity",1);
- Node50_0.s({'pixelPerfect':true});
- Node50_0borderwidth=1;
- Node50_0.setRotation(0);
- dataModel.add(Node50_0);
- Node50_0.a('node.points',Node50_0compspts);
- Node50_0.a('node.segments',[1,2]);
- Node50_0.a('node.color','rgba(255,0,255,1)');
- Node50_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node50_0.a('node.borderColor','rgba(255,0,255,1)');
- Node50_0.a('node.background','rgba(255,0,255,1)');
- Node50_0.a('node.gradient','');
- Node50_0.a('node.gradientcolor','rgba(255,0,255,1)');
- Node50_0.a('node.endCompspts',Node50_0endCompspts);
- Node50_0.a('node.startCompspts',Node50_0startCompspts);
- (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 = 'Node50_0';
- 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);
- }
- })(Node50_0, Node50_0.getImage(), Node50_0compspts, Node50_0endCompspts, Node50_0startCompspts);
- var Node50_1points=[1105, 261,1105, 281],
- Node50_1rect=ht.Default.unionPoint([{x:1105,y:261},{x:1105,y:281}]),
- Node50_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node50_1points.length;i++){
- if(i%2==0){
- Node50_1compspts.push(Node50_1points[i]-Node50_1rect.x);
- }else{
- Node50_1compspts.push(Node50_1points[i]-Node50_1rect.y);
- }
- }
- var Node50_1ptslength=Node50_1compspts.length;
- if (Node50_1rect.height === 0) {
- Node50_1compspts[0] -= 0;
- Node50_1compspts[Node50_1ptslength-2] += 0;
- } else if (Node50_1rect.width === 0){
- Node50_1compspts[1] -= 0;
- Node50_1compspts[Node50_1ptslength-1] += 0;
- } else {
- Node50_1compspts[0] -= 0;
- Node50_1compspts[1] -= 0;
- Node50_1compspts[Node50_1ptslength-2] += 0;
- Node50_1compspts[Node50_1ptslength-1] += 0;
- }
- Node50_1 = new ht.Node();
- Node50_1.borderWidth = 1;
- Node50_1rect.width = Node50_1rect.width === 0 ? 0.0001 : Node50_1rect.width;
- Node50_1rect.height = Node50_1rect.height === 0 ? 0.0001 : Node50_1rect.height;
- var Node50_1endCompspts = [Node50_1compspts[Node50_1ptslength-2],Node50_1compspts[Node50_1ptslength-1],0,0];
- var Node50_1startCompspts = [Node50_1compspts[0],Node50_1compspts[1],0,0];
- Node50_1.setImage(GD.getPolyLineJSON());
- Node50_1.setPosition(Node50_1rect.x+Node50_1rect.width/2,Node50_1rect.y+Node50_1rect.height/2);
- Node50_1.setSize(Node50_1rect.width,Node50_1rect.height);
- Node50_1.setStyle("opacity",1);
- Node50_1.s({'pixelPerfect':true});
- Node50_1borderwidth=1;
- Node50_1.setRotation(0);
- dataModel.add(Node50_1);
- Node50_1.a('node.points',Node50_1compspts);
- Node50_1.a('node.segments',[1,2]);
- Node50_1.a('node.color','rgba(255,0,255,1)');
- Node50_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node50_1.a('node.borderColor','rgba(255,0,255,1)');
- Node50_1.a('node.background','rgba(255,0,255,1)');
- Node50_1.a('node.gradient','');
- Node50_1.a('node.gradientcolor','rgba(255,0,255,1)');
- Node50_1.a('node.endCompspts',Node50_1endCompspts);
- Node50_1.a('node.startCompspts',Node50_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node50_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node50_1, Node50_1.getImage(), Node50_1compspts, Node50_1endCompspts, Node50_1startCompspts);
- var Node50_2points=[1105, 270,1165, 270],
- Node50_2rect=ht.Default.unionPoint([{x:1105,y:270},{x:1165,y:270}]),
- Node50_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node50_2points.length;i++){
- if(i%2==0){
- Node50_2compspts.push(Node50_2points[i]-Node50_2rect.x);
- }else{
- Node50_2compspts.push(Node50_2points[i]-Node50_2rect.y);
- }
- }
- var Node50_2ptslength=Node50_2compspts.length;
- if (Node50_2rect.height === 0) {
- Node50_2compspts[0] -= 0;
- Node50_2compspts[Node50_2ptslength-2] += 0;
- } else if (Node50_2rect.width === 0){
- Node50_2compspts[1] -= 0;
- Node50_2compspts[Node50_2ptslength-1] += 0;
- } else {
- Node50_2compspts[0] -= 0;
- Node50_2compspts[1] -= 0;
- Node50_2compspts[Node50_2ptslength-2] += 0;
- Node50_2compspts[Node50_2ptslength-1] += 0;
- }
- Node50_2 = new ht.Node();
- Node50_2.borderWidth = 1;
- Node50_2rect.width = Node50_2rect.width === 0 ? 0.0001 : Node50_2rect.width;
- Node50_2rect.height = Node50_2rect.height === 0 ? 0.0001 : Node50_2rect.height;
- var Node50_2endCompspts = [Node50_2compspts[Node50_2ptslength-2],Node50_2compspts[Node50_2ptslength-1],0,0];
- var Node50_2startCompspts = [Node50_2compspts[0],Node50_2compspts[1],0,0];
- Node50_2.setImage(GD.getPolyLineJSON());
- Node50_2.setPosition(Node50_2rect.x+Node50_2rect.width/2,Node50_2rect.y+Node50_2rect.height/2);
- Node50_2.setSize(Node50_2rect.width,Node50_2rect.height);
- Node50_2.setStyle("opacity",1);
- Node50_2.s({'pixelPerfect':true});
- Node50_2borderwidth=1;
- Node50_2.setRotation(0);
- dataModel.add(Node50_2);
- Node50_2.a('node.points',Node50_2compspts);
- Node50_2.a('node.segments',[1,2]);
- Node50_2.a('node.color','rgba(255,0,255,1)');
- Node50_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node50_2.a('node.borderColor','rgba(255,0,255,1)');
- Node50_2.a('node.background','rgba(255,0,255,1)');
- Node50_2.a('node.gradient','');
- Node50_2.a('node.gradientcolor','rgba(255,0,255,1)');
- Node50_2.a('node.endCompspts',Node50_2endCompspts);
- Node50_2.a('node.startCompspts',Node50_2startCompspts);
- (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 = 'Node50_2';
- 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);
- }
- })(Node50_2, Node50_2.getImage(), Node50_2compspts, Node50_2endCompspts, Node50_2startCompspts);
- var Node50_3points=[1173, 281,1173, 281],
- Node50_3rect=ht.Default.unionPoint([{x:1173,y:281},{x:1173,y:281}]),
- Node50_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node50_3points.length;i++){
- if(i%2==0){
- Node50_3compspts.push(Node50_3points[i]-Node50_3rect.x);
- }else{
- Node50_3compspts.push(Node50_3points[i]-Node50_3rect.y);
- }
- }
- var Node50_3ptslength=Node50_3compspts.length;
- if (Node50_3rect.height === 0) {
- Node50_3compspts[0] -= 0;
- Node50_3compspts[Node50_3ptslength-2] += 0;
- } else if (Node50_3rect.width === 0){
- Node50_3compspts[1] -= 0;
- Node50_3compspts[Node50_3ptslength-1] += 0;
- } else {
- Node50_3compspts[0] -= 0;
- Node50_3compspts[1] -= 0;
- Node50_3compspts[Node50_3ptslength-2] += 0;
- Node50_3compspts[Node50_3ptslength-1] += 0;
- }
- Node50_3 = new ht.Node();
- Node50_3.borderWidth = 1;
- Node50_3rect.width = Node50_3rect.width === 0 ? 0.0001 : Node50_3rect.width;
- Node50_3rect.height = Node50_3rect.height === 0 ? 0.0001 : Node50_3rect.height;
- var Node50_3endCompspts = [Node50_3compspts[Node50_3ptslength-2],Node50_3compspts[Node50_3ptslength-1],0,0];
- var Node50_3startCompspts = [Node50_3compspts[0],Node50_3compspts[1],0,0];
- Node50_3.setImage(GD.getPolyLineJSON());
- Node50_3.setPosition(Node50_3rect.x+Node50_3rect.width/2,Node50_3rect.y+Node50_3rect.height/2);
- Node50_3.setSize(Node50_3rect.width,Node50_3rect.height);
- Node50_3.setStyle("opacity",1);
- Node50_3.s({'pixelPerfect':true});
- Node50_3borderwidth=1;
- Node50_3.setRotation(0);
- dataModel.add(Node50_3);
- Node50_3.a('node.points',Node50_3compspts);
- Node50_3.a('node.segments',[1,2]);
- Node50_3.a('node.color','rgba(255,0,255,1)');
- Node50_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node50_3.a('node.borderColor','rgba(255,0,255,1)');
- Node50_3.a('node.background','rgba(255,0,255,1)');
- Node50_3.a('node.gradient','');
- Node50_3.a('node.gradientcolor','rgba(255,0,255,1)');
- Node50_3.a('node.endCompspts',Node50_3endCompspts);
- Node50_3.a('node.startCompspts',Node50_3startCompspts);
- (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 = 'Node50_3';
- 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);
- }
- })(Node50_3, Node50_3.getImage(), Node50_3compspts, Node50_3endCompspts, Node50_3startCompspts);
- var Node50_4points=[1165, 270,1165, 275],
- Node50_4rect=ht.Default.unionPoint([{x:1165,y:270},{x:1165,y:275}]),
- Node50_4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node50_4points.length;i++){
- if(i%2==0){
- Node50_4compspts.push(Node50_4points[i]-Node50_4rect.x);
- }else{
- Node50_4compspts.push(Node50_4points[i]-Node50_4rect.y);
- }
- }
- var Node50_4ptslength=Node50_4compspts.length;
- if (Node50_4rect.height === 0) {
- Node50_4compspts[0] -= 0;
- Node50_4compspts[Node50_4ptslength-2] += 0;
- } else if (Node50_4rect.width === 0){
- Node50_4compspts[1] -= 0;
- Node50_4compspts[Node50_4ptslength-1] += 0;
- } else {
- Node50_4compspts[0] -= 0;
- Node50_4compspts[1] -= 0;
- Node50_4compspts[Node50_4ptslength-2] += 0;
- Node50_4compspts[Node50_4ptslength-1] += 0;
- }
- Node50_4 = new ht.Node();
- Node50_4.borderWidth = 1;
- Node50_4rect.width = Node50_4rect.width === 0 ? 0.0001 : Node50_4rect.width;
- Node50_4rect.height = Node50_4rect.height === 0 ? 0.0001 : Node50_4rect.height;
- var Node50_4endCompspts = [Node50_4compspts[Node50_4ptslength-2],Node50_4compspts[Node50_4ptslength-1],0,0];
- var Node50_4startCompspts = [Node50_4compspts[0],Node50_4compspts[1],0,0];
- Node50_4.setImage(GD.getPolyLineJSON());
- Node50_4.setPosition(Node50_4rect.x+Node50_4rect.width/2,Node50_4rect.y+Node50_4rect.height/2);
- Node50_4.setSize(Node50_4rect.width,Node50_4rect.height);
- Node50_4.setStyle("opacity",1);
- Node50_4.s({'pixelPerfect':true});
- Node50_4borderwidth=1;
- Node50_4.setRotation(0);
- dataModel.add(Node50_4);
- Node50_4.a('node.points',Node50_4compspts);
- Node50_4.a('node.segments',[1,2]);
- Node50_4.a('node.color','rgba(255,0,255,1)');
- Node50_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node50_4.a('node.borderColor','rgba(255,0,255,1)');
- Node50_4.a('node.background','rgba(255,0,255,1)');
- Node50_4.a('node.gradient','');
- Node50_4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node50_4.a('node.endCompspts',Node50_4endCompspts);
- Node50_4.a('node.startCompspts',Node50_4startCompspts);
- (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 = 'Node50_4';
- 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);
- }
- })(Node50_4, Node50_4.getImage(), Node50_4compspts, Node50_4endCompspts, Node50_4startCompspts);
- var Node51_0points=[1102, 305,1102, 305],
- Node51_0rect=ht.Default.unionPoint([{x:1102,y:305},{x:1102,y:305}]),
- Node51_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node51_0points.length;i++){
- if(i%2==0){
- Node51_0compspts.push(Node51_0points[i]-Node51_0rect.x);
- }else{
- Node51_0compspts.push(Node51_0points[i]-Node51_0rect.y);
- }
- }
- var Node51_0ptslength=Node51_0compspts.length;
- if (Node51_0rect.height === 0) {
- Node51_0compspts[0] -= 0;
- Node51_0compspts[Node51_0ptslength-2] += 0;
- } else if (Node51_0rect.width === 0){
- Node51_0compspts[1] -= 0;
- Node51_0compspts[Node51_0ptslength-1] += 0;
- } else {
- Node51_0compspts[0] -= 0;
- Node51_0compspts[1] -= 0;
- Node51_0compspts[Node51_0ptslength-2] += 0;
- Node51_0compspts[Node51_0ptslength-1] += 0;
- }
- Node51_0 = new ht.Node();
- Node51_0.borderWidth = 1;
- Node51_0rect.width = Node51_0rect.width === 0 ? 0.0001 : Node51_0rect.width;
- Node51_0rect.height = Node51_0rect.height === 0 ? 0.0001 : Node51_0rect.height;
- var Node51_0endCompspts = [Node51_0compspts[Node51_0ptslength-2],Node51_0compspts[Node51_0ptslength-1],0,0];
- var Node51_0startCompspts = [Node51_0compspts[0],Node51_0compspts[1],0,0];
- Node51_0.setImage(GD.getPolyLineJSON());
- Node51_0.setPosition(Node51_0rect.x+Node51_0rect.width/2,Node51_0rect.y+Node51_0rect.height/2);
- Node51_0.setSize(Node51_0rect.width,Node51_0rect.height);
- Node51_0.setStyle("opacity",1);
- Node51_0.s({'pixelPerfect':true});
- Node51_0borderwidth=1;
- Node51_0.setRotation(0);
- dataModel.add(Node51_0);
- Node51_0.a('node.points',Node51_0compspts);
- Node51_0.a('node.segments',[1,2]);
- Node51_0.a('node.color','rgba(255,0,255,1)');
- Node51_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node51_0.a('node.borderColor','rgba(255,0,255,1)');
- Node51_0.a('node.background','rgba(255,0,255,1)');
- Node51_0.a('node.gradient','');
- Node51_0.a('node.gradientcolor','rgba(255,0,255,1)');
- Node51_0.a('node.endCompspts',Node51_0endCompspts);
- Node51_0.a('node.startCompspts',Node51_0startCompspts);
- (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 = 'Node51_0';
- 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);
- }
- })(Node51_0, Node51_0.getImage(), Node51_0compspts, Node51_0endCompspts, Node51_0startCompspts);
- var Node51_1points=[1105, 300,1105, 320],
- Node51_1rect=ht.Default.unionPoint([{x:1105,y:300},{x:1105,y:320}]),
- Node51_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node51_1points.length;i++){
- if(i%2==0){
- Node51_1compspts.push(Node51_1points[i]-Node51_1rect.x);
- }else{
- Node51_1compspts.push(Node51_1points[i]-Node51_1rect.y);
- }
- }
- var Node51_1ptslength=Node51_1compspts.length;
- if (Node51_1rect.height === 0) {
- Node51_1compspts[0] -= 0;
- Node51_1compspts[Node51_1ptslength-2] += 0;
- } else if (Node51_1rect.width === 0){
- Node51_1compspts[1] -= 0;
- Node51_1compspts[Node51_1ptslength-1] += 0;
- } else {
- Node51_1compspts[0] -= 0;
- Node51_1compspts[1] -= 0;
- Node51_1compspts[Node51_1ptslength-2] += 0;
- Node51_1compspts[Node51_1ptslength-1] += 0;
- }
- Node51_1 = new ht.Node();
- Node51_1.borderWidth = 1;
- Node51_1rect.width = Node51_1rect.width === 0 ? 0.0001 : Node51_1rect.width;
- Node51_1rect.height = Node51_1rect.height === 0 ? 0.0001 : Node51_1rect.height;
- var Node51_1endCompspts = [Node51_1compspts[Node51_1ptslength-2],Node51_1compspts[Node51_1ptslength-1],0,0];
- var Node51_1startCompspts = [Node51_1compspts[0],Node51_1compspts[1],0,0];
- Node51_1.setImage(GD.getPolyLineJSON());
- Node51_1.setPosition(Node51_1rect.x+Node51_1rect.width/2,Node51_1rect.y+Node51_1rect.height/2);
- Node51_1.setSize(Node51_1rect.width,Node51_1rect.height);
- Node51_1.setStyle("opacity",1);
- Node51_1.s({'pixelPerfect':true});
- Node51_1borderwidth=1;
- Node51_1.setRotation(0);
- dataModel.add(Node51_1);
- Node51_1.a('node.points',Node51_1compspts);
- Node51_1.a('node.segments',[1,2]);
- Node51_1.a('node.color','rgba(255,0,255,1)');
- Node51_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node51_1.a('node.borderColor','rgba(255,0,255,1)');
- Node51_1.a('node.background','rgba(255,0,255,1)');
- Node51_1.a('node.gradient','');
- Node51_1.a('node.gradientcolor','rgba(255,0,255,1)');
- Node51_1.a('node.endCompspts',Node51_1endCompspts);
- Node51_1.a('node.startCompspts',Node51_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node51_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node51_1, Node51_1.getImage(), Node51_1compspts, Node51_1endCompspts, Node51_1startCompspts);
- var Node51_2points=[1105, 309,1165, 309],
- Node51_2rect=ht.Default.unionPoint([{x:1105,y:309},{x:1165,y:309}]),
- Node51_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node51_2points.length;i++){
- if(i%2==0){
- Node51_2compspts.push(Node51_2points[i]-Node51_2rect.x);
- }else{
- Node51_2compspts.push(Node51_2points[i]-Node51_2rect.y);
- }
- }
- var Node51_2ptslength=Node51_2compspts.length;
- if (Node51_2rect.height === 0) {
- Node51_2compspts[0] -= 0;
- Node51_2compspts[Node51_2ptslength-2] += 0;
- } else if (Node51_2rect.width === 0){
- Node51_2compspts[1] -= 0;
- Node51_2compspts[Node51_2ptslength-1] += 0;
- } else {
- Node51_2compspts[0] -= 0;
- Node51_2compspts[1] -= 0;
- Node51_2compspts[Node51_2ptslength-2] += 0;
- Node51_2compspts[Node51_2ptslength-1] += 0;
- }
- Node51_2 = new ht.Node();
- Node51_2.borderWidth = 1;
- Node51_2rect.width = Node51_2rect.width === 0 ? 0.0001 : Node51_2rect.width;
- Node51_2rect.height = Node51_2rect.height === 0 ? 0.0001 : Node51_2rect.height;
- var Node51_2endCompspts = [Node51_2compspts[Node51_2ptslength-2],Node51_2compspts[Node51_2ptslength-1],0,0];
- var Node51_2startCompspts = [Node51_2compspts[0],Node51_2compspts[1],0,0];
- Node51_2.setImage(GD.getPolyLineJSON());
- Node51_2.setPosition(Node51_2rect.x+Node51_2rect.width/2,Node51_2rect.y+Node51_2rect.height/2);
- Node51_2.setSize(Node51_2rect.width,Node51_2rect.height);
- Node51_2.setStyle("opacity",1);
- Node51_2.s({'pixelPerfect':true});
- Node51_2borderwidth=1;
- Node51_2.setRotation(0);
- dataModel.add(Node51_2);
- Node51_2.a('node.points',Node51_2compspts);
- Node51_2.a('node.segments',[1,2]);
- Node51_2.a('node.color','rgba(255,0,255,1)');
- Node51_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node51_2.a('node.borderColor','rgba(255,0,255,1)');
- Node51_2.a('node.background','rgba(255,0,255,1)');
- Node51_2.a('node.gradient','');
- Node51_2.a('node.gradientcolor','rgba(255,0,255,1)');
- Node51_2.a('node.endCompspts',Node51_2endCompspts);
- Node51_2.a('node.startCompspts',Node51_2startCompspts);
- (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 = 'Node51_2';
- 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);
- }
- })(Node51_2, Node51_2.getImage(), Node51_2compspts, Node51_2endCompspts, Node51_2startCompspts);
- var Node51_3points=[1173, 320,1173, 320],
- Node51_3rect=ht.Default.unionPoint([{x:1173,y:320},{x:1173,y:320}]),
- Node51_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node51_3points.length;i++){
- if(i%2==0){
- Node51_3compspts.push(Node51_3points[i]-Node51_3rect.x);
- }else{
- Node51_3compspts.push(Node51_3points[i]-Node51_3rect.y);
- }
- }
- var Node51_3ptslength=Node51_3compspts.length;
- if (Node51_3rect.height === 0) {
- Node51_3compspts[0] -= 0;
- Node51_3compspts[Node51_3ptslength-2] += 0;
- } else if (Node51_3rect.width === 0){
- Node51_3compspts[1] -= 0;
- Node51_3compspts[Node51_3ptslength-1] += 0;
- } else {
- Node51_3compspts[0] -= 0;
- Node51_3compspts[1] -= 0;
- Node51_3compspts[Node51_3ptslength-2] += 0;
- Node51_3compspts[Node51_3ptslength-1] += 0;
- }
- Node51_3 = new ht.Node();
- Node51_3.borderWidth = 1;
- Node51_3rect.width = Node51_3rect.width === 0 ? 0.0001 : Node51_3rect.width;
- Node51_3rect.height = Node51_3rect.height === 0 ? 0.0001 : Node51_3rect.height;
- var Node51_3endCompspts = [Node51_3compspts[Node51_3ptslength-2],Node51_3compspts[Node51_3ptslength-1],0,0];
- var Node51_3startCompspts = [Node51_3compspts[0],Node51_3compspts[1],0,0];
- Node51_3.setImage(GD.getPolyLineJSON());
- Node51_3.setPosition(Node51_3rect.x+Node51_3rect.width/2,Node51_3rect.y+Node51_3rect.height/2);
- Node51_3.setSize(Node51_3rect.width,Node51_3rect.height);
- Node51_3.setStyle("opacity",1);
- Node51_3.s({'pixelPerfect':true});
- Node51_3borderwidth=1;
- Node51_3.setRotation(0);
- dataModel.add(Node51_3);
- Node51_3.a('node.points',Node51_3compspts);
- Node51_3.a('node.segments',[1,2]);
- Node51_3.a('node.color','rgba(255,0,255,1)');
- Node51_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node51_3.a('node.borderColor','rgba(255,0,255,1)');
- Node51_3.a('node.background','rgba(255,0,255,1)');
- Node51_3.a('node.gradient','');
- Node51_3.a('node.gradientcolor','rgba(255,0,255,1)');
- Node51_3.a('node.endCompspts',Node51_3endCompspts);
- Node51_3.a('node.startCompspts',Node51_3startCompspts);
- (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 = 'Node51_3';
- 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);
- }
- })(Node51_3, Node51_3.getImage(), Node51_3compspts, Node51_3endCompspts, Node51_3startCompspts);
- var Node51_4points=[1165, 309,1165, 314],
- Node51_4rect=ht.Default.unionPoint([{x:1165,y:309},{x:1165,y:314}]),
- Node51_4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node51_4points.length;i++){
- if(i%2==0){
- Node51_4compspts.push(Node51_4points[i]-Node51_4rect.x);
- }else{
- Node51_4compspts.push(Node51_4points[i]-Node51_4rect.y);
- }
- }
- var Node51_4ptslength=Node51_4compspts.length;
- if (Node51_4rect.height === 0) {
- Node51_4compspts[0] -= 0;
- Node51_4compspts[Node51_4ptslength-2] += 0;
- } else if (Node51_4rect.width === 0){
- Node51_4compspts[1] -= 0;
- Node51_4compspts[Node51_4ptslength-1] += 0;
- } else {
- Node51_4compspts[0] -= 0;
- Node51_4compspts[1] -= 0;
- Node51_4compspts[Node51_4ptslength-2] += 0;
- Node51_4compspts[Node51_4ptslength-1] += 0;
- }
- Node51_4 = new ht.Node();
- Node51_4.borderWidth = 1;
- Node51_4rect.width = Node51_4rect.width === 0 ? 0.0001 : Node51_4rect.width;
- Node51_4rect.height = Node51_4rect.height === 0 ? 0.0001 : Node51_4rect.height;
- var Node51_4endCompspts = [Node51_4compspts[Node51_4ptslength-2],Node51_4compspts[Node51_4ptslength-1],0,0];
- var Node51_4startCompspts = [Node51_4compspts[0],Node51_4compspts[1],0,0];
- Node51_4.setImage(GD.getPolyLineJSON());
- Node51_4.setPosition(Node51_4rect.x+Node51_4rect.width/2,Node51_4rect.y+Node51_4rect.height/2);
- Node51_4.setSize(Node51_4rect.width,Node51_4rect.height);
- Node51_4.setStyle("opacity",1);
- Node51_4.s({'pixelPerfect':true});
- Node51_4borderwidth=1;
- Node51_4.setRotation(0);
- dataModel.add(Node51_4);
- Node51_4.a('node.points',Node51_4compspts);
- Node51_4.a('node.segments',[1,2]);
- Node51_4.a('node.color','rgba(255,0,255,1)');
- Node51_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node51_4.a('node.borderColor','rgba(255,0,255,1)');
- Node51_4.a('node.background','rgba(255,0,255,1)');
- Node51_4.a('node.gradient','');
- Node51_4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node51_4.a('node.endCompspts',Node51_4endCompspts);
- Node51_4.a('node.startCompspts',Node51_4startCompspts);
- (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 = 'Node51_4';
- 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);
- }
- })(Node51_4, Node51_4.getImage(), Node51_4compspts, Node51_4endCompspts, Node51_4startCompspts);
- var Node52points=[1105, 339,1105, 359],
- Node52rect=ht.Default.unionPoint([{x:1105,y:339},{x:1105,y:359}]),
- Node52compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node52points.length;i++){
- if(i%2==0){
- Node52compspts.push(Node52points[i]-Node52rect.x);
- }else{
- Node52compspts.push(Node52points[i]-Node52rect.y);
- }
- }
- var Node52ptslength=Node52compspts.length;
- if (Node52rect.height === 0) {
- Node52compspts[0] -= 0;
- Node52compspts[Node52ptslength-2] += 0;
- } else if (Node52rect.width === 0){
- Node52compspts[1] -= 0;
- Node52compspts[Node52ptslength-1] += 0;
- } else {
- Node52compspts[0] -= 0;
- Node52compspts[1] -= 0;
- Node52compspts[Node52ptslength-2] += 0;
- Node52compspts[Node52ptslength-1] += 0;
- }
- Node52 = new ht.Node();
- Node52.borderWidth = 1;
- Node52rect.width = Node52rect.width === 0 ? 0.0001 : Node52rect.width;
- Node52rect.height = Node52rect.height === 0 ? 0.0001 : Node52rect.height;
- var Node52endCompspts = [Node52compspts[Node52ptslength-2],Node52compspts[Node52ptslength-1],0,0];
- var Node52startCompspts = [Node52compspts[0],Node52compspts[1],0,0];
- Node52.setImage(GD.getPolyLineJSON());
- Node52.setPosition(Node52rect.x+Node52rect.width/2,Node52rect.y+Node52rect.height/2);
- Node52.setSize(Node52rect.width,Node52rect.height);
- Node52.setStyle("opacity",1);
- Node52.s({'pixelPerfect':true});
- Node52borderwidth=1;
- Node52.setRotation(0);
- dataModel.add(Node52);
- Node52.a('node.points',Node52compspts);
- Node52.a('node.segments',[1,2]);
- Node52.a('node.color','rgba(255,0,255,1)');
- Node52.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node52.a('node.borderColor','rgba(255,0,255,1)');
- Node52.a('node.background','rgba(255,0,255,1)');
- Node52.a('node.gradient','');
- Node52.a('node.gradientcolor','rgba(255,0,255,1)');
- Node52.a('node.endCompspts',Node52endCompspts);
- Node52.a('node.startCompspts',Node52startCompspts);
- (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 = 'Node52';
- 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);
- }
- })(Node52, Node52.getImage(), Node52compspts, Node52endCompspts, Node52startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53 = new ht.lib['接地'](1165*ratio.ratioX, 255*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node53');
- _libModel.add("Node53", Node53);
- Node53.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.lib['接地'](1165*ratio.ratioX, 297*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node54');
- _libModel.add("Node54", Node54);
- Node54.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.lib['接地'](1165*ratio.ratioX, 336*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node55');
- _libModel.add("Node55", Node55);
- Node55.setRotation(0*Math.PI/180);
- ;
- ;
- var Node56points=[1106, 207,1246, 207],
- Node56rect=ht.Default.unionPoint([{x:1106,y:207},{x:1246,y:207}]),
- Node56compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node56points.length;i++){
- if(i%2==0){
- Node56compspts.push(Node56points[i]-Node56rect.x);
- }else{
- Node56compspts.push(Node56points[i]-Node56rect.y);
- }
- }
- var Node56ptslength=Node56compspts.length;
- if (Node56rect.height === 0) {
- Node56compspts[0] -= 0;
- Node56compspts[Node56ptslength-2] += 0;
- } else if (Node56rect.width === 0){
- Node56compspts[1] -= 0;
- Node56compspts[Node56ptslength-1] += 0;
- } else {
- Node56compspts[0] -= 0;
- Node56compspts[1] -= 0;
- Node56compspts[Node56ptslength-2] += 0;
- Node56compspts[Node56ptslength-1] += 0;
- }
- Node56 = new ht.Node();
- Node56.borderWidth = 1;
- Node56rect.width = Node56rect.width === 0 ? 0.0001 : Node56rect.width;
- Node56rect.height = Node56rect.height === 0 ? 0.0001 : Node56rect.height;
- var Node56endCompspts = [Node56compspts[Node56ptslength-2],Node56compspts[Node56ptslength-1],0,0];
- var Node56startCompspts = [Node56compspts[0],Node56compspts[1],0,0];
- Node56.setImage(GD.getPolyLineJSON());
- Node56.setPosition(Node56rect.x+Node56rect.width/2,Node56rect.y+Node56rect.height/2);
- Node56.setSize(Node56rect.width,Node56rect.height);
- Node56.setStyle("opacity",1);
- Node56.s({'pixelPerfect':true});
- Node56borderwidth=1;
- Node56.setRotation(0);
- dataModel.add(Node56);
- Node56.a('node.points',Node56compspts);
- Node56.a('node.segments',[1,2]);
- Node56.a('node.color','rgba(255,0,255,1)');
- Node56.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node56.a('node.borderColor','rgba(255,0,255,1)');
- Node56.a('node.background','rgba(255,0,255,1)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','rgba(255,0,255,1)');
- Node56.a('node.endCompspts',Node56endCompspts);
- Node56.a('node.startCompspts',Node56startCompspts);
- (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 = 'Node56';
- 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);
- }
- })(Node56, Node56.getImage(), Node56compspts, Node56endCompspts, Node56startCompspts);
- var Node57points=[1246, 208,1246, 358],
- Node57rect=ht.Default.unionPoint([{x:1246,y:208},{x:1246,y:358}]),
- Node57compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node57points.length;i++){
- if(i%2==0){
- Node57compspts.push(Node57points[i]-Node57rect.x);
- }else{
- Node57compspts.push(Node57points[i]-Node57rect.y);
- }
- }
- var Node57ptslength=Node57compspts.length;
- if (Node57rect.height === 0) {
- Node57compspts[0] -= 0;
- Node57compspts[Node57ptslength-2] += 0;
- } else if (Node57rect.width === 0){
- Node57compspts[1] -= 0;
- Node57compspts[Node57ptslength-1] += 0;
- } else {
- Node57compspts[0] -= 0;
- Node57compspts[1] -= 0;
- Node57compspts[Node57ptslength-2] += 0;
- Node57compspts[Node57ptslength-1] += 0;
- }
- Node57 = new ht.Node();
- Node57.borderWidth = 1;
- Node57rect.width = Node57rect.width === 0 ? 0.0001 : Node57rect.width;
- Node57rect.height = Node57rect.height === 0 ? 0.0001 : Node57rect.height;
- var Node57endCompspts = [Node57compspts[Node57ptslength-2],Node57compspts[Node57ptslength-1],0,0];
- var Node57startCompspts = [Node57compspts[0],Node57compspts[1],0,0];
- Node57.setImage(GD.getPolyLineJSON());
- Node57.setPosition(Node57rect.x+Node57rect.width/2,Node57rect.y+Node57rect.height/2);
- Node57.setSize(Node57rect.width,Node57rect.height);
- Node57.setStyle("opacity",1);
- Node57.s({'pixelPerfect':true});
- Node57borderwidth=1;
- Node57.setRotation(0);
- dataModel.add(Node57);
- Node57.a('node.points',Node57compspts);
- Node57.a('node.segments',[1,2]);
- Node57.a('node.color','rgba(255,0,255,1)');
- Node57.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node57.a('node.borderColor','rgba(255,0,255,1)');
- Node57.a('node.background','rgba(255,0,255,1)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','rgba(255,0,255,1)');
- Node57.a('node.endCompspts',Node57endCompspts);
- Node57.a('node.startCompspts',Node57startCompspts);
- (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 = 'Node57';
- 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);
- }
- })(Node57, Node57.getImage(), Node57compspts, Node57endCompspts, Node57startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 39*_ratio.ratioX, Node58height = 16*_ratio.ratioY;
- (function () {
- if (Node58align === 'left') {
- Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9;
- Node58textWidth = Node58width;
- Node58lineStart = 1;
- } else if (Node58align === 'right') {
- Node58textStart = 0;
- Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2;
- Node58lineStart = (Node58width - (ht.Default.getTextSize('201-1', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('201-1', ' '+ Node58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
- Node58.setPosition(1072*ratio.ratioX, 250*ratio.ratioY);
- Node58.setWidth(Node58width);
- Node58.setHeight(Node58height);
- Node58._nodeType = 'text';
- Node58._disallowEvert = true;
- Node58.setRotation(0*Math.PI/180);
- Node58.a('node.width', Node58width);
- Node58.a('node.height', Node58height);
- Node58.a('node.rect', [0, 0, Node58width, Node58height]);
- Node58.a('node.bordercolor','rgba(0,0,0,1)');
- Node58.a('node.borderwidth', 0);
- Node58.a('node.background','' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','');
- Node58.a('node.text','201-1');
- Node58.a('node.textalign','left');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(0,0,0,1)');
- Node58.a('node.font',' '+ Node58fontSize + 'px "Arial"');
- Node58.a('node.textvisible',true);
- Node58.a('node.linefeed',false);
- if (false) {
- Node58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node58.a('node.text') || '201-1';
- var color=Node58.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('201-1', ' '+ Node58fontSize + 'px "Arial"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
- Node58.a('node.underlinevisible',false);
- Node58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node58);
- zoomNodeList.push({
- node: Node58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59 = new ht.Node();
- var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 39*_ratio.ratioX, Node59height = 16*_ratio.ratioY;
- (function () {
- if (Node59align === 'left') {
- Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
- Node59textWidth = Node59width;
- Node59lineStart = 1;
- } else if (Node59align === 'right') {
- Node59textStart = 0;
- Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
- Node59lineStart = (Node59width - (ht.Default.getTextSize('201', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('201', ' '+ Node59fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"'))
- Node59.setPosition(1072*ratio.ratioX, 290*ratio.ratioY);
- Node59.setWidth(Node59width);
- Node59.setHeight(Node59height);
- Node59._nodeType = 'text';
- Node59._disallowEvert = true;
- Node59.setRotation(0*Math.PI/180);
- Node59.a('node.width', Node59width);
- Node59.a('node.height', Node59height);
- Node59.a('node.rect', [0, 0, Node59width, Node59height]);
- Node59.a('node.bordercolor','rgba(0,0,0,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','201');
- Node59.a('node.textalign','left');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(0,0,0,1)');
- Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '201';
- var color=Node59.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('201', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 41*_ratio.ratioX, Node60height = 16*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('201-A', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('201-A', ' '+ Node60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
- Node60.setPosition(1076*ratio.ratioX, 330*ratio.ratioY);
- Node60.setWidth(Node60width);
- Node60.setHeight(Node60height);
- Node60._nodeType = 'text';
- Node60._disallowEvert = true;
- Node60.setRotation(0*Math.PI/180);
- Node60.a('node.width', Node60width);
- Node60.a('node.height', Node60height);
- Node60.a('node.rect', [0, 0, Node60width, Node60height]);
- Node60.a('node.bordercolor','rgba(0,0,0,1)');
- Node60.a('node.borderwidth', 0);
- Node60.a('node.background','' || 'rgba(0,0,0,0)');
- Node60.a('node.gradient','');
- Node60.a('node.gradientcolor','');
- Node60.a('node.text','201-A');
- Node60.a('node.textalign','left');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(0,0,0,1)');
- Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '201-A';
- var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('201-A', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61 = new ht.Node();
- var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'left', Node61fontSize = 13.3333*_ratio.ratioY,Node61width = 54*_ratio.ratioX, Node61height = 16*_ratio.ratioY;
- (function () {
- if (Node61align === 'left') {
- Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9;
- Node61textWidth = Node61width;
- Node61lineStart = 1;
- } else if (Node61align === 'right') {
- Node61textStart = 0;
- Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2;
- Node61lineStart = (Node61width - (ht.Default.getTextSize('201-变0', ' '+ Node61fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node61align === 'center') {
- Node61textStart = -3;
- Node61textWidth = Node61width;
- Node61lineStart = Node61width - ht.Default.getTextSize('201-变0', ' '+ Node61fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "Arial"'))
- Node61.setPosition(1199*ratio.ratioX, 240*ratio.ratioY);
- Node61.setWidth(Node61width);
- Node61.setHeight(Node61height);
- Node61._nodeType = 'text';
- Node61._disallowEvert = true;
- Node61.setRotation(0*Math.PI/180);
- Node61.a('node.width', Node61width);
- Node61.a('node.height', Node61height);
- Node61.a('node.rect', [0, 0, Node61width, Node61height]);
- Node61.a('node.bordercolor','rgba(0,0,0,1)');
- Node61.a('node.borderwidth', 0);
- Node61.a('node.background','' || 'rgba(0,0,0,0)');
- Node61.a('node.gradient','');
- Node61.a('node.gradientcolor','');
- Node61.a('node.text','201-变0');
- Node61.a('node.textalign','left');
- Node61.a('node.textvAlign','middle');
- Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
- Node61.a('node.color','rgba(0,0,0,1)');
- Node61.a('node.font',' '+ Node61fontSize + 'px "Arial"');
- Node61.a('node.textvisible',true);
- Node61.a('node.linefeed',false);
- if (false) {
- Node61.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node61.a('node.text') || '201-变0';
- var color=Node61.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node61width,Node61height,13.3333*_ratio.ratioY,"left",color,' '+ Node61fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node61.a('node.underlinepoints',[Node61lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('201-变0', ' '+ Node61fontSize + 'px "Arial"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]);
- Node61.a('node.underlinevisible',false);
- Node61.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node61);
- zoomNodeList.push({
- node: Node61,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62 = new ht.Node();
- var Node62textStart, Node62textWidth, Node62lineStart, Node62align = 'left', Node62fontSize = 13.3333*_ratio.ratioY,Node62width = 54*_ratio.ratioX, Node62height = 16*_ratio.ratioY;
- (function () {
- if (Node62align === 'left') {
- Node62textStart = Node62fontSize * 0.2 > 2 ? Node62fontSize * 0.2 - 4 : Node62fontSize * 0.2 - 9;
- Node62textWidth = Node62width;
- Node62lineStart = 1;
- } else if (Node62align === 'right') {
- Node62textStart = 0;
- Node62textWidth =Node62fontSize <= 8 ? Node62width + Node62fontSize * 0.2 + 6 : Node62width - Node62fontSize * 0.2;
- Node62lineStart = (Node62width - (ht.Default.getTextSize('201-10', ' '+ Node62fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node62align === 'center') {
- Node62textStart = -3;
- Node62textWidth = Node62width;
- Node62lineStart = Node62width - ht.Default.getTextSize('201-10', ' '+ Node62fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node62.setImage(GD.getTextJSON(Node62width, Node62height, true, false, false, ' '+ Node62fontSize + 'px "Arial"'))
- Node62.setPosition(1199*ratio.ratioX, 283*ratio.ratioY);
- Node62.setWidth(Node62width);
- Node62.setHeight(Node62height);
- Node62._nodeType = 'text';
- Node62._disallowEvert = true;
- Node62.setRotation(0*Math.PI/180);
- Node62.a('node.width', Node62width);
- Node62.a('node.height', Node62height);
- Node62.a('node.rect', [0, 0, Node62width, Node62height]);
- Node62.a('node.bordercolor','rgba(0,0,0,1)');
- Node62.a('node.borderwidth', 0);
- Node62.a('node.background','' || 'rgba(0,0,0,0)');
- Node62.a('node.gradient','');
- Node62.a('node.gradientcolor','');
- Node62.a('node.text','201-10');
- Node62.a('node.textalign','left');
- Node62.a('node.textvAlign','middle');
- Node62.a('node.textrect', [Node62textStart, 0, Node62textWidth, Node62height]);
- Node62.a('node.color','rgba(0,0,0,1)');
- Node62.a('node.font',' '+ Node62fontSize + 'px "Arial"');
- Node62.a('node.textvisible',true);
- Node62.a('node.linefeed',false);
- if (false) {
- Node62.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node62.a('node.text') || '201-10';
- var color=Node62.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node62width,Node62height,13.3333*_ratio.ratioY,"left",color,' '+ Node62fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node62.a('node.underlinepoints',[Node62lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node62fontSize + 2 , ht.Default.getTextSize('201-10', ' '+ Node62fontSize + 'px "Arial"').width + 6, (Node62height - Node62fontSize) * 0.5*_ratio.ratioY + Node62fontSize + 2 ]);
- Node62.a('node.underlinevisible',false);
- Node62.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node62);
- zoomNodeList.push({
- node: Node62,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63 = new ht.Node();
- var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 54*_ratio.ratioX, Node63height = 16*_ratio.ratioY;
- (function () {
- if (Node63align === 'left') {
- Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9;
- Node63textWidth = Node63width;
- Node63lineStart = 1;
- } else if (Node63align === 'right') {
- Node63textStart = 0;
- Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2;
- Node63lineStart = (Node63width - (ht.Default.getTextSize('201-A0', ' '+ Node63fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node63align === 'center') {
- Node63textStart = -3;
- Node63textWidth = Node63width;
- Node63lineStart = Node63width - ht.Default.getTextSize('201-A0', ' '+ Node63fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "Arial"'))
- Node63.setPosition(1200*ratio.ratioX, 321*ratio.ratioY);
- Node63.setWidth(Node63width);
- Node63.setHeight(Node63height);
- Node63._nodeType = 'text';
- Node63._disallowEvert = true;
- Node63.setRotation(0*Math.PI/180);
- Node63.a('node.width', Node63width);
- Node63.a('node.height', Node63height);
- Node63.a('node.rect', [0, 0, Node63width, Node63height]);
- Node63.a('node.bordercolor','rgba(0,0,0,1)');
- Node63.a('node.borderwidth', 0);
- Node63.a('node.background','' || 'rgba(0,0,0,0)');
- Node63.a('node.gradient','');
- Node63.a('node.gradientcolor','');
- Node63.a('node.text','201-A0');
- Node63.a('node.textalign','left');
- Node63.a('node.textvAlign','middle');
- Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]);
- Node63.a('node.color','rgba(0,0,0,1)');
- Node63.a('node.font',' '+ Node63fontSize + 'px "Arial"');
- Node63.a('node.textvisible',true);
- Node63.a('node.linefeed',false);
- if (false) {
- Node63.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node63.a('node.text') || '201-A0';
- var color=Node63.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"left",color,' '+ Node63fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node63.a('node.underlinepoints',[Node63lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('201-A0', ' '+ Node63fontSize + 'px "Arial"').width + 6, (Node63height - Node63fontSize) * 0.5*_ratio.ratioY + Node63fontSize + 2 ]);
- Node63.a('node.underlinevisible',false);
- Node63.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node63);
- zoomNodeList.push({
- node: Node63,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64 = new ht.Node();
- var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 39*_ratio.ratioX, Node64height = 16*_ratio.ratioY;
- (function () {
- if (Node64align === 'left') {
- Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
- Node64textWidth = Node64width;
- Node64lineStart = 1;
- } else if (Node64align === 'right') {
- Node64textStart = 0;
- Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
- Node64lineStart = (Node64width - (ht.Default.getTextSize('202-1', ' '+ Node64fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node64align === 'center') {
- Node64textStart = -3;
- Node64textWidth = Node64width;
- Node64lineStart = Node64width - ht.Default.getTextSize('202-1', ' '+ Node64fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, ' '+ Node64fontSize + 'px "Arial"'))
- Node64.setPosition(1454*ratio.ratioX, 248*ratio.ratioY);
- Node64.setWidth(Node64width);
- Node64.setHeight(Node64height);
- Node64._nodeType = 'text';
- Node64._disallowEvert = true;
- Node64.setRotation(0*Math.PI/180);
- Node64.a('node.width', Node64width);
- Node64.a('node.height', Node64height);
- Node64.a('node.rect', [0, 0, Node64width, Node64height]);
- Node64.a('node.bordercolor','rgba(0,0,0,1)');
- Node64.a('node.borderwidth', 0);
- Node64.a('node.background','' || 'rgba(0,0,0,0)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','');
- Node64.a('node.text','202-1');
- Node64.a('node.textalign','left');
- Node64.a('node.textvAlign','middle');
- Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
- Node64.a('node.color','rgba(0,0,0,1)');
- Node64.a('node.font',' '+ Node64fontSize + 'px "Arial"');
- Node64.a('node.textvisible',true);
- Node64.a('node.linefeed',false);
- if (false) {
- Node64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node64.a('node.text') || '202-1';
- var color=Node64.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,' '+ Node64fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node64.a('node.underlinepoints',[Node64lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('202-1', ' '+ Node64fontSize + 'px "Arial"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
- Node64.a('node.underlinevisible',false);
- Node64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node64);
- zoomNodeList.push({
- node: Node64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 39*_ratio.ratioX, Node65height = 16*_ratio.ratioY;
- (function () {
- if (Node65align === 'left') {
- Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
- Node65textWidth = Node65width;
- Node65lineStart = 1;
- } else if (Node65align === 'right') {
- Node65textStart = 0;
- Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
- Node65lineStart = (Node65width - (ht.Default.getTextSize('202', ' '+ Node65fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node65align === 'center') {
- Node65textStart = -3;
- Node65textWidth = Node65width;
- Node65lineStart = Node65width - ht.Default.getTextSize('202', ' '+ Node65fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "Arial"'))
- Node65.setPosition(1457*ratio.ratioX, 290*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','202');
- 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') || '202';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('202', ' '+ 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 = 13.3333*_ratio.ratioY,Node66width = 41*_ratio.ratioX, Node66height = 16*_ratio.ratioY;
- (function () {
- if (Node66align === 'left') {
- Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9;
- Node66textWidth = Node66width;
- Node66lineStart = 1;
- } else if (Node66align === 'right') {
- Node66textStart = 0;
- Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2;
- Node66lineStart = (Node66width - (ht.Default.getTextSize('202-A', ' '+ Node66fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node66align === 'center') {
- Node66textStart = -3;
- Node66textWidth = Node66width;
- Node66lineStart = Node66width - ht.Default.getTextSize('202-A', ' '+ Node66fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "Arial"'))
- Node66.setPosition(1452*ratio.ratioX, 329*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','202-A');
- 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') || '202-A';
- var color=Node66.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"left",color,' '+ Node66fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node66.a('node.underlinepoints',[Node66lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('202-A', ' '+ 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 = 54*_ratio.ratioX, Node67height = 16*_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('202-变0', ' '+ Node67fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node67align === 'center') {
- Node67textStart = -3;
- Node67textWidth = Node67width;
- Node67lineStart = Node67width - ht.Default.getTextSize('202-变0', ' '+ Node67fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "Arial"'))
- Node67.setPosition(1580*ratio.ratioX, 242*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','202-变0');
- 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') || '202-变0';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('202-变0', ' '+ 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 = 47*_ratio.ratioX, Node68height = 16*_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('202-10', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node68align === 'center') {
- Node68textStart = -3;
- Node68textWidth = Node68width;
- Node68lineStart = Node68width - ht.Default.getTextSize('202-10', ' '+ Node68fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"'))
- Node68.setPosition(1581*ratio.ratioX, 284*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','202-10');
- 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') || '202-10';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('202-10', ' '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
- Node68.a('node.underlinevisible',false);
- Node68.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node68);
- zoomNodeList.push({
- node: Node68,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69 = new ht.Node();
- var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 54*_ratio.ratioX, Node69height = 16*_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('202-A0', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node69align === 'center') {
- Node69textStart = -3;
- Node69textWidth = Node69width;
- Node69lineStart = Node69width - ht.Default.getTextSize('202-A0', ' '+ Node69fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
- Node69.setPosition(1584*ratio.ratioX, 328*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','202-A0');
- 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') || '202-A0';
- var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node69.a('node.underlinepoints',[Node69lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('202-A0', ' '+ 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 = 29*_ratio.ratioX, Node70height = 16*_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('Ua :', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node70align === 'center') {
- Node70textStart = -3;
- Node70textWidth = Node70width;
- Node70lineStart = Node70width - ht.Default.getTextSize('Ua :', ' '+ Node70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"'))
- Node70.setPosition(128*ratio.ratioX, 532*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','Ua :');
- 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') || 'Ua :';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('Ua :', ' '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
- Node70.a('node.underlinevisible',false);
- Node70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node70);
- zoomNodeList.push({
- node: Node70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 29*_ratio.ratioX, Node71height = 16*_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('Ub :', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('Ub :', ' '+ Node71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
- Node71.setPosition(128*ratio.ratioX, 555*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','Ub :');
- 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') || 'Ub :';
- var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('Ub :', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
- Node71.a('node.underlinevisible',false);
- Node71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node71);
- zoomNodeList.push({
- node: Node71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72 = new ht.Node();
- var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 29*_ratio.ratioX, Node72height = 16*_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('Uc :', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node72align === 'center') {
- Node72textStart = -3;
- Node72textWidth = Node72width;
- Node72lineStart = Node72width - ht.Default.getTextSize('Uc :', ' '+ Node72fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
- Node72.setPosition(128*ratio.ratioX, 576*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','Uc :');
- 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') || 'Uc :';
- var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('Uc :', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
- Node72.a('node.underlinevisible',false);
- Node72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node72);
- zoomNodeList.push({
- node: Node72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73 = new ht.Node();
- var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 37*_ratio.ratioX, Node73height = 16*_ratio.ratioY;
- (function () {
- if (Node73align === 'left') {
- Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9;
- Node73textWidth = Node73width;
- Node73lineStart = 1;
- } else if (Node73align === 'right') {
- Node73textStart = 0;
- Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2;
- Node73lineStart = (Node73width - (ht.Default.getTextSize('Uab :', ' '+ Node73fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node73align === 'center') {
- Node73textStart = -3;
- Node73textWidth = Node73width;
- Node73lineStart = Node73width - ht.Default.getTextSize('Uab :', ' '+ Node73fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, ' '+ Node73fontSize + 'px "Arial"'))
- Node73.setPosition(125*ratio.ratioX, 595*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','Uab :');
- 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') || 'Uab :';
- var color=Node73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,' '+ Node73fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node73.a('node.underlinepoints',[Node73lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('Uab :', ' '+ Node73fontSize + 'px "Arial"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]);
- Node73.a('node.underlinevisible',false);
- Node73.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node73);
- zoomNodeList.push({
- node: Node73,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.Node();
- var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 15.99996*_ratio.ratioY,Node74width = 88*_ratio.ratioX, Node74height = 20*_ratio.ratioY;
- (function () {
- if (Node74align === 'left') {
- Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
- Node74textWidth = Node74width;
- Node74lineStart = 1;
- } else if (Node74align === 'right') {
- Node74textStart = 0;
- Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
- Node74lineStart = (Node74width - (ht.Default.getTextSize('35kVⅠ段', ' '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('35kVⅠ段', ' '+ Node74fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, ' '+ Node74fontSize + 'px "Arial"'))
- Node74.setPosition(144*ratio.ratioX, 622*ratio.ratioY);
- Node74.setWidth(Node74width);
- Node74.setHeight(Node74height);
- Node74._nodeType = 'text';
- Node74._disallowEvert = true;
- Node74.setRotation(0*Math.PI/180);
- Node74.a('node.width', Node74width);
- Node74.a('node.height', Node74height);
- Node74.a('node.rect', [0, 0, Node74width, Node74height]);
- Node74.a('node.bordercolor','rgba(0,0,0,1)');
- Node74.a('node.borderwidth', 0);
- Node74.a('node.background','' || 'rgba(0,0,0,0)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','');
- Node74.a('node.text','35kVⅠ段');
- Node74.a('node.textalign','left');
- Node74.a('node.textvAlign','middle');
- Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
- Node74.a('node.color','rgba(0,0,0,1)');
- Node74.a('node.font',' '+ Node74fontSize + 'px "Arial"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '35kVⅠ段';
- var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node74width,Node74height,15.99996*_ratio.ratioY,"left",color,' '+ Node74fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('35kVⅠ段', ' '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node75points=[284, 612,284, 632],
- Node75rect=ht.Default.unionPoint([{x:284,y:612},{x:284,y:632}]),
- Node75compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node75points.length;i++){
- if(i%2==0){
- Node75compspts.push(Node75points[i]-Node75rect.x);
- }else{
- Node75compspts.push(Node75points[i]-Node75rect.y);
- }
- }
- var Node75ptslength=Node75compspts.length;
- if (Node75rect.height === 0) {
- Node75compspts[0] -= 0;
- Node75compspts[Node75ptslength-2] += 0;
- } else if (Node75rect.width === 0){
- Node75compspts[1] -= 0;
- Node75compspts[Node75ptslength-1] += 0;
- } else {
- Node75compspts[0] -= 0;
- Node75compspts[1] -= 0;
- Node75compspts[Node75ptslength-2] += 0;
- Node75compspts[Node75ptslength-1] += 0;
- }
- Node75 = new ht.Node();
- Node75.borderWidth = 1;
- Node75rect.width = Node75rect.width === 0 ? 0.0001 : Node75rect.width;
- Node75rect.height = Node75rect.height === 0 ? 0.0001 : Node75rect.height;
- var Node75endCompspts = [Node75compspts[Node75ptslength-2],Node75compspts[Node75ptslength-1],0,0];
- var Node75startCompspts = [Node75compspts[0],Node75compspts[1],0,0];
- Node75.setImage(GD.getPolyLineJSON());
- Node75.setPosition(Node75rect.x+Node75rect.width/2,Node75rect.y+Node75rect.height/2);
- Node75.setSize(Node75rect.width,Node75rect.height);
- Node75.setStyle("opacity",1);
- Node75.s({'pixelPerfect':true});
- Node75borderwidth=1;
- Node75.setRotation(0);
- dataModel.add(Node75);
- Node75.a('node.points',Node75compspts);
- Node75.a('node.segments',[1,2]);
- Node75.a('node.color','rgba(255,128,0,1)');
- Node75.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node75.a('node.borderColor','rgba(255,128,0,1)');
- Node75.a('node.background','rgba(255,128,0,1)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','rgba(255,128,0,1)');
- Node75.a('node.endCompspts',Node75endCompspts);
- Node75.a('node.startCompspts',Node75startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node75';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node75, Node75.getImage(), Node75compspts, Node75endCompspts, Node75startCompspts);
- var Node76points=[284, 512,284, 572],
- Node76rect=ht.Default.unionPoint([{x:284,y:512},{x:284,y:572}]),
- Node76compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node76points.length;i++){
- if(i%2==0){
- Node76compspts.push(Node76points[i]-Node76rect.x);
- }else{
- Node76compspts.push(Node76points[i]-Node76rect.y);
- }
- }
- var Node76ptslength=Node76compspts.length;
- if (Node76rect.height === 0) {
- Node76compspts[0] -= 0;
- Node76compspts[Node76ptslength-2] += 0;
- } else if (Node76rect.width === 0){
- Node76compspts[1] -= 0;
- Node76compspts[Node76ptslength-1] += 0;
- } else {
- Node76compspts[0] -= 0;
- Node76compspts[1] -= 0;
- Node76compspts[Node76ptslength-2] += 0;
- Node76compspts[Node76ptslength-1] += 0;
- }
- Node76 = new ht.Node();
- Node76.borderWidth = 1;
- Node76rect.width = Node76rect.width === 0 ? 0.0001 : Node76rect.width;
- Node76rect.height = Node76rect.height === 0 ? 0.0001 : Node76rect.height;
- var Node76endCompspts = [Node76compspts[Node76ptslength-2],Node76compspts[Node76ptslength-1],0,0];
- var Node76startCompspts = [Node76compspts[0],Node76compspts[1],0,0];
- Node76.setImage(GD.getPolyLineJSON());
- Node76.setPosition(Node76rect.x+Node76rect.width/2,Node76rect.y+Node76rect.height/2);
- Node76.setSize(Node76rect.width,Node76rect.height);
- Node76.setStyle("opacity",1);
- Node76.s({'pixelPerfect':true});
- Node76borderwidth=1;
- Node76.setRotation(0);
- dataModel.add(Node76);
- Node76.a('node.points',Node76compspts);
- Node76.a('node.segments',[1,2]);
- Node76.a('node.color','rgba(255,128,0,1)');
- Node76.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node76.a('node.borderColor','rgba(255,128,0,1)');
- Node76.a('node.background','rgba(255,128,0,1)');
- Node76.a('node.gradient','');
- Node76.a('node.gradientcolor','rgba(255,128,0,1)');
- Node76.a('node.endCompspts',Node76endCompspts);
- Node76.a('node.startCompspts',Node76startCompspts);
- (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 = 'Node76';
- 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);
- }
- })(Node76, Node76.getImage(), Node76compspts, Node76endCompspts, Node76startCompspts);
- var Node77points=[284, 563,354, 563],
- Node77rect=ht.Default.unionPoint([{x:284,y:563},{x:354,y:563}]),
- Node77compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node77points.length;i++){
- if(i%2==0){
- Node77compspts.push(Node77points[i]-Node77rect.x);
- }else{
- Node77compspts.push(Node77points[i]-Node77rect.y);
- }
- }
- var Node77ptslength=Node77compspts.length;
- if (Node77rect.height === 0) {
- Node77compspts[0] -= 0;
- Node77compspts[Node77ptslength-2] += 0;
- } else if (Node77rect.width === 0){
- Node77compspts[1] -= 0;
- Node77compspts[Node77ptslength-1] += 0;
- } else {
- Node77compspts[0] -= 0;
- Node77compspts[1] -= 0;
- Node77compspts[Node77ptslength-2] += 0;
- Node77compspts[Node77ptslength-1] += 0;
- }
- Node77 = new ht.Node();
- Node77.borderWidth = 1;
- Node77rect.width = Node77rect.width === 0 ? 0.0001 : Node77rect.width;
- Node77rect.height = Node77rect.height === 0 ? 0.0001 : Node77rect.height;
- var Node77endCompspts = [Node77compspts[Node77ptslength-2],Node77compspts[Node77ptslength-1],0,0];
- var Node77startCompspts = [Node77compspts[0],Node77compspts[1],0,0];
- Node77.setImage(GD.getPolyLineJSON());
- Node77.setPosition(Node77rect.x+Node77rect.width/2,Node77rect.y+Node77rect.height/2);
- Node77.setSize(Node77rect.width,Node77rect.height);
- Node77.setStyle("opacity",1);
- Node77.s({'pixelPerfect':true});
- Node77borderwidth=1;
- Node77.setRotation(0);
- dataModel.add(Node77);
- Node77.a('node.points',Node77compspts);
- Node77.a('node.segments',[1,2]);
- Node77.a('node.color','rgba(255,128,0,1)');
- Node77.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node77.a('node.borderColor','rgba(255,128,0,1)');
- Node77.a('node.background','rgba(255,128,0,1)');
- Node77.a('node.gradient','');
- Node77.a('node.gradientcolor','rgba(255,128,0,1)');
- Node77.a('node.endCompspts',Node77endCompspts);
- Node77.a('node.startCompspts',Node77startCompspts);
- (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 = 'Node77';
- 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);
- }
- })(Node77, Node77.getImage(), Node77compspts, Node77endCompspts, Node77startCompspts);
- var Node78points=[354, 553,354, 563],
- Node78rect=ht.Default.unionPoint([{x:354,y:553},{x:354,y:563}]),
- Node78compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node78points.length;i++){
- if(i%2==0){
- Node78compspts.push(Node78points[i]-Node78rect.x);
- }else{
- Node78compspts.push(Node78points[i]-Node78rect.y);
- }
- }
- var Node78ptslength=Node78compspts.length;
- if (Node78rect.height === 0) {
- Node78compspts[0] -= 0;
- Node78compspts[Node78ptslength-2] += 0;
- } else if (Node78rect.width === 0){
- Node78compspts[1] -= 0;
- Node78compspts[Node78ptslength-1] += 0;
- } else {
- Node78compspts[0] -= 0;
- Node78compspts[1] -= 0;
- Node78compspts[Node78ptslength-2] += 0;
- Node78compspts[Node78ptslength-1] += 0;
- }
- Node78 = new ht.Node();
- Node78.borderWidth = 1;
- Node78rect.width = Node78rect.width === 0 ? 0.0001 : Node78rect.width;
- Node78rect.height = Node78rect.height === 0 ? 0.0001 : Node78rect.height;
- var Node78endCompspts = [Node78compspts[Node78ptslength-2],Node78compspts[Node78ptslength-1],0,0];
- var Node78startCompspts = [Node78compspts[0],Node78compspts[1],0,0];
- Node78.setImage(GD.getPolyLineJSON());
- Node78.setPosition(Node78rect.x+Node78rect.width/2,Node78rect.y+Node78rect.height/2);
- Node78.setSize(Node78rect.width,Node78rect.height);
- Node78.setStyle("opacity",1);
- Node78.s({'pixelPerfect':true});
- Node78borderwidth=1;
- Node78.setRotation(0);
- dataModel.add(Node78);
- Node78.a('node.points',Node78compspts);
- Node78.a('node.segments',[1,2]);
- Node78.a('node.color','rgba(255,128,0,1)');
- Node78.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node78.a('node.borderColor','rgba(255,128,0,1)');
- Node78.a('node.background','rgba(255,128,0,1)');
- Node78.a('node.gradient','');
- Node78.a('node.gradientcolor','rgba(255,128,0,1)');
- Node78.a('node.endCompspts',Node78endCompspts);
- Node78.a('node.startCompspts',Node78startCompspts);
- (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 = 'Node78';
- 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);
- }
- })(Node78, Node78.getImage(), Node78compspts, Node78endCompspts, Node78startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node79 = new ht.lib['黄色接地'](353*ratio.ratioX, 530*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node79');
- _libModel.add("Node79", Node79);
- Node79.setRotation(180*Math.PI/180);
- ;
- ;
- var Node80points=[281, 500,281, 500],
- Node80rect=ht.Default.unionPoint([{x:281,y:500},{x:281,y:500}]),
- Node80compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node80points.length;i++){
- if(i%2==0){
- Node80compspts.push(Node80points[i]-Node80rect.x);
- }else{
- Node80compspts.push(Node80points[i]-Node80rect.y);
- }
- }
- var Node80ptslength=Node80compspts.length;
- if (Node80rect.height === 0) {
- Node80compspts[0] -= 0;
- Node80compspts[Node80ptslength-2] += 0;
- } else if (Node80rect.width === 0){
- Node80compspts[1] -= 0;
- Node80compspts[Node80ptslength-1] += 0;
- } else {
- Node80compspts[0] -= 0;
- Node80compspts[1] -= 0;
- Node80compspts[Node80ptslength-2] += 0;
- Node80compspts[Node80ptslength-1] += 0;
- }
- Node80 = new ht.Node();
- Node80.borderWidth = 1;
- Node80rect.width = Node80rect.width === 0 ? 0.0001 : Node80rect.width;
- Node80rect.height = Node80rect.height === 0 ? 0.0001 : Node80rect.height;
- var Node80endCompspts = [Node80compspts[Node80ptslength-2],Node80compspts[Node80ptslength-1],0,0];
- var Node80startCompspts = [Node80compspts[0],Node80compspts[1],0,0];
- Node80.setImage(GD.getPolyLineJSON());
- Node80.setPosition(Node80rect.x+Node80rect.width/2,Node80rect.y+Node80rect.height/2);
- Node80.setSize(Node80rect.width,Node80rect.height);
- Node80.setStyle("opacity",1);
- Node80.s({'pixelPerfect':true});
- Node80borderwidth=1;
- Node80.setRotation(0);
- dataModel.add(Node80);
- Node80.a('node.points',Node80compspts);
- Node80.a('node.segments',[1,2]);
- Node80.a('node.color','rgba(255,128,0,1)');
- Node80.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node80.a('node.borderColor','rgba(255,128,0,1)');
- Node80.a('node.background','rgba(255,128,0,1)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','rgba(255,128,0,1)');
- Node80.a('node.endCompspts',Node80endCompspts);
- Node80.a('node.startCompspts',Node80startCompspts);
- (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 = 'Node80';
- 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);
- }
- })(Node80, Node80.getImage(), Node80compspts, Node80endCompspts, Node80startCompspts);
- var Node81points=[281, 478,281, 478],
- Node81rect=ht.Default.unionPoint([{x:281,y:478},{x:281,y:478}]),
- Node81compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node81points.length;i++){
- if(i%2==0){
- Node81compspts.push(Node81points[i]-Node81rect.x);
- }else{
- Node81compspts.push(Node81points[i]-Node81rect.y);
- }
- }
- var Node81ptslength=Node81compspts.length;
- if (Node81rect.height === 0) {
- Node81compspts[0] -= 0;
- Node81compspts[Node81ptslength-2] += 0;
- } else if (Node81rect.width === 0){
- Node81compspts[1] -= 0;
- Node81compspts[Node81ptslength-1] += 0;
- } else {
- Node81compspts[0] -= 0;
- Node81compspts[1] -= 0;
- Node81compspts[Node81ptslength-2] += 0;
- Node81compspts[Node81ptslength-1] += 0;
- }
- Node81 = new ht.Node();
- Node81.borderWidth = 1;
- Node81rect.width = Node81rect.width === 0 ? 0.0001 : Node81rect.width;
- Node81rect.height = Node81rect.height === 0 ? 0.0001 : Node81rect.height;
- var Node81endCompspts = [Node81compspts[Node81ptslength-2],Node81compspts[Node81ptslength-1],0,0];
- var Node81startCompspts = [Node81compspts[0],Node81compspts[1],0,0];
- Node81.setImage(GD.getPolyLineJSON());
- Node81.setPosition(Node81rect.x+Node81rect.width/2,Node81rect.y+Node81rect.height/2);
- Node81.setSize(Node81rect.width,Node81rect.height);
- Node81.setStyle("opacity",1);
- Node81.s({'pixelPerfect':true});
- Node81borderwidth=1;
- Node81.setRotation(0);
- dataModel.add(Node81);
- Node81.a('node.points',Node81compspts);
- Node81.a('node.segments',[1,2]);
- Node81.a('node.color','rgba(255,0,255,1)');
- Node81.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node81.a('node.borderColor','rgba(255,0,255,1)');
- Node81.a('node.background','rgba(255,0,255,1)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','rgba(255,0,255,1)');
- Node81.a('node.endCompspts',Node81endCompspts);
- Node81.a('node.startCompspts',Node81startCompspts);
- (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 = 'Node81';
- 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);
- }
- })(Node81, Node81.getImage(), Node81compspts, Node81endCompspts, Node81startCompspts);
- var Node82points=[284, 473,284, 493],
- Node82rect=ht.Default.unionPoint([{x:284,y:473},{x:284,y:493}]),
- Node82compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node82points.length;i++){
- if(i%2==0){
- Node82compspts.push(Node82points[i]-Node82rect.x);
- }else{
- Node82compspts.push(Node82points[i]-Node82rect.y);
- }
- }
- var Node82ptslength=Node82compspts.length;
- if (Node82rect.height === 0) {
- Node82compspts[0] -= 0;
- Node82compspts[Node82ptslength-2] += 0;
- } else if (Node82rect.width === 0){
- Node82compspts[1] -= 0;
- Node82compspts[Node82ptslength-1] += 0;
- } else {
- Node82compspts[0] -= 0;
- Node82compspts[1] -= 0;
- Node82compspts[Node82ptslength-2] += 0;
- Node82compspts[Node82ptslength-1] += 0;
- }
- Node82 = new ht.Node();
- Node82.borderWidth = 1;
- Node82rect.width = Node82rect.width === 0 ? 0.0001 : Node82rect.width;
- Node82rect.height = Node82rect.height === 0 ? 0.0001 : Node82rect.height;
- var Node82endCompspts = [Node82compspts[Node82ptslength-2],Node82compspts[Node82ptslength-1],0,0];
- var Node82startCompspts = [Node82compspts[0],Node82compspts[1],0,0];
- Node82.setImage(GD.getPolyLineJSON());
- Node82.setPosition(Node82rect.x+Node82rect.width/2,Node82rect.y+Node82rect.height/2);
- Node82.setSize(Node82rect.width,Node82rect.height);
- Node82.setStyle("opacity",1);
- Node82.s({'pixelPerfect':true});
- Node82borderwidth=1;
- Node82.setRotation(0);
- dataModel.add(Node82);
- Node82.a('node.points',Node82compspts);
- Node82.a('node.segments',[1,2]);
- Node82.a('node.color','rgba(255,128,0,1)');
- Node82.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node82.a('node.borderColor','rgba(255,128,0,1)');
- Node82.a('node.background','rgba(255,128,0,1)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','rgba(255,128,0,1)');
- Node82.a('node.endCompspts',Node82endCompspts);
- Node82.a('node.startCompspts',Node82startCompspts);
- (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 = 'Node82';
- 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);
- }
- })(Node82, Node82.getImage(), Node82compspts, Node82endCompspts, Node82startCompspts);
- var Node83points=[284, 482,344, 482],
- Node83rect=ht.Default.unionPoint([{x:284,y:482},{x:344,y:482}]),
- Node83compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node83points.length;i++){
- if(i%2==0){
- Node83compspts.push(Node83points[i]-Node83rect.x);
- }else{
- Node83compspts.push(Node83points[i]-Node83rect.y);
- }
- }
- var Node83ptslength=Node83compspts.length;
- if (Node83rect.height === 0) {
- Node83compspts[0] -= 0;
- Node83compspts[Node83ptslength-2] += 0;
- } else if (Node83rect.width === 0){
- Node83compspts[1] -= 0;
- Node83compspts[Node83ptslength-1] += 0;
- } else {
- Node83compspts[0] -= 0;
- Node83compspts[1] -= 0;
- Node83compspts[Node83ptslength-2] += 0;
- Node83compspts[Node83ptslength-1] += 0;
- }
- Node83 = new ht.Node();
- Node83.borderWidth = 1;
- Node83rect.width = Node83rect.width === 0 ? 0.0001 : Node83rect.width;
- Node83rect.height = Node83rect.height === 0 ? 0.0001 : Node83rect.height;
- var Node83endCompspts = [Node83compspts[Node83ptslength-2],Node83compspts[Node83ptslength-1],0,0];
- var Node83startCompspts = [Node83compspts[0],Node83compspts[1],0,0];
- Node83.setImage(GD.getPolyLineJSON());
- Node83.setPosition(Node83rect.x+Node83rect.width/2,Node83rect.y+Node83rect.height/2);
- Node83.setSize(Node83rect.width,Node83rect.height);
- Node83.setStyle("opacity",1);
- Node83.s({'pixelPerfect':true});
- Node83borderwidth=1;
- Node83.setRotation(0);
- dataModel.add(Node83);
- Node83.a('node.points',Node83compspts);
- Node83.a('node.segments',[1,2]);
- Node83.a('node.color','rgba(255,128,0,1)');
- Node83.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node83.a('node.borderColor','rgba(255,128,0,1)');
- Node83.a('node.background','rgba(255,128,0,1)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','rgba(255,128,0,1)');
- Node83.a('node.endCompspts',Node83endCompspts);
- Node83.a('node.startCompspts',Node83startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node83';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node83, Node83.getImage(), Node83compspts, Node83endCompspts, Node83startCompspts);
- var Node84points=[352, 493,352, 493],
- Node84rect=ht.Default.unionPoint([{x:352,y:493},{x:352,y:493}]),
- Node84compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node84points.length;i++){
- if(i%2==0){
- Node84compspts.push(Node84points[i]-Node84rect.x);
- }else{
- Node84compspts.push(Node84points[i]-Node84rect.y);
- }
- }
- var Node84ptslength=Node84compspts.length;
- if (Node84rect.height === 0) {
- Node84compspts[0] -= 0;
- Node84compspts[Node84ptslength-2] += 0;
- } else if (Node84rect.width === 0){
- Node84compspts[1] -= 0;
- Node84compspts[Node84ptslength-1] += 0;
- } else {
- Node84compspts[0] -= 0;
- Node84compspts[1] -= 0;
- Node84compspts[Node84ptslength-2] += 0;
- Node84compspts[Node84ptslength-1] += 0;
- }
- Node84 = new ht.Node();
- Node84.borderWidth = 1;
- Node84rect.width = Node84rect.width === 0 ? 0.0001 : Node84rect.width;
- Node84rect.height = Node84rect.height === 0 ? 0.0001 : Node84rect.height;
- var Node84endCompspts = [Node84compspts[Node84ptslength-2],Node84compspts[Node84ptslength-1],0,0];
- var Node84startCompspts = [Node84compspts[0],Node84compspts[1],0,0];
- Node84.setImage(GD.getPolyLineJSON());
- Node84.setPosition(Node84rect.x+Node84rect.width/2,Node84rect.y+Node84rect.height/2);
- Node84.setSize(Node84rect.width,Node84rect.height);
- Node84.setStyle("opacity",1);
- Node84.s({'pixelPerfect':true});
- Node84borderwidth=1;
- Node84.setRotation(0);
- dataModel.add(Node84);
- Node84.a('node.points',Node84compspts);
- Node84.a('node.segments',[1,2]);
- Node84.a('node.color','rgba(255,0,255,1)');
- Node84.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node84.a('node.borderColor','rgba(255,0,255,1)');
- Node84.a('node.background','rgba(255,0,255,1)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','rgba(255,0,255,1)');
- Node84.a('node.endCompspts',Node84endCompspts);
- Node84.a('node.startCompspts',Node84startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node84';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node84, Node84.getImage(), Node84compspts, Node84endCompspts, Node84startCompspts);
- var Node85points=[344, 482,344, 487],
- Node85rect=ht.Default.unionPoint([{x:344,y:482},{x:344,y:487}]),
- Node85compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node85points.length;i++){
- if(i%2==0){
- Node85compspts.push(Node85points[i]-Node85rect.x);
- }else{
- Node85compspts.push(Node85points[i]-Node85rect.y);
- }
- }
- var Node85ptslength=Node85compspts.length;
- if (Node85rect.height === 0) {
- Node85compspts[0] -= 0;
- Node85compspts[Node85ptslength-2] += 0;
- } else if (Node85rect.width === 0){
- Node85compspts[1] -= 0;
- Node85compspts[Node85ptslength-1] += 0;
- } else {
- Node85compspts[0] -= 0;
- Node85compspts[1] -= 0;
- Node85compspts[Node85ptslength-2] += 0;
- Node85compspts[Node85ptslength-1] += 0;
- }
- Node85 = new ht.Node();
- Node85.borderWidth = 1;
- Node85rect.width = Node85rect.width === 0 ? 0.0001 : Node85rect.width;
- Node85rect.height = Node85rect.height === 0 ? 0.0001 : Node85rect.height;
- var Node85endCompspts = [Node85compspts[Node85ptslength-2],Node85compspts[Node85ptslength-1],0,0];
- var Node85startCompspts = [Node85compspts[0],Node85compspts[1],0,0];
- Node85.setImage(GD.getPolyLineJSON());
- Node85.setPosition(Node85rect.x+Node85rect.width/2,Node85rect.y+Node85rect.height/2);
- Node85.setSize(Node85rect.width,Node85rect.height);
- Node85.setStyle("opacity",1);
- Node85.s({'pixelPerfect':true});
- Node85borderwidth=1;
- Node85.setRotation(0);
- dataModel.add(Node85);
- Node85.a('node.points',Node85compspts);
- Node85.a('node.segments',[1,2]);
- Node85.a('node.color','rgba(255,128,0,1)');
- Node85.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node85.a('node.borderColor','rgba(255,128,0,1)');
- Node85.a('node.background','rgba(255,128,0,1)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','rgba(255,128,0,1)');
- Node85.a('node.endCompspts',Node85endCompspts);
- Node85.a('node.startCompspts',Node85startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node85';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node85, Node85.getImage(), Node85compspts, Node85endCompspts, Node85startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.lib['黄色接地'](344*ratio.ratioX, 506*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node86');
- _libModel.add("Node86", Node86);
- Node86.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.lib['12345'](486*ratio.ratioX, 525*ratio.ratioY, 57*_ratio.ratioX, 49*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node87');
- _libModel.add("Node87", Node87);
- Node87.setRotation(0*Math.PI/180);
- ;
- ;
- var Node88points=[494, 550,494, 570],
- Node88rect=ht.Default.unionPoint([{x:494,y:550},{x:494,y:570}]),
- Node88compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node88points.length;i++){
- if(i%2==0){
- Node88compspts.push(Node88points[i]-Node88rect.x);
- }else{
- Node88compspts.push(Node88points[i]-Node88rect.y);
- }
- }
- var Node88ptslength=Node88compspts.length;
- if (Node88rect.height === 0) {
- Node88compspts[0] -= 0;
- Node88compspts[Node88ptslength-2] += 0;
- } else if (Node88rect.width === 0){
- Node88compspts[1] -= 0;
- Node88compspts[Node88ptslength-1] += 0;
- } else {
- Node88compspts[0] -= 0;
- Node88compspts[1] -= 0;
- Node88compspts[Node88ptslength-2] += 0;
- Node88compspts[Node88ptslength-1] += 0;
- }
- Node88 = new ht.Node();
- Node88.borderWidth = 1;
- Node88rect.width = Node88rect.width === 0 ? 0.0001 : Node88rect.width;
- Node88rect.height = Node88rect.height === 0 ? 0.0001 : Node88rect.height;
- var Node88endCompspts = [Node88compspts[Node88ptslength-2],Node88compspts[Node88ptslength-1],0,0];
- var Node88startCompspts = [Node88compspts[0],Node88compspts[1],0,0];
- Node88.setImage(GD.getPolyLineJSON());
- Node88.setPosition(Node88rect.x+Node88rect.width/2,Node88rect.y+Node88rect.height/2);
- Node88.setSize(Node88rect.width,Node88rect.height);
- Node88.setStyle("opacity",1);
- Node88.s({'pixelPerfect':true});
- Node88borderwidth=1;
- Node88.setRotation(0);
- dataModel.add(Node88);
- Node88.a('node.points',Node88compspts);
- Node88.a('node.segments',[1,2]);
- Node88.a('node.color','rgba(255,128,0,1)');
- Node88.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node88.a('node.borderColor','rgba(255,128,0,1)');
- Node88.a('node.background','rgba(255,128,0,1)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','rgba(255,128,0,1)');
- Node88.a('node.endCompspts',Node88endCompspts);
- Node88.a('node.startCompspts',Node88startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node88';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node88, Node88.getImage(), Node88compspts, Node88endCompspts, Node88startCompspts);
- var Node89points=[494, 610,494, 630],
- Node89rect=ht.Default.unionPoint([{x:494,y:610},{x:494,y:630}]),
- Node89compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node89points.length;i++){
- if(i%2==0){
- Node89compspts.push(Node89points[i]-Node89rect.x);
- }else{
- Node89compspts.push(Node89points[i]-Node89rect.y);
- }
- }
- var Node89ptslength=Node89compspts.length;
- if (Node89rect.height === 0) {
- Node89compspts[0] -= 0;
- Node89compspts[Node89ptslength-2] += 0;
- } else if (Node89rect.width === 0){
- Node89compspts[1] -= 0;
- Node89compspts[Node89ptslength-1] += 0;
- } else {
- Node89compspts[0] -= 0;
- Node89compspts[1] -= 0;
- Node89compspts[Node89ptslength-2] += 0;
- Node89compspts[Node89ptslength-1] += 0;
- }
- Node89 = new ht.Node();
- Node89.borderWidth = 1;
- Node89rect.width = Node89rect.width === 0 ? 0.0001 : Node89rect.width;
- Node89rect.height = Node89rect.height === 0 ? 0.0001 : Node89rect.height;
- var Node89endCompspts = [Node89compspts[Node89ptslength-2],Node89compspts[Node89ptslength-1],0,0];
- var Node89startCompspts = [Node89compspts[0],Node89compspts[1],0,0];
- Node89.setImage(GD.getPolyLineJSON());
- Node89.setPosition(Node89rect.x+Node89rect.width/2,Node89rect.y+Node89rect.height/2);
- Node89.setSize(Node89rect.width,Node89rect.height);
- Node89.setStyle("opacity",1);
- Node89.s({'pixelPerfect':true});
- Node89borderwidth=1;
- Node89.setRotation(0);
- dataModel.add(Node89);
- Node89.a('node.points',Node89compspts);
- Node89.a('node.segments',[1,2]);
- Node89.a('node.color','rgba(255,128,0,1)');
- Node89.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node89.a('node.borderColor','rgba(255,128,0,1)');
- Node89.a('node.background','rgba(255,128,0,1)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','rgba(255,128,0,1)');
- Node89.a('node.endCompspts',Node89endCompspts);
- Node89.a('node.startCompspts',Node89startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node89';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node89, Node89.getImage(), Node89compspts, Node89endCompspts, Node89startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 29*_ratio.ratioX, Node90height = 16*_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('Ia :', ' '+ Node90fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('Ia :', ' '+ Node90fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"'))
- Node90.setPosition(311*ratio.ratioX, 396*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(255,0,255,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','Ia :');
- Node90.a('node.textalign','left');
- Node90.a('node.textvAlign','middle');
- Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
- Node90.a('node.color','rgba(255,0,255,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') || 'Ia :';
- var color=Node90.a('node.color') || 'rgba(255,0,255,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node90fontSize + 'px "Arial"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 29*_ratio.ratioX, Node91height = 16*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('P :', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('P :', ' '+ Node91fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
- Node91.setPosition(311*ratio.ratioX, 419*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(0,0,0,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','P :');
- Node91.a('node.textalign','left');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || 'P :';
- var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92 = new ht.Node();
- var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 29*_ratio.ratioX, Node92height = 16*_ratio.ratioY;
- (function () {
- if (Node92align === 'left') {
- Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
- Node92textWidth = Node92width;
- Node92lineStart = 1;
- } else if (Node92align === 'right') {
- Node92textStart = 0;
- Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
- Node92lineStart = (Node92width - (ht.Default.getTextSize('Q :', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('Q :', ' '+ Node92fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
- Node92.setPosition(311*ratio.ratioX, 440*ratio.ratioY);
- Node92.setWidth(Node92width);
- Node92.setHeight(Node92height);
- Node92._nodeType = 'text';
- Node92._disallowEvert = true;
- Node92.setRotation(0*Math.PI/180);
- Node92.a('node.width', Node92width);
- Node92.a('node.height', Node92height);
- Node92.a('node.rect', [0, 0, Node92width, Node92height]);
- Node92.a('node.bordercolor','rgba(0,0,0,1)');
- Node92.a('node.borderwidth', 0);
- Node92.a('node.background','' || 'rgba(0,0,0,0)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','');
- Node92.a('node.text','Q :');
- Node92.a('node.textalign','left');
- Node92.a('node.textvAlign','middle');
- Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
- Node92.a('node.color','rgba(0,0,0,1)');
- Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"');
- Node92.a('node.textvisible',true);
- Node92.a('node.linefeed',false);
- if (false) {
- Node92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node92.a('node.text') || 'Q :';
- var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node92.a('node.underlinepoints',[Node92lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
- Node92.a('node.underlinevisible',false);
- Node92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node92);
- zoomNodeList.push({
- node: Node92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 41*_ratio.ratioX, Node93height = 16*_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('COS :', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('COS :', ' '+ Node93fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
- Node93.setPosition(298*ratio.ratioX, 460*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','COS :');
- 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') || 'COS :';
- var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ 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 = 15.99996*_ratio.ratioY,Node94width = 58*_ratio.ratioX, Node94height = 19*_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('1#SVG', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node94align === 'center') {
- Node94textStart = -3;
- Node94textWidth = Node94width;
- Node94lineStart = Node94width - ht.Default.getTextSize('1#SVG', ' '+ Node94fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"'))
- Node94.setPosition(323*ratio.ratioX, 372*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','1#SVG');
- 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') || '1#SVG';
- var color=Node94.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node94width,Node94height,15.99996*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (19 - 15.99996) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('1#SVG', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
- Node94.a('node.underlinevisible',false);
- Node94.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node94);
- zoomNodeList.push({
- node: Node94,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95 = new ht.Node();
- var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'left', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 42*_ratio.ratioX, Node95height = 16*_ratio.ratioY;
- (function () {
- if (Node95align === 'left') {
- Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
- Node95textWidth = Node95width;
- Node95lineStart = 1;
- } else if (Node95align === 'right') {
- Node95textStart = 0;
- Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
- Node95lineStart = (Node95width - (ht.Default.getTextSize('绕组 :', ' '+ 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(515*ratio.ratioX, 396*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,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"left",color,' '+ Node95fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node95.a('node.underlinepoints',[Node95lineStart, (16 - 13.3333) * 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 = 13.3333*_ratio.ratioY,Node96width = 49*_ratio.ratioX, Node96height = 16*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('油温1 :', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('油温1 :', ' '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(511*ratio.ratioX, 419*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','油温1 :');
- 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') || '油温1 :';
- var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('油温1 :', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 49*_ratio.ratioX, Node97height = 16*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('油温2 :', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('油温2 :', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(511*ratio.ratioX, 440*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','油温2 :');
- 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') || '油温2 :';
- var color=Node97.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"left",color,' '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('油温2 :', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 13.3333*_ratio.ratioY,Node98width = 42*_ratio.ratioX, Node98height = 16*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('档位 :', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('档位 :', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(515*ratio.ratioX, 460*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(0,0,0,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','档位 :');
- Node98.a('node.textalign','left');
- Node98.a('node.textvAlign','middle');
- Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
- Node98.a('node.color','rgba(0,0,0,1)');
- Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '档位 :';
- var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node98width,Node98height,13.3333*_ratio.ratioY,"left",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('档位 :', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 15.99996*_ratio.ratioY,Node99width = 59*_ratio.ratioX, Node99height = 20*_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('1#主变', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('1#主变', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(513*ratio.ratioX, 373*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','1#主变');
- 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') || '1#主变';
- var color=Node99.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node99width,Node99height,15.99996*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('1#主变', ' '+ 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 = 15.99996*_ratio.ratioY,Node100width = 59*_ratio.ratioX, Node100height = 20*_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('PT', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('PT', ' '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(503*ratio.ratioX, 493*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','PT');
- 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') || 'PT';
- var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node100width,Node100height,15.99996*_ratio.ratioY,"left",color,' '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('PT', ' '+ 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.lib['主变'](659*ratio.ratioX, 499*ratio.ratioY, 45*_ratio.ratioX, 38*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node101');
- _libModel.add("Node101", Node101);
- Node101.setRotation(0*Math.PI/180);
- ;
- ;
- var Node102points=[1246, 361,1246, 371],
- Node102rect=ht.Default.unionPoint([{x:1246,y:361},{x:1246,y:371}]),
- Node102compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node102points.length;i++){
- if(i%2==0){
- Node102compspts.push(Node102points[i]-Node102rect.x);
- }else{
- Node102compspts.push(Node102points[i]-Node102rect.y);
- }
- }
- var Node102ptslength=Node102compspts.length;
- if (Node102rect.height === 0) {
- Node102compspts[0] -= 0;
- Node102compspts[Node102ptslength-2] += 0;
- } else if (Node102rect.width === 0){
- Node102compspts[1] -= 0;
- Node102compspts[Node102ptslength-1] += 0;
- } else {
- Node102compspts[0] -= 0;
- Node102compspts[1] -= 0;
- Node102compspts[Node102ptslength-2] += 0;
- Node102compspts[Node102ptslength-1] += 0;
- }
- Node102 = new ht.Node();
- Node102.borderWidth = 1;
- Node102rect.width = Node102rect.width === 0 ? 0.0001 : Node102rect.width;
- Node102rect.height = Node102rect.height === 0 ? 0.0001 : Node102rect.height;
- var Node102endCompspts = [Node102compspts[Node102ptslength-2],Node102compspts[Node102ptslength-1],0,0];
- var Node102startCompspts = [Node102compspts[0],Node102compspts[1],0,0];
- Node102.setImage(GD.getPolyLineJSON());
- Node102.setPosition(Node102rect.x+Node102rect.width/2,Node102rect.y+Node102rect.height/2);
- Node102.setSize(Node102rect.width,Node102rect.height);
- Node102.setStyle("opacity",1);
- Node102.s({'pixelPerfect':true});
- Node102borderwidth=1;
- Node102.setRotation(0);
- dataModel.add(Node102);
- Node102.a('node.points',Node102compspts);
- Node102.a('node.segments',[1,2]);
- Node102.a('node.color','rgba(255,0,255,1)');
- Node102.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node102.a('node.borderColor','rgba(255,0,255,1)');
- Node102.a('node.background','rgba(255,0,255,1)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','rgba(255,0,255,1)');
- Node102.a('node.endCompspts',Node102endCompspts);
- Node102.a('node.startCompspts',Node102startCompspts);
- (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 = 'Node102';
- 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);
- }
- })(Node102, Node102.getImage(), Node102compspts, Node102endCompspts, Node102startCompspts);
- var Node103points=[1246, 372,656, 372],
- Node103rect=ht.Default.unionPoint([{x:1246,y:372},{x:656,y:372}]),
- Node103compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node103points.length;i++){
- if(i%2==0){
- Node103compspts.push(Node103points[i]-Node103rect.x);
- }else{
- Node103compspts.push(Node103points[i]-Node103rect.y);
- }
- }
- var Node103ptslength=Node103compspts.length;
- if (Node103rect.height === 0) {
- Node103compspts[0] -= 0;
- Node103compspts[Node103ptslength-2] += 0;
- } else if (Node103rect.width === 0){
- Node103compspts[1] -= 0;
- Node103compspts[Node103ptslength-1] += 0;
- } else {
- Node103compspts[0] -= 0;
- Node103compspts[1] -= 0;
- Node103compspts[Node103ptslength-2] += 0;
- Node103compspts[Node103ptslength-1] += 0;
- }
- Node103 = new ht.Node();
- Node103.borderWidth = 1;
- Node103rect.width = Node103rect.width === 0 ? 0.0001 : Node103rect.width;
- Node103rect.height = Node103rect.height === 0 ? 0.0001 : Node103rect.height;
- var Node103endCompspts = [Node103compspts[Node103ptslength-2],Node103compspts[Node103ptslength-1],0,0];
- var Node103startCompspts = [Node103compspts[0],Node103compspts[1],0,0];
- Node103.setImage(GD.getPolyLineJSON());
- Node103.setPosition(Node103rect.x+Node103rect.width/2,Node103rect.y+Node103rect.height/2);
- Node103.setSize(Node103rect.width,Node103rect.height);
- Node103.setStyle("opacity",1);
- Node103.s({'pixelPerfect':true});
- Node103borderwidth=1;
- Node103.setRotation(0);
- dataModel.add(Node103);
- Node103.a('node.points',Node103compspts);
- Node103.a('node.segments',[1,2]);
- Node103.a('node.color','rgba(255,0,255,1)');
- Node103.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node103.a('node.borderColor','rgba(255,0,255,1)');
- Node103.a('node.background','rgba(255,0,255,1)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','rgba(255,0,255,1)');
- Node103.a('node.endCompspts',Node103endCompspts);
- Node103.a('node.startCompspts',Node103startCompspts);
- (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 = 'Node103';
- 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);
- }
- })(Node103, Node103.getImage(), Node103compspts, Node103endCompspts, Node103startCompspts);
- var Node104points=[655, 372,655, 482],
- Node104rect=ht.Default.unionPoint([{x:655,y:372},{x:655,y:482}]),
- Node104compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node104points.length;i++){
- if(i%2==0){
- Node104compspts.push(Node104points[i]-Node104rect.x);
- }else{
- Node104compspts.push(Node104points[i]-Node104rect.y);
- }
- }
- var Node104ptslength=Node104compspts.length;
- if (Node104rect.height === 0) {
- Node104compspts[0] -= 0;
- Node104compspts[Node104ptslength-2] += 0;
- } else if (Node104rect.width === 0){
- Node104compspts[1] -= 0;
- Node104compspts[Node104ptslength-1] += 0;
- } else {
- Node104compspts[0] -= 0;
- Node104compspts[1] -= 0;
- Node104compspts[Node104ptslength-2] += 0;
- Node104compspts[Node104ptslength-1] += 0;
- }
- Node104 = new ht.Node();
- Node104.borderWidth = 1;
- Node104rect.width = Node104rect.width === 0 ? 0.0001 : Node104rect.width;
- Node104rect.height = Node104rect.height === 0 ? 0.0001 : Node104rect.height;
- var Node104endCompspts = [Node104compspts[Node104ptslength-2],Node104compspts[Node104ptslength-1],0,0];
- var Node104startCompspts = [Node104compspts[0],Node104compspts[1],0,0];
- Node104.setImage(GD.getPolyLineJSON());
- Node104.setPosition(Node104rect.x+Node104rect.width/2,Node104rect.y+Node104rect.height/2);
- Node104.setSize(Node104rect.width,Node104rect.height);
- Node104.setStyle("opacity",1);
- Node104.s({'pixelPerfect':true});
- Node104borderwidth=1;
- Node104.setRotation(0);
- dataModel.add(Node104);
- Node104.a('node.points',Node104compspts);
- Node104.a('node.segments',[1,2]);
- Node104.a('node.color','rgba(255,0,255,1)');
- Node104.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node104.a('node.borderColor','rgba(255,0,255,1)');
- Node104.a('node.background','rgba(255,0,255,1)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','rgba(255,0,255,1)');
- Node104.a('node.endCompspts',Node104endCompspts);
- Node104.a('node.startCompspts',Node104startCompspts);
- (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 = 'Node104';
- 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);
- }
- })(Node104, Node104.getImage(), Node104compspts, Node104endCompspts, Node104startCompspts);
- var Node105points=[658, 610,658, 630],
- Node105rect=ht.Default.unionPoint([{x:658,y:610},{x:658,y:630}]),
- Node105compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node105points.length;i++){
- if(i%2==0){
- Node105compspts.push(Node105points[i]-Node105rect.x);
- }else{
- Node105compspts.push(Node105points[i]-Node105rect.y);
- }
- }
- var Node105ptslength=Node105compspts.length;
- if (Node105rect.height === 0) {
- Node105compspts[0] -= 0;
- Node105compspts[Node105ptslength-2] += 0;
- } else if (Node105rect.width === 0){
- Node105compspts[1] -= 0;
- Node105compspts[Node105ptslength-1] += 0;
- } else {
- Node105compspts[0] -= 0;
- Node105compspts[1] -= 0;
- Node105compspts[Node105ptslength-2] += 0;
- Node105compspts[Node105ptslength-1] += 0;
- }
- Node105 = new ht.Node();
- Node105.borderWidth = 1;
- Node105rect.width = Node105rect.width === 0 ? 0.0001 : Node105rect.width;
- Node105rect.height = Node105rect.height === 0 ? 0.0001 : Node105rect.height;
- var Node105endCompspts = [Node105compspts[Node105ptslength-2],Node105compspts[Node105ptslength-1],0,0];
- var Node105startCompspts = [Node105compspts[0],Node105compspts[1],0,0];
- Node105.setImage(GD.getPolyLineJSON());
- Node105.setPosition(Node105rect.x+Node105rect.width/2,Node105rect.y+Node105rect.height/2);
- Node105.setSize(Node105rect.width,Node105rect.height);
- Node105.setStyle("opacity",1);
- Node105.s({'pixelPerfect':true});
- Node105borderwidth=1;
- Node105.setRotation(0);
- dataModel.add(Node105);
- Node105.a('node.points',Node105compspts);
- Node105.a('node.segments',[1,2]);
- Node105.a('node.color','rgba(255,128,0,1)');
- Node105.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node105.a('node.borderColor','rgba(255,128,0,1)');
- Node105.a('node.background','rgba(255,128,0,1)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','rgba(255,128,0,1)');
- Node105.a('node.endCompspts',Node105endCompspts);
- Node105.a('node.startCompspts',Node105startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node105';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node105, Node105.getImage(), Node105compspts, Node105endCompspts, Node105startCompspts);
- var Node106points=[658, 517,658, 577],
- Node106rect=ht.Default.unionPoint([{x:658,y:517},{x:658,y:577}]),
- Node106compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node106points.length;i++){
- if(i%2==0){
- Node106compspts.push(Node106points[i]-Node106rect.x);
- }else{
- Node106compspts.push(Node106points[i]-Node106rect.y);
- }
- }
- var Node106ptslength=Node106compspts.length;
- if (Node106rect.height === 0) {
- Node106compspts[0] -= 0;
- Node106compspts[Node106ptslength-2] += 0;
- } else if (Node106rect.width === 0){
- Node106compspts[1] -= 0;
- Node106compspts[Node106ptslength-1] += 0;
- } else {
- Node106compspts[0] -= 0;
- Node106compspts[1] -= 0;
- Node106compspts[Node106ptslength-2] += 0;
- Node106compspts[Node106ptslength-1] += 0;
- }
- Node106 = new ht.Node();
- Node106.borderWidth = 1;
- Node106rect.width = Node106rect.width === 0 ? 0.0001 : Node106rect.width;
- Node106rect.height = Node106rect.height === 0 ? 0.0001 : Node106rect.height;
- var Node106endCompspts = [Node106compspts[Node106ptslength-2],Node106compspts[Node106ptslength-1],0,0];
- var Node106startCompspts = [Node106compspts[0],Node106compspts[1],0,0];
- Node106.setImage(GD.getPolyLineJSON());
- Node106.setPosition(Node106rect.x+Node106rect.width/2,Node106rect.y+Node106rect.height/2);
- Node106.setSize(Node106rect.width,Node106rect.height);
- Node106.setStyle("opacity",1);
- Node106.s({'pixelPerfect':true});
- Node106borderwidth=1;
- Node106.setRotation(0);
- dataModel.add(Node106);
- Node106.a('node.points',Node106compspts);
- Node106.a('node.segments',[1,2]);
- Node106.a('node.color','rgba(255,128,0,1)');
- Node106.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node106.a('node.borderColor','rgba(255,128,0,1)');
- Node106.a('node.background','rgba(255,128,0,1)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','rgba(255,128,0,1)');
- Node106.a('node.endCompspts',Node106endCompspts);
- Node106.a('node.startCompspts',Node106startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node106';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node106, Node106.getImage(), Node106compspts, Node106endCompspts, Node106startCompspts);
- var Node107points=[670, 496,800, 496],
- Node107rect=ht.Default.unionPoint([{x:670,y:496},{x:800,y:496}]),
- Node107compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node107points.length;i++){
- if(i%2==0){
- Node107compspts.push(Node107points[i]-Node107rect.x);
- }else{
- Node107compspts.push(Node107points[i]-Node107rect.y);
- }
- }
- var Node107ptslength=Node107compspts.length;
- if (Node107rect.height === 0) {
- Node107compspts[0] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- } else if (Node107rect.width === 0){
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-1] += 0;
- } else {
- Node107compspts[0] -= 0;
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- Node107compspts[Node107ptslength-1] += 0;
- }
- Node107 = new ht.Node();
- Node107.borderWidth = 1;
- Node107rect.width = Node107rect.width === 0 ? 0.0001 : Node107rect.width;
- Node107rect.height = Node107rect.height === 0 ? 0.0001 : Node107rect.height;
- var Node107endCompspts = [Node107compspts[Node107ptslength-2],Node107compspts[Node107ptslength-1],0,0];
- var Node107startCompspts = [Node107compspts[0],Node107compspts[1],0,0];
- Node107.setImage(GD.getPolyLineJSON());
- Node107.setPosition(Node107rect.x+Node107rect.width/2,Node107rect.y+Node107rect.height/2);
- Node107.setSize(Node107rect.width,Node107rect.height);
- Node107.setStyle("opacity",1);
- Node107.s({'pixelPerfect':true});
- Node107borderwidth=1;
- Node107.setRotation(0);
- dataModel.add(Node107);
- Node107.a('node.points',Node107compspts);
- Node107.a('node.segments',[1,2]);
- Node107.a('node.color','rgba(255,0,255,1)');
- Node107.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node107.a('node.borderColor','rgba(255,0,255,1)');
- Node107.a('node.background','rgba(255,0,255,1)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','rgba(255,0,255,1)');
- Node107.a('node.endCompspts',Node107endCompspts);
- Node107.a('node.startCompspts',Node107startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node107';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node107, Node107.getImage(), Node107compspts, Node107endCompspts, Node107startCompspts);
- var Node108points=[760, 496,760, 526],
- Node108rect=ht.Default.unionPoint([{x:760,y:496},{x:760,y:526}]),
- Node108compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node108points.length;i++){
- if(i%2==0){
- Node108compspts.push(Node108points[i]-Node108rect.x);
- }else{
- Node108compspts.push(Node108points[i]-Node108rect.y);
- }
- }
- var Node108ptslength=Node108compspts.length;
- if (Node108rect.height === 0) {
- Node108compspts[0] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- } else if (Node108rect.width === 0){
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-1] += 0;
- } else {
- Node108compspts[0] -= 0;
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- Node108compspts[Node108ptslength-1] += 0;
- }
- Node108 = new ht.Node();
- Node108.borderWidth = 1;
- Node108rect.width = Node108rect.width === 0 ? 0.0001 : Node108rect.width;
- Node108rect.height = Node108rect.height === 0 ? 0.0001 : Node108rect.height;
- var Node108endCompspts = [Node108compspts[Node108ptslength-2],Node108compspts[Node108ptslength-1],0,0];
- var Node108startCompspts = [Node108compspts[0],Node108compspts[1],0,0];
- Node108.setImage(GD.getPolyLineJSON());
- Node108.setPosition(Node108rect.x+Node108rect.width/2,Node108rect.y+Node108rect.height/2);
- Node108.setSize(Node108rect.width,Node108rect.height);
- Node108.setStyle("opacity",1);
- Node108.s({'pixelPerfect':true});
- Node108borderwidth=1;
- Node108.setRotation(0);
- dataModel.add(Node108);
- Node108.a('node.points',Node108compspts);
- Node108.a('node.segments',[1,2]);
- Node108.a('node.color','rgba(255,0,255,1)');
- Node108.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node108.a('node.borderColor','rgba(255,0,255,1)');
- Node108.a('node.background','rgba(255,0,255,1)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','rgba(255,0,255,1)');
- Node108.a('node.endCompspts',Node108endCompspts);
- Node108.a('node.startCompspts',Node108startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node108';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node108, Node108.getImage(), Node108compspts, Node108endCompspts, Node108startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.lib['接地'](760*ratio.ratioX, 551*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node109');
- _libModel.add("Node109", Node109);
- Node109.setRotation(0*Math.PI/180);
- ;
- ;
- _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 = 41*_ratio.ratioX, Node110height = 16*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('315-1', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('315-1', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(240*ratio.ratioX, 499*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','315-1');
- 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') || '315-1';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('315-1', ' '+ 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 = 41*_ratio.ratioX, Node111height = 16*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('315', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('315', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(243*ratio.ratioX, 588*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','315');
- 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') || '315';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('315', ' '+ 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 = 41*_ratio.ratioX, Node112height = 16*_ratio.ratioY;
- (function () {
- if (Node112align === 'left') {
- Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
- Node112textWidth = Node112width;
- Node112lineStart = 1;
- } else if (Node112align === 'right') {
- Node112textStart = 0;
- Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
- Node112lineStart = (Node112width - (ht.Default.getTextSize('319', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('319', ' '+ Node112fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
- Node112.setPosition(461*ratio.ratioX, 588*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','319');
- 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') || '319';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('319', ' '+ 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 = 41*_ratio.ratioX, Node113height = 16*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('301', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('301', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(641*ratio.ratioX, 588*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','301');
- 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') || '301';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('301', ' '+ 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 = 41*_ratio.ratioX, Node114height = 16*_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('2010', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node114align === 'center') {
- Node114textStart = -3;
- Node114textWidth = Node114width;
- Node114lineStart = Node114width - ht.Default.getTextSize('2010', ' '+ Node114fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
- Node114.setPosition(725*ratio.ratioX, 535*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','2010');
- 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') || '2010';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('2010', ' '+ 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_0 = new ht.Node();
- var Node115_0textStart, Node115_0textWidth, Node115_0lineStart, Node115_0align = 'left', Node115_0fontSize = 13.3333*_ratio.ratioY,Node115_0width = 29*_ratio.ratioX, Node115_0height = 16*_ratio.ratioY;
- (function () {
- if (Node115_0align === 'left') {
- Node115_0textStart = Node115_0fontSize * 0.2 > 2 ? Node115_0fontSize * 0.2 - 4 : Node115_0fontSize * 0.2 - 9;
- Node115_0textWidth = Node115_0width;
- Node115_0lineStart = 1;
- } else if (Node115_0align === 'right') {
- Node115_0textStart = 0;
- Node115_0textWidth =Node115_0fontSize <= 8 ? Node115_0width + Node115_0fontSize * 0.2 + 6 : Node115_0width - Node115_0fontSize * 0.2;
- Node115_0lineStart = (Node115_0width - (ht.Default.getTextSize('Ia :', ' '+ Node115_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115_0align === 'center') {
- Node115_0textStart = -3;
- Node115_0textWidth = Node115_0width;
- Node115_0lineStart = Node115_0width - ht.Default.getTextSize('Ia :', ' '+ Node115_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115_0.setImage(GD.getTextJSON(Node115_0width, Node115_0height, true, false, false, ' '+ Node115_0fontSize + 'px "Arial"'))
- Node115_0.setPosition(891*ratio.ratioX, 556*ratio.ratioY);
- Node115_0.setWidth(Node115_0width);
- Node115_0.setHeight(Node115_0height);
- Node115_0._nodeType = 'text';
- Node115_0._disallowEvert = true;
- Node115_0.setRotation(0*Math.PI/180);
- Node115_0.a('node.width', Node115_0width);
- Node115_0.a('node.height', Node115_0height);
- Node115_0.a('node.rect', [0, 0, Node115_0width, Node115_0height]);
- Node115_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node115_0.a('node.borderwidth', 0);
- Node115_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node115_0.a('node.gradient','');
- Node115_0.a('node.gradientcolor','');
- Node115_0.a('node.text','Ia :');
- Node115_0.a('node.textalign','left');
- Node115_0.a('node.textvAlign','middle');
- Node115_0.a('node.textrect', [Node115_0textStart, 0, Node115_0textWidth, Node115_0height]);
- Node115_0.a('node.color','rgba(255,0,255,1)');
- Node115_0.a('node.font',' '+ Node115_0fontSize + 'px "Arial"');
- Node115_0.a('node.textvisible',true);
- Node115_0.a('node.linefeed',false);
- if (false) {
- Node115_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115_0.a('node.text') || 'Ia :';
- var color=Node115_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115_0width,Node115_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node115_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115_0.a('node.underlinepoints',[Node115_0lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node115_0fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node115_0fontSize + 'px "Arial"').width + 6, (Node115_0height - Node115_0fontSize) * 0.5*_ratio.ratioY + Node115_0fontSize + 2 ]);
- Node115_0.a('node.underlinevisible',false);
- Node115_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115_0);
- zoomNodeList.push({
- node: Node115_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115_1 = new ht.Node();
- var Node115_1textStart, Node115_1textWidth, Node115_1lineStart, Node115_1align = 'left', Node115_1fontSize = 13.3333*_ratio.ratioY,Node115_1width = 29*_ratio.ratioX, Node115_1height = 16*_ratio.ratioY;
- (function () {
- if (Node115_1align === 'left') {
- Node115_1textStart = Node115_1fontSize * 0.2 > 2 ? Node115_1fontSize * 0.2 - 4 : Node115_1fontSize * 0.2 - 9;
- Node115_1textWidth = Node115_1width;
- Node115_1lineStart = 1;
- } else if (Node115_1align === 'right') {
- Node115_1textStart = 0;
- Node115_1textWidth =Node115_1fontSize <= 8 ? Node115_1width + Node115_1fontSize * 0.2 + 6 : Node115_1width - Node115_1fontSize * 0.2;
- Node115_1lineStart = (Node115_1width - (ht.Default.getTextSize('P :', ' '+ Node115_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115_1align === 'center') {
- Node115_1textStart = -3;
- Node115_1textWidth = Node115_1width;
- Node115_1lineStart = Node115_1width - ht.Default.getTextSize('P :', ' '+ Node115_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115_1.setImage(GD.getTextJSON(Node115_1width, Node115_1height, true, false, false, ' '+ Node115_1fontSize + 'px "Arial"'))
- Node115_1.setPosition(891*ratio.ratioX, 579*ratio.ratioY);
- Node115_1.setWidth(Node115_1width);
- Node115_1.setHeight(Node115_1height);
- Node115_1._nodeType = 'text';
- Node115_1._disallowEvert = true;
- Node115_1.setRotation(0*Math.PI/180);
- Node115_1.a('node.width', Node115_1width);
- Node115_1.a('node.height', Node115_1height);
- Node115_1.a('node.rect', [0, 0, Node115_1width, Node115_1height]);
- Node115_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node115_1.a('node.borderwidth', 0);
- Node115_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node115_1.a('node.gradient','');
- Node115_1.a('node.gradientcolor','');
- Node115_1.a('node.text','P :');
- Node115_1.a('node.textalign','left');
- Node115_1.a('node.textvAlign','middle');
- Node115_1.a('node.textrect', [Node115_1textStart, 0, Node115_1textWidth, Node115_1height]);
- Node115_1.a('node.color','rgba(0,0,0,1)');
- Node115_1.a('node.font',' '+ Node115_1fontSize + 'px "Arial"');
- Node115_1.a('node.textvisible',true);
- Node115_1.a('node.linefeed',false);
- if (false) {
- Node115_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115_1.a('node.text') || 'P :';
- var color=Node115_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115_1width,Node115_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node115_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115_1.a('node.underlinepoints',[Node115_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node115_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node115_1fontSize + 'px "Arial"').width + 6, (Node115_1height - Node115_1fontSize) * 0.5*_ratio.ratioY + Node115_1fontSize + 2 ]);
- Node115_1.a('node.underlinevisible',false);
- Node115_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115_1);
- zoomNodeList.push({
- node: Node115_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115_2 = new ht.Node();
- var Node115_2textStart, Node115_2textWidth, Node115_2lineStart, Node115_2align = 'left', Node115_2fontSize = 13.3333*_ratio.ratioY,Node115_2width = 29*_ratio.ratioX, Node115_2height = 16*_ratio.ratioY;
- (function () {
- if (Node115_2align === 'left') {
- Node115_2textStart = Node115_2fontSize * 0.2 > 2 ? Node115_2fontSize * 0.2 - 4 : Node115_2fontSize * 0.2 - 9;
- Node115_2textWidth = Node115_2width;
- Node115_2lineStart = 1;
- } else if (Node115_2align === 'right') {
- Node115_2textStart = 0;
- Node115_2textWidth =Node115_2fontSize <= 8 ? Node115_2width + Node115_2fontSize * 0.2 + 6 : Node115_2width - Node115_2fontSize * 0.2;
- Node115_2lineStart = (Node115_2width - (ht.Default.getTextSize('Q :', ' '+ Node115_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115_2align === 'center') {
- Node115_2textStart = -3;
- Node115_2textWidth = Node115_2width;
- Node115_2lineStart = Node115_2width - ht.Default.getTextSize('Q :', ' '+ Node115_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115_2.setImage(GD.getTextJSON(Node115_2width, Node115_2height, true, false, false, ' '+ Node115_2fontSize + 'px "Arial"'))
- Node115_2.setPosition(891*ratio.ratioX, 600*ratio.ratioY);
- Node115_2.setWidth(Node115_2width);
- Node115_2.setHeight(Node115_2height);
- Node115_2._nodeType = 'text';
- Node115_2._disallowEvert = true;
- Node115_2.setRotation(0*Math.PI/180);
- Node115_2.a('node.width', Node115_2width);
- Node115_2.a('node.height', Node115_2height);
- Node115_2.a('node.rect', [0, 0, Node115_2width, Node115_2height]);
- Node115_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node115_2.a('node.borderwidth', 0);
- Node115_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node115_2.a('node.gradient','');
- Node115_2.a('node.gradientcolor','');
- Node115_2.a('node.text','Q :');
- Node115_2.a('node.textalign','left');
- Node115_2.a('node.textvAlign','middle');
- Node115_2.a('node.textrect', [Node115_2textStart, 0, Node115_2textWidth, Node115_2height]);
- Node115_2.a('node.color','rgba(0,0,0,1)');
- Node115_2.a('node.font',' '+ Node115_2fontSize + 'px "Arial"');
- Node115_2.a('node.textvisible',true);
- Node115_2.a('node.linefeed',false);
- if (false) {
- Node115_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115_2.a('node.text') || 'Q :';
- var color=Node115_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115_2width,Node115_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node115_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115_2.a('node.underlinepoints',[Node115_2lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node115_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node115_2fontSize + 'px "Arial"').width + 6, (Node115_2height - Node115_2fontSize) * 0.5*_ratio.ratioY + Node115_2fontSize + 2 ]);
- Node115_2.a('node.underlinevisible',false);
- Node115_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115_2);
- zoomNodeList.push({
- node: Node115_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115_3 = new ht.Node();
- var Node115_3textStart, Node115_3textWidth, Node115_3lineStart, Node115_3align = 'left', Node115_3fontSize = 13.3333*_ratio.ratioY,Node115_3width = 41*_ratio.ratioX, Node115_3height = 16*_ratio.ratioY;
- (function () {
- if (Node115_3align === 'left') {
- Node115_3textStart = Node115_3fontSize * 0.2 > 2 ? Node115_3fontSize * 0.2 - 4 : Node115_3fontSize * 0.2 - 9;
- Node115_3textWidth = Node115_3width;
- Node115_3lineStart = 1;
- } else if (Node115_3align === 'right') {
- Node115_3textStart = 0;
- Node115_3textWidth =Node115_3fontSize <= 8 ? Node115_3width + Node115_3fontSize * 0.2 + 6 : Node115_3width - Node115_3fontSize * 0.2;
- Node115_3lineStart = (Node115_3width - (ht.Default.getTextSize('COS :', ' '+ Node115_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115_3align === 'center') {
- Node115_3textStart = -3;
- Node115_3textWidth = Node115_3width;
- Node115_3lineStart = Node115_3width - ht.Default.getTextSize('COS :', ' '+ Node115_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115_3.setImage(GD.getTextJSON(Node115_3width, Node115_3height, true, false, false, ' '+ Node115_3fontSize + 'px "Arial"'))
- Node115_3.setPosition(878*ratio.ratioX, 620*ratio.ratioY);
- Node115_3.setWidth(Node115_3width);
- Node115_3.setHeight(Node115_3height);
- Node115_3._nodeType = 'text';
- Node115_3._disallowEvert = true;
- Node115_3.setRotation(0*Math.PI/180);
- Node115_3.a('node.width', Node115_3width);
- Node115_3.a('node.height', Node115_3height);
- Node115_3.a('node.rect', [0, 0, Node115_3width, Node115_3height]);
- Node115_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node115_3.a('node.borderwidth', 0);
- Node115_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node115_3.a('node.gradient','');
- Node115_3.a('node.gradientcolor','');
- Node115_3.a('node.text','COS :');
- Node115_3.a('node.textalign','left');
- Node115_3.a('node.textvAlign','middle');
- Node115_3.a('node.textrect', [Node115_3textStart, 0, Node115_3textWidth, Node115_3height]);
- Node115_3.a('node.color','rgba(0,0,0,1)');
- Node115_3.a('node.font',' '+ Node115_3fontSize + 'px "Arial"');
- Node115_3.a('node.textvisible',true);
- Node115_3.a('node.linefeed',false);
- if (false) {
- Node115_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115_3.a('node.text') || 'COS :';
- var color=Node115_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115_3width,Node115_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node115_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115_3.a('node.underlinepoints',[Node115_3lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node115_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node115_3fontSize + 'px "Arial"').width + 6, (Node115_3height - Node115_3fontSize) * 0.5*_ratio.ratioY + Node115_3fontSize + 2 ]);
- Node115_3.a('node.underlinevisible',false);
- Node115_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115_3);
- zoomNodeList.push({
- node: Node115_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node116points=[1629, 361,1629, 371],
- Node116rect=ht.Default.unionPoint([{x:1629,y:361},{x:1629,y:371}]),
- Node116compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node116points.length;i++){
- if(i%2==0){
- Node116compspts.push(Node116points[i]-Node116rect.x);
- }else{
- Node116compspts.push(Node116points[i]-Node116rect.y);
- }
- }
- var Node116ptslength=Node116compspts.length;
- if (Node116rect.height === 0) {
- Node116compspts[0] -= 0;
- Node116compspts[Node116ptslength-2] += 0;
- } else if (Node116rect.width === 0){
- Node116compspts[1] -= 0;
- Node116compspts[Node116ptslength-1] += 0;
- } else {
- Node116compspts[0] -= 0;
- Node116compspts[1] -= 0;
- Node116compspts[Node116ptslength-2] += 0;
- Node116compspts[Node116ptslength-1] += 0;
- }
- Node116 = new ht.Node();
- Node116.borderWidth = 1;
- Node116rect.width = Node116rect.width === 0 ? 0.0001 : Node116rect.width;
- Node116rect.height = Node116rect.height === 0 ? 0.0001 : Node116rect.height;
- var Node116endCompspts = [Node116compspts[Node116ptslength-2],Node116compspts[Node116ptslength-1],0,0];
- var Node116startCompspts = [Node116compspts[0],Node116compspts[1],0,0];
- Node116.setImage(GD.getPolyLineJSON());
- Node116.setPosition(Node116rect.x+Node116rect.width/2,Node116rect.y+Node116rect.height/2);
- Node116.setSize(Node116rect.width,Node116rect.height);
- Node116.setStyle("opacity",1);
- Node116.s({'pixelPerfect':true});
- Node116borderwidth=1;
- Node116.setRotation(0);
- dataModel.add(Node116);
- Node116.a('node.points',Node116compspts);
- Node116.a('node.segments',[1,2]);
- Node116.a('node.color','rgba(255,0,255,1)');
- Node116.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node116.a('node.borderColor','rgba(255,0,255,1)');
- Node116.a('node.background','rgba(255,0,255,1)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','rgba(255,0,255,1)');
- Node116.a('node.endCompspts',Node116endCompspts);
- Node116.a('node.startCompspts',Node116startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node116';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node116, Node116.getImage(), Node116compspts, Node116endCompspts, Node116startCompspts);
- var Node117points=[1629, 372,1249, 372],
- Node117rect=ht.Default.unionPoint([{x:1629,y:372},{x:1249,y:372}]),
- Node117compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node117points.length;i++){
- if(i%2==0){
- Node117compspts.push(Node117points[i]-Node117rect.x);
- }else{
- Node117compspts.push(Node117points[i]-Node117rect.y);
- }
- }
- var Node117ptslength=Node117compspts.length;
- if (Node117rect.height === 0) {
- Node117compspts[0] -= 0;
- Node117compspts[Node117ptslength-2] += 0;
- } else if (Node117rect.width === 0){
- Node117compspts[1] -= 0;
- Node117compspts[Node117ptslength-1] += 0;
- } else {
- Node117compspts[0] -= 0;
- Node117compspts[1] -= 0;
- Node117compspts[Node117ptslength-2] += 0;
- Node117compspts[Node117ptslength-1] += 0;
- }
- Node117 = new ht.Node();
- Node117.borderWidth = 1;
- Node117rect.width = Node117rect.width === 0 ? 0.0001 : Node117rect.width;
- Node117rect.height = Node117rect.height === 0 ? 0.0001 : Node117rect.height;
- var Node117endCompspts = [Node117compspts[Node117ptslength-2],Node117compspts[Node117ptslength-1],0,0];
- var Node117startCompspts = [Node117compspts[0],Node117compspts[1],0,0];
- Node117.setImage(GD.getPolyLineJSON());
- Node117.setPosition(Node117rect.x+Node117rect.width/2,Node117rect.y+Node117rect.height/2);
- Node117.setSize(Node117rect.width,Node117rect.height);
- Node117.setStyle("opacity",1);
- Node117.s({'pixelPerfect':true});
- Node117borderwidth=1;
- Node117.setRotation(0);
- dataModel.add(Node117);
- Node117.a('node.points',Node117compspts);
- Node117.a('node.segments',[1,2]);
- Node117.a('node.color','rgba(255,0,255,1)');
- Node117.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node117.a('node.borderColor','rgba(255,0,255,1)');
- Node117.a('node.background','rgba(255,0,255,1)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','rgba(255,0,255,1)');
- Node117.a('node.endCompspts',Node117endCompspts);
- Node117.a('node.startCompspts',Node117startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node117';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node117, Node117.getImage(), Node117compspts, Node117endCompspts, Node117startCompspts);
- var Node118points=[1249, 372,1249, 382],
- Node118rect=ht.Default.unionPoint([{x:1249,y:372},{x:1249,y:382}]),
- Node118compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node118points.length;i++){
- if(i%2==0){
- Node118compspts.push(Node118points[i]-Node118rect.x);
- }else{
- Node118compspts.push(Node118points[i]-Node118rect.y);
- }
- }
- var Node118ptslength=Node118compspts.length;
- if (Node118rect.height === 0) {
- Node118compspts[0] -= 0;
- Node118compspts[Node118ptslength-2] += 0;
- } else if (Node118rect.width === 0){
- Node118compspts[1] -= 0;
- Node118compspts[Node118ptslength-1] += 0;
- } else {
- Node118compspts[0] -= 0;
- Node118compspts[1] -= 0;
- Node118compspts[Node118ptslength-2] += 0;
- Node118compspts[Node118ptslength-1] += 0;
- }
- Node118 = new ht.Node();
- Node118.borderWidth = 1;
- Node118rect.width = Node118rect.width === 0 ? 0.0001 : Node118rect.width;
- Node118rect.height = Node118rect.height === 0 ? 0.0001 : Node118rect.height;
- var Node118endCompspts = [Node118compspts[Node118ptslength-2],Node118compspts[Node118ptslength-1],0,0];
- var Node118startCompspts = [Node118compspts[0],Node118compspts[1],0,0];
- Node118.setImage(GD.getPolyLineJSON());
- Node118.setPosition(Node118rect.x+Node118rect.width/2,Node118rect.y+Node118rect.height/2);
- Node118.setSize(Node118rect.width,Node118rect.height);
- Node118.setStyle("opacity",1);
- Node118.s({'pixelPerfect':true});
- Node118borderwidth=1;
- Node118.setRotation(0);
- dataModel.add(Node118);
- Node118.a('node.points',Node118compspts);
- Node118.a('node.segments',[1,2]);
- Node118.a('node.color','rgba(255,0,255,1)');
- Node118.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node118.a('node.borderColor','rgba(255,0,255,1)');
- Node118.a('node.background','rgba(255,0,255,1)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','rgba(255,0,255,1)');
- Node118.a('node.endCompspts',Node118endCompspts);
- Node118.a('node.startCompspts',Node118startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node118';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node118, Node118.getImage(), Node118compspts, Node118endCompspts, Node118startCompspts);
- var Node119points=[1249, 383,1139, 383],
- Node119rect=ht.Default.unionPoint([{x:1249,y:383},{x:1139,y:383}]),
- Node119compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node119points.length;i++){
- if(i%2==0){
- Node119compspts.push(Node119points[i]-Node119rect.x);
- }else{
- Node119compspts.push(Node119points[i]-Node119rect.y);
- }
- }
- var Node119ptslength=Node119compspts.length;
- if (Node119rect.height === 0) {
- Node119compspts[0] -= 0;
- Node119compspts[Node119ptslength-2] += 0;
- } else if (Node119rect.width === 0){
- Node119compspts[1] -= 0;
- Node119compspts[Node119ptslength-1] += 0;
- } else {
- Node119compspts[0] -= 0;
- Node119compspts[1] -= 0;
- Node119compspts[Node119ptslength-2] += 0;
- Node119compspts[Node119ptslength-1] += 0;
- }
- Node119 = new ht.Node();
- Node119.borderWidth = 1;
- Node119rect.width = Node119rect.width === 0 ? 0.0001 : Node119rect.width;
- Node119rect.height = Node119rect.height === 0 ? 0.0001 : Node119rect.height;
- var Node119endCompspts = [Node119compspts[Node119ptslength-2],Node119compspts[Node119ptslength-1],0,0];
- var Node119startCompspts = [Node119compspts[0],Node119compspts[1],0,0];
- Node119.setImage(GD.getPolyLineJSON());
- Node119.setPosition(Node119rect.x+Node119rect.width/2,Node119rect.y+Node119rect.height/2);
- Node119.setSize(Node119rect.width,Node119rect.height);
- Node119.setStyle("opacity",1);
- Node119.s({'pixelPerfect':true});
- Node119borderwidth=1;
- Node119.setRotation(0);
- dataModel.add(Node119);
- Node119.a('node.points',Node119compspts);
- Node119.a('node.segments',[1,2]);
- Node119.a('node.color','rgba(255,0,255,1)');
- Node119.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node119.a('node.borderColor','rgba(255,0,255,1)');
- Node119.a('node.background','rgba(255,0,255,1)');
- Node119.a('node.gradient','');
- Node119.a('node.gradientcolor','rgba(255,0,255,1)');
- Node119.a('node.endCompspts',Node119endCompspts);
- Node119.a('node.startCompspts',Node119startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node119';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node119, Node119.getImage(), Node119compspts, Node119endCompspts, Node119startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.lib['主变'](1142*ratio.ratioX, 510*ratio.ratioY, 43*_ratio.ratioX, 38*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node120');
- _libModel.add("Node120", Node120);
- Node120.setRotation(0*Math.PI/180);
- ;
- ;
- var Node121points=[1138, 383,1138, 493],
- Node121rect=ht.Default.unionPoint([{x:1138,y:383},{x:1138,y:493}]),
- Node121compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node121points.length;i++){
- if(i%2==0){
- Node121compspts.push(Node121points[i]-Node121rect.x);
- }else{
- Node121compspts.push(Node121points[i]-Node121rect.y);
- }
- }
- var Node121ptslength=Node121compspts.length;
- if (Node121rect.height === 0) {
- Node121compspts[0] -= 0;
- Node121compspts[Node121ptslength-2] += 0;
- } else if (Node121rect.width === 0){
- Node121compspts[1] -= 0;
- Node121compspts[Node121ptslength-1] += 0;
- } else {
- Node121compspts[0] -= 0;
- Node121compspts[1] -= 0;
- Node121compspts[Node121ptslength-2] += 0;
- Node121compspts[Node121ptslength-1] += 0;
- }
- Node121 = new ht.Node();
- Node121.borderWidth = 1;
- Node121rect.width = Node121rect.width === 0 ? 0.0001 : Node121rect.width;
- Node121rect.height = Node121rect.height === 0 ? 0.0001 : Node121rect.height;
- var Node121endCompspts = [Node121compspts[Node121ptslength-2],Node121compspts[Node121ptslength-1],0,0];
- var Node121startCompspts = [Node121compspts[0],Node121compspts[1],0,0];
- Node121.setImage(GD.getPolyLineJSON());
- Node121.setPosition(Node121rect.x+Node121rect.width/2,Node121rect.y+Node121rect.height/2);
- Node121.setSize(Node121rect.width,Node121rect.height);
- Node121.setStyle("opacity",1);
- Node121.s({'pixelPerfect':true});
- Node121borderwidth=1;
- Node121.setRotation(0);
- dataModel.add(Node121);
- Node121.a('node.points',Node121compspts);
- Node121.a('node.segments',[1,2]);
- Node121.a('node.color','rgba(255,0,255,1)');
- Node121.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node121.a('node.borderColor','rgba(255,0,255,1)');
- Node121.a('node.background','rgba(255,0,255,1)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','rgba(255,0,255,1)');
- Node121.a('node.endCompspts',Node121endCompspts);
- Node121.a('node.startCompspts',Node121startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node121';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node121, Node121.getImage(), Node121compspts, Node121endCompspts, Node121startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node122 = new ht.lib['黄色箭头'](1279*ratio.ratioX, 541*ratio.ratioY, 14*_ratio.ratioX, 70*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node122');
- _libModel.add("Node122", Node122);
- Node122.setRotation(0*Math.PI/180);
- ;
- ;
- var Node123points=[1152, 507,1279, 507],
- Node123rect=ht.Default.unionPoint([{x:1152,y:507},{x:1279,y:507}]),
- Node123compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node123points.length;i++){
- if(i%2==0){
- Node123compspts.push(Node123points[i]-Node123rect.x);
- }else{
- Node123compspts.push(Node123points[i]-Node123rect.y);
- }
- }
- var Node123ptslength=Node123compspts.length;
- if (Node123rect.height === 0) {
- Node123compspts[0] -= 0;
- Node123compspts[Node123ptslength-2] += 0;
- } else if (Node123rect.width === 0){
- Node123compspts[1] -= 0;
- Node123compspts[Node123ptslength-1] += 0;
- } else {
- Node123compspts[0] -= 0;
- Node123compspts[1] -= 0;
- Node123compspts[Node123ptslength-2] += 0;
- Node123compspts[Node123ptslength-1] += 0;
- }
- Node123 = new ht.Node();
- Node123.borderWidth = 1;
- Node123rect.width = Node123rect.width === 0 ? 0.0001 : Node123rect.width;
- Node123rect.height = Node123rect.height === 0 ? 0.0001 : Node123rect.height;
- var Node123endCompspts = [Node123compspts[Node123ptslength-2],Node123compspts[Node123ptslength-1],0,0];
- var Node123startCompspts = [Node123compspts[0],Node123compspts[1],0,0];
- Node123.setImage(GD.getPolyLineJSON());
- Node123.setPosition(Node123rect.x+Node123rect.width/2,Node123rect.y+Node123rect.height/2);
- Node123.setSize(Node123rect.width,Node123rect.height);
- Node123.setStyle("opacity",1);
- Node123.s({'pixelPerfect':true});
- Node123borderwidth=1;
- Node123.setRotation(0);
- dataModel.add(Node123);
- Node123.a('node.points',Node123compspts);
- Node123.a('node.segments',[1,2]);
- Node123.a('node.color','rgba(255,0,255,1)');
- Node123.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node123.a('node.borderColor','rgba(255,0,255,1)');
- Node123.a('node.background','rgba(255,0,255,1)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','rgba(255,0,255,1)');
- Node123.a('node.endCompspts',Node123endCompspts);
- Node123.a('node.startCompspts',Node123startCompspts);
- (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 = 'Node123';
- 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);
- }
- })(Node123, Node123.getImage(), Node123compspts, Node123endCompspts, Node123startCompspts);
- var Node124points=[1240, 507,1240, 537],
- Node124rect=ht.Default.unionPoint([{x:1240,y:507},{x:1240,y:537}]),
- Node124compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node124points.length;i++){
- if(i%2==0){
- Node124compspts.push(Node124points[i]-Node124rect.x);
- }else{
- Node124compspts.push(Node124points[i]-Node124rect.y);
- }
- }
- var Node124ptslength=Node124compspts.length;
- if (Node124rect.height === 0) {
- Node124compspts[0] -= 0;
- Node124compspts[Node124ptslength-2] += 0;
- } else if (Node124rect.width === 0){
- Node124compspts[1] -= 0;
- Node124compspts[Node124ptslength-1] += 0;
- } else {
- Node124compspts[0] -= 0;
- Node124compspts[1] -= 0;
- Node124compspts[Node124ptslength-2] += 0;
- Node124compspts[Node124ptslength-1] += 0;
- }
- Node124 = new ht.Node();
- Node124.borderWidth = 1;
- Node124rect.width = Node124rect.width === 0 ? 0.0001 : Node124rect.width;
- Node124rect.height = Node124rect.height === 0 ? 0.0001 : Node124rect.height;
- var Node124endCompspts = [Node124compspts[Node124ptslength-2],Node124compspts[Node124ptslength-1],0,0];
- var Node124startCompspts = [Node124compspts[0],Node124compspts[1],0,0];
- Node124.setImage(GD.getPolyLineJSON());
- Node124.setPosition(Node124rect.x+Node124rect.width/2,Node124rect.y+Node124rect.height/2);
- Node124.setSize(Node124rect.width,Node124rect.height);
- Node124.setStyle("opacity",1);
- Node124.s({'pixelPerfect':true});
- Node124borderwidth=1;
- Node124.setRotation(0);
- dataModel.add(Node124);
- Node124.a('node.points',Node124compspts);
- Node124.a('node.segments',[1,2]);
- Node124.a('node.color','rgba(255,0,255,1)');
- Node124.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node124.a('node.borderColor','rgba(255,0,255,1)');
- Node124.a('node.background','rgba(255,0,255,1)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','rgba(255,0,255,1)');
- Node124.a('node.endCompspts',Node124endCompspts);
- Node124.a('node.startCompspts',Node124startCompspts);
- (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 = 'Node124';
- 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);
- }
- })(Node124, Node124.getImage(), Node124compspts, Node124endCompspts, Node124startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.lib['接地'](1240*ratio.ratioX, 562*ratio.ratioY, 14*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node125');
- _libModel.add("Node125", Node125);
- Node125.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 11.99997*_ratio.ratioY,Node126width = 39*_ratio.ratioX, Node126height = 16*_ratio.ratioY;
- (function () {
- if (Node126align === 'left') {
- Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
- Node126textWidth = Node126width;
- Node126lineStart = 1;
- } else if (Node126align === 'right') {
- Node126textStart = 0;
- Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
- Node126lineStart = (Node126width - (ht.Default.getTextSize('302', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('302', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(1124*ratio.ratioX, 599*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','302');
- 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') || '302';
- var color=Node126.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node126width,Node126height,11.99997*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('302', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'left', Node127fontSize = 11.99997*_ratio.ratioY,Node127width = 39*_ratio.ratioX, Node127height = 16*_ratio.ratioY;
- (function () {
- if (Node127align === 'left') {
- Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
- Node127textWidth = Node127width;
- Node127lineStart = 1;
- } else if (Node127align === 'right') {
- Node127textStart = 0;
- Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
- Node127lineStart = (Node127width - (ht.Default.getTextSize('2020', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('2020', ' '+ Node127fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"'))
- Node127.setPosition(1206*ratio.ratioX, 546*ratio.ratioY);
- Node127.setWidth(Node127width);
- Node127.setHeight(Node127height);
- Node127._nodeType = 'text';
- Node127._disallowEvert = true;
- Node127.setRotation(0*Math.PI/180);
- Node127.a('node.width', Node127width);
- Node127.a('node.height', Node127height);
- Node127.a('node.rect', [0, 0, Node127width, Node127height]);
- Node127.a('node.bordercolor','rgba(0,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','2020');
- Node127.a('node.textalign','left');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(0,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || '2020';
- var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node127width,Node127height,11.99997*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('2020', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128_0 = new ht.Node();
- var Node128_0textStart, Node128_0textWidth, Node128_0lineStart, Node128_0align = 'left', Node128_0fontSize = 11.99997*_ratio.ratioY,Node128_0width = 28*_ratio.ratioX, Node128_0height = 16*_ratio.ratioY;
- (function () {
- if (Node128_0align === 'left') {
- Node128_0textStart = Node128_0fontSize * 0.2 > 2 ? Node128_0fontSize * 0.2 - 4 : Node128_0fontSize * 0.2 - 9;
- Node128_0textWidth = Node128_0width;
- Node128_0lineStart = 1;
- } else if (Node128_0align === 'right') {
- Node128_0textStart = 0;
- Node128_0textWidth =Node128_0fontSize <= 8 ? Node128_0width + Node128_0fontSize * 0.2 + 6 : Node128_0width - Node128_0fontSize * 0.2;
- Node128_0lineStart = (Node128_0width - (ht.Default.getTextSize('Ia :', ' '+ Node128_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128_0align === 'center') {
- Node128_0textStart = -3;
- Node128_0textWidth = Node128_0width;
- Node128_0lineStart = Node128_0width - ht.Default.getTextSize('Ia :', ' '+ Node128_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128_0.setImage(GD.getTextJSON(Node128_0width, Node128_0height, true, false, false, ' '+ Node128_0fontSize + 'px "Arial"'))
- Node128_0.setPosition(1212*ratio.ratioX, 407*ratio.ratioY);
- Node128_0.setWidth(Node128_0width);
- Node128_0.setHeight(Node128_0height);
- Node128_0._nodeType = 'text';
- Node128_0._disallowEvert = true;
- Node128_0.setRotation(0*Math.PI/180);
- Node128_0.a('node.width', Node128_0width);
- Node128_0.a('node.height', Node128_0height);
- Node128_0.a('node.rect', [0, 0, Node128_0width, Node128_0height]);
- Node128_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node128_0.a('node.borderwidth', 0);
- Node128_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node128_0.a('node.gradient','');
- Node128_0.a('node.gradientcolor','');
- Node128_0.a('node.text','Ia :');
- Node128_0.a('node.textalign','left');
- Node128_0.a('node.textvAlign','middle');
- Node128_0.a('node.textrect', [Node128_0textStart, 0, Node128_0textWidth, Node128_0height]);
- Node128_0.a('node.color','rgba(255,0,255,1)');
- Node128_0.a('node.font',' '+ Node128_0fontSize + 'px "Arial"');
- Node128_0.a('node.textvisible',true);
- Node128_0.a('node.linefeed',false);
- if (false) {
- Node128_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128_0.a('node.text') || 'Ia :';
- var color=Node128_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node128_0width,Node128_0height,11.99997*_ratio.ratioY,"left",color,' '+ Node128_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128_0.a('node.underlinepoints',[Node128_0lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node128_0fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node128_0fontSize + 'px "Arial"').width + 6, (Node128_0height - Node128_0fontSize) * 0.5*_ratio.ratioY + Node128_0fontSize + 2 ]);
- Node128_0.a('node.underlinevisible',false);
- Node128_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128_0);
- zoomNodeList.push({
- node: Node128_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128_1 = new ht.Node();
- var Node128_1textStart, Node128_1textWidth, Node128_1lineStart, Node128_1align = 'left', Node128_1fontSize = 11.99997*_ratio.ratioY,Node128_1width = 28*_ratio.ratioX, Node128_1height = 16*_ratio.ratioY;
- (function () {
- if (Node128_1align === 'left') {
- Node128_1textStart = Node128_1fontSize * 0.2 > 2 ? Node128_1fontSize * 0.2 - 4 : Node128_1fontSize * 0.2 - 9;
- Node128_1textWidth = Node128_1width;
- Node128_1lineStart = 1;
- } else if (Node128_1align === 'right') {
- Node128_1textStart = 0;
- Node128_1textWidth =Node128_1fontSize <= 8 ? Node128_1width + Node128_1fontSize * 0.2 + 6 : Node128_1width - Node128_1fontSize * 0.2;
- Node128_1lineStart = (Node128_1width - (ht.Default.getTextSize('P :', ' '+ Node128_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128_1align === 'center') {
- Node128_1textStart = -3;
- Node128_1textWidth = Node128_1width;
- Node128_1lineStart = Node128_1width - ht.Default.getTextSize('P :', ' '+ Node128_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128_1.setImage(GD.getTextJSON(Node128_1width, Node128_1height, true, false, false, ' '+ Node128_1fontSize + 'px "Arial"'))
- Node128_1.setPosition(1212*ratio.ratioX, 430*ratio.ratioY);
- Node128_1.setWidth(Node128_1width);
- Node128_1.setHeight(Node128_1height);
- Node128_1._nodeType = 'text';
- Node128_1._disallowEvert = true;
- Node128_1.setRotation(0*Math.PI/180);
- Node128_1.a('node.width', Node128_1width);
- Node128_1.a('node.height', Node128_1height);
- Node128_1.a('node.rect', [0, 0, Node128_1width, Node128_1height]);
- Node128_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node128_1.a('node.borderwidth', 0);
- Node128_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node128_1.a('node.gradient','');
- Node128_1.a('node.gradientcolor','');
- Node128_1.a('node.text','P :');
- Node128_1.a('node.textalign','left');
- Node128_1.a('node.textvAlign','middle');
- Node128_1.a('node.textrect', [Node128_1textStart, 0, Node128_1textWidth, Node128_1height]);
- Node128_1.a('node.color','rgba(0,0,0,1)');
- Node128_1.a('node.font',' '+ Node128_1fontSize + 'px "Arial"');
- Node128_1.a('node.textvisible',true);
- Node128_1.a('node.linefeed',false);
- if (false) {
- Node128_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128_1.a('node.text') || 'P :';
- var color=Node128_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node128_1width,Node128_1height,11.99997*_ratio.ratioY,"left",color,' '+ Node128_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128_1.a('node.underlinepoints',[Node128_1lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node128_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node128_1fontSize + 'px "Arial"').width + 6, (Node128_1height - Node128_1fontSize) * 0.5*_ratio.ratioY + Node128_1fontSize + 2 ]);
- Node128_1.a('node.underlinevisible',false);
- Node128_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128_1);
- zoomNodeList.push({
- node: Node128_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128_2 = new ht.Node();
- var Node128_2textStart, Node128_2textWidth, Node128_2lineStart, Node128_2align = 'left', Node128_2fontSize = 11.99997*_ratio.ratioY,Node128_2width = 28*_ratio.ratioX, Node128_2height = 16*_ratio.ratioY;
- (function () {
- if (Node128_2align === 'left') {
- Node128_2textStart = Node128_2fontSize * 0.2 > 2 ? Node128_2fontSize * 0.2 - 4 : Node128_2fontSize * 0.2 - 9;
- Node128_2textWidth = Node128_2width;
- Node128_2lineStart = 1;
- } else if (Node128_2align === 'right') {
- Node128_2textStart = 0;
- Node128_2textWidth =Node128_2fontSize <= 8 ? Node128_2width + Node128_2fontSize * 0.2 + 6 : Node128_2width - Node128_2fontSize * 0.2;
- Node128_2lineStart = (Node128_2width - (ht.Default.getTextSize('Q :', ' '+ Node128_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128_2align === 'center') {
- Node128_2textStart = -3;
- Node128_2textWidth = Node128_2width;
- Node128_2lineStart = Node128_2width - ht.Default.getTextSize('Q :', ' '+ Node128_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128_2.setImage(GD.getTextJSON(Node128_2width, Node128_2height, true, false, false, ' '+ Node128_2fontSize + 'px "Arial"'))
- Node128_2.setPosition(1212*ratio.ratioX, 451*ratio.ratioY);
- Node128_2.setWidth(Node128_2width);
- Node128_2.setHeight(Node128_2height);
- Node128_2._nodeType = 'text';
- Node128_2._disallowEvert = true;
- Node128_2.setRotation(0*Math.PI/180);
- Node128_2.a('node.width', Node128_2width);
- Node128_2.a('node.height', Node128_2height);
- Node128_2.a('node.rect', [0, 0, Node128_2width, Node128_2height]);
- Node128_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node128_2.a('node.borderwidth', 0);
- Node128_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node128_2.a('node.gradient','');
- Node128_2.a('node.gradientcolor','');
- Node128_2.a('node.text','Q :');
- Node128_2.a('node.textalign','left');
- Node128_2.a('node.textvAlign','middle');
- Node128_2.a('node.textrect', [Node128_2textStart, 0, Node128_2textWidth, Node128_2height]);
- Node128_2.a('node.color','rgba(0,0,0,1)');
- Node128_2.a('node.font',' '+ Node128_2fontSize + 'px "Arial"');
- Node128_2.a('node.textvisible',true);
- Node128_2.a('node.linefeed',false);
- if (false) {
- Node128_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128_2.a('node.text') || 'Q :';
- var color=Node128_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node128_2width,Node128_2height,11.99997*_ratio.ratioY,"left",color,' '+ Node128_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128_2.a('node.underlinepoints',[Node128_2lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node128_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node128_2fontSize + 'px "Arial"').width + 6, (Node128_2height - Node128_2fontSize) * 0.5*_ratio.ratioY + Node128_2fontSize + 2 ]);
- Node128_2.a('node.underlinevisible',false);
- Node128_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128_2);
- zoomNodeList.push({
- node: Node128_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128_3 = new ht.Node();
- var Node128_3textStart, Node128_3textWidth, Node128_3lineStart, Node128_3align = 'left', Node128_3fontSize = 11.99997*_ratio.ratioY,Node128_3width = 40*_ratio.ratioX, Node128_3height = 16*_ratio.ratioY;
- (function () {
- if (Node128_3align === 'left') {
- Node128_3textStart = Node128_3fontSize * 0.2 > 2 ? Node128_3fontSize * 0.2 - 4 : Node128_3fontSize * 0.2 - 9;
- Node128_3textWidth = Node128_3width;
- Node128_3lineStart = 1;
- } else if (Node128_3align === 'right') {
- Node128_3textStart = 0;
- Node128_3textWidth =Node128_3fontSize <= 8 ? Node128_3width + Node128_3fontSize * 0.2 + 6 : Node128_3width - Node128_3fontSize * 0.2;
- Node128_3lineStart = (Node128_3width - (ht.Default.getTextSize('COS :', ' '+ Node128_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128_3align === 'center') {
- Node128_3textStart = -3;
- Node128_3textWidth = Node128_3width;
- Node128_3lineStart = Node128_3width - ht.Default.getTextSize('COS :', ' '+ Node128_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128_3.setImage(GD.getTextJSON(Node128_3width, Node128_3height, true, false, false, ' '+ Node128_3fontSize + 'px "Arial"'))
- Node128_3.setPosition(1200*ratio.ratioX, 471*ratio.ratioY);
- Node128_3.setWidth(Node128_3width);
- Node128_3.setHeight(Node128_3height);
- Node128_3._nodeType = 'text';
- Node128_3._disallowEvert = true;
- Node128_3.setRotation(0*Math.PI/180);
- Node128_3.a('node.width', Node128_3width);
- Node128_3.a('node.height', Node128_3height);
- Node128_3.a('node.rect', [0, 0, Node128_3width, Node128_3height]);
- Node128_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node128_3.a('node.borderwidth', 0);
- Node128_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node128_3.a('node.gradient','');
- Node128_3.a('node.gradientcolor','');
- Node128_3.a('node.text','COS :');
- Node128_3.a('node.textalign','left');
- Node128_3.a('node.textvAlign','middle');
- Node128_3.a('node.textrect', [Node128_3textStart, 0, Node128_3textWidth, Node128_3height]);
- Node128_3.a('node.color','rgba(0,0,0,1)');
- Node128_3.a('node.font',' '+ Node128_3fontSize + 'px "Arial"');
- Node128_3.a('node.textvisible',true);
- Node128_3.a('node.linefeed',false);
- if (false) {
- Node128_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128_3.a('node.text') || 'COS :';
- var color=Node128_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node128_3width,Node128_3height,11.99997*_ratio.ratioY,"left",color,' '+ Node128_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128_3.a('node.underlinepoints',[Node128_3lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node128_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node128_3fontSize + 'px "Arial"').width + 6, (Node128_3height - Node128_3fontSize) * 0.5*_ratio.ratioY + Node128_3fontSize + 2 ]);
- Node128_3.a('node.underlinevisible',false);
- Node128_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128_3);
- zoomNodeList.push({
- node: Node128_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129_0 = new ht.Node();
- var Node129_0textStart, Node129_0textWidth, Node129_0lineStart, Node129_0align = 'left', Node129_0fontSize = 11.99997*_ratio.ratioY,Node129_0width = 28*_ratio.ratioX, Node129_0height = 16*_ratio.ratioY;
- (function () {
- if (Node129_0align === 'left') {
- Node129_0textStart = Node129_0fontSize * 0.2 > 2 ? Node129_0fontSize * 0.2 - 4 : Node129_0fontSize * 0.2 - 9;
- Node129_0textWidth = Node129_0width;
- Node129_0lineStart = 1;
- } else if (Node129_0align === 'right') {
- Node129_0textStart = 0;
- Node129_0textWidth =Node129_0fontSize <= 8 ? Node129_0width + Node129_0fontSize * 0.2 + 6 : Node129_0width - Node129_0fontSize * 0.2;
- Node129_0lineStart = (Node129_0width - (ht.Default.getTextSize('Ia :', ' '+ Node129_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129_0align === 'center') {
- Node129_0textStart = -3;
- Node129_0textWidth = Node129_0width;
- Node129_0lineStart = Node129_0width - ht.Default.getTextSize('Ia :', ' '+ Node129_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129_0.setImage(GD.getTextJSON(Node129_0width, Node129_0height, true, false, false, ' '+ Node129_0fontSize + 'px "Arial"'))
- Node129_0.setPosition(1049*ratio.ratioX, 558*ratio.ratioY);
- Node129_0.setWidth(Node129_0width);
- Node129_0.setHeight(Node129_0height);
- Node129_0._nodeType = 'text';
- Node129_0._disallowEvert = true;
- Node129_0.setRotation(0*Math.PI/180);
- Node129_0.a('node.width', Node129_0width);
- Node129_0.a('node.height', Node129_0height);
- Node129_0.a('node.rect', [0, 0, Node129_0width, Node129_0height]);
- Node129_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node129_0.a('node.borderwidth', 0);
- Node129_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node129_0.a('node.gradient','');
- Node129_0.a('node.gradientcolor','');
- Node129_0.a('node.text','Ia :');
- Node129_0.a('node.textalign','left');
- Node129_0.a('node.textvAlign','middle');
- Node129_0.a('node.textrect', [Node129_0textStart, 0, Node129_0textWidth, Node129_0height]);
- Node129_0.a('node.color','rgba(255,0,255,1)');
- Node129_0.a('node.font',' '+ Node129_0fontSize + 'px "Arial"');
- Node129_0.a('node.textvisible',true);
- Node129_0.a('node.linefeed',false);
- if (false) {
- Node129_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129_0.a('node.text') || 'Ia :';
- var color=Node129_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node129_0width,Node129_0height,11.99997*_ratio.ratioY,"left",color,' '+ Node129_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129_0.a('node.underlinepoints',[Node129_0lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node129_0fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node129_0fontSize + 'px "Arial"').width + 6, (Node129_0height - Node129_0fontSize) * 0.5*_ratio.ratioY + Node129_0fontSize + 2 ]);
- Node129_0.a('node.underlinevisible',false);
- Node129_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129_0);
- zoomNodeList.push({
- node: Node129_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129_1 = new ht.Node();
- var Node129_1textStart, Node129_1textWidth, Node129_1lineStart, Node129_1align = 'left', Node129_1fontSize = 11.99997*_ratio.ratioY,Node129_1width = 28*_ratio.ratioX, Node129_1height = 16*_ratio.ratioY;
- (function () {
- if (Node129_1align === 'left') {
- Node129_1textStart = Node129_1fontSize * 0.2 > 2 ? Node129_1fontSize * 0.2 - 4 : Node129_1fontSize * 0.2 - 9;
- Node129_1textWidth = Node129_1width;
- Node129_1lineStart = 1;
- } else if (Node129_1align === 'right') {
- Node129_1textStart = 0;
- Node129_1textWidth =Node129_1fontSize <= 8 ? Node129_1width + Node129_1fontSize * 0.2 + 6 : Node129_1width - Node129_1fontSize * 0.2;
- Node129_1lineStart = (Node129_1width - (ht.Default.getTextSize('P :', ' '+ Node129_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129_1align === 'center') {
- Node129_1textStart = -3;
- Node129_1textWidth = Node129_1width;
- Node129_1lineStart = Node129_1width - ht.Default.getTextSize('P :', ' '+ Node129_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129_1.setImage(GD.getTextJSON(Node129_1width, Node129_1height, true, false, false, ' '+ Node129_1fontSize + 'px "Arial"'))
- Node129_1.setPosition(1049*ratio.ratioX, 581*ratio.ratioY);
- Node129_1.setWidth(Node129_1width);
- Node129_1.setHeight(Node129_1height);
- Node129_1._nodeType = 'text';
- Node129_1._disallowEvert = true;
- Node129_1.setRotation(0*Math.PI/180);
- Node129_1.a('node.width', Node129_1width);
- Node129_1.a('node.height', Node129_1height);
- Node129_1.a('node.rect', [0, 0, Node129_1width, Node129_1height]);
- Node129_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node129_1.a('node.borderwidth', 0);
- Node129_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node129_1.a('node.gradient','');
- Node129_1.a('node.gradientcolor','');
- Node129_1.a('node.text','P :');
- Node129_1.a('node.textalign','left');
- Node129_1.a('node.textvAlign','middle');
- Node129_1.a('node.textrect', [Node129_1textStart, 0, Node129_1textWidth, Node129_1height]);
- Node129_1.a('node.color','rgba(0,0,0,1)');
- Node129_1.a('node.font',' '+ Node129_1fontSize + 'px "Arial"');
- Node129_1.a('node.textvisible',true);
- Node129_1.a('node.linefeed',false);
- if (false) {
- Node129_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129_1.a('node.text') || 'P :';
- var color=Node129_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node129_1width,Node129_1height,11.99997*_ratio.ratioY,"left",color,' '+ Node129_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129_1.a('node.underlinepoints',[Node129_1lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node129_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node129_1fontSize + 'px "Arial"').width + 6, (Node129_1height - Node129_1fontSize) * 0.5*_ratio.ratioY + Node129_1fontSize + 2 ]);
- Node129_1.a('node.underlinevisible',false);
- Node129_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129_1);
- zoomNodeList.push({
- node: Node129_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129_2 = new ht.Node();
- var Node129_2textStart, Node129_2textWidth, Node129_2lineStart, Node129_2align = 'left', Node129_2fontSize = 11.99997*_ratio.ratioY,Node129_2width = 28*_ratio.ratioX, Node129_2height = 16*_ratio.ratioY;
- (function () {
- if (Node129_2align === 'left') {
- Node129_2textStart = Node129_2fontSize * 0.2 > 2 ? Node129_2fontSize * 0.2 - 4 : Node129_2fontSize * 0.2 - 9;
- Node129_2textWidth = Node129_2width;
- Node129_2lineStart = 1;
- } else if (Node129_2align === 'right') {
- Node129_2textStart = 0;
- Node129_2textWidth =Node129_2fontSize <= 8 ? Node129_2width + Node129_2fontSize * 0.2 + 6 : Node129_2width - Node129_2fontSize * 0.2;
- Node129_2lineStart = (Node129_2width - (ht.Default.getTextSize('Q :', ' '+ Node129_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129_2align === 'center') {
- Node129_2textStart = -3;
- Node129_2textWidth = Node129_2width;
- Node129_2lineStart = Node129_2width - ht.Default.getTextSize('Q :', ' '+ Node129_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129_2.setImage(GD.getTextJSON(Node129_2width, Node129_2height, true, false, false, ' '+ Node129_2fontSize + 'px "Arial"'))
- Node129_2.setPosition(1049*ratio.ratioX, 602*ratio.ratioY);
- Node129_2.setWidth(Node129_2width);
- Node129_2.setHeight(Node129_2height);
- Node129_2._nodeType = 'text';
- Node129_2._disallowEvert = true;
- Node129_2.setRotation(0*Math.PI/180);
- Node129_2.a('node.width', Node129_2width);
- Node129_2.a('node.height', Node129_2height);
- Node129_2.a('node.rect', [0, 0, Node129_2width, Node129_2height]);
- Node129_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node129_2.a('node.borderwidth', 0);
- Node129_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node129_2.a('node.gradient','');
- Node129_2.a('node.gradientcolor','');
- Node129_2.a('node.text','Q :');
- Node129_2.a('node.textalign','left');
- Node129_2.a('node.textvAlign','middle');
- Node129_2.a('node.textrect', [Node129_2textStart, 0, Node129_2textWidth, Node129_2height]);
- Node129_2.a('node.color','rgba(0,0,0,1)');
- Node129_2.a('node.font',' '+ Node129_2fontSize + 'px "Arial"');
- Node129_2.a('node.textvisible',true);
- Node129_2.a('node.linefeed',false);
- if (false) {
- Node129_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129_2.a('node.text') || 'Q :';
- var color=Node129_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node129_2width,Node129_2height,11.99997*_ratio.ratioY,"left",color,' '+ Node129_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129_2.a('node.underlinepoints',[Node129_2lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node129_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node129_2fontSize + 'px "Arial"').width + 6, (Node129_2height - Node129_2fontSize) * 0.5*_ratio.ratioY + Node129_2fontSize + 2 ]);
- Node129_2.a('node.underlinevisible',false);
- Node129_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129_2);
- zoomNodeList.push({
- node: Node129_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129_3 = new ht.Node();
- var Node129_3textStart, Node129_3textWidth, Node129_3lineStart, Node129_3align = 'left', Node129_3fontSize = 11.99997*_ratio.ratioY,Node129_3width = 40*_ratio.ratioX, Node129_3height = 16*_ratio.ratioY;
- (function () {
- if (Node129_3align === 'left') {
- Node129_3textStart = Node129_3fontSize * 0.2 > 2 ? Node129_3fontSize * 0.2 - 4 : Node129_3fontSize * 0.2 - 9;
- Node129_3textWidth = Node129_3width;
- Node129_3lineStart = 1;
- } else if (Node129_3align === 'right') {
- Node129_3textStart = 0;
- Node129_3textWidth =Node129_3fontSize <= 8 ? Node129_3width + Node129_3fontSize * 0.2 + 6 : Node129_3width - Node129_3fontSize * 0.2;
- Node129_3lineStart = (Node129_3width - (ht.Default.getTextSize('COS :', ' '+ Node129_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129_3align === 'center') {
- Node129_3textStart = -3;
- Node129_3textWidth = Node129_3width;
- Node129_3lineStart = Node129_3width - ht.Default.getTextSize('COS :', ' '+ Node129_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129_3.setImage(GD.getTextJSON(Node129_3width, Node129_3height, true, false, false, ' '+ Node129_3fontSize + 'px "Arial"'))
- Node129_3.setPosition(1037*ratio.ratioX, 622*ratio.ratioY);
- Node129_3.setWidth(Node129_3width);
- Node129_3.setHeight(Node129_3height);
- Node129_3._nodeType = 'text';
- Node129_3._disallowEvert = true;
- Node129_3.setRotation(0*Math.PI/180);
- Node129_3.a('node.width', Node129_3width);
- Node129_3.a('node.height', Node129_3height);
- Node129_3.a('node.rect', [0, 0, Node129_3width, Node129_3height]);
- Node129_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node129_3.a('node.borderwidth', 0);
- Node129_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node129_3.a('node.gradient','');
- Node129_3.a('node.gradientcolor','');
- Node129_3.a('node.text','COS :');
- Node129_3.a('node.textalign','left');
- Node129_3.a('node.textvAlign','middle');
- Node129_3.a('node.textrect', [Node129_3textStart, 0, Node129_3textWidth, Node129_3height]);
- Node129_3.a('node.color','rgba(0,0,0,1)');
- Node129_3.a('node.font',' '+ Node129_3fontSize + 'px "Arial"');
- Node129_3.a('node.textvisible',true);
- Node129_3.a('node.linefeed',false);
- if (false) {
- Node129_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129_3.a('node.text') || 'COS :';
- var color=Node129_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node129_3width,Node129_3height,11.99997*_ratio.ratioY,"left",color,' '+ Node129_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129_3.a('node.underlinepoints',[Node129_3lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node129_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node129_3fontSize + 'px "Arial"').width + 6, (Node129_3height - Node129_3fontSize) * 0.5*_ratio.ratioY + Node129_3fontSize + 2 ]);
- Node129_3.a('node.underlinevisible',false);
- Node129_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129_3);
- zoomNodeList.push({
- node: Node129_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.lib['12345'](1374*ratio.ratioX, 532*ratio.ratioY, 57*_ratio.ratioX, 49*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node130');
- _libModel.add("Node130", Node130);
- Node130.setRotation(0*Math.PI/180);
- ;
- ;
- var Node131points=[1141, 610,1141, 630],
- Node131rect=ht.Default.unionPoint([{x:1141,y:610},{x:1141,y:630}]),
- Node131compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node131points.length;i++){
- if(i%2==0){
- Node131compspts.push(Node131points[i]-Node131rect.x);
- }else{
- Node131compspts.push(Node131points[i]-Node131rect.y);
- }
- }
- var Node131ptslength=Node131compspts.length;
- if (Node131rect.height === 0) {
- Node131compspts[0] -= 0;
- Node131compspts[Node131ptslength-2] += 0;
- } else if (Node131rect.width === 0){
- Node131compspts[1] -= 0;
- Node131compspts[Node131ptslength-1] += 0;
- } else {
- Node131compspts[0] -= 0;
- Node131compspts[1] -= 0;
- Node131compspts[Node131ptslength-2] += 0;
- Node131compspts[Node131ptslength-1] += 0;
- }
- Node131 = new ht.Node();
- Node131.borderWidth = 1;
- Node131rect.width = Node131rect.width === 0 ? 0.0001 : Node131rect.width;
- Node131rect.height = Node131rect.height === 0 ? 0.0001 : Node131rect.height;
- var Node131endCompspts = [Node131compspts[Node131ptslength-2],Node131compspts[Node131ptslength-1],0,0];
- var Node131startCompspts = [Node131compspts[0],Node131compspts[1],0,0];
- Node131.setImage(GD.getPolyLineJSON());
- Node131.setPosition(Node131rect.x+Node131rect.width/2,Node131rect.y+Node131rect.height/2);
- Node131.setSize(Node131rect.width,Node131rect.height);
- Node131.setStyle("opacity",1);
- Node131.s({'pixelPerfect':true});
- Node131borderwidth=1;
- Node131.setRotation(0);
- dataModel.add(Node131);
- Node131.a('node.points',Node131compspts);
- Node131.a('node.segments',[1,2]);
- Node131.a('node.color','rgba(255,128,0,1)');
- Node131.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node131.a('node.borderColor','rgba(255,128,0,1)');
- Node131.a('node.background','rgba(255,128,0,1)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','rgba(255,128,0,1)');
- Node131.a('node.endCompspts',Node131endCompspts);
- Node131.a('node.startCompspts',Node131startCompspts);
- (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 = 'Node131';
- 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);
- }
- })(Node131, Node131.getImage(), Node131compspts, Node131endCompspts, Node131startCompspts);
- var Node132points=[1141, 528,1141, 578],
- Node132rect=ht.Default.unionPoint([{x:1141,y:528},{x:1141,y:578}]),
- Node132compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node132points.length;i++){
- if(i%2==0){
- Node132compspts.push(Node132points[i]-Node132rect.x);
- }else{
- Node132compspts.push(Node132points[i]-Node132rect.y);
- }
- }
- var Node132ptslength=Node132compspts.length;
- if (Node132rect.height === 0) {
- Node132compspts[0] -= 0;
- Node132compspts[Node132ptslength-2] += 0;
- } else if (Node132rect.width === 0){
- Node132compspts[1] -= 0;
- Node132compspts[Node132ptslength-1] += 0;
- } else {
- Node132compspts[0] -= 0;
- Node132compspts[1] -= 0;
- Node132compspts[Node132ptslength-2] += 0;
- Node132compspts[Node132ptslength-1] += 0;
- }
- Node132 = new ht.Node();
- Node132.borderWidth = 1;
- Node132rect.width = Node132rect.width === 0 ? 0.0001 : Node132rect.width;
- Node132rect.height = Node132rect.height === 0 ? 0.0001 : Node132rect.height;
- var Node132endCompspts = [Node132compspts[Node132ptslength-2],Node132compspts[Node132ptslength-1],0,0];
- var Node132startCompspts = [Node132compspts[0],Node132compspts[1],0,0];
- Node132.setImage(GD.getPolyLineJSON());
- Node132.setPosition(Node132rect.x+Node132rect.width/2,Node132rect.y+Node132rect.height/2);
- Node132.setSize(Node132rect.width,Node132rect.height);
- Node132.setStyle("opacity",1);
- Node132.s({'pixelPerfect':true});
- Node132borderwidth=1;
- Node132.setRotation(0);
- dataModel.add(Node132);
- Node132.a('node.points',Node132compspts);
- Node132.a('node.segments',[1,2]);
- Node132.a('node.color','rgba(255,128,0,1)');
- Node132.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node132.a('node.borderColor','rgba(255,128,0,1)');
- Node132.a('node.background','rgba(255,128,0,1)');
- Node132.a('node.gradient','');
- Node132.a('node.gradientcolor','rgba(255,128,0,1)');
- Node132.a('node.endCompspts',Node132endCompspts);
- Node132.a('node.startCompspts',Node132startCompspts);
- (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 = 'Node132';
- 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);
- }
- })(Node132, Node132.getImage(), Node132compspts, Node132endCompspts, Node132startCompspts);
- var Node133points=[1380, 556,1380, 586],
- Node133rect=ht.Default.unionPoint([{x:1380,y:556},{x:1380,y:586}]),
- Node133compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node133points.length;i++){
- if(i%2==0){
- Node133compspts.push(Node133points[i]-Node133rect.x);
- }else{
- Node133compspts.push(Node133points[i]-Node133rect.y);
- }
- }
- var Node133ptslength=Node133compspts.length;
- if (Node133rect.height === 0) {
- Node133compspts[0] -= 0;
- Node133compspts[Node133ptslength-2] += 0;
- } else if (Node133rect.width === 0){
- Node133compspts[1] -= 0;
- Node133compspts[Node133ptslength-1] += 0;
- } else {
- Node133compspts[0] -= 0;
- Node133compspts[1] -= 0;
- Node133compspts[Node133ptslength-2] += 0;
- Node133compspts[Node133ptslength-1] += 0;
- }
- Node133 = new ht.Node();
- Node133.borderWidth = 1;
- Node133rect.width = Node133rect.width === 0 ? 0.0001 : Node133rect.width;
- Node133rect.height = Node133rect.height === 0 ? 0.0001 : Node133rect.height;
- var Node133endCompspts = [Node133compspts[Node133ptslength-2],Node133compspts[Node133ptslength-1],0,0];
- var Node133startCompspts = [Node133compspts[0],Node133compspts[1],0,0];
- Node133.setImage(GD.getPolyLineJSON());
- Node133.setPosition(Node133rect.x+Node133rect.width/2,Node133rect.y+Node133rect.height/2);
- Node133.setSize(Node133rect.width,Node133rect.height);
- Node133.setStyle("opacity",1);
- Node133.s({'pixelPerfect':true});
- Node133borderwidth=1;
- Node133.setRotation(0);
- dataModel.add(Node133);
- Node133.a('node.points',Node133compspts);
- Node133.a('node.segments',[1,2]);
- Node133.a('node.color','rgba(255,128,0,1)');
- Node133.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node133.a('node.borderColor','rgba(255,128,0,1)');
- Node133.a('node.background','rgba(255,128,0,1)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','rgba(255,128,0,1)');
- Node133.a('node.endCompspts',Node133endCompspts);
- Node133.a('node.startCompspts',Node133startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node133';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node133, Node133.getImage(), Node133compspts, Node133endCompspts, Node133startCompspts);
- var Node134points=[1380, 611,1380, 631],
- Node134rect=ht.Default.unionPoint([{x:1380,y:611},{x:1380,y:631}]),
- Node134compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node134points.length;i++){
- if(i%2==0){
- Node134compspts.push(Node134points[i]-Node134rect.x);
- }else{
- Node134compspts.push(Node134points[i]-Node134rect.y);
- }
- }
- var Node134ptslength=Node134compspts.length;
- if (Node134rect.height === 0) {
- Node134compspts[0] -= 0;
- Node134compspts[Node134ptslength-2] += 0;
- } else if (Node134rect.width === 0){
- Node134compspts[1] -= 0;
- Node134compspts[Node134ptslength-1] += 0;
- } else {
- Node134compspts[0] -= 0;
- Node134compspts[1] -= 0;
- Node134compspts[Node134ptslength-2] += 0;
- Node134compspts[Node134ptslength-1] += 0;
- }
- Node134 = new ht.Node();
- Node134.borderWidth = 1;
- Node134rect.width = Node134rect.width === 0 ? 0.0001 : Node134rect.width;
- Node134rect.height = Node134rect.height === 0 ? 0.0001 : Node134rect.height;
- var Node134endCompspts = [Node134compspts[Node134ptslength-2],Node134compspts[Node134ptslength-1],0,0];
- var Node134startCompspts = [Node134compspts[0],Node134compspts[1],0,0];
- Node134.setImage(GD.getPolyLineJSON());
- Node134.setPosition(Node134rect.x+Node134rect.width/2,Node134rect.y+Node134rect.height/2);
- Node134.setSize(Node134rect.width,Node134rect.height);
- Node134.setStyle("opacity",1);
- Node134.s({'pixelPerfect':true});
- Node134borderwidth=1;
- Node134.setRotation(0);
- dataModel.add(Node134);
- Node134.a('node.points',Node134compspts);
- Node134.a('node.segments',[1,2]);
- Node134.a('node.color','rgba(255,128,0,1)');
- Node134.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node134.a('node.borderColor','rgba(255,128,0,1)');
- Node134.a('node.background','rgba(255,128,0,1)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','rgba(255,128,0,1)');
- Node134.a('node.endCompspts',Node134endCompspts);
- Node134.a('node.startCompspts',Node134startCompspts);
- (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 = 'Node134';
- 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);
- }
- })(Node134, Node134.getImage(), Node134compspts, Node134endCompspts, Node134startCompspts);
- _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 = 42*_ratio.ratioX, Node135height = 16*_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(1047*ratio.ratioX, 410*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, (16 - 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 = 49*_ratio.ratioX, Node136height = 16*_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('油温1 :', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('油温1 :', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(1043*ratio.ratioX, 433*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','油温1 :');
- 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') || '油温1 :';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('油温1 :', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 49*_ratio.ratioX, Node137height = 16*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('油温2 :', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('油温2 :', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(1043*ratio.ratioX, 454*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(0,0,0,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','油温2 :');
- Node137.a('node.textalign','left');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(0,0,0,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '油温2 :';
- var color=Node137.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('油温2 :', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 42*_ratio.ratioX, Node138height = 16*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('档位 :', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('档位 :', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(1047*ratio.ratioX, 474*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(0,0,0,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','档位 :');
- Node138.a('node.textalign','left');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(0,0,0,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '档位 :';
- var color=Node138.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('档位 :', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.Node();
- var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'left', Node139fontSize = 15.99996*_ratio.ratioY,Node139width = 59*_ratio.ratioX, Node139height = 20*_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('2#主变', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('2#主变', ' '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(1045*ratio.ratioX, 387*ratio.ratioY);
- Node139.setWidth(Node139width);
- Node139.setHeight(Node139height);
- Node139._nodeType = 'text';
- Node139._disallowEvert = true;
- Node139.setRotation(0*Math.PI/180);
- Node139.a('node.width', Node139width);
- Node139.a('node.height', Node139height);
- Node139.a('node.rect', [0, 0, Node139width, Node139height]);
- Node139.a('node.bordercolor','rgba(0,0,0,1)');
- Node139.a('node.borderwidth', 0);
- Node139.a('node.background','' || 'rgba(0,0,0,0)');
- Node139.a('node.gradient','');
- Node139.a('node.gradientcolor','');
- Node139.a('node.text','2#主变');
- Node139.a('node.textalign','left');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(0,0,0,1)');
- Node139.a('node.font',' '+ 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') || '2#主变';
- var color=Node139.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node139width,Node139height,15.99996*_ratio.ratioY,"left",color,' '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('2#主变', ' '+ 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 = 15.99996*_ratio.ratioY,Node140width = 42*_ratio.ratioX, Node140height = 19*_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('PT', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('PT', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(1387*ratio.ratioX, 496*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(0,0,0,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','PT');
- Node140.a('node.textalign','left');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(0,0,0,1)');
- Node140.a('node.font',' '+ 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') || 'PT';
- var color=Node140.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node140width,Node140height,15.99996*_ratio.ratioY,"left",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (19 - 15.99996) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('PT', ' '+ 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 = 11.99997*_ratio.ratioY,Node141width = 39*_ratio.ratioX, Node141height = 16*_ratio.ratioY;
- (function () {
- if (Node141align === 'left') {
- Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9;
- Node141textWidth = Node141width;
- Node141lineStart = 1;
- } else if (Node141align === 'right') {
- Node141textStart = 0;
- Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2;
- Node141lineStart = (Node141width - (ht.Default.getTextSize('2020', ' '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('2020', ' '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(1349*ratio.ratioX, 600*ratio.ratioY);
- Node141.setWidth(Node141width);
- Node141.setHeight(Node141height);
- Node141._nodeType = 'text';
- Node141._disallowEvert = true;
- Node141.setRotation(0*Math.PI/180);
- Node141.a('node.width', Node141width);
- Node141.a('node.height', Node141height);
- Node141.a('node.rect', [0, 0, Node141width, Node141height]);
- Node141.a('node.bordercolor','rgba(0,0,0,1)');
- Node141.a('node.borderwidth', 0);
- Node141.a('node.background','' || 'rgba(0,0,0,0)');
- Node141.a('node.gradient','');
- Node141.a('node.gradientcolor','');
- Node141.a('node.text','2020');
- Node141.a('node.textalign','left');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(0,0,0,1)');
- Node141.a('node.font',' '+ 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') || '2020';
- var color=Node141.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node141width,Node141height,11.99997*_ratio.ratioY,"left",color,' '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('2020', ' '+ 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'
- }); var Node142points=[1450, 506,1450, 516],
- Node142rect=ht.Default.unionPoint([{x:1450,y:506},{x:1450,y:516}]),
- Node142compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node142points.length;i++){
- if(i%2==0){
- Node142compspts.push(Node142points[i]-Node142rect.x);
- }else{
- Node142compspts.push(Node142points[i]-Node142rect.y);
- }
- }
- var Node142ptslength=Node142compspts.length;
- if (Node142rect.height === 0) {
- Node142compspts[0] -= 0;
- Node142compspts[Node142ptslength-2] += 0;
- } else if (Node142rect.width === 0){
- Node142compspts[1] -= 0;
- Node142compspts[Node142ptslength-1] += 0;
- } else {
- Node142compspts[0] -= 0;
- Node142compspts[1] -= 0;
- Node142compspts[Node142ptslength-2] += 0;
- Node142compspts[Node142ptslength-1] += 0;
- }
- Node142 = new ht.Node();
- Node142.borderWidth = 1;
- Node142rect.width = Node142rect.width === 0 ? 0.0001 : Node142rect.width;
- Node142rect.height = Node142rect.height === 0 ? 0.0001 : Node142rect.height;
- var Node142endCompspts = [Node142compspts[Node142ptslength-2],Node142compspts[Node142ptslength-1],0,0];
- var Node142startCompspts = [Node142compspts[0],Node142compspts[1],0,0];
- Node142.setImage(GD.getPolyLineJSON());
- Node142.setPosition(Node142rect.x+Node142rect.width/2,Node142rect.y+Node142rect.height/2);
- Node142.setSize(Node142rect.width,Node142rect.height);
- Node142.setStyle("opacity",1);
- Node142.s({'pixelPerfect':true});
- Node142borderwidth=1;
- Node142.setRotation(0);
- dataModel.add(Node142);
- Node142.a('node.points',Node142compspts);
- Node142.a('node.segments',[1,2]);
- Node142.a('node.color','rgba(255,128,0,1)');
- Node142.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node142.a('node.borderColor','rgba(255,128,0,1)');
- Node142.a('node.background','rgba(255,128,0,1)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','rgba(255,128,0,1)');
- Node142.a('node.endCompspts',Node142endCompspts);
- Node142.a('node.startCompspts',Node142startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node142';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node142, Node142.getImage(), Node142compspts, Node142endCompspts, Node142startCompspts);
- var Node143points=[1451, 516,1471, 516],
- Node143rect=ht.Default.unionPoint([{x:1451,y:516},{x:1471,y:516}]),
- Node143compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node143points.length;i++){
- if(i%2==0){
- Node143compspts.push(Node143points[i]-Node143rect.x);
- }else{
- Node143compspts.push(Node143points[i]-Node143rect.y);
- }
- }
- var Node143ptslength=Node143compspts.length;
- if (Node143rect.height === 0) {
- Node143compspts[0] -= 0;
- Node143compspts[Node143ptslength-2] += 0;
- } else if (Node143rect.width === 0){
- Node143compspts[1] -= 0;
- Node143compspts[Node143ptslength-1] += 0;
- } else {
- Node143compspts[0] -= 0;
- Node143compspts[1] -= 0;
- Node143compspts[Node143ptslength-2] += 0;
- Node143compspts[Node143ptslength-1] += 0;
- }
- Node143 = new ht.Node();
- Node143.borderWidth = 1;
- Node143rect.width = Node143rect.width === 0 ? 0.0001 : Node143rect.width;
- Node143rect.height = Node143rect.height === 0 ? 0.0001 : Node143rect.height;
- var Node143endCompspts = [Node143compspts[Node143ptslength-2],Node143compspts[Node143ptslength-1],0,0];
- var Node143startCompspts = [Node143compspts[0],Node143compspts[1],0,0];
- Node143.setImage(GD.getPolyLineJSON());
- Node143.setPosition(Node143rect.x+Node143rect.width/2,Node143rect.y+Node143rect.height/2);
- Node143.setSize(Node143rect.width,Node143rect.height);
- Node143.setStyle("opacity",1);
- Node143.s({'pixelPerfect':true});
- Node143borderwidth=1;
- Node143.setRotation(0);
- dataModel.add(Node143);
- Node143.a('node.points',Node143compspts);
- Node143.a('node.segments',[1,2]);
- Node143.a('node.color','rgba(255,128,0,1)');
- Node143.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node143.a('node.borderColor','rgba(255,128,0,1)');
- Node143.a('node.background','rgba(255,128,0,1)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','rgba(255,128,0,1)');
- Node143.a('node.endCompspts',Node143endCompspts);
- Node143.a('node.startCompspts',Node143startCompspts);
- (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 = 'Node143';
- 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);
- }
- })(Node143, Node143.getImage(), Node143compspts, Node143endCompspts, Node143startCompspts);
- var Node144points=[1472, 503,1472, 523],
- Node144rect=ht.Default.unionPoint([{x:1472,y:503},{x:1472,y:523}]),
- Node144compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node144points.length;i++){
- if(i%2==0){
- Node144compspts.push(Node144points[i]-Node144rect.x);
- }else{
- Node144compspts.push(Node144points[i]-Node144rect.y);
- }
- }
- var Node144ptslength=Node144compspts.length;
- if (Node144rect.height === 0) {
- Node144compspts[0] -= 0;
- Node144compspts[Node144ptslength-2] += 0;
- } else if (Node144rect.width === 0){
- Node144compspts[1] -= 0;
- Node144compspts[Node144ptslength-1] += 0;
- } else {
- Node144compspts[0] -= 0;
- Node144compspts[1] -= 0;
- Node144compspts[Node144ptslength-2] += 0;
- Node144compspts[Node144ptslength-1] += 0;
- }
- Node144 = new ht.Node();
- Node144.borderWidth = 1;
- Node144rect.width = Node144rect.width === 0 ? 0.0001 : Node144rect.width;
- Node144rect.height = Node144rect.height === 0 ? 0.0001 : Node144rect.height;
- var Node144endCompspts = [Node144compspts[Node144ptslength-2],Node144compspts[Node144ptslength-1],0,0];
- var Node144startCompspts = [Node144compspts[0],Node144compspts[1],0,0];
- Node144.setImage(GD.getPolyLineJSON());
- Node144.setPosition(Node144rect.x+Node144rect.width/2,Node144rect.y+Node144rect.height/2);
- Node144.setSize(Node144rect.width,Node144rect.height);
- Node144.setStyle("opacity",1);
- Node144.s({'pixelPerfect':true});
- Node144borderwidth=1;
- Node144.setRotation(0);
- dataModel.add(Node144);
- Node144.a('node.points',Node144compspts);
- Node144.a('node.segments',[1,2]);
- Node144.a('node.color','rgba(255,128,0,1)');
- Node144.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node144.a('node.borderColor','rgba(255,128,0,1)');
- Node144.a('node.background','rgba(255,128,0,1)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','rgba(255,128,0,1)');
- Node144.a('node.endCompspts',Node144endCompspts);
- Node144.a('node.startCompspts',Node144startCompspts);
- (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 = 'Node144';
- 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);
- }
- })(Node144, Node144.getImage(), Node144compspts, Node144endCompspts, Node144startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.lib['黄色向上接地'](1450*ratio.ratioX, 480*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node145');
- _libModel.add("Node145", Node145);
- Node145.setRotation(0*Math.PI/180);
- ;
- ;
- var Node146points=[1565, 506,1565, 516],
- Node146rect=ht.Default.unionPoint([{x:1565,y:506},{x:1565,y:516}]),
- Node146compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node146points.length;i++){
- if(i%2==0){
- Node146compspts.push(Node146points[i]-Node146rect.x);
- }else{
- Node146compspts.push(Node146points[i]-Node146rect.y);
- }
- }
- var Node146ptslength=Node146compspts.length;
- if (Node146rect.height === 0) {
- Node146compspts[0] -= 0;
- Node146compspts[Node146ptslength-2] += 0;
- } else if (Node146rect.width === 0){
- Node146compspts[1] -= 0;
- Node146compspts[Node146ptslength-1] += 0;
- } else {
- Node146compspts[0] -= 0;
- Node146compspts[1] -= 0;
- Node146compspts[Node146ptslength-2] += 0;
- Node146compspts[Node146ptslength-1] += 0;
- }
- Node146 = new ht.Node();
- Node146.borderWidth = 1;
- Node146rect.width = Node146rect.width === 0 ? 0.0001 : Node146rect.width;
- Node146rect.height = Node146rect.height === 0 ? 0.0001 : Node146rect.height;
- var Node146endCompspts = [Node146compspts[Node146ptslength-2],Node146compspts[Node146ptslength-1],0,0];
- var Node146startCompspts = [Node146compspts[0],Node146compspts[1],0,0];
- Node146.setImage(GD.getPolyLineJSON());
- Node146.setPosition(Node146rect.x+Node146rect.width/2,Node146rect.y+Node146rect.height/2);
- Node146.setSize(Node146rect.width,Node146rect.height);
- Node146.setStyle("opacity",1);
- Node146.s({'pixelPerfect':true});
- Node146borderwidth=1;
- Node146.setRotation(0);
- dataModel.add(Node146);
- Node146.a('node.points',Node146compspts);
- Node146.a('node.segments',[1,2]);
- Node146.a('node.color','rgba(255,128,0,1)');
- Node146.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node146.a('node.borderColor','rgba(255,128,0,1)');
- Node146.a('node.background','rgba(255,128,0,1)');
- Node146.a('node.gradient','');
- Node146.a('node.gradientcolor','rgba(255,128,0,1)');
- Node146.a('node.endCompspts',Node146endCompspts);
- Node146.a('node.startCompspts',Node146startCompspts);
- (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 = 'Node146';
- 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);
- }
- })(Node146, Node146.getImage(), Node146compspts, Node146endCompspts, Node146startCompspts);
- var Node147points=[1545, 516,1565, 516],
- Node147rect=ht.Default.unionPoint([{x:1545,y:516},{x:1565,y:516}]),
- Node147compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node147points.length;i++){
- if(i%2==0){
- Node147compspts.push(Node147points[i]-Node147rect.x);
- }else{
- Node147compspts.push(Node147points[i]-Node147rect.y);
- }
- }
- var Node147ptslength=Node147compspts.length;
- if (Node147rect.height === 0) {
- Node147compspts[0] -= 0;
- Node147compspts[Node147ptslength-2] += 0;
- } else if (Node147rect.width === 0){
- Node147compspts[1] -= 0;
- Node147compspts[Node147ptslength-1] += 0;
- } else {
- Node147compspts[0] -= 0;
- Node147compspts[1] -= 0;
- Node147compspts[Node147ptslength-2] += 0;
- Node147compspts[Node147ptslength-1] += 0;
- }
- Node147 = new ht.Node();
- Node147.borderWidth = 1;
- Node147rect.width = Node147rect.width === 0 ? 0.0001 : Node147rect.width;
- Node147rect.height = Node147rect.height === 0 ? 0.0001 : Node147rect.height;
- var Node147endCompspts = [Node147compspts[Node147ptslength-2],Node147compspts[Node147ptslength-1],0,0];
- var Node147startCompspts = [Node147compspts[0],Node147compspts[1],0,0];
- Node147.setImage(GD.getPolyLineJSON());
- Node147.setPosition(Node147rect.x+Node147rect.width/2,Node147rect.y+Node147rect.height/2);
- Node147.setSize(Node147rect.width,Node147rect.height);
- Node147.setStyle("opacity",1);
- Node147.s({'pixelPerfect':true});
- Node147borderwidth=1;
- Node147.setRotation(0);
- dataModel.add(Node147);
- Node147.a('node.points',Node147compspts);
- Node147.a('node.segments',[1,2]);
- Node147.a('node.color','rgba(255,128,0,1)');
- Node147.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node147.a('node.borderColor','rgba(255,128,0,1)');
- Node147.a('node.background','rgba(255,128,0,1)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','rgba(255,128,0,1)');
- Node147.a('node.endCompspts',Node147endCompspts);
- Node147.a('node.startCompspts',Node147startCompspts);
- (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 = 'Node147';
- 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);
- }
- })(Node147, Node147.getImage(), Node147compspts, Node147endCompspts, Node147startCompspts);
- var Node148points=[1545, 503,1545, 523],
- Node148rect=ht.Default.unionPoint([{x:1545,y:503},{x:1545,y:523}]),
- Node148compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node148points.length;i++){
- if(i%2==0){
- Node148compspts.push(Node148points[i]-Node148rect.x);
- }else{
- Node148compspts.push(Node148points[i]-Node148rect.y);
- }
- }
- var Node148ptslength=Node148compspts.length;
- if (Node148rect.height === 0) {
- Node148compspts[0] -= 0;
- Node148compspts[Node148ptslength-2] += 0;
- } else if (Node148rect.width === 0){
- Node148compspts[1] -= 0;
- Node148compspts[Node148ptslength-1] += 0;
- } else {
- Node148compspts[0] -= 0;
- Node148compspts[1] -= 0;
- Node148compspts[Node148ptslength-2] += 0;
- Node148compspts[Node148ptslength-1] += 0;
- }
- Node148 = new ht.Node();
- Node148.borderWidth = 1;
- Node148rect.width = Node148rect.width === 0 ? 0.0001 : Node148rect.width;
- Node148rect.height = Node148rect.height === 0 ? 0.0001 : Node148rect.height;
- var Node148endCompspts = [Node148compspts[Node148ptslength-2],Node148compspts[Node148ptslength-1],0,0];
- var Node148startCompspts = [Node148compspts[0],Node148compspts[1],0,0];
- Node148.setImage(GD.getPolyLineJSON());
- Node148.setPosition(Node148rect.x+Node148rect.width/2,Node148rect.y+Node148rect.height/2);
- Node148.setSize(Node148rect.width,Node148rect.height);
- Node148.setStyle("opacity",1);
- Node148.s({'pixelPerfect':true});
- Node148borderwidth=1;
- Node148.setRotation(0);
- dataModel.add(Node148);
- Node148.a('node.points',Node148compspts);
- Node148.a('node.segments',[1,2]);
- Node148.a('node.color','rgba(255,128,0,1)');
- Node148.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node148.a('node.borderColor','rgba(255,128,0,1)');
- Node148.a('node.background','rgba(255,128,0,1)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','rgba(255,128,0,1)');
- Node148.a('node.endCompspts',Node148endCompspts);
- Node148.a('node.startCompspts',Node148startCompspts);
- (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 = 'Node148';
- 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);
- }
- })(Node148, Node148.getImage(), Node148compspts, Node148endCompspts, Node148startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149 = new ht.lib['黄色向上接地'](1565*ratio.ratioX, 481*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node149');
- _libModel.add("Node149", Node149);
- Node149.setRotation(0*Math.PI/180);
- ;
- ;
- var Node150points=[1510, 501,1510, 576],
- Node150rect=ht.Default.unionPoint([{x:1510,y:501},{x:1510,y:576}]),
- Node150compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node150points.length;i++){
- if(i%2==0){
- Node150compspts.push(Node150points[i]-Node150rect.x);
- }else{
- Node150compspts.push(Node150points[i]-Node150rect.y);
- }
- }
- var Node150ptslength=Node150compspts.length;
- if (Node150rect.height === 0) {
- Node150compspts[0] -= 0;
- Node150compspts[Node150ptslength-2] += 0;
- } else if (Node150rect.width === 0){
- Node150compspts[1] -= 0;
- Node150compspts[Node150ptslength-1] += 0;
- } else {
- Node150compspts[0] -= 0;
- Node150compspts[1] -= 0;
- Node150compspts[Node150ptslength-2] += 0;
- Node150compspts[Node150ptslength-1] += 0;
- }
- Node150 = new ht.Node();
- Node150.borderWidth = 1;
- Node150rect.width = Node150rect.width === 0 ? 0.0001 : Node150rect.width;
- Node150rect.height = Node150rect.height === 0 ? 0.0001 : Node150rect.height;
- var Node150endCompspts = [Node150compspts[Node150ptslength-2],Node150compspts[Node150ptslength-1],0,0];
- var Node150startCompspts = [Node150compspts[0],Node150compspts[1],0,0];
- Node150.setImage(GD.getPolyLineJSON());
- Node150.setPosition(Node150rect.x+Node150rect.width/2,Node150rect.y+Node150rect.height/2);
- Node150.setSize(Node150rect.width,Node150rect.height);
- Node150.setStyle("opacity",1);
- Node150.s({'pixelPerfect':true});
- Node150borderwidth=1;
- Node150.setRotation(0);
- dataModel.add(Node150);
- Node150.a('node.points',Node150compspts);
- Node150.a('node.segments',[1,2]);
- Node150.a('node.color','rgba(255,128,0,1)');
- Node150.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node150.a('node.borderColor','rgba(255,128,0,1)');
- Node150.a('node.background','rgba(255,128,0,1)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','rgba(255,128,0,1)');
- Node150.a('node.endCompspts',Node150endCompspts);
- Node150.a('node.startCompspts',Node150startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node150';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node150, Node150.getImage(), Node150compspts, Node150endCompspts, Node150startCompspts);
- var Node151points=[1473, 546,1543, 546],
- Node151rect=ht.Default.unionPoint([{x:1473,y:546},{x:1543,y:546}]),
- Node151compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node151points.length;i++){
- if(i%2==0){
- Node151compspts.push(Node151points[i]-Node151rect.x);
- }else{
- Node151compspts.push(Node151points[i]-Node151rect.y);
- }
- }
- var Node151ptslength=Node151compspts.length;
- if (Node151rect.height === 0) {
- Node151compspts[0] -= 0;
- Node151compspts[Node151ptslength-2] += 0;
- } else if (Node151rect.width === 0){
- Node151compspts[1] -= 0;
- Node151compspts[Node151ptslength-1] += 0;
- } else {
- Node151compspts[0] -= 0;
- Node151compspts[1] -= 0;
- Node151compspts[Node151ptslength-2] += 0;
- Node151compspts[Node151ptslength-1] += 0;
- }
- Node151 = new ht.Node();
- Node151.borderWidth = 1;
- Node151rect.width = Node151rect.width === 0 ? 0.0001 : Node151rect.width;
- Node151rect.height = Node151rect.height === 0 ? 0.0001 : Node151rect.height;
- var Node151endCompspts = [Node151compspts[Node151ptslength-2],Node151compspts[Node151ptslength-1],0,0];
- var Node151startCompspts = [Node151compspts[0],Node151compspts[1],0,0];
- Node151.setImage(GD.getPolyLineJSON());
- Node151.setPosition(Node151rect.x+Node151rect.width/2,Node151rect.y+Node151rect.height/2);
- Node151.setSize(Node151rect.width,Node151rect.height);
- Node151.setStyle("opacity",1);
- Node151.s({'pixelPerfect':true});
- Node151borderwidth=1;
- Node151.setRotation(0);
- dataModel.add(Node151);
- Node151.a('node.points',Node151compspts);
- Node151.a('node.segments',[1,2]);
- Node151.a('node.color','rgba(255,128,0,1)');
- Node151.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node151.a('node.borderColor','rgba(255,128,0,1)');
- Node151.a('node.background','rgba(255,128,0,1)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','rgba(255,128,0,1)');
- Node151.a('node.endCompspts',Node151endCompspts);
- Node151.a('node.startCompspts',Node151startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node151';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node151, Node151.getImage(), Node151compspts, Node151endCompspts, Node151startCompspts);
- var Node152points=[1511, 564,1601, 564],
- Node152rect=ht.Default.unionPoint([{x:1511,y:564},{x:1601,y:564}]),
- Node152compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node152points.length;i++){
- if(i%2==0){
- Node152compspts.push(Node152points[i]-Node152rect.x);
- }else{
- Node152compspts.push(Node152points[i]-Node152rect.y);
- }
- }
- var Node152ptslength=Node152compspts.length;
- if (Node152rect.height === 0) {
- Node152compspts[0] -= 0;
- Node152compspts[Node152ptslength-2] += 0;
- } else if (Node152rect.width === 0){
- Node152compspts[1] -= 0;
- Node152compspts[Node152ptslength-1] += 0;
- } else {
- Node152compspts[0] -= 0;
- Node152compspts[1] -= 0;
- Node152compspts[Node152ptslength-2] += 0;
- Node152compspts[Node152ptslength-1] += 0;
- }
- Node152 = new ht.Node();
- Node152.borderWidth = 1;
- Node152rect.width = Node152rect.width === 0 ? 0.0001 : Node152rect.width;
- Node152rect.height = Node152rect.height === 0 ? 0.0001 : Node152rect.height;
- var Node152endCompspts = [Node152compspts[Node152ptslength-2],Node152compspts[Node152ptslength-1],0,0];
- var Node152startCompspts = [Node152compspts[0],Node152compspts[1],0,0];
- Node152.setImage(GD.getPolyLineJSON());
- Node152.setPosition(Node152rect.x+Node152rect.width/2,Node152rect.y+Node152rect.height/2);
- Node152.setSize(Node152rect.width,Node152rect.height);
- Node152.setStyle("opacity",1);
- Node152.s({'pixelPerfect':true});
- Node152borderwidth=1;
- Node152.setRotation(0);
- dataModel.add(Node152);
- Node152.a('node.points',Node152compspts);
- Node152.a('node.segments',[1,2]);
- Node152.a('node.color','rgba(255,128,0,1)');
- Node152.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node152.a('node.borderColor','rgba(255,128,0,1)');
- Node152.a('node.background','rgba(255,128,0,1)');
- Node152.a('node.gradient','');
- Node152.a('node.gradientcolor','rgba(255,128,0,1)');
- Node152.a('node.endCompspts',Node152endCompspts);
- Node152.a('node.startCompspts',Node152startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node152';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node152, Node152.getImage(), Node152compspts, Node152endCompspts, Node152startCompspts);
- var Node153points=[1602, 554,1602, 564],
- Node153rect=ht.Default.unionPoint([{x:1602,y:554},{x:1602,y:564}]),
- Node153compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node153points.length;i++){
- if(i%2==0){
- Node153compspts.push(Node153points[i]-Node153rect.x);
- }else{
- Node153compspts.push(Node153points[i]-Node153rect.y);
- }
- }
- var Node153ptslength=Node153compspts.length;
- if (Node153rect.height === 0) {
- Node153compspts[0] -= 0;
- Node153compspts[Node153ptslength-2] += 0;
- } else if (Node153rect.width === 0){
- Node153compspts[1] -= 0;
- Node153compspts[Node153ptslength-1] += 0;
- } else {
- Node153compspts[0] -= 0;
- Node153compspts[1] -= 0;
- Node153compspts[Node153ptslength-2] += 0;
- Node153compspts[Node153ptslength-1] += 0;
- }
- Node153 = new ht.Node();
- Node153.borderWidth = 1;
- Node153rect.width = Node153rect.width === 0 ? 0.0001 : Node153rect.width;
- Node153rect.height = Node153rect.height === 0 ? 0.0001 : Node153rect.height;
- var Node153endCompspts = [Node153compspts[Node153ptslength-2],Node153compspts[Node153ptslength-1],0,0];
- var Node153startCompspts = [Node153compspts[0],Node153compspts[1],0,0];
- Node153.setImage(GD.getPolyLineJSON());
- Node153.setPosition(Node153rect.x+Node153rect.width/2,Node153rect.y+Node153rect.height/2);
- Node153.setSize(Node153rect.width,Node153rect.height);
- Node153.setStyle("opacity",1);
- Node153.s({'pixelPerfect':true});
- Node153borderwidth=1;
- Node153.setRotation(0);
- dataModel.add(Node153);
- Node153.a('node.points',Node153compspts);
- Node153.a('node.segments',[1,2]);
- Node153.a('node.color','rgba(255,128,0,1)');
- Node153.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node153.a('node.borderColor','rgba(255,128,0,1)');
- Node153.a('node.background','rgba(255,128,0,1)');
- Node153.a('node.gradient','');
- Node153.a('node.gradientcolor','rgba(255,128,0,1)');
- Node153.a('node.endCompspts',Node153endCompspts);
- Node153.a('node.startCompspts',Node153startCompspts);
- (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 = 'Node153';
- 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);
- }
- })(Node153, Node153.getImage(), Node153compspts, Node153endCompspts, Node153startCompspts);
- var Node154points=[1544, 536,1544, 546],
- Node154rect=ht.Default.unionPoint([{x:1544,y:536},{x:1544,y:546}]),
- Node154compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node154points.length;i++){
- if(i%2==0){
- Node154compspts.push(Node154points[i]-Node154rect.x);
- }else{
- Node154compspts.push(Node154points[i]-Node154rect.y);
- }
- }
- var Node154ptslength=Node154compspts.length;
- if (Node154rect.height === 0) {
- Node154compspts[0] -= 0;
- Node154compspts[Node154ptslength-2] += 0;
- } else if (Node154rect.width === 0){
- Node154compspts[1] -= 0;
- Node154compspts[Node154ptslength-1] += 0;
- } else {
- Node154compspts[0] -= 0;
- Node154compspts[1] -= 0;
- Node154compspts[Node154ptslength-2] += 0;
- Node154compspts[Node154ptslength-1] += 0;
- }
- Node154 = new ht.Node();
- Node154.borderWidth = 1;
- Node154rect.width = Node154rect.width === 0 ? 0.0001 : Node154rect.width;
- Node154rect.height = Node154rect.height === 0 ? 0.0001 : Node154rect.height;
- var Node154endCompspts = [Node154compspts[Node154ptslength-2],Node154compspts[Node154ptslength-1],0,0];
- var Node154startCompspts = [Node154compspts[0],Node154compspts[1],0,0];
- Node154.setImage(GD.getPolyLineJSON());
- Node154.setPosition(Node154rect.x+Node154rect.width/2,Node154rect.y+Node154rect.height/2);
- Node154.setSize(Node154rect.width,Node154rect.height);
- Node154.setStyle("opacity",1);
- Node154.s({'pixelPerfect':true});
- Node154borderwidth=1;
- Node154.setRotation(0);
- dataModel.add(Node154);
- Node154.a('node.points',Node154compspts);
- Node154.a('node.segments',[1,2]);
- Node154.a('node.color','rgba(255,128,0,1)');
- Node154.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node154.a('node.borderColor','rgba(255,128,0,1)');
- Node154.a('node.background','rgba(255,128,0,1)');
- Node154.a('node.gradient','');
- Node154.a('node.gradientcolor','rgba(255,128,0,1)');
- Node154.a('node.endCompspts',Node154endCompspts);
- Node154.a('node.startCompspts',Node154startCompspts);
- (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 = 'Node154';
- 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);
- }
- })(Node154, Node154.getImage(), Node154compspts, Node154endCompspts, Node154startCompspts);
- var Node155points=[1473, 536,1473, 546],
- Node155rect=ht.Default.unionPoint([{x:1473,y:536},{x:1473,y:546}]),
- Node155compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node155points.length;i++){
- if(i%2==0){
- Node155compspts.push(Node155points[i]-Node155rect.x);
- }else{
- Node155compspts.push(Node155points[i]-Node155rect.y);
- }
- }
- var Node155ptslength=Node155compspts.length;
- if (Node155rect.height === 0) {
- Node155compspts[0] -= 0;
- Node155compspts[Node155ptslength-2] += 0;
- } else if (Node155rect.width === 0){
- Node155compspts[1] -= 0;
- Node155compspts[Node155ptslength-1] += 0;
- } else {
- Node155compspts[0] -= 0;
- Node155compspts[1] -= 0;
- Node155compspts[Node155ptslength-2] += 0;
- Node155compspts[Node155ptslength-1] += 0;
- }
- Node155 = new ht.Node();
- Node155.borderWidth = 1;
- Node155rect.width = Node155rect.width === 0 ? 0.0001 : Node155rect.width;
- Node155rect.height = Node155rect.height === 0 ? 0.0001 : Node155rect.height;
- var Node155endCompspts = [Node155compspts[Node155ptslength-2],Node155compspts[Node155ptslength-1],0,0];
- var Node155startCompspts = [Node155compspts[0],Node155compspts[1],0,0];
- Node155.setImage(GD.getPolyLineJSON());
- Node155.setPosition(Node155rect.x+Node155rect.width/2,Node155rect.y+Node155rect.height/2);
- Node155.setSize(Node155rect.width,Node155rect.height);
- Node155.setStyle("opacity",1);
- Node155.s({'pixelPerfect':true});
- Node155borderwidth=1;
- Node155.setRotation(0);
- dataModel.add(Node155);
- Node155.a('node.points',Node155compspts);
- Node155.a('node.segments',[1,2]);
- Node155.a('node.color','rgba(255,128,0,1)');
- Node155.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node155.a('node.borderColor','rgba(255,128,0,1)');
- Node155.a('node.background','rgba(255,128,0,1)');
- Node155.a('node.gradient','');
- Node155.a('node.gradientcolor','rgba(255,128,0,1)');
- Node155.a('node.endCompspts',Node155endCompspts);
- Node155.a('node.startCompspts',Node155startCompspts);
- (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 = 'Node155';
- 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);
- }
- })(Node155, Node155.getImage(), Node155compspts, Node155endCompspts, Node155startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.lib['黄色向上接地'](1600*ratio.ratioX, 531*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node156');
- _libModel.add("Node156", Node156);
- Node156.setRotation(0*Math.PI/180);
- ;
- ;
- var Node157points=[1509, 611,1509, 631],
- Node157rect=ht.Default.unionPoint([{x:1509,y:611},{x:1509,y:631}]),
- Node157compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node157points.length;i++){
- if(i%2==0){
- Node157compspts.push(Node157points[i]-Node157rect.x);
- }else{
- Node157compspts.push(Node157points[i]-Node157rect.y);
- }
- }
- var Node157ptslength=Node157compspts.length;
- if (Node157rect.height === 0) {
- Node157compspts[0] -= 0;
- Node157compspts[Node157ptslength-2] += 0;
- } else if (Node157rect.width === 0){
- Node157compspts[1] -= 0;
- Node157compspts[Node157ptslength-1] += 0;
- } else {
- Node157compspts[0] -= 0;
- Node157compspts[1] -= 0;
- Node157compspts[Node157ptslength-2] += 0;
- Node157compspts[Node157ptslength-1] += 0;
- }
- Node157 = new ht.Node();
- Node157.borderWidth = 1;
- Node157rect.width = Node157rect.width === 0 ? 0.0001 : Node157rect.width;
- Node157rect.height = Node157rect.height === 0 ? 0.0001 : Node157rect.height;
- var Node157endCompspts = [Node157compspts[Node157ptslength-2],Node157compspts[Node157ptslength-1],0,0];
- var Node157startCompspts = [Node157compspts[0],Node157compspts[1],0,0];
- Node157.setImage(GD.getPolyLineJSON());
- Node157.setPosition(Node157rect.x+Node157rect.width/2,Node157rect.y+Node157rect.height/2);
- Node157.setSize(Node157rect.width,Node157rect.height);
- Node157.setStyle("opacity",1);
- Node157.s({'pixelPerfect':true});
- Node157borderwidth=1;
- Node157.setRotation(0);
- dataModel.add(Node157);
- Node157.a('node.points',Node157compspts);
- Node157.a('node.segments',[1,2]);
- Node157.a('node.color','rgba(255,128,0,1)');
- Node157.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node157.a('node.borderColor','rgba(255,128,0,1)');
- Node157.a('node.background','rgba(255,128,0,1)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','rgba(255,128,0,1)');
- Node157.a('node.endCompspts',Node157endCompspts);
- Node157.a('node.startCompspts',Node157startCompspts);
- (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 = 'Node157';
- 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);
- }
- })(Node157, Node157.getImage(), Node157compspts, Node157endCompspts, Node157startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158_0 = new ht.Node();
- var Node158_0textStart, Node158_0textWidth, Node158_0lineStart, Node158_0align = 'left', Node158_0fontSize = 11.99997*_ratio.ratioY,Node158_0width = 28*_ratio.ratioX, Node158_0height = 16*_ratio.ratioY;
- (function () {
- if (Node158_0align === 'left') {
- Node158_0textStart = Node158_0fontSize * 0.2 > 2 ? Node158_0fontSize * 0.2 - 4 : Node158_0fontSize * 0.2 - 9;
- Node158_0textWidth = Node158_0width;
- Node158_0lineStart = 1;
- } else if (Node158_0align === 'right') {
- Node158_0textStart = 0;
- Node158_0textWidth =Node158_0fontSize <= 8 ? Node158_0width + Node158_0fontSize * 0.2 + 6 : Node158_0width - Node158_0fontSize * 0.2;
- Node158_0lineStart = (Node158_0width - (ht.Default.getTextSize('Ia :', ' '+ Node158_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158_0align === 'center') {
- Node158_0textStart = -3;
- Node158_0textWidth = Node158_0width;
- Node158_0lineStart = Node158_0width - ht.Default.getTextSize('Ia :', ' '+ Node158_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158_0.setImage(GD.getTextJSON(Node158_0width, Node158_0height, true, false, false, ' '+ Node158_0fontSize + 'px "Arial"'))
- Node158_0.setPosition(1502*ratio.ratioX, 407*ratio.ratioY);
- Node158_0.setWidth(Node158_0width);
- Node158_0.setHeight(Node158_0height);
- Node158_0._nodeType = 'text';
- Node158_0._disallowEvert = true;
- Node158_0.setRotation(0*Math.PI/180);
- Node158_0.a('node.width', Node158_0width);
- Node158_0.a('node.height', Node158_0height);
- Node158_0.a('node.rect', [0, 0, Node158_0width, Node158_0height]);
- Node158_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node158_0.a('node.borderwidth', 0);
- Node158_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node158_0.a('node.gradient','');
- Node158_0.a('node.gradientcolor','');
- Node158_0.a('node.text','Ia :');
- Node158_0.a('node.textalign','left');
- Node158_0.a('node.textvAlign','middle');
- Node158_0.a('node.textrect', [Node158_0textStart, 0, Node158_0textWidth, Node158_0height]);
- Node158_0.a('node.color','rgba(255,0,255,1)');
- Node158_0.a('node.font',' '+ Node158_0fontSize + 'px "Arial"');
- Node158_0.a('node.textvisible',true);
- Node158_0.a('node.linefeed',false);
- if (false) {
- Node158_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158_0.a('node.text') || 'Ia :';
- var color=Node158_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node158_0width,Node158_0height,11.99997*_ratio.ratioY,"left",color,' '+ Node158_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158_0.a('node.underlinepoints',[Node158_0lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node158_0fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node158_0fontSize + 'px "Arial"').width + 6, (Node158_0height - Node158_0fontSize) * 0.5*_ratio.ratioY + Node158_0fontSize + 2 ]);
- Node158_0.a('node.underlinevisible',false);
- Node158_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158_0);
- zoomNodeList.push({
- node: Node158_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158_1 = new ht.Node();
- var Node158_1textStart, Node158_1textWidth, Node158_1lineStart, Node158_1align = 'left', Node158_1fontSize = 11.99997*_ratio.ratioY,Node158_1width = 28*_ratio.ratioX, Node158_1height = 16*_ratio.ratioY;
- (function () {
- if (Node158_1align === 'left') {
- Node158_1textStart = Node158_1fontSize * 0.2 > 2 ? Node158_1fontSize * 0.2 - 4 : Node158_1fontSize * 0.2 - 9;
- Node158_1textWidth = Node158_1width;
- Node158_1lineStart = 1;
- } else if (Node158_1align === 'right') {
- Node158_1textStart = 0;
- Node158_1textWidth =Node158_1fontSize <= 8 ? Node158_1width + Node158_1fontSize * 0.2 + 6 : Node158_1width - Node158_1fontSize * 0.2;
- Node158_1lineStart = (Node158_1width - (ht.Default.getTextSize('P :', ' '+ Node158_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158_1align === 'center') {
- Node158_1textStart = -3;
- Node158_1textWidth = Node158_1width;
- Node158_1lineStart = Node158_1width - ht.Default.getTextSize('P :', ' '+ Node158_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158_1.setImage(GD.getTextJSON(Node158_1width, Node158_1height, true, false, false, ' '+ Node158_1fontSize + 'px "Arial"'))
- Node158_1.setPosition(1502*ratio.ratioX, 430*ratio.ratioY);
- Node158_1.setWidth(Node158_1width);
- Node158_1.setHeight(Node158_1height);
- Node158_1._nodeType = 'text';
- Node158_1._disallowEvert = true;
- Node158_1.setRotation(0*Math.PI/180);
- Node158_1.a('node.width', Node158_1width);
- Node158_1.a('node.height', Node158_1height);
- Node158_1.a('node.rect', [0, 0, Node158_1width, Node158_1height]);
- Node158_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node158_1.a('node.borderwidth', 0);
- Node158_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node158_1.a('node.gradient','');
- Node158_1.a('node.gradientcolor','');
- Node158_1.a('node.text','P :');
- Node158_1.a('node.textalign','left');
- Node158_1.a('node.textvAlign','middle');
- Node158_1.a('node.textrect', [Node158_1textStart, 0, Node158_1textWidth, Node158_1height]);
- Node158_1.a('node.color','rgba(0,0,0,1)');
- Node158_1.a('node.font',' '+ Node158_1fontSize + 'px "Arial"');
- Node158_1.a('node.textvisible',true);
- Node158_1.a('node.linefeed',false);
- if (false) {
- Node158_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158_1.a('node.text') || 'P :';
- var color=Node158_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node158_1width,Node158_1height,11.99997*_ratio.ratioY,"left",color,' '+ Node158_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158_1.a('node.underlinepoints',[Node158_1lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node158_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node158_1fontSize + 'px "Arial"').width + 6, (Node158_1height - Node158_1fontSize) * 0.5*_ratio.ratioY + Node158_1fontSize + 2 ]);
- Node158_1.a('node.underlinevisible',false);
- Node158_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158_1);
- zoomNodeList.push({
- node: Node158_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158_2 = new ht.Node();
- var Node158_2textStart, Node158_2textWidth, Node158_2lineStart, Node158_2align = 'left', Node158_2fontSize = 11.99997*_ratio.ratioY,Node158_2width = 28*_ratio.ratioX, Node158_2height = 16*_ratio.ratioY;
- (function () {
- if (Node158_2align === 'left') {
- Node158_2textStart = Node158_2fontSize * 0.2 > 2 ? Node158_2fontSize * 0.2 - 4 : Node158_2fontSize * 0.2 - 9;
- Node158_2textWidth = Node158_2width;
- Node158_2lineStart = 1;
- } else if (Node158_2align === 'right') {
- Node158_2textStart = 0;
- Node158_2textWidth =Node158_2fontSize <= 8 ? Node158_2width + Node158_2fontSize * 0.2 + 6 : Node158_2width - Node158_2fontSize * 0.2;
- Node158_2lineStart = (Node158_2width - (ht.Default.getTextSize('Q :', ' '+ Node158_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158_2align === 'center') {
- Node158_2textStart = -3;
- Node158_2textWidth = Node158_2width;
- Node158_2lineStart = Node158_2width - ht.Default.getTextSize('Q :', ' '+ Node158_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158_2.setImage(GD.getTextJSON(Node158_2width, Node158_2height, true, false, false, ' '+ Node158_2fontSize + 'px "Arial"'))
- Node158_2.setPosition(1502*ratio.ratioX, 451*ratio.ratioY);
- Node158_2.setWidth(Node158_2width);
- Node158_2.setHeight(Node158_2height);
- Node158_2._nodeType = 'text';
- Node158_2._disallowEvert = true;
- Node158_2.setRotation(0*Math.PI/180);
- Node158_2.a('node.width', Node158_2width);
- Node158_2.a('node.height', Node158_2height);
- Node158_2.a('node.rect', [0, 0, Node158_2width, Node158_2height]);
- Node158_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node158_2.a('node.borderwidth', 0);
- Node158_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node158_2.a('node.gradient','');
- Node158_2.a('node.gradientcolor','');
- Node158_2.a('node.text','Q :');
- Node158_2.a('node.textalign','left');
- Node158_2.a('node.textvAlign','middle');
- Node158_2.a('node.textrect', [Node158_2textStart, 0, Node158_2textWidth, Node158_2height]);
- Node158_2.a('node.color','rgba(0,0,0,1)');
- Node158_2.a('node.font',' '+ Node158_2fontSize + 'px "Arial"');
- Node158_2.a('node.textvisible',true);
- Node158_2.a('node.linefeed',false);
- if (false) {
- Node158_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158_2.a('node.text') || 'Q :';
- var color=Node158_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node158_2width,Node158_2height,11.99997*_ratio.ratioY,"left",color,' '+ Node158_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158_2.a('node.underlinepoints',[Node158_2lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node158_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node158_2fontSize + 'px "Arial"').width + 6, (Node158_2height - Node158_2fontSize) * 0.5*_ratio.ratioY + Node158_2fontSize + 2 ]);
- Node158_2.a('node.underlinevisible',false);
- Node158_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158_2);
- zoomNodeList.push({
- node: Node158_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158_3 = new ht.Node();
- var Node158_3textStart, Node158_3textWidth, Node158_3lineStart, Node158_3align = 'left', Node158_3fontSize = 11.99997*_ratio.ratioY,Node158_3width = 40*_ratio.ratioX, Node158_3height = 16*_ratio.ratioY;
- (function () {
- if (Node158_3align === 'left') {
- Node158_3textStart = Node158_3fontSize * 0.2 > 2 ? Node158_3fontSize * 0.2 - 4 : Node158_3fontSize * 0.2 - 9;
- Node158_3textWidth = Node158_3width;
- Node158_3lineStart = 1;
- } else if (Node158_3align === 'right') {
- Node158_3textStart = 0;
- Node158_3textWidth =Node158_3fontSize <= 8 ? Node158_3width + Node158_3fontSize * 0.2 + 6 : Node158_3width - Node158_3fontSize * 0.2;
- Node158_3lineStart = (Node158_3width - (ht.Default.getTextSize('COS :', ' '+ Node158_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158_3align === 'center') {
- Node158_3textStart = -3;
- Node158_3textWidth = Node158_3width;
- Node158_3lineStart = Node158_3width - ht.Default.getTextSize('COS :', ' '+ Node158_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158_3.setImage(GD.getTextJSON(Node158_3width, Node158_3height, true, false, false, ' '+ Node158_3fontSize + 'px "Arial"'))
- Node158_3.setPosition(1490*ratio.ratioX, 471*ratio.ratioY);
- Node158_3.setWidth(Node158_3width);
- Node158_3.setHeight(Node158_3height);
- Node158_3._nodeType = 'text';
- Node158_3._disallowEvert = true;
- Node158_3.setRotation(0*Math.PI/180);
- Node158_3.a('node.width', Node158_3width);
- Node158_3.a('node.height', Node158_3height);
- Node158_3.a('node.rect', [0, 0, Node158_3width, Node158_3height]);
- Node158_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node158_3.a('node.borderwidth', 0);
- Node158_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node158_3.a('node.gradient','');
- Node158_3.a('node.gradientcolor','');
- Node158_3.a('node.text','COS :');
- Node158_3.a('node.textalign','left');
- Node158_3.a('node.textvAlign','middle');
- Node158_3.a('node.textrect', [Node158_3textStart, 0, Node158_3textWidth, Node158_3height]);
- Node158_3.a('node.color','rgba(0,0,0,1)');
- Node158_3.a('node.font',' '+ Node158_3fontSize + 'px "Arial"');
- Node158_3.a('node.textvisible',true);
- Node158_3.a('node.linefeed',false);
- if (false) {
- Node158_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158_3.a('node.text') || 'COS :';
- var color=Node158_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node158_3width,Node158_3height,11.99997*_ratio.ratioY,"left",color,' '+ Node158_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158_3.a('node.underlinepoints',[Node158_3lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node158_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node158_3fontSize + 'px "Arial"').width + 6, (Node158_3height - Node158_3fontSize) * 0.5*_ratio.ratioY + Node158_3fontSize + 2 ]);
- Node158_3.a('node.underlinevisible',false);
- Node158_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158_3);
- zoomNodeList.push({
- node: Node158_3,
- 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 = 15.99996*_ratio.ratioY,Node159width = 59*_ratio.ratioX, Node159height = 20*_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('2#SVG', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('2#SVG', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(1516*ratio.ratioX, 387*ratio.ratioY);
- Node159.setWidth(Node159width);
- Node159.setHeight(Node159height);
- Node159._nodeType = 'text';
- Node159._disallowEvert = true;
- Node159.setRotation(0*Math.PI/180);
- Node159.a('node.width', Node159width);
- Node159.a('node.height', Node159height);
- Node159.a('node.rect', [0, 0, Node159width, Node159height]);
- Node159.a('node.bordercolor','rgba(0,0,0,1)');
- Node159.a('node.borderwidth', 0);
- Node159.a('node.background','' || 'rgba(0,0,0,0)');
- Node159.a('node.gradient','');
- Node159.a('node.gradientcolor','');
- Node159.a('node.text','2#SVG');
- Node159.a('node.textalign','left');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(0,0,0,1)');
- Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"');
- Node159.a('node.textvisible',true);
- Node159.a('node.linefeed',false);
- if (false) {
- Node159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node159.a('node.text') || '2#SVG';
- var color=Node159.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node159width,Node159height,15.99996*_ratio.ratioY,"left",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('2#SVG', ' '+ 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 = 15.99996*_ratio.ratioY,Node160width = 59*_ratio.ratioX, Node160height = 20*_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('3#SVG', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('3#SVG', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(1696*ratio.ratioX, 377*ratio.ratioY);
- Node160.setWidth(Node160width);
- Node160.setHeight(Node160height);
- Node160._nodeType = 'text';
- Node160._disallowEvert = true;
- Node160.setRotation(0*Math.PI/180);
- Node160.a('node.width', Node160width);
- Node160.a('node.height', Node160height);
- Node160.a('node.rect', [0, 0, Node160width, Node160height]);
- Node160.a('node.bordercolor','rgba(0,0,0,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','3#SVG');
- Node160.a('node.textalign','left');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(0,0,0,1)');
- Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || '3#SVG';
- var color=Node160.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node160width,Node160height,15.99996*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('3#SVG', ' '+ 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_0 = new ht.Node();
- var Node161_0textStart, Node161_0textWidth, Node161_0lineStart, Node161_0align = 'left', Node161_0fontSize = 11.99997*_ratio.ratioY,Node161_0width = 28*_ratio.ratioX, Node161_0height = 16*_ratio.ratioY;
- (function () {
- if (Node161_0align === 'left') {
- Node161_0textStart = Node161_0fontSize * 0.2 > 2 ? Node161_0fontSize * 0.2 - 4 : Node161_0fontSize * 0.2 - 9;
- Node161_0textWidth = Node161_0width;
- Node161_0lineStart = 1;
- } else if (Node161_0align === 'right') {
- Node161_0textStart = 0;
- Node161_0textWidth =Node161_0fontSize <= 8 ? Node161_0width + Node161_0fontSize * 0.2 + 6 : Node161_0width - Node161_0fontSize * 0.2;
- Node161_0lineStart = (Node161_0width - (ht.Default.getTextSize('Ia :', ' '+ Node161_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161_0align === 'center') {
- Node161_0textStart = -3;
- Node161_0textWidth = Node161_0width;
- Node161_0lineStart = Node161_0width - ht.Default.getTextSize('Ia :', ' '+ Node161_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161_0.setImage(GD.getTextJSON(Node161_0width, Node161_0height, true, false, false, ' '+ Node161_0fontSize + 'px "Arial"'))
- Node161_0.setPosition(1698*ratio.ratioX, 400*ratio.ratioY);
- Node161_0.setWidth(Node161_0width);
- Node161_0.setHeight(Node161_0height);
- Node161_0._nodeType = 'text';
- Node161_0._disallowEvert = true;
- Node161_0.setRotation(0*Math.PI/180);
- Node161_0.a('node.width', Node161_0width);
- Node161_0.a('node.height', Node161_0height);
- Node161_0.a('node.rect', [0, 0, Node161_0width, Node161_0height]);
- Node161_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node161_0.a('node.borderwidth', 0);
- Node161_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node161_0.a('node.gradient','');
- Node161_0.a('node.gradientcolor','');
- Node161_0.a('node.text','Ia :');
- Node161_0.a('node.textalign','left');
- Node161_0.a('node.textvAlign','middle');
- Node161_0.a('node.textrect', [Node161_0textStart, 0, Node161_0textWidth, Node161_0height]);
- Node161_0.a('node.color','rgba(255,0,255,1)');
- Node161_0.a('node.font',' '+ Node161_0fontSize + 'px "Arial"');
- Node161_0.a('node.textvisible',true);
- Node161_0.a('node.linefeed',false);
- if (false) {
- Node161_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161_0.a('node.text') || 'Ia :';
- var color=Node161_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node161_0width,Node161_0height,11.99997*_ratio.ratioY,"left",color,' '+ Node161_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161_0.a('node.underlinepoints',[Node161_0lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node161_0fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node161_0fontSize + 'px "Arial"').width + 6, (Node161_0height - Node161_0fontSize) * 0.5*_ratio.ratioY + Node161_0fontSize + 2 ]);
- Node161_0.a('node.underlinevisible',false);
- Node161_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161_0);
- zoomNodeList.push({
- node: Node161_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161_1 = new ht.Node();
- var Node161_1textStart, Node161_1textWidth, Node161_1lineStart, Node161_1align = 'left', Node161_1fontSize = 11.99997*_ratio.ratioY,Node161_1width = 28*_ratio.ratioX, Node161_1height = 16*_ratio.ratioY;
- (function () {
- if (Node161_1align === 'left') {
- Node161_1textStart = Node161_1fontSize * 0.2 > 2 ? Node161_1fontSize * 0.2 - 4 : Node161_1fontSize * 0.2 - 9;
- Node161_1textWidth = Node161_1width;
- Node161_1lineStart = 1;
- } else if (Node161_1align === 'right') {
- Node161_1textStart = 0;
- Node161_1textWidth =Node161_1fontSize <= 8 ? Node161_1width + Node161_1fontSize * 0.2 + 6 : Node161_1width - Node161_1fontSize * 0.2;
- Node161_1lineStart = (Node161_1width - (ht.Default.getTextSize('P :', ' '+ Node161_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161_1align === 'center') {
- Node161_1textStart = -3;
- Node161_1textWidth = Node161_1width;
- Node161_1lineStart = Node161_1width - ht.Default.getTextSize('P :', ' '+ Node161_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161_1.setImage(GD.getTextJSON(Node161_1width, Node161_1height, true, false, false, ' '+ Node161_1fontSize + 'px "Arial"'))
- Node161_1.setPosition(1698*ratio.ratioX, 423*ratio.ratioY);
- Node161_1.setWidth(Node161_1width);
- Node161_1.setHeight(Node161_1height);
- Node161_1._nodeType = 'text';
- Node161_1._disallowEvert = true;
- Node161_1.setRotation(0*Math.PI/180);
- Node161_1.a('node.width', Node161_1width);
- Node161_1.a('node.height', Node161_1height);
- Node161_1.a('node.rect', [0, 0, Node161_1width, Node161_1height]);
- Node161_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node161_1.a('node.borderwidth', 0);
- Node161_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node161_1.a('node.gradient','');
- Node161_1.a('node.gradientcolor','');
- Node161_1.a('node.text','P :');
- Node161_1.a('node.textalign','left');
- Node161_1.a('node.textvAlign','middle');
- Node161_1.a('node.textrect', [Node161_1textStart, 0, Node161_1textWidth, Node161_1height]);
- Node161_1.a('node.color','rgba(0,0,0,1)');
- Node161_1.a('node.font',' '+ Node161_1fontSize + 'px "Arial"');
- Node161_1.a('node.textvisible',true);
- Node161_1.a('node.linefeed',false);
- if (false) {
- Node161_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161_1.a('node.text') || 'P :';
- var color=Node161_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node161_1width,Node161_1height,11.99997*_ratio.ratioY,"left",color,' '+ Node161_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161_1.a('node.underlinepoints',[Node161_1lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node161_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node161_1fontSize + 'px "Arial"').width + 6, (Node161_1height - Node161_1fontSize) * 0.5*_ratio.ratioY + Node161_1fontSize + 2 ]);
- Node161_1.a('node.underlinevisible',false);
- Node161_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161_1);
- zoomNodeList.push({
- node: Node161_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161_2 = new ht.Node();
- var Node161_2textStart, Node161_2textWidth, Node161_2lineStart, Node161_2align = 'left', Node161_2fontSize = 11.99997*_ratio.ratioY,Node161_2width = 28*_ratio.ratioX, Node161_2height = 16*_ratio.ratioY;
- (function () {
- if (Node161_2align === 'left') {
- Node161_2textStart = Node161_2fontSize * 0.2 > 2 ? Node161_2fontSize * 0.2 - 4 : Node161_2fontSize * 0.2 - 9;
- Node161_2textWidth = Node161_2width;
- Node161_2lineStart = 1;
- } else if (Node161_2align === 'right') {
- Node161_2textStart = 0;
- Node161_2textWidth =Node161_2fontSize <= 8 ? Node161_2width + Node161_2fontSize * 0.2 + 6 : Node161_2width - Node161_2fontSize * 0.2;
- Node161_2lineStart = (Node161_2width - (ht.Default.getTextSize('Q :', ' '+ Node161_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161_2align === 'center') {
- Node161_2textStart = -3;
- Node161_2textWidth = Node161_2width;
- Node161_2lineStart = Node161_2width - ht.Default.getTextSize('Q :', ' '+ Node161_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161_2.setImage(GD.getTextJSON(Node161_2width, Node161_2height, true, false, false, ' '+ Node161_2fontSize + 'px "Arial"'))
- Node161_2.setPosition(1698*ratio.ratioX, 444*ratio.ratioY);
- Node161_2.setWidth(Node161_2width);
- Node161_2.setHeight(Node161_2height);
- Node161_2._nodeType = 'text';
- Node161_2._disallowEvert = true;
- Node161_2.setRotation(0*Math.PI/180);
- Node161_2.a('node.width', Node161_2width);
- Node161_2.a('node.height', Node161_2height);
- Node161_2.a('node.rect', [0, 0, Node161_2width, Node161_2height]);
- Node161_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node161_2.a('node.borderwidth', 0);
- Node161_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node161_2.a('node.gradient','');
- Node161_2.a('node.gradientcolor','');
- Node161_2.a('node.text','Q :');
- Node161_2.a('node.textalign','left');
- Node161_2.a('node.textvAlign','middle');
- Node161_2.a('node.textrect', [Node161_2textStart, 0, Node161_2textWidth, Node161_2height]);
- Node161_2.a('node.color','rgba(0,0,0,1)');
- Node161_2.a('node.font',' '+ Node161_2fontSize + 'px "Arial"');
- Node161_2.a('node.textvisible',true);
- Node161_2.a('node.linefeed',false);
- if (false) {
- Node161_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161_2.a('node.text') || 'Q :';
- var color=Node161_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node161_2width,Node161_2height,11.99997*_ratio.ratioY,"left",color,' '+ Node161_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161_2.a('node.underlinepoints',[Node161_2lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node161_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node161_2fontSize + 'px "Arial"').width + 6, (Node161_2height - Node161_2fontSize) * 0.5*_ratio.ratioY + Node161_2fontSize + 2 ]);
- Node161_2.a('node.underlinevisible',false);
- Node161_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161_2);
- zoomNodeList.push({
- node: Node161_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161_3 = new ht.Node();
- var Node161_3textStart, Node161_3textWidth, Node161_3lineStart, Node161_3align = 'left', Node161_3fontSize = 11.99997*_ratio.ratioY,Node161_3width = 40*_ratio.ratioX, Node161_3height = 16*_ratio.ratioY;
- (function () {
- if (Node161_3align === 'left') {
- Node161_3textStart = Node161_3fontSize * 0.2 > 2 ? Node161_3fontSize * 0.2 - 4 : Node161_3fontSize * 0.2 - 9;
- Node161_3textWidth = Node161_3width;
- Node161_3lineStart = 1;
- } else if (Node161_3align === 'right') {
- Node161_3textStart = 0;
- Node161_3textWidth =Node161_3fontSize <= 8 ? Node161_3width + Node161_3fontSize * 0.2 + 6 : Node161_3width - Node161_3fontSize * 0.2;
- Node161_3lineStart = (Node161_3width - (ht.Default.getTextSize('COS :', ' '+ Node161_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161_3align === 'center') {
- Node161_3textStart = -3;
- Node161_3textWidth = Node161_3width;
- Node161_3lineStart = Node161_3width - ht.Default.getTextSize('COS :', ' '+ Node161_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161_3.setImage(GD.getTextJSON(Node161_3width, Node161_3height, true, false, false, ' '+ Node161_3fontSize + 'px "Arial"'))
- Node161_3.setPosition(1686*ratio.ratioX, 464*ratio.ratioY);
- Node161_3.setWidth(Node161_3width);
- Node161_3.setHeight(Node161_3height);
- Node161_3._nodeType = 'text';
- Node161_3._disallowEvert = true;
- Node161_3.setRotation(0*Math.PI/180);
- Node161_3.a('node.width', Node161_3width);
- Node161_3.a('node.height', Node161_3height);
- Node161_3.a('node.rect', [0, 0, Node161_3width, Node161_3height]);
- Node161_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node161_3.a('node.borderwidth', 0);
- Node161_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node161_3.a('node.gradient','');
- Node161_3.a('node.gradientcolor','');
- Node161_3.a('node.text','COS :');
- Node161_3.a('node.textalign','left');
- Node161_3.a('node.textvAlign','middle');
- Node161_3.a('node.textrect', [Node161_3textStart, 0, Node161_3textWidth, Node161_3height]);
- Node161_3.a('node.color','rgba(0,0,0,1)');
- Node161_3.a('node.font',' '+ Node161_3fontSize + 'px "Arial"');
- Node161_3.a('node.textvisible',true);
- Node161_3.a('node.linefeed',false);
- if (false) {
- Node161_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161_3.a('node.text') || 'COS :';
- var color=Node161_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node161_3width,Node161_3height,11.99997*_ratio.ratioY,"left",color,' '+ Node161_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161_3.a('node.underlinepoints',[Node161_3lineStart, (16 - 11.99997) * 0.5 * _ratio.ratioY + Node161_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node161_3fontSize + 'px "Arial"').width + 6, (Node161_3height - Node161_3fontSize) * 0.5*_ratio.ratioY + Node161_3fontSize + 2 ]);
- Node161_3.a('node.underlinevisible',false);
- Node161_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161_3);
- zoomNodeList.push({
- node: Node161_3,
- 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 = 11.99997*_ratio.ratioY,Node162width = 45*_ratio.ratioX, Node162height = 26*_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('325-10', ' '+ Node162fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('325-10', ' '+ Node162fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, ' '+ Node162fontSize + 'px "Arial"'))
- Node162.setPosition(1422*ratio.ratioX, 465*ratio.ratioY);
- Node162.setWidth(Node162width);
- Node162.setHeight(Node162height);
- Node162._nodeType = 'text';
- Node162._disallowEvert = true;
- Node162.setRotation(0*Math.PI/180);
- Node162.a('node.width', Node162width);
- Node162.a('node.height', Node162height);
- Node162.a('node.rect', [0, 0, Node162width, Node162height]);
- Node162.a('node.bordercolor','rgba(0,0,0,1)');
- Node162.a('node.borderwidth', 0);
- Node162.a('node.background','' || 'rgba(0,0,0,0)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','');
- Node162.a('node.text','325-10');
- Node162.a('node.textalign','left');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(0,0,0,1)');
- Node162.a('node.font',' '+ Node162fontSize + 'px "Arial"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || '325-10';
- var color=Node162.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node162width,Node162height,11.99997*_ratio.ratioY,"left",color,' '+ Node162fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('325-10', ' '+ 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 = 11.99997*_ratio.ratioY,Node163width = 45*_ratio.ratioX, Node163height = 26*_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('325-1', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('325-1', ' '+ Node163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
- Node163.setPosition(1442*ratio.ratioX, 535*ratio.ratioY);
- Node163.setWidth(Node163width);
- Node163.setHeight(Node163height);
- Node163._nodeType = 'text';
- Node163._disallowEvert = true;
- Node163.setRotation(0*Math.PI/180);
- Node163.a('node.width', Node163width);
- Node163.a('node.height', Node163height);
- Node163.a('node.rect', [0, 0, Node163width, Node163height]);
- Node163.a('node.bordercolor','rgba(0,0,0,1)');
- Node163.a('node.borderwidth', 0);
- Node163.a('node.background','' || 'rgba(0,0,0,0)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','');
- Node163.a('node.text','325-1');
- Node163.a('node.textalign','left');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(0,0,0,1)');
- Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"');
- Node163.a('node.textvisible',true);
- Node163.a('node.linefeed',false);
- if (false) {
- Node163.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node163.a('node.text') || '325-1';
- var color=Node163.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node163width,Node163height,11.99997*_ratio.ratioY,"left",color,' '+ Node163fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node163.a('node.underlinepoints',[Node163lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('325-1', ' '+ 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 = 11.99997*_ratio.ratioY,Node164width = 45*_ratio.ratioX, Node164height = 26*_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('325', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('325', ' '+ Node164fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
- Node164.setPosition(1469*ratio.ratioX, 595*ratio.ratioY);
- Node164.setWidth(Node164width);
- Node164.setHeight(Node164height);
- Node164._nodeType = 'text';
- Node164._disallowEvert = true;
- Node164.setRotation(0*Math.PI/180);
- Node164.a('node.width', Node164width);
- Node164.a('node.height', Node164height);
- Node164.a('node.rect', [0, 0, Node164width, Node164height]);
- Node164.a('node.bordercolor','rgba(0,0,0,1)');
- Node164.a('node.borderwidth', 0);
- Node164.a('node.background','' || 'rgba(0,0,0,0)');
- Node164.a('node.gradient','');
- Node164.a('node.gradientcolor','');
- Node164.a('node.text','325');
- Node164.a('node.textalign','left');
- Node164.a('node.textvAlign','middle');
- Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
- Node164.a('node.color','rgba(0,0,0,1)');
- Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"');
- Node164.a('node.textvisible',true);
- Node164.a('node.linefeed',false);
- if (false) {
- Node164.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node164.a('node.text') || '325';
- var color=Node164.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node164width,Node164height,11.99997*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node164.a('node.underlinepoints',[Node164lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('325', ' '+ 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 = 11.99997*_ratio.ratioY,Node165width = 45*_ratio.ratioX, Node165height = 26*_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('325-2', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node165align === 'center') {
- Node165textStart = -3;
- Node165textWidth = Node165width;
- Node165lineStart = Node165width - ht.Default.getTextSize('325-2', ' '+ Node165fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"'))
- Node165.setPosition(1569*ratio.ratioX, 535*ratio.ratioY);
- Node165.setWidth(Node165width);
- Node165.setHeight(Node165height);
- Node165._nodeType = 'text';
- Node165._disallowEvert = true;
- Node165.setRotation(0*Math.PI/180);
- Node165.a('node.width', Node165width);
- Node165.a('node.height', Node165height);
- Node165.a('node.rect', [0, 0, Node165width, Node165height]);
- Node165.a('node.bordercolor','rgba(0,0,0,1)');
- Node165.a('node.borderwidth', 0);
- Node165.a('node.background','' || 'rgba(0,0,0,0)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','');
- Node165.a('node.text','325-2');
- Node165.a('node.textalign','left');
- Node165.a('node.textvAlign','middle');
- Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]);
- Node165.a('node.color','rgba(0,0,0,1)');
- Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"');
- Node165.a('node.textvisible',true);
- Node165.a('node.linefeed',false);
- if (false) {
- Node165.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node165.a('node.text') || '325-2';
- var color=Node165.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node165width,Node165height,11.99997*_ratio.ratioY,"left",color,' '+ Node165fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node165.a('node.underlinepoints',[Node165lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('325-2', ' '+ 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 = 11.99997*_ratio.ratioY,Node166width = 45*_ratio.ratioX, Node166height = 26*_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('325-0', ' '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('325-0', ' '+ Node166fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "Arial"'))
- Node166.setPosition(1570*ratio.ratioX, 552*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','325-0');
- 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') || '325-0';
- var color=Node166.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node166width,Node166height,11.99997*_ratio.ratioY,"left",color,' '+ Node166fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('325-0', ' '+ 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 = 11.99997*_ratio.ratioY,Node167width = 45*_ratio.ratioX, Node167height = 26*_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('325-20', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('325-20', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(1594*ratio.ratioX, 497*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','325-20');
- 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') || '325-20';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node167width,Node167height,11.99997*_ratio.ratioY,"left",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('325-20', ' '+ 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 = 11.99997*_ratio.ratioY,Node168width = 45*_ratio.ratioX, Node168height = 26*_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('326-1', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('326-1', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(1640*ratio.ratioX, 513*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','326-1');
- 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') || '326-1';
- var color=Node168.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node168width,Node168height,11.99997*_ratio.ratioY,"left",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('326-1', ' '+ 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 = 11.99997*_ratio.ratioY,Node169width = 45*_ratio.ratioX, Node169height = 26*_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('326-10', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('326-10', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(1770*ratio.ratioX, 493*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','326-10');
- 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') || '326-10';
- var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node169width,Node169height,11.99997*_ratio.ratioY,"left",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('326-10', ' '+ 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 = 11.99997*_ratio.ratioY,Node170width = 45*_ratio.ratioX, Node170height = 26*_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('326-0', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('326-0', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(1770*ratio.ratioX, 543*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','326-0');
- 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') || '326-0';
- var color=Node170.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node170width,Node170height,11.99997*_ratio.ratioY,"left",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('326-0', ' '+ 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 = 11.99997*_ratio.ratioY,Node171width = 45*_ratio.ratioX, Node171height = 26*_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('326', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('326', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(1640*ratio.ratioX, 599*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','326');
- 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') || '326';
- var color=Node171.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node171width,Node171height,11.99997*_ratio.ratioY,"left",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (26 - 11.99997) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('326', ' '+ 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 = 15.99996*_ratio.ratioY,Node172width = 97*_ratio.ratioX, Node172height = 20*_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('35kVⅠⅠ段', ' '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('35kVⅠⅠ段', ' '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, ' '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(1788*ratio.ratioX, 622*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','35kVⅠⅠ段');
- 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') || '35kVⅠⅠ段';
- var color=Node172.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node172width,Node172height,15.99996*_ratio.ratioY,"left",color,' '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('35kVⅠⅠ段', ' '+ 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'
- }); var Node173points=[219, 633,219, 643],
- Node173rect=ht.Default.unionPoint([{x:219,y:633},{x:219,y:643}]),
- Node173compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node173points.length;i++){
- if(i%2==0){
- Node173compspts.push(Node173points[i]-Node173rect.x);
- }else{
- Node173compspts.push(Node173points[i]-Node173rect.y);
- }
- }
- var Node173ptslength=Node173compspts.length;
- if (Node173rect.height === 0) {
- Node173compspts[0] -= 0;
- Node173compspts[Node173ptslength-2] += 0;
- } else if (Node173rect.width === 0){
- Node173compspts[1] -= 0;
- Node173compspts[Node173ptslength-1] += 0;
- } else {
- Node173compspts[0] -= 0;
- Node173compspts[1] -= 0;
- Node173compspts[Node173ptslength-2] += 0;
- Node173compspts[Node173ptslength-1] += 0;
- }
- Node173 = new ht.Node();
- Node173.borderWidth = 1;
- Node173rect.width = Node173rect.width === 0 ? 0.0001 : Node173rect.width;
- Node173rect.height = Node173rect.height === 0 ? 0.0001 : Node173rect.height;
- var Node173endCompspts = [Node173compspts[Node173ptslength-2],Node173compspts[Node173ptslength-1],0,0];
- var Node173startCompspts = [Node173compspts[0],Node173compspts[1],0,0];
- Node173.setImage(GD.getPolyLineJSON());
- Node173.setPosition(Node173rect.x+Node173rect.width/2,Node173rect.y+Node173rect.height/2);
- Node173.setSize(Node173rect.width,Node173rect.height);
- Node173.setStyle("opacity",1);
- Node173.s({'pixelPerfect':true});
- Node173borderwidth=1;
- Node173.setRotation(0);
- dataModel.add(Node173);
- Node173.a('node.points',Node173compspts);
- Node173.a('node.segments',[1,2]);
- Node173.a('node.color','rgba(255,128,0,1)');
- Node173.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node173.a('node.borderColor','rgba(255,128,0,1)');
- Node173.a('node.background','rgba(255,128,0,1)');
- Node173.a('node.gradient','');
- Node173.a('node.gradientcolor','rgba(255,128,0,1)');
- Node173.a('node.endCompspts',Node173endCompspts);
- Node173.a('node.startCompspts',Node173startCompspts);
- (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 = 'Node173';
- 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);
- }
- })(Node173, Node173.getImage(), Node173compspts, Node173endCompspts, Node173startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node174 = new ht.lib['黄箭头'](219*ratio.ratioX, 722*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node174');
- _libModel.add("Node174", Node174);
- Node174.setRotation(180*Math.PI/180);
- ;
- ;
- var Node175points=[220, 696,260, 696],
- Node175rect=ht.Default.unionPoint([{x:220,y:696},{x:260,y:696}]),
- Node175compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node175points.length;i++){
- if(i%2==0){
- Node175compspts.push(Node175points[i]-Node175rect.x);
- }else{
- Node175compspts.push(Node175points[i]-Node175rect.y);
- }
- }
- var Node175ptslength=Node175compspts.length;
- if (Node175rect.height === 0) {
- Node175compspts[0] -= 0;
- Node175compspts[Node175ptslength-2] += 0;
- } else if (Node175rect.width === 0){
- Node175compspts[1] -= 0;
- Node175compspts[Node175ptslength-1] += 0;
- } else {
- Node175compspts[0] -= 0;
- Node175compspts[1] -= 0;
- Node175compspts[Node175ptslength-2] += 0;
- Node175compspts[Node175ptslength-1] += 0;
- }
- Node175 = new ht.Node();
- Node175.borderWidth = 1;
- Node175rect.width = Node175rect.width === 0 ? 0.0001 : Node175rect.width;
- Node175rect.height = Node175rect.height === 0 ? 0.0001 : Node175rect.height;
- var Node175endCompspts = [Node175compspts[Node175ptslength-2],Node175compspts[Node175ptslength-1],0,0];
- var Node175startCompspts = [Node175compspts[0],Node175compspts[1],0,0];
- Node175.setImage(GD.getPolyLineJSON());
- Node175.setPosition(Node175rect.x+Node175rect.width/2,Node175rect.y+Node175rect.height/2);
- Node175.setSize(Node175rect.width,Node175rect.height);
- Node175.setStyle("opacity",1);
- Node175.s({'pixelPerfect':true});
- Node175borderwidth=1;
- Node175.setRotation(0);
- dataModel.add(Node175);
- Node175.a('node.points',Node175compspts);
- Node175.a('node.segments',[1,2]);
- Node175.a('node.color','rgba(255,128,0,1)');
- Node175.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node175.a('node.borderColor','rgba(255,128,0,1)');
- Node175.a('node.background','rgba(255,128,0,1)');
- Node175.a('node.gradient','');
- Node175.a('node.gradientcolor','rgba(255,128,0,1)');
- Node175.a('node.endCompspts',Node175endCompspts);
- Node175.a('node.startCompspts',Node175startCompspts);
- (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 = 'Node175';
- 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);
- }
- })(Node175, Node175.getImage(), Node175compspts, Node175endCompspts, Node175startCompspts);
- var Node176points=[260, 696,260, 706],
- Node176rect=ht.Default.unionPoint([{x:260,y:696},{x:260,y:706}]),
- Node176compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node176points.length;i++){
- if(i%2==0){
- Node176compspts.push(Node176points[i]-Node176rect.x);
- }else{
- Node176compspts.push(Node176points[i]-Node176rect.y);
- }
- }
- var Node176ptslength=Node176compspts.length;
- if (Node176rect.height === 0) {
- Node176compspts[0] -= 0;
- Node176compspts[Node176ptslength-2] += 0;
- } else if (Node176rect.width === 0){
- Node176compspts[1] -= 0;
- Node176compspts[Node176ptslength-1] += 0;
- } else {
- Node176compspts[0] -= 0;
- Node176compspts[1] -= 0;
- Node176compspts[Node176ptslength-2] += 0;
- Node176compspts[Node176ptslength-1] += 0;
- }
- Node176 = new ht.Node();
- Node176.borderWidth = 1;
- Node176rect.width = Node176rect.width === 0 ? 0.0001 : Node176rect.width;
- Node176rect.height = Node176rect.height === 0 ? 0.0001 : Node176rect.height;
- var Node176endCompspts = [Node176compspts[Node176ptslength-2],Node176compspts[Node176ptslength-1],0,0];
- var Node176startCompspts = [Node176compspts[0],Node176compspts[1],0,0];
- Node176.setImage(GD.getPolyLineJSON());
- Node176.setPosition(Node176rect.x+Node176rect.width/2,Node176rect.y+Node176rect.height/2);
- Node176.setSize(Node176rect.width,Node176rect.height);
- Node176.setStyle("opacity",1);
- Node176.s({'pixelPerfect':true});
- Node176borderwidth=1;
- Node176.setRotation(0);
- dataModel.add(Node176);
- Node176.a('node.points',Node176compspts);
- Node176.a('node.segments',[1,2]);
- Node176.a('node.color','rgba(255,128,0,1)');
- Node176.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node176.a('node.borderColor','rgba(255,128,0,1)');
- Node176.a('node.background','rgba(255,128,0,1)');
- Node176.a('node.gradient','');
- Node176.a('node.gradientcolor','rgba(255,128,0,1)');
- Node176.a('node.endCompspts',Node176endCompspts);
- Node176.a('node.startCompspts',Node176startCompspts);
- (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 = 'Node176';
- 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);
- }
- })(Node176, Node176.getImage(), Node176compspts, Node176endCompspts, Node176startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.lib['黄色接地'](260*ratio.ratioX, 729*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node177');
- _libModel.add("Node177", Node177);
- Node177.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 41*_ratio.ratioX, Node178height = 16*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('311', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('311', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(196*ratio.ratioX, 660*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(0,0,0,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','311');
- Node178.a('node.textalign','left');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(0,0,0,1)');
- Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '311';
- var color=Node178.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('311', ' '+ 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 = 41*_ratio.ratioX, Node179height = 16*_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('311-0', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('311-0', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(284*ratio.ratioX, 712*ratio.ratioY);
- Node179.setWidth(Node179width);
- Node179.setHeight(Node179height);
- Node179._nodeType = 'text';
- Node179._disallowEvert = true;
- Node179.setRotation(0*Math.PI/180);
- Node179.a('node.width', Node179width);
- Node179.a('node.height', Node179height);
- Node179.a('node.rect', [0, 0, Node179width, Node179height]);
- Node179.a('node.bordercolor','rgba(0,0,0,1)');
- Node179.a('node.borderwidth', 0);
- Node179.a('node.background','' || 'rgba(0,0,0,0)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','');
- Node179.a('node.text','311-0');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(0,0,0,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
- Node179.a('node.textvisible',true);
- Node179.a('node.linefeed',false);
- if (false) {
- Node179.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node179.a('node.text') || '311-0';
- var color=Node179.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('311-0', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180type = 'rect';
- var Node180 = new ht.Node(),
- Node180BorderWidth = 0*2;
- if (Node180type === 'arc') {
- Node180BorderWidth *= 0;
- }
- Node180.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node180type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node180.setPosition(221*ratio.ratioX, 781*ratio.ratioY);
- Node180.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node180.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node180.a('node.width', 90*_ratio.ratioX);
- Node180.a('node.height', 21*_ratio.ratioY);
- Node180.a('node.type', Node180type);
- Node180.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node180.a('node.background', 'rgba(0,0,192,1)');
- Node180.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node180.a('node.gradient', '');
- Node180.a('node.borderwidth', Node180BorderWidth);
- Node180.a('node.color', 'rgba(0,0,0,0)');
- Node180.a('node.fillrect', [0,0,0,0]);
- Node180.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node180.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node180.a('node.fillgradient', '');
- if (Node180type !== 'rect') {
- Node180.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node180.a('node.arcTo', parseFloat('@arcTo@'));
- Node180.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node180type === 'arc') {
- Node180.a('node.arcOval', true);
- }
- Node180.setRotation(0*Math.PI/180);
- Node180.borderWidth = Node180BorderWidth;
- Node180.borderFillwidth = Node180BorderWidth;
- dataModel.add(Node180);
- Node180._nodename = 'Node180'
- Node180._nodeType = 'rect';
- zoomNodeList.push({
- node: Node180,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node180, Node180.getImage());_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 = 69*_ratio.ratioX, Node181height = 30*_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('集电Ⅰ线', ' '+ Node181fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('集电Ⅰ线', ' '+ Node181fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "微软雅黑"'))
- Node181.setPosition(230*ratio.ratioX, 782*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(255,255,255,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','集电Ⅰ线');
- Node181.a('node.textalign','left');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(255,255,255,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "微软雅黑"');
- 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') || '集电Ⅰ线';
- var color=Node181.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"left",color,' '+ Node181fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('集电Ⅰ线', ' '+ Node181fontSize + 'px "微软雅黑"').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'
- }); var Node182points=[743, 631,743, 641],
- Node182rect=ht.Default.unionPoint([{x:743,y:631},{x:743,y:641}]),
- Node182compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node182points.length;i++){
- if(i%2==0){
- Node182compspts.push(Node182points[i]-Node182rect.x);
- }else{
- Node182compspts.push(Node182points[i]-Node182rect.y);
- }
- }
- var Node182ptslength=Node182compspts.length;
- if (Node182rect.height === 0) {
- Node182compspts[0] -= 0;
- Node182compspts[Node182ptslength-2] += 0;
- } else if (Node182rect.width === 0){
- Node182compspts[1] -= 0;
- Node182compspts[Node182ptslength-1] += 0;
- } else {
- Node182compspts[0] -= 0;
- Node182compspts[1] -= 0;
- Node182compspts[Node182ptslength-2] += 0;
- Node182compspts[Node182ptslength-1] += 0;
- }
- Node182 = new ht.Node();
- Node182.borderWidth = 1;
- Node182rect.width = Node182rect.width === 0 ? 0.0001 : Node182rect.width;
- Node182rect.height = Node182rect.height === 0 ? 0.0001 : Node182rect.height;
- var Node182endCompspts = [Node182compspts[Node182ptslength-2],Node182compspts[Node182ptslength-1],0,0];
- var Node182startCompspts = [Node182compspts[0],Node182compspts[1],0,0];
- Node182.setImage(GD.getPolyLineJSON());
- Node182.setPosition(Node182rect.x+Node182rect.width/2,Node182rect.y+Node182rect.height/2);
- Node182.setSize(Node182rect.width,Node182rect.height);
- Node182.setStyle("opacity",1);
- Node182.s({'pixelPerfect':true});
- Node182borderwidth=1;
- Node182.setRotation(0);
- dataModel.add(Node182);
- Node182.a('node.points',Node182compspts);
- Node182.a('node.segments',[1,2]);
- Node182.a('node.color','rgba(255,128,0,1)');
- Node182.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node182.a('node.borderColor','rgba(255,128,0,1)');
- Node182.a('node.background','rgba(255,128,0,1)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','rgba(255,128,0,1)');
- Node182.a('node.endCompspts',Node182endCompspts);
- Node182.a('node.startCompspts',Node182startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node182';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node182, Node182.getImage(), Node182compspts, Node182endCompspts, Node182startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node183 = new ht.lib['黄箭头'](742*ratio.ratioX, 720*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node183');
- _libModel.add("Node183", Node183);
- Node183.setRotation(180*Math.PI/180);
- ;
- ;
- var Node184points=[743, 694,783, 694],
- Node184rect=ht.Default.unionPoint([{x:743,y:694},{x:783,y:694}]),
- Node184compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node184points.length;i++){
- if(i%2==0){
- Node184compspts.push(Node184points[i]-Node184rect.x);
- }else{
- Node184compspts.push(Node184points[i]-Node184rect.y);
- }
- }
- var Node184ptslength=Node184compspts.length;
- if (Node184rect.height === 0) {
- Node184compspts[0] -= 0;
- Node184compspts[Node184ptslength-2] += 0;
- } else if (Node184rect.width === 0){
- Node184compspts[1] -= 0;
- Node184compspts[Node184ptslength-1] += 0;
- } else {
- Node184compspts[0] -= 0;
- Node184compspts[1] -= 0;
- Node184compspts[Node184ptslength-2] += 0;
- Node184compspts[Node184ptslength-1] += 0;
- }
- Node184 = new ht.Node();
- Node184.borderWidth = 1;
- Node184rect.width = Node184rect.width === 0 ? 0.0001 : Node184rect.width;
- Node184rect.height = Node184rect.height === 0 ? 0.0001 : Node184rect.height;
- var Node184endCompspts = [Node184compspts[Node184ptslength-2],Node184compspts[Node184ptslength-1],0,0];
- var Node184startCompspts = [Node184compspts[0],Node184compspts[1],0,0];
- Node184.setImage(GD.getPolyLineJSON());
- Node184.setPosition(Node184rect.x+Node184rect.width/2,Node184rect.y+Node184rect.height/2);
- Node184.setSize(Node184rect.width,Node184rect.height);
- Node184.setStyle("opacity",1);
- Node184.s({'pixelPerfect':true});
- Node184borderwidth=1;
- Node184.setRotation(0);
- dataModel.add(Node184);
- Node184.a('node.points',Node184compspts);
- Node184.a('node.segments',[1,2]);
- Node184.a('node.color','rgba(255,128,0,1)');
- Node184.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node184.a('node.borderColor','rgba(255,128,0,1)');
- Node184.a('node.background','rgba(255,128,0,1)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','rgba(255,128,0,1)');
- Node184.a('node.endCompspts',Node184endCompspts);
- Node184.a('node.startCompspts',Node184startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node184';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node184, Node184.getImage(), Node184compspts, Node184endCompspts, Node184startCompspts);
- var Node185points=[783, 694,783, 704],
- Node185rect=ht.Default.unionPoint([{x:783,y:694},{x:783,y:704}]),
- Node185compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node185points.length;i++){
- if(i%2==0){
- Node185compspts.push(Node185points[i]-Node185rect.x);
- }else{
- Node185compspts.push(Node185points[i]-Node185rect.y);
- }
- }
- var Node185ptslength=Node185compspts.length;
- if (Node185rect.height === 0) {
- Node185compspts[0] -= 0;
- Node185compspts[Node185ptslength-2] += 0;
- } else if (Node185rect.width === 0){
- Node185compspts[1] -= 0;
- Node185compspts[Node185ptslength-1] += 0;
- } else {
- Node185compspts[0] -= 0;
- Node185compspts[1] -= 0;
- Node185compspts[Node185ptslength-2] += 0;
- Node185compspts[Node185ptslength-1] += 0;
- }
- Node185 = new ht.Node();
- Node185.borderWidth = 1;
- Node185rect.width = Node185rect.width === 0 ? 0.0001 : Node185rect.width;
- Node185rect.height = Node185rect.height === 0 ? 0.0001 : Node185rect.height;
- var Node185endCompspts = [Node185compspts[Node185ptslength-2],Node185compspts[Node185ptslength-1],0,0];
- var Node185startCompspts = [Node185compspts[0],Node185compspts[1],0,0];
- Node185.setImage(GD.getPolyLineJSON());
- Node185.setPosition(Node185rect.x+Node185rect.width/2,Node185rect.y+Node185rect.height/2);
- Node185.setSize(Node185rect.width,Node185rect.height);
- Node185.setStyle("opacity",1);
- Node185.s({'pixelPerfect':true});
- Node185borderwidth=1;
- Node185.setRotation(0);
- dataModel.add(Node185);
- Node185.a('node.points',Node185compspts);
- Node185.a('node.segments',[1,2]);
- Node185.a('node.color','rgba(255,128,0,1)');
- Node185.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node185.a('node.borderColor','rgba(255,128,0,1)');
- Node185.a('node.background','rgba(255,128,0,1)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','rgba(255,128,0,1)');
- Node185.a('node.endCompspts',Node185endCompspts);
- Node185.a('node.startCompspts',Node185startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node185';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node185, Node185.getImage(), Node185compspts, Node185endCompspts, Node185startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.lib['黄色接地'](783*ratio.ratioX, 728*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node186');
- _libModel.add("Node186", Node186);
- Node186.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187 = new ht.Node();
- var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'left', Node187fontSize = 13.3333*_ratio.ratioY,Node187width = 41*_ratio.ratioX, Node187height = 16*_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('314', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('314', ' '+ Node187fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"'))
- Node187.setPosition(719*ratio.ratioX, 658*ratio.ratioY);
- Node187.setWidth(Node187width);
- Node187.setHeight(Node187height);
- Node187._nodeType = 'text';
- Node187._disallowEvert = true;
- Node187.setRotation(0*Math.PI/180);
- Node187.a('node.width', Node187width);
- Node187.a('node.height', Node187height);
- Node187.a('node.rect', [0, 0, Node187width, Node187height]);
- Node187.a('node.bordercolor','rgba(0,0,0,1)');
- Node187.a('node.borderwidth', 0);
- Node187.a('node.background','' || 'rgba(0,0,0,0)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','');
- Node187.a('node.text','314');
- Node187.a('node.textalign','left');
- Node187.a('node.textvAlign','middle');
- Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
- Node187.a('node.color','rgba(0,0,0,1)');
- Node187.a('node.font',' '+ Node187fontSize + 'px "Arial"');
- Node187.a('node.textvisible',true);
- Node187.a('node.linefeed',false);
- if (false) {
- Node187.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node187.a('node.text') || '314';
- var color=Node187.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node187.a('node.underlinepoints',[Node187lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('314', ' '+ 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 Node188type = 'rect';
- var Node188 = new ht.Node(),
- Node188BorderWidth = 0*2;
- if (Node188type === 'arc') {
- Node188BorderWidth *= 0;
- }
- Node188.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node188type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node188.setPosition(744*ratio.ratioX, 779*ratio.ratioY);
- Node188.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node188.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node188.a('node.width', 90*_ratio.ratioX);
- Node188.a('node.height', 21*_ratio.ratioY);
- Node188.a('node.type', Node188type);
- Node188.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node188.a('node.background', 'rgba(0,0,192,1)');
- Node188.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node188.a('node.gradient', '');
- Node188.a('node.borderwidth', Node188BorderWidth);
- Node188.a('node.color', 'rgba(0,0,0,0)');
- Node188.a('node.fillrect', [0,0,0,0]);
- Node188.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node188.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node188.a('node.fillgradient', '');
- if (Node188type !== 'rect') {
- Node188.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node188.a('node.arcTo', parseFloat('@arcTo@'));
- Node188.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node188type === 'arc') {
- Node188.a('node.arcOval', true);
- }
- Node188.setRotation(0*Math.PI/180);
- Node188.borderWidth = Node188BorderWidth;
- Node188.borderFillwidth = Node188BorderWidth;
- dataModel.add(Node188);
- Node188._nodename = 'Node188'
- Node188._nodeType = 'rect';
- zoomNodeList.push({
- node: Node188,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node188, Node188.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189 = new ht.Node();
- var Node189textStart, Node189textWidth, Node189lineStart, Node189align = 'left', Node189fontSize = 13.3333*_ratio.ratioY,Node189width = 69*_ratio.ratioX, Node189height = 30*_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('1#站用变', ' '+ Node189fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node189align === 'center') {
- Node189textStart = -3;
- Node189textWidth = Node189width;
- Node189lineStart = Node189width - ht.Default.getTextSize('1#站用变', ' '+ Node189fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node189.setImage(GD.getTextJSON(Node189width, Node189height, true, false, false, ' '+ Node189fontSize + 'px "微软雅黑"'))
- Node189.setPosition(748*ratio.ratioX, 779*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(255,255,255,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','1#站用变');
- Node189.a('node.textalign','left');
- Node189.a('node.textvAlign','middle');
- Node189.a('node.textrect', [Node189textStart, 0, Node189textWidth, Node189height]);
- Node189.a('node.color','rgba(255,255,255,1)');
- Node189.a('node.font',' '+ Node189fontSize + 'px "微软雅黑"');
- 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') || '1#站用变';
- var color=Node189.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node189width,Node189height,13.3333*_ratio.ratioY,"left",color,' '+ Node189fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node189.a('node.underlinepoints',[Node189lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node189fontSize + 2 , ht.Default.getTextSize('1#站用变', ' '+ Node189fontSize + 'px "微软雅黑"').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 Node190points=[864, 632,864, 642],
- Node190rect=ht.Default.unionPoint([{x:864,y:632},{x:864,y:642}]),
- Node190compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node190points.length;i++){
- if(i%2==0){
- Node190compspts.push(Node190points[i]-Node190rect.x);
- }else{
- Node190compspts.push(Node190points[i]-Node190rect.y);
- }
- }
- var Node190ptslength=Node190compspts.length;
- if (Node190rect.height === 0) {
- Node190compspts[0] -= 0;
- Node190compspts[Node190ptslength-2] += 0;
- } else if (Node190rect.width === 0){
- Node190compspts[1] -= 0;
- Node190compspts[Node190ptslength-1] += 0;
- } else {
- Node190compspts[0] -= 0;
- Node190compspts[1] -= 0;
- Node190compspts[Node190ptslength-2] += 0;
- Node190compspts[Node190ptslength-1] += 0;
- }
- Node190 = new ht.Node();
- Node190.borderWidth = 1;
- Node190rect.width = Node190rect.width === 0 ? 0.0001 : Node190rect.width;
- Node190rect.height = Node190rect.height === 0 ? 0.0001 : Node190rect.height;
- var Node190endCompspts = [Node190compspts[Node190ptslength-2],Node190compspts[Node190ptslength-1],0,0];
- var Node190startCompspts = [Node190compspts[0],Node190compspts[1],0,0];
- Node190.setImage(GD.getPolyLineJSON());
- Node190.setPosition(Node190rect.x+Node190rect.width/2,Node190rect.y+Node190rect.height/2);
- Node190.setSize(Node190rect.width,Node190rect.height);
- Node190.setStyle("opacity",1);
- Node190.s({'pixelPerfect':true});
- Node190borderwidth=1;
- Node190.setRotation(0);
- dataModel.add(Node190);
- Node190.a('node.points',Node190compspts);
- Node190.a('node.segments',[1,2]);
- Node190.a('node.color','rgba(255,128,0,1)');
- Node190.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node190.a('node.borderColor','rgba(255,128,0,1)');
- Node190.a('node.background','rgba(255,128,0,1)');
- Node190.a('node.gradient','');
- Node190.a('node.gradientcolor','rgba(255,128,0,1)');
- Node190.a('node.endCompspts',Node190endCompspts);
- Node190.a('node.startCompspts',Node190startCompspts);
- (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 = 'Node190';
- 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);
- }
- })(Node190, Node190.getImage(), Node190compspts, Node190endCompspts, Node190startCompspts);
- var Node191points=[864, 676,864, 696],
- Node191rect=ht.Default.unionPoint([{x:864,y:676},{x:864,y:696}]),
- Node191compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node191points.length;i++){
- if(i%2==0){
- Node191compspts.push(Node191points[i]-Node191rect.x);
- }else{
- Node191compspts.push(Node191points[i]-Node191rect.y);
- }
- }
- var Node191ptslength=Node191compspts.length;
- if (Node191rect.height === 0) {
- Node191compspts[0] -= 0;
- Node191compspts[Node191ptslength-2] += 0;
- } else if (Node191rect.width === 0){
- Node191compspts[1] -= 0;
- Node191compspts[Node191ptslength-1] += 0;
- } else {
- Node191compspts[0] -= 0;
- Node191compspts[1] -= 0;
- Node191compspts[Node191ptslength-2] += 0;
- Node191compspts[Node191ptslength-1] += 0;
- }
- Node191 = new ht.Node();
- Node191.borderWidth = 1;
- Node191rect.width = Node191rect.width === 0 ? 0.0001 : Node191rect.width;
- Node191rect.height = Node191rect.height === 0 ? 0.0001 : Node191rect.height;
- var Node191endCompspts = [Node191compspts[Node191ptslength-2],Node191compspts[Node191ptslength-1],0,0];
- var Node191startCompspts = [Node191compspts[0],Node191compspts[1],0,0];
- Node191.setImage(GD.getPolyLineJSON());
- Node191.setPosition(Node191rect.x+Node191rect.width/2,Node191rect.y+Node191rect.height/2);
- Node191.setSize(Node191rect.width,Node191rect.height);
- Node191.setStyle("opacity",1);
- Node191.s({'pixelPerfect':true});
- Node191borderwidth=1;
- Node191.setRotation(0);
- dataModel.add(Node191);
- Node191.a('node.points',Node191compspts);
- Node191.a('node.segments',[1,2]);
- Node191.a('node.color','rgba(255,128,0,1)');
- Node191.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node191.a('node.borderColor','rgba(255,128,0,1)');
- Node191.a('node.background','rgba(255,128,0,1)');
- Node191.a('node.gradient','');
- Node191.a('node.gradientcolor','rgba(255,128,0,1)');
- Node191.a('node.endCompspts',Node191endCompspts);
- Node191.a('node.startCompspts',Node191startCompspts);
- (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 = 'Node191';
- 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);
- }
- })(Node191, Node191.getImage(), Node191compspts, Node191endCompspts, Node191startCompspts);
- var Node192points=[864, 697,1064, 697],
- Node192rect=ht.Default.unionPoint([{x:864,y:697},{x:1064,y:697}]),
- Node192compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node192points.length;i++){
- if(i%2==0){
- Node192compspts.push(Node192points[i]-Node192rect.x);
- }else{
- Node192compspts.push(Node192points[i]-Node192rect.y);
- }
- }
- var Node192ptslength=Node192compspts.length;
- if (Node192rect.height === 0) {
- Node192compspts[0] -= 0;
- Node192compspts[Node192ptslength-2] += 0;
- } else if (Node192rect.width === 0){
- Node192compspts[1] -= 0;
- Node192compspts[Node192ptslength-1] += 0;
- } else {
- Node192compspts[0] -= 0;
- Node192compspts[1] -= 0;
- Node192compspts[Node192ptslength-2] += 0;
- Node192compspts[Node192ptslength-1] += 0;
- }
- Node192 = new ht.Node();
- Node192.borderWidth = 1;
- Node192rect.width = Node192rect.width === 0 ? 0.0001 : Node192rect.width;
- Node192rect.height = Node192rect.height === 0 ? 0.0001 : Node192rect.height;
- var Node192endCompspts = [Node192compspts[Node192ptslength-2],Node192compspts[Node192ptslength-1],0,0];
- var Node192startCompspts = [Node192compspts[0],Node192compspts[1],0,0];
- Node192.setImage(GD.getPolyLineJSON());
- Node192.setPosition(Node192rect.x+Node192rect.width/2,Node192rect.y+Node192rect.height/2);
- Node192.setSize(Node192rect.width,Node192rect.height);
- Node192.setStyle("opacity",1);
- Node192.s({'pixelPerfect':true});
- Node192borderwidth=1;
- Node192.setRotation(0);
- dataModel.add(Node192);
- Node192.a('node.points',Node192compspts);
- Node192.a('node.segments',[1,2]);
- Node192.a('node.color','rgba(255,128,0,1)');
- Node192.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node192.a('node.borderColor','rgba(255,128,0,1)');
- Node192.a('node.background','rgba(255,128,0,1)');
- Node192.a('node.gradient','');
- Node192.a('node.gradientcolor','rgba(255,128,0,1)');
- Node192.a('node.endCompspts',Node192endCompspts);
- Node192.a('node.startCompspts',Node192startCompspts);
- (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 = 'Node192';
- 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);
- }
- })(Node192, Node192.getImage(), Node192compspts, Node192endCompspts, Node192startCompspts);
- var Node193points=[1064, 676,1064, 696],
- Node193rect=ht.Default.unionPoint([{x:1064,y:676},{x:1064,y:696}]),
- Node193compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node193points.length;i++){
- if(i%2==0){
- Node193compspts.push(Node193points[i]-Node193rect.x);
- }else{
- Node193compspts.push(Node193points[i]-Node193rect.y);
- }
- }
- var Node193ptslength=Node193compspts.length;
- if (Node193rect.height === 0) {
- Node193compspts[0] -= 0;
- Node193compspts[Node193ptslength-2] += 0;
- } else if (Node193rect.width === 0){
- Node193compspts[1] -= 0;
- Node193compspts[Node193ptslength-1] += 0;
- } else {
- Node193compspts[0] -= 0;
- Node193compspts[1] -= 0;
- Node193compspts[Node193ptslength-2] += 0;
- Node193compspts[Node193ptslength-1] += 0;
- }
- Node193 = new ht.Node();
- Node193.borderWidth = 1;
- Node193rect.width = Node193rect.width === 0 ? 0.0001 : Node193rect.width;
- Node193rect.height = Node193rect.height === 0 ? 0.0001 : Node193rect.height;
- var Node193endCompspts = [Node193compspts[Node193ptslength-2],Node193compspts[Node193ptslength-1],0,0];
- var Node193startCompspts = [Node193compspts[0],Node193compspts[1],0,0];
- Node193.setImage(GD.getPolyLineJSON());
- Node193.setPosition(Node193rect.x+Node193rect.width/2,Node193rect.y+Node193rect.height/2);
- Node193.setSize(Node193rect.width,Node193rect.height);
- Node193.setStyle("opacity",1);
- Node193.s({'pixelPerfect':true});
- Node193borderwidth=1;
- Node193.setRotation(0);
- dataModel.add(Node193);
- Node193.a('node.points',Node193compspts);
- Node193.a('node.segments',[1,2]);
- Node193.a('node.color','rgba(255,128,0,1)');
- Node193.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node193.a('node.borderColor','rgba(255,128,0,1)');
- Node193.a('node.background','rgba(255,128,0,1)');
- Node193.a('node.gradient','');
- Node193.a('node.gradientcolor','rgba(255,128,0,1)');
- Node193.a('node.endCompspts',Node193endCompspts);
- Node193.a('node.startCompspts',Node193startCompspts);
- (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 = 'Node193';
- 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);
- }
- })(Node193, Node193.getImage(), Node193compspts, Node193endCompspts, Node193startCompspts);
- var Node194points=[1064, 634,1064, 644],
- Node194rect=ht.Default.unionPoint([{x:1064,y:634},{x:1064,y:644}]),
- Node194compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node194points.length;i++){
- if(i%2==0){
- Node194compspts.push(Node194points[i]-Node194rect.x);
- }else{
- Node194compspts.push(Node194points[i]-Node194rect.y);
- }
- }
- var Node194ptslength=Node194compspts.length;
- if (Node194rect.height === 0) {
- Node194compspts[0] -= 0;
- Node194compspts[Node194ptslength-2] += 0;
- } else if (Node194rect.width === 0){
- Node194compspts[1] -= 0;
- Node194compspts[Node194ptslength-1] += 0;
- } else {
- Node194compspts[0] -= 0;
- Node194compspts[1] -= 0;
- Node194compspts[Node194ptslength-2] += 0;
- Node194compspts[Node194ptslength-1] += 0;
- }
- Node194 = new ht.Node();
- Node194.borderWidth = 1;
- Node194rect.width = Node194rect.width === 0 ? 0.0001 : Node194rect.width;
- Node194rect.height = Node194rect.height === 0 ? 0.0001 : Node194rect.height;
- var Node194endCompspts = [Node194compspts[Node194ptslength-2],Node194compspts[Node194ptslength-1],0,0];
- var Node194startCompspts = [Node194compspts[0],Node194compspts[1],0,0];
- Node194.setImage(GD.getPolyLineJSON());
- Node194.setPosition(Node194rect.x+Node194rect.width/2,Node194rect.y+Node194rect.height/2);
- Node194.setSize(Node194rect.width,Node194rect.height);
- Node194.setStyle("opacity",1);
- Node194.s({'pixelPerfect':true});
- Node194borderwidth=1;
- Node194.setRotation(0);
- dataModel.add(Node194);
- Node194.a('node.points',Node194compspts);
- Node194.a('node.segments',[1,2]);
- Node194.a('node.color','rgba(255,128,0,1)');
- Node194.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node194.a('node.borderColor','rgba(255,128,0,1)');
- Node194.a('node.background','rgba(255,128,0,1)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','rgba(255,128,0,1)');
- Node194.a('node.endCompspts',Node194endCompspts);
- Node194.a('node.startCompspts',Node194startCompspts);
- (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 = 'Node194';
- 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);
- }
- })(Node194, Node194.getImage(), Node194compspts, Node194endCompspts, Node194startCompspts);
- var Node195points=[400, 632,400, 642],
- Node195rect=ht.Default.unionPoint([{x:400,y:632},{x:400,y:642}]),
- Node195compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node195points.length;i++){
- if(i%2==0){
- Node195compspts.push(Node195points[i]-Node195rect.x);
- }else{
- Node195compspts.push(Node195points[i]-Node195rect.y);
- }
- }
- var Node195ptslength=Node195compspts.length;
- if (Node195rect.height === 0) {
- Node195compspts[0] -= 0;
- Node195compspts[Node195ptslength-2] += 0;
- } else if (Node195rect.width === 0){
- Node195compspts[1] -= 0;
- Node195compspts[Node195ptslength-1] += 0;
- } else {
- Node195compspts[0] -= 0;
- Node195compspts[1] -= 0;
- Node195compspts[Node195ptslength-2] += 0;
- Node195compspts[Node195ptslength-1] += 0;
- }
- Node195 = new ht.Node();
- Node195.borderWidth = 1;
- Node195rect.width = Node195rect.width === 0 ? 0.0001 : Node195rect.width;
- Node195rect.height = Node195rect.height === 0 ? 0.0001 : Node195rect.height;
- var Node195endCompspts = [Node195compspts[Node195ptslength-2],Node195compspts[Node195ptslength-1],0,0];
- var Node195startCompspts = [Node195compspts[0],Node195compspts[1],0,0];
- Node195.setImage(GD.getPolyLineJSON());
- Node195.setPosition(Node195rect.x+Node195rect.width/2,Node195rect.y+Node195rect.height/2);
- Node195.setSize(Node195rect.width,Node195rect.height);
- Node195.setStyle("opacity",1);
- Node195.s({'pixelPerfect':true});
- Node195borderwidth=1;
- Node195.setRotation(0);
- dataModel.add(Node195);
- Node195.a('node.points',Node195compspts);
- Node195.a('node.segments',[1,2]);
- Node195.a('node.color','rgba(255,128,0,1)');
- Node195.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node195.a('node.borderColor','rgba(255,128,0,1)');
- Node195.a('node.background','rgba(255,128,0,1)');
- Node195.a('node.gradient','');
- Node195.a('node.gradientcolor','rgba(255,128,0,1)');
- Node195.a('node.endCompspts',Node195endCompspts);
- Node195.a('node.startCompspts',Node195startCompspts);
- (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 = 'Node195';
- 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);
- }
- })(Node195, Node195.getImage(), Node195compspts, Node195endCompspts, Node195startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node196 = new ht.lib['黄箭头'](399*ratio.ratioX, 721*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node196');
- _libModel.add("Node196", Node196);
- Node196.setRotation(180*Math.PI/180);
- ;
- ;
- var Node197points=[400, 695,440, 695],
- Node197rect=ht.Default.unionPoint([{x:400,y:695},{x:440,y:695}]),
- Node197compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node197points.length;i++){
- if(i%2==0){
- Node197compspts.push(Node197points[i]-Node197rect.x);
- }else{
- Node197compspts.push(Node197points[i]-Node197rect.y);
- }
- }
- var Node197ptslength=Node197compspts.length;
- if (Node197rect.height === 0) {
- Node197compspts[0] -= 0;
- Node197compspts[Node197ptslength-2] += 0;
- } else if (Node197rect.width === 0){
- Node197compspts[1] -= 0;
- Node197compspts[Node197ptslength-1] += 0;
- } else {
- Node197compspts[0] -= 0;
- Node197compspts[1] -= 0;
- Node197compspts[Node197ptslength-2] += 0;
- Node197compspts[Node197ptslength-1] += 0;
- }
- Node197 = new ht.Node();
- Node197.borderWidth = 1;
- Node197rect.width = Node197rect.width === 0 ? 0.0001 : Node197rect.width;
- Node197rect.height = Node197rect.height === 0 ? 0.0001 : Node197rect.height;
- var Node197endCompspts = [Node197compspts[Node197ptslength-2],Node197compspts[Node197ptslength-1],0,0];
- var Node197startCompspts = [Node197compspts[0],Node197compspts[1],0,0];
- Node197.setImage(GD.getPolyLineJSON());
- Node197.setPosition(Node197rect.x+Node197rect.width/2,Node197rect.y+Node197rect.height/2);
- Node197.setSize(Node197rect.width,Node197rect.height);
- Node197.setStyle("opacity",1);
- Node197.s({'pixelPerfect':true});
- Node197borderwidth=1;
- Node197.setRotation(0);
- dataModel.add(Node197);
- Node197.a('node.points',Node197compspts);
- Node197.a('node.segments',[1,2]);
- Node197.a('node.color','rgba(255,128,0,1)');
- Node197.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node197.a('node.borderColor','rgba(255,128,0,1)');
- Node197.a('node.background','rgba(255,128,0,1)');
- Node197.a('node.gradient','');
- Node197.a('node.gradientcolor','rgba(255,128,0,1)');
- Node197.a('node.endCompspts',Node197endCompspts);
- Node197.a('node.startCompspts',Node197startCompspts);
- (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 = 'Node197';
- 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);
- }
- })(Node197, Node197.getImage(), Node197compspts, Node197endCompspts, Node197startCompspts);
- var Node198points=[440, 695,440, 705],
- Node198rect=ht.Default.unionPoint([{x:440,y:695},{x:440,y:705}]),
- Node198compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node198points.length;i++){
- if(i%2==0){
- Node198compspts.push(Node198points[i]-Node198rect.x);
- }else{
- Node198compspts.push(Node198points[i]-Node198rect.y);
- }
- }
- var Node198ptslength=Node198compspts.length;
- if (Node198rect.height === 0) {
- Node198compspts[0] -= 0;
- Node198compspts[Node198ptslength-2] += 0;
- } else if (Node198rect.width === 0){
- Node198compspts[1] -= 0;
- Node198compspts[Node198ptslength-1] += 0;
- } else {
- Node198compspts[0] -= 0;
- Node198compspts[1] -= 0;
- Node198compspts[Node198ptslength-2] += 0;
- Node198compspts[Node198ptslength-1] += 0;
- }
- Node198 = new ht.Node();
- Node198.borderWidth = 1;
- Node198rect.width = Node198rect.width === 0 ? 0.0001 : Node198rect.width;
- Node198rect.height = Node198rect.height === 0 ? 0.0001 : Node198rect.height;
- var Node198endCompspts = [Node198compspts[Node198ptslength-2],Node198compspts[Node198ptslength-1],0,0];
- var Node198startCompspts = [Node198compspts[0],Node198compspts[1],0,0];
- Node198.setImage(GD.getPolyLineJSON());
- Node198.setPosition(Node198rect.x+Node198rect.width/2,Node198rect.y+Node198rect.height/2);
- Node198.setSize(Node198rect.width,Node198rect.height);
- Node198.setStyle("opacity",1);
- Node198.s({'pixelPerfect':true});
- Node198borderwidth=1;
- Node198.setRotation(0);
- dataModel.add(Node198);
- Node198.a('node.points',Node198compspts);
- Node198.a('node.segments',[1,2]);
- Node198.a('node.color','rgba(255,128,0,1)');
- Node198.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node198.a('node.borderColor','rgba(255,128,0,1)');
- Node198.a('node.background','rgba(255,128,0,1)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','rgba(255,128,0,1)');
- Node198.a('node.endCompspts',Node198endCompspts);
- Node198.a('node.startCompspts',Node198startCompspts);
- (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 = 'Node198';
- 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);
- }
- })(Node198, Node198.getImage(), Node198compspts, Node198endCompspts, Node198startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.lib['黄色接地'](440*ratio.ratioX, 728*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node199');
- _libModel.add("Node199", Node199);
- Node199.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.Node();
- var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 13.3333*_ratio.ratioY,Node200width = 41*_ratio.ratioX, Node200height = 16*_ratio.ratioY;
- (function () {
- if (Node200align === 'left') {
- Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9;
- Node200textWidth = Node200width;
- Node200lineStart = 1;
- } else if (Node200align === 'right') {
- Node200textStart = 0;
- Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2;
- Node200lineStart = (Node200width - (ht.Default.getTextSize('312', ' '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node200align === 'center') {
- Node200textStart = -3;
- Node200textWidth = Node200width;
- Node200lineStart = Node200width - ht.Default.getTextSize('312', ' '+ Node200fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, ' '+ Node200fontSize + 'px "Arial"'))
- Node200.setPosition(376*ratio.ratioX, 659*ratio.ratioY);
- Node200.setWidth(Node200width);
- Node200.setHeight(Node200height);
- Node200._nodeType = 'text';
- Node200._disallowEvert = true;
- Node200.setRotation(0*Math.PI/180);
- Node200.a('node.width', Node200width);
- Node200.a('node.height', Node200height);
- Node200.a('node.rect', [0, 0, Node200width, Node200height]);
- Node200.a('node.bordercolor','rgba(0,0,0,1)');
- Node200.a('node.borderwidth', 0);
- Node200.a('node.background','' || 'rgba(0,0,0,0)');
- Node200.a('node.gradient','');
- Node200.a('node.gradientcolor','');
- Node200.a('node.text','312');
- Node200.a('node.textalign','left');
- Node200.a('node.textvAlign','middle');
- Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]);
- Node200.a('node.color','rgba(0,0,0,1)');
- Node200.a('node.font',' '+ Node200fontSize + 'px "Arial"');
- Node200.a('node.textvisible',true);
- Node200.a('node.linefeed',false);
- if (false) {
- Node200.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node200.a('node.text') || '312';
- var color=Node200.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node200width,Node200height,13.3333*_ratio.ratioY,"left",color,' '+ Node200fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node200.a('node.underlinepoints',[Node200lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('312', ' '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]);
- Node200.a('node.underlinevisible',false);
- Node200.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node200);
- zoomNodeList.push({
- node: Node200,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node201type = 'rect';
- var Node201 = new ht.Node(),
- Node201BorderWidth = 0*2;
- if (Node201type === 'arc') {
- Node201BorderWidth *= 0;
- }
- Node201.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node201type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node201.setPosition(401*ratio.ratioX, 780*ratio.ratioY);
- Node201.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node201.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node201.a('node.width', 90*_ratio.ratioX);
- Node201.a('node.height', 21*_ratio.ratioY);
- Node201.a('node.type', Node201type);
- Node201.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node201.a('node.background', 'rgba(0,0,192,1)');
- Node201.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node201.a('node.gradient', '');
- Node201.a('node.borderwidth', Node201BorderWidth);
- Node201.a('node.color', 'rgba(0,0,0,0)');
- Node201.a('node.fillrect', [0,0,0,0]);
- Node201.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node201.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node201.a('node.fillgradient', '');
- if (Node201type !== 'rect') {
- Node201.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node201.a('node.arcTo', parseFloat('@arcTo@'));
- Node201.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node201type === 'arc') {
- Node201.a('node.arcOval', true);
- }
- Node201.setRotation(0*Math.PI/180);
- Node201.borderWidth = Node201BorderWidth;
- Node201.borderFillwidth = Node201BorderWidth;
- dataModel.add(Node201);
- Node201._nodename = 'Node201'
- Node201._nodeType = 'rect';
- zoomNodeList.push({
- node: Node201,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node201, Node201.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node202 = new ht.Node();
- var Node202textStart, Node202textWidth, Node202lineStart, Node202align = 'left', Node202fontSize = 13.3333*_ratio.ratioY,Node202width = 69*_ratio.ratioX, Node202height = 30*_ratio.ratioY;
- (function () {
- if (Node202align === 'left') {
- Node202textStart = Node202fontSize * 0.2 > 2 ? Node202fontSize * 0.2 - 4 : Node202fontSize * 0.2 - 9;
- Node202textWidth = Node202width;
- Node202lineStart = 1;
- } else if (Node202align === 'right') {
- Node202textStart = 0;
- Node202textWidth =Node202fontSize <= 8 ? Node202width + Node202fontSize * 0.2 + 6 : Node202width - Node202fontSize * 0.2;
- Node202lineStart = (Node202width - (ht.Default.getTextSize('集电Ⅱ线', ' '+ Node202fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node202align === 'center') {
- Node202textStart = -3;
- Node202textWidth = Node202width;
- Node202lineStart = Node202width - ht.Default.getTextSize('集电Ⅱ线', ' '+ Node202fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node202.setImage(GD.getTextJSON(Node202width, Node202height, true, false, false, ' '+ Node202fontSize + 'px "微软雅黑"'))
- Node202.setPosition(410*ratio.ratioX, 781*ratio.ratioY);
- Node202.setWidth(Node202width);
- Node202.setHeight(Node202height);
- Node202._nodeType = 'text';
- Node202._disallowEvert = true;
- Node202.setRotation(0*Math.PI/180);
- Node202.a('node.width', Node202width);
- Node202.a('node.height', Node202height);
- Node202.a('node.rect', [0, 0, Node202width, Node202height]);
- Node202.a('node.bordercolor','rgba(255,255,255,1)');
- Node202.a('node.borderwidth', 0);
- Node202.a('node.background','' || 'rgba(0,0,0,0)');
- Node202.a('node.gradient','');
- Node202.a('node.gradientcolor','');
- Node202.a('node.text','集电Ⅱ线');
- Node202.a('node.textalign','left');
- Node202.a('node.textvAlign','middle');
- Node202.a('node.textrect', [Node202textStart, 0, Node202textWidth, Node202height]);
- Node202.a('node.color','rgba(255,255,255,1)');
- Node202.a('node.font',' '+ Node202fontSize + 'px "微软雅黑"');
- Node202.a('node.textvisible',true);
- Node202.a('node.linefeed',false);
- if (false) {
- Node202.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node202.a('node.text') || '集电Ⅱ线';
- var color=Node202.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node202width,Node202height,13.3333*_ratio.ratioY,"left",color,' '+ Node202fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node202.a('node.underlinepoints',[Node202lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node202fontSize + 2 , ht.Default.getTextSize('集电Ⅱ线', ' '+ Node202fontSize + 'px "微软雅黑"').width + 6, (Node202height - Node202fontSize) * 0.5*_ratio.ratioY + Node202fontSize + 2 ]);
- Node202.a('node.underlinevisible',false);
- Node202.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node202);
- zoomNodeList.push({
- node: Node202,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node203 = new ht.Node();
- var Node203textStart, Node203textWidth, Node203lineStart, Node203align = 'left', Node203fontSize = 13.3333*_ratio.ratioY,Node203width = 41*_ratio.ratioX, Node203height = 16*_ratio.ratioY;
- (function () {
- if (Node203align === 'left') {
- Node203textStart = Node203fontSize * 0.2 > 2 ? Node203fontSize * 0.2 - 4 : Node203fontSize * 0.2 - 9;
- Node203textWidth = Node203width;
- Node203lineStart = 1;
- } else if (Node203align === 'right') {
- Node203textStart = 0;
- Node203textWidth =Node203fontSize <= 8 ? Node203width + Node203fontSize * 0.2 + 6 : Node203width - Node203fontSize * 0.2;
- Node203lineStart = (Node203width - (ht.Default.getTextSize('312-0', ' '+ Node203fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node203align === 'center') {
- Node203textStart = -3;
- Node203textWidth = Node203width;
- Node203lineStart = Node203width - ht.Default.getTextSize('312-0', ' '+ Node203fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node203.setImage(GD.getTextJSON(Node203width, Node203height, true, false, false, ' '+ Node203fontSize + 'px "Arial"'))
- Node203.setPosition(468*ratio.ratioX, 712*ratio.ratioY);
- Node203.setWidth(Node203width);
- Node203.setHeight(Node203height);
- Node203._nodeType = 'text';
- Node203._disallowEvert = true;
- Node203.setRotation(0*Math.PI/180);
- Node203.a('node.width', Node203width);
- Node203.a('node.height', Node203height);
- Node203.a('node.rect', [0, 0, Node203width, Node203height]);
- Node203.a('node.bordercolor','rgba(0,0,0,1)');
- Node203.a('node.borderwidth', 0);
- Node203.a('node.background','' || 'rgba(0,0,0,0)');
- Node203.a('node.gradient','');
- Node203.a('node.gradientcolor','');
- Node203.a('node.text','312-0');
- Node203.a('node.textalign','left');
- Node203.a('node.textvAlign','middle');
- Node203.a('node.textrect', [Node203textStart, 0, Node203textWidth, Node203height]);
- Node203.a('node.color','rgba(0,0,0,1)');
- Node203.a('node.font',' '+ Node203fontSize + 'px "Arial"');
- Node203.a('node.textvisible',true);
- Node203.a('node.linefeed',false);
- if (false) {
- Node203.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node203.a('node.text') || '312-0';
- var color=Node203.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node203width,Node203height,13.3333*_ratio.ratioY,"left",color,' '+ Node203fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node203.a('node.underlinepoints',[Node203lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node203fontSize + 2 , ht.Default.getTextSize('312-0', ' '+ Node203fontSize + 'px "Arial"').width + 6, (Node203height - Node203fontSize) * 0.5*_ratio.ratioY + Node203fontSize + 2 ]);
- Node203.a('node.underlinevisible',false);
- Node203.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node203);
- zoomNodeList.push({
- node: Node203,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204 = new ht.Node();
- var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'left', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 41*_ratio.ratioX, Node204height = 16*_ratio.ratioY;
- (function () {
- if (Node204align === 'left') {
- Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9;
- Node204textWidth = Node204width;
- Node204lineStart = 1;
- } else if (Node204align === 'right') {
- Node204textStart = 0;
- Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2;
- Node204lineStart = (Node204width - (ht.Default.getTextSize('313-0', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204align === 'center') {
- Node204textStart = -3;
- Node204textWidth = Node204width;
- Node204lineStart = Node204width - ht.Default.getTextSize('313-0', ' '+ Node204fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204.setImage(GD.getTextJSON(Node204width, Node204height, true, false, false, ' '+ Node204fontSize + 'px "Arial"'))
- Node204.setPosition(638*ratio.ratioX, 709*ratio.ratioY);
- Node204.setWidth(Node204width);
- Node204.setHeight(Node204height);
- Node204._nodeType = 'text';
- Node204._disallowEvert = true;
- Node204.setRotation(0*Math.PI/180);
- Node204.a('node.width', Node204width);
- Node204.a('node.height', Node204height);
- Node204.a('node.rect', [0, 0, Node204width, Node204height]);
- Node204.a('node.bordercolor','rgba(0,0,0,1)');
- Node204.a('node.borderwidth', 0);
- Node204.a('node.background','' || 'rgba(0,0,0,0)');
- Node204.a('node.gradient','');
- Node204.a('node.gradientcolor','');
- Node204.a('node.text','313-0');
- Node204.a('node.textalign','left');
- Node204.a('node.textvAlign','middle');
- Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]);
- Node204.a('node.color','rgba(0,0,0,1)');
- Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"');
- Node204.a('node.textvisible',true);
- Node204.a('node.linefeed',false);
- if (false) {
- Node204.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204.a('node.text') || '313-0';
- var color=Node204.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"left",color,' '+ Node204fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204.a('node.underlinepoints',[Node204lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('313-0', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]);
- Node204.a('node.underlinevisible',false);
- Node204.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204);
- zoomNodeList.push({
- node: Node204,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node205points=[568, 631,568, 641],
- Node205rect=ht.Default.unionPoint([{x:568,y:631},{x:568,y:641}]),
- Node205compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node205points.length;i++){
- if(i%2==0){
- Node205compspts.push(Node205points[i]-Node205rect.x);
- }else{
- Node205compspts.push(Node205points[i]-Node205rect.y);
- }
- }
- var Node205ptslength=Node205compspts.length;
- if (Node205rect.height === 0) {
- Node205compspts[0] -= 0;
- Node205compspts[Node205ptslength-2] += 0;
- } else if (Node205rect.width === 0){
- Node205compspts[1] -= 0;
- Node205compspts[Node205ptslength-1] += 0;
- } else {
- Node205compspts[0] -= 0;
- Node205compspts[1] -= 0;
- Node205compspts[Node205ptslength-2] += 0;
- Node205compspts[Node205ptslength-1] += 0;
- }
- Node205 = new ht.Node();
- Node205.borderWidth = 1;
- Node205rect.width = Node205rect.width === 0 ? 0.0001 : Node205rect.width;
- Node205rect.height = Node205rect.height === 0 ? 0.0001 : Node205rect.height;
- var Node205endCompspts = [Node205compspts[Node205ptslength-2],Node205compspts[Node205ptslength-1],0,0];
- var Node205startCompspts = [Node205compspts[0],Node205compspts[1],0,0];
- Node205.setImage(GD.getPolyLineJSON());
- Node205.setPosition(Node205rect.x+Node205rect.width/2,Node205rect.y+Node205rect.height/2);
- Node205.setSize(Node205rect.width,Node205rect.height);
- Node205.setStyle("opacity",1);
- Node205.s({'pixelPerfect':true});
- Node205borderwidth=1;
- Node205.setRotation(0);
- dataModel.add(Node205);
- Node205.a('node.points',Node205compspts);
- Node205.a('node.segments',[1,2]);
- Node205.a('node.color','rgba(255,128,0,1)');
- Node205.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node205.a('node.borderColor','rgba(255,128,0,1)');
- Node205.a('node.background','rgba(255,128,0,1)');
- Node205.a('node.gradient','');
- Node205.a('node.gradientcolor','rgba(255,128,0,1)');
- Node205.a('node.endCompspts',Node205endCompspts);
- Node205.a('node.startCompspts',Node205startCompspts);
- (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 = 'Node205';
- 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);
- }
- })(Node205, Node205.getImage(), Node205compspts, Node205endCompspts, Node205startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node206 = new ht.lib['黄箭头'](567*ratio.ratioX, 720*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node206');
- _libModel.add("Node206", Node206);
- Node206.setRotation(180*Math.PI/180);
- ;
- ;
- var Node207points=[568, 694,608, 694],
- Node207rect=ht.Default.unionPoint([{x:568,y:694},{x:608,y:694}]),
- Node207compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node207points.length;i++){
- if(i%2==0){
- Node207compspts.push(Node207points[i]-Node207rect.x);
- }else{
- Node207compspts.push(Node207points[i]-Node207rect.y);
- }
- }
- var Node207ptslength=Node207compspts.length;
- if (Node207rect.height === 0) {
- Node207compspts[0] -= 0;
- Node207compspts[Node207ptslength-2] += 0;
- } else if (Node207rect.width === 0){
- Node207compspts[1] -= 0;
- Node207compspts[Node207ptslength-1] += 0;
- } else {
- Node207compspts[0] -= 0;
- Node207compspts[1] -= 0;
- Node207compspts[Node207ptslength-2] += 0;
- Node207compspts[Node207ptslength-1] += 0;
- }
- Node207 = new ht.Node();
- Node207.borderWidth = 1;
- Node207rect.width = Node207rect.width === 0 ? 0.0001 : Node207rect.width;
- Node207rect.height = Node207rect.height === 0 ? 0.0001 : Node207rect.height;
- var Node207endCompspts = [Node207compspts[Node207ptslength-2],Node207compspts[Node207ptslength-1],0,0];
- var Node207startCompspts = [Node207compspts[0],Node207compspts[1],0,0];
- Node207.setImage(GD.getPolyLineJSON());
- Node207.setPosition(Node207rect.x+Node207rect.width/2,Node207rect.y+Node207rect.height/2);
- Node207.setSize(Node207rect.width,Node207rect.height);
- Node207.setStyle("opacity",1);
- Node207.s({'pixelPerfect':true});
- Node207borderwidth=1;
- Node207.setRotation(0);
- dataModel.add(Node207);
- Node207.a('node.points',Node207compspts);
- Node207.a('node.segments',[1,2]);
- Node207.a('node.color','rgba(255,128,0,1)');
- Node207.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node207.a('node.borderColor','rgba(255,128,0,1)');
- Node207.a('node.background','rgba(255,128,0,1)');
- Node207.a('node.gradient','');
- Node207.a('node.gradientcolor','rgba(255,128,0,1)');
- Node207.a('node.endCompspts',Node207endCompspts);
- Node207.a('node.startCompspts',Node207startCompspts);
- (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 = 'Node207';
- 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);
- }
- })(Node207, Node207.getImage(), Node207compspts, Node207endCompspts, Node207startCompspts);
- var Node208points=[608, 694,608, 704],
- Node208rect=ht.Default.unionPoint([{x:608,y:694},{x:608,y:704}]),
- Node208compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node208points.length;i++){
- if(i%2==0){
- Node208compspts.push(Node208points[i]-Node208rect.x);
- }else{
- Node208compspts.push(Node208points[i]-Node208rect.y);
- }
- }
- var Node208ptslength=Node208compspts.length;
- if (Node208rect.height === 0) {
- Node208compspts[0] -= 0;
- Node208compspts[Node208ptslength-2] += 0;
- } else if (Node208rect.width === 0){
- Node208compspts[1] -= 0;
- Node208compspts[Node208ptslength-1] += 0;
- } else {
- Node208compspts[0] -= 0;
- Node208compspts[1] -= 0;
- Node208compspts[Node208ptslength-2] += 0;
- Node208compspts[Node208ptslength-1] += 0;
- }
- Node208 = new ht.Node();
- Node208.borderWidth = 1;
- Node208rect.width = Node208rect.width === 0 ? 0.0001 : Node208rect.width;
- Node208rect.height = Node208rect.height === 0 ? 0.0001 : Node208rect.height;
- var Node208endCompspts = [Node208compspts[Node208ptslength-2],Node208compspts[Node208ptslength-1],0,0];
- var Node208startCompspts = [Node208compspts[0],Node208compspts[1],0,0];
- Node208.setImage(GD.getPolyLineJSON());
- Node208.setPosition(Node208rect.x+Node208rect.width/2,Node208rect.y+Node208rect.height/2);
- Node208.setSize(Node208rect.width,Node208rect.height);
- Node208.setStyle("opacity",1);
- Node208.s({'pixelPerfect':true});
- Node208borderwidth=1;
- Node208.setRotation(0);
- dataModel.add(Node208);
- Node208.a('node.points',Node208compspts);
- Node208.a('node.segments',[1,2]);
- Node208.a('node.color','rgba(255,128,0,1)');
- Node208.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node208.a('node.borderColor','rgba(255,128,0,1)');
- Node208.a('node.background','rgba(255,128,0,1)');
- Node208.a('node.gradient','');
- Node208.a('node.gradientcolor','rgba(255,128,0,1)');
- Node208.a('node.endCompspts',Node208endCompspts);
- Node208.a('node.startCompspts',Node208startCompspts);
- (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 = 'Node208';
- 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);
- }
- })(Node208, Node208.getImage(), Node208compspts, Node208endCompspts, Node208startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node209 = new ht.lib['黄色接地'](608*ratio.ratioX, 727*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node209');
- _libModel.add("Node209", Node209);
- Node209.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node210 = new ht.Node();
- var Node210textStart, Node210textWidth, Node210lineStart, Node210align = 'left', Node210fontSize = 13.3333*_ratio.ratioY,Node210width = 41*_ratio.ratioX, Node210height = 16*_ratio.ratioY;
- (function () {
- if (Node210align === 'left') {
- Node210textStart = Node210fontSize * 0.2 > 2 ? Node210fontSize * 0.2 - 4 : Node210fontSize * 0.2 - 9;
- Node210textWidth = Node210width;
- Node210lineStart = 1;
- } else if (Node210align === 'right') {
- Node210textStart = 0;
- Node210textWidth =Node210fontSize <= 8 ? Node210width + Node210fontSize * 0.2 + 6 : Node210width - Node210fontSize * 0.2;
- Node210lineStart = (Node210width - (ht.Default.getTextSize('313', ' '+ Node210fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node210align === 'center') {
- Node210textStart = -3;
- Node210textWidth = Node210width;
- Node210lineStart = Node210width - ht.Default.getTextSize('313', ' '+ Node210fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node210.setImage(GD.getTextJSON(Node210width, Node210height, true, false, false, ' '+ Node210fontSize + 'px "Arial"'))
- Node210.setPosition(544*ratio.ratioX, 658*ratio.ratioY);
- Node210.setWidth(Node210width);
- Node210.setHeight(Node210height);
- Node210._nodeType = 'text';
- Node210._disallowEvert = true;
- Node210.setRotation(0*Math.PI/180);
- Node210.a('node.width', Node210width);
- Node210.a('node.height', Node210height);
- Node210.a('node.rect', [0, 0, Node210width, Node210height]);
- Node210.a('node.bordercolor','rgba(0,0,0,1)');
- Node210.a('node.borderwidth', 0);
- Node210.a('node.background','' || 'rgba(0,0,0,0)');
- Node210.a('node.gradient','');
- Node210.a('node.gradientcolor','');
- Node210.a('node.text','313');
- Node210.a('node.textalign','left');
- Node210.a('node.textvAlign','middle');
- Node210.a('node.textrect', [Node210textStart, 0, Node210textWidth, Node210height]);
- Node210.a('node.color','rgba(0,0,0,1)');
- Node210.a('node.font',' '+ Node210fontSize + 'px "Arial"');
- Node210.a('node.textvisible',true);
- Node210.a('node.linefeed',false);
- if (false) {
- Node210.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node210.a('node.text') || '313';
- var color=Node210.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node210width,Node210height,13.3333*_ratio.ratioY,"left",color,' '+ Node210fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node210.a('node.underlinepoints',[Node210lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node210fontSize + 2 , ht.Default.getTextSize('313', ' '+ Node210fontSize + 'px "Arial"').width + 6, (Node210height - Node210fontSize) * 0.5*_ratio.ratioY + Node210fontSize + 2 ]);
- Node210.a('node.underlinevisible',false);
- Node210.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node210);
- zoomNodeList.push({
- node: Node210,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node211type = 'rect';
- var Node211 = new ht.Node(),
- Node211BorderWidth = 0*2;
- if (Node211type === 'arc') {
- Node211BorderWidth *= 0;
- }
- Node211.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node211type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node211.setPosition(569*ratio.ratioX, 779*ratio.ratioY);
- Node211.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node211.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node211.a('node.width', 90*_ratio.ratioX);
- Node211.a('node.height', 21*_ratio.ratioY);
- Node211.a('node.type', Node211type);
- Node211.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node211.a('node.background', 'rgba(0,0,192,1)');
- Node211.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node211.a('node.gradient', '');
- Node211.a('node.borderwidth', Node211BorderWidth);
- Node211.a('node.color', 'rgba(0,0,0,0)');
- Node211.a('node.fillrect', [0,0,0,0]);
- Node211.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node211.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node211.a('node.fillgradient', '');
- if (Node211type !== 'rect') {
- Node211.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node211.a('node.arcTo', parseFloat('@arcTo@'));
- Node211.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node211type === 'arc') {
- Node211.a('node.arcOval', true);
- }
- Node211.setRotation(0*Math.PI/180);
- Node211.borderWidth = Node211BorderWidth;
- Node211.borderFillwidth = Node211BorderWidth;
- dataModel.add(Node211);
- Node211._nodename = 'Node211'
- Node211._nodeType = 'rect';
- zoomNodeList.push({
- node: Node211,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node211, Node211.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node212 = new ht.Node();
- var Node212textStart, Node212textWidth, Node212lineStart, Node212align = 'left', Node212fontSize = 13.3333*_ratio.ratioY,Node212width = 69*_ratio.ratioX, Node212height = 30*_ratio.ratioY;
- (function () {
- if (Node212align === 'left') {
- Node212textStart = Node212fontSize * 0.2 > 2 ? Node212fontSize * 0.2 - 4 : Node212fontSize * 0.2 - 9;
- Node212textWidth = Node212width;
- Node212lineStart = 1;
- } else if (Node212align === 'right') {
- Node212textStart = 0;
- Node212textWidth =Node212fontSize <= 8 ? Node212width + Node212fontSize * 0.2 + 6 : Node212width - Node212fontSize * 0.2;
- Node212lineStart = (Node212width - (ht.Default.getTextSize('集电Ⅲ线', ' '+ Node212fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node212align === 'center') {
- Node212textStart = -3;
- Node212textWidth = Node212width;
- Node212lineStart = Node212width - ht.Default.getTextSize('集电Ⅲ线', ' '+ Node212fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node212.setImage(GD.getTextJSON(Node212width, Node212height, true, false, false, ' '+ Node212fontSize + 'px "微软雅黑"'))
- Node212.setPosition(578*ratio.ratioX, 780*ratio.ratioY);
- Node212.setWidth(Node212width);
- Node212.setHeight(Node212height);
- Node212._nodeType = 'text';
- Node212._disallowEvert = true;
- Node212.setRotation(0*Math.PI/180);
- Node212.a('node.width', Node212width);
- Node212.a('node.height', Node212height);
- Node212.a('node.rect', [0, 0, Node212width, Node212height]);
- Node212.a('node.bordercolor','rgba(255,255,255,1)');
- Node212.a('node.borderwidth', 0);
- Node212.a('node.background','' || 'rgba(0,0,0,0)');
- Node212.a('node.gradient','');
- Node212.a('node.gradientcolor','');
- Node212.a('node.text','集电Ⅲ线');
- Node212.a('node.textalign','left');
- Node212.a('node.textvAlign','middle');
- Node212.a('node.textrect', [Node212textStart, 0, Node212textWidth, Node212height]);
- Node212.a('node.color','rgba(255,255,255,1)');
- Node212.a('node.font',' '+ Node212fontSize + 'px "微软雅黑"');
- Node212.a('node.textvisible',true);
- Node212.a('node.linefeed',false);
- if (false) {
- Node212.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node212.a('node.text') || '集电Ⅲ线';
- var color=Node212.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node212width,Node212height,13.3333*_ratio.ratioY,"left",color,' '+ Node212fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node212.a('node.underlinepoints',[Node212lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node212fontSize + 2 , ht.Default.getTextSize('集电Ⅲ线', ' '+ Node212fontSize + 'px "微软雅黑"').width + 6, (Node212height - Node212fontSize) * 0.5*_ratio.ratioY + Node212fontSize + 2 ]);
- Node212.a('node.underlinevisible',false);
- Node212.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node212);
- zoomNodeList.push({
- node: Node212,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node213 = new ht.Node();
- var Node213textStart, Node213textWidth, Node213lineStart, Node213align = 'left', Node213fontSize = 13.3333*_ratio.ratioY,Node213width = 41*_ratio.ratioX, Node213height = 16*_ratio.ratioY;
- (function () {
- if (Node213align === 'left') {
- Node213textStart = Node213fontSize * 0.2 > 2 ? Node213fontSize * 0.2 - 4 : Node213fontSize * 0.2 - 9;
- Node213textWidth = Node213width;
- Node213lineStart = 1;
- } else if (Node213align === 'right') {
- Node213textStart = 0;
- Node213textWidth =Node213fontSize <= 8 ? Node213width + Node213fontSize * 0.2 + 6 : Node213width - Node213fontSize * 0.2;
- Node213lineStart = (Node213width - (ht.Default.getTextSize('314-0', ' '+ Node213fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node213align === 'center') {
- Node213textStart = -3;
- Node213textWidth = Node213width;
- Node213lineStart = Node213width - ht.Default.getTextSize('314-0', ' '+ Node213fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node213.setImage(GD.getTextJSON(Node213width, Node213height, true, false, false, ' '+ Node213fontSize + 'px "Arial"'))
- Node213.setPosition(810*ratio.ratioX, 709*ratio.ratioY);
- Node213.setWidth(Node213width);
- Node213.setHeight(Node213height);
- Node213._nodeType = 'text';
- Node213._disallowEvert = true;
- Node213.setRotation(0*Math.PI/180);
- Node213.a('node.width', Node213width);
- Node213.a('node.height', Node213height);
- Node213.a('node.rect', [0, 0, Node213width, Node213height]);
- Node213.a('node.bordercolor','rgba(0,0,0,1)');
- Node213.a('node.borderwidth', 0);
- Node213.a('node.background','' || 'rgba(0,0,0,0)');
- Node213.a('node.gradient','');
- Node213.a('node.gradientcolor','');
- Node213.a('node.text','314-0');
- Node213.a('node.textalign','left');
- Node213.a('node.textvAlign','middle');
- Node213.a('node.textrect', [Node213textStart, 0, Node213textWidth, Node213height]);
- Node213.a('node.color','rgba(0,0,0,1)');
- Node213.a('node.font',' '+ Node213fontSize + 'px "Arial"');
- Node213.a('node.textvisible',true);
- Node213.a('node.linefeed',false);
- if (false) {
- Node213.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node213.a('node.text') || '314-0';
- var color=Node213.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node213width,Node213height,13.3333*_ratio.ratioY,"left",color,' '+ Node213fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node213.a('node.underlinepoints',[Node213lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node213fontSize + 2 , ht.Default.getTextSize('314-0', ' '+ Node213fontSize + 'px "Arial"').width + 6, (Node213height - Node213fontSize) * 0.5*_ratio.ratioY + Node213fontSize + 2 ]);
- Node213.a('node.underlinevisible',false);
- Node213.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node213);
- zoomNodeList.push({
- node: Node213,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node214points=[1153, 634,1153, 644],
- Node214rect=ht.Default.unionPoint([{x:1153,y:634},{x:1153,y:644}]),
- Node214compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node214points.length;i++){
- if(i%2==0){
- Node214compspts.push(Node214points[i]-Node214rect.x);
- }else{
- Node214compspts.push(Node214points[i]-Node214rect.y);
- }
- }
- var Node214ptslength=Node214compspts.length;
- if (Node214rect.height === 0) {
- Node214compspts[0] -= 0;
- Node214compspts[Node214ptslength-2] += 0;
- } else if (Node214rect.width === 0){
- Node214compspts[1] -= 0;
- Node214compspts[Node214ptslength-1] += 0;
- } else {
- Node214compspts[0] -= 0;
- Node214compspts[1] -= 0;
- Node214compspts[Node214ptslength-2] += 0;
- Node214compspts[Node214ptslength-1] += 0;
- }
- Node214 = new ht.Node();
- Node214.borderWidth = 1;
- Node214rect.width = Node214rect.width === 0 ? 0.0001 : Node214rect.width;
- Node214rect.height = Node214rect.height === 0 ? 0.0001 : Node214rect.height;
- var Node214endCompspts = [Node214compspts[Node214ptslength-2],Node214compspts[Node214ptslength-1],0,0];
- var Node214startCompspts = [Node214compspts[0],Node214compspts[1],0,0];
- Node214.setImage(GD.getPolyLineJSON());
- Node214.setPosition(Node214rect.x+Node214rect.width/2,Node214rect.y+Node214rect.height/2);
- Node214.setSize(Node214rect.width,Node214rect.height);
- Node214.setStyle("opacity",1);
- Node214.s({'pixelPerfect':true});
- Node214borderwidth=1;
- Node214.setRotation(0);
- dataModel.add(Node214);
- Node214.a('node.points',Node214compspts);
- Node214.a('node.segments',[1,2]);
- Node214.a('node.color','rgba(255,128,0,1)');
- Node214.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node214.a('node.borderColor','rgba(255,128,0,1)');
- Node214.a('node.background','rgba(255,128,0,1)');
- Node214.a('node.gradient','');
- Node214.a('node.gradientcolor','rgba(255,128,0,1)');
- Node214.a('node.endCompspts',Node214endCompspts);
- Node214.a('node.startCompspts',Node214startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node214';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node214, Node214.getImage(), Node214compspts, Node214endCompspts, Node214startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node215 = new ht.lib['黄箭头'](1152*ratio.ratioX, 723*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node215');
- _libModel.add("Node215", Node215);
- Node215.setRotation(180*Math.PI/180);
- ;
- ;
- var Node216points=[1153, 697,1193, 697],
- Node216rect=ht.Default.unionPoint([{x:1153,y:697},{x:1193,y:697}]),
- Node216compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node216points.length;i++){
- if(i%2==0){
- Node216compspts.push(Node216points[i]-Node216rect.x);
- }else{
- Node216compspts.push(Node216points[i]-Node216rect.y);
- }
- }
- var Node216ptslength=Node216compspts.length;
- if (Node216rect.height === 0) {
- Node216compspts[0] -= 0;
- Node216compspts[Node216ptslength-2] += 0;
- } else if (Node216rect.width === 0){
- Node216compspts[1] -= 0;
- Node216compspts[Node216ptslength-1] += 0;
- } else {
- Node216compspts[0] -= 0;
- Node216compspts[1] -= 0;
- Node216compspts[Node216ptslength-2] += 0;
- Node216compspts[Node216ptslength-1] += 0;
- }
- Node216 = new ht.Node();
- Node216.borderWidth = 1;
- Node216rect.width = Node216rect.width === 0 ? 0.0001 : Node216rect.width;
- Node216rect.height = Node216rect.height === 0 ? 0.0001 : Node216rect.height;
- var Node216endCompspts = [Node216compspts[Node216ptslength-2],Node216compspts[Node216ptslength-1],0,0];
- var Node216startCompspts = [Node216compspts[0],Node216compspts[1],0,0];
- Node216.setImage(GD.getPolyLineJSON());
- Node216.setPosition(Node216rect.x+Node216rect.width/2,Node216rect.y+Node216rect.height/2);
- Node216.setSize(Node216rect.width,Node216rect.height);
- Node216.setStyle("opacity",1);
- Node216.s({'pixelPerfect':true});
- Node216borderwidth=1;
- Node216.setRotation(0);
- dataModel.add(Node216);
- Node216.a('node.points',Node216compspts);
- Node216.a('node.segments',[1,2]);
- Node216.a('node.color','rgba(255,128,0,1)');
- Node216.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node216.a('node.borderColor','rgba(255,128,0,1)');
- Node216.a('node.background','rgba(255,128,0,1)');
- Node216.a('node.gradient','');
- Node216.a('node.gradientcolor','rgba(255,128,0,1)');
- Node216.a('node.endCompspts',Node216endCompspts);
- Node216.a('node.startCompspts',Node216startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node216';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node216, Node216.getImage(), Node216compspts, Node216endCompspts, Node216startCompspts);
- var Node217points=[1193, 697,1193, 707],
- Node217rect=ht.Default.unionPoint([{x:1193,y:697},{x:1193,y:707}]),
- Node217compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node217points.length;i++){
- if(i%2==0){
- Node217compspts.push(Node217points[i]-Node217rect.x);
- }else{
- Node217compspts.push(Node217points[i]-Node217rect.y);
- }
- }
- var Node217ptslength=Node217compspts.length;
- if (Node217rect.height === 0) {
- Node217compspts[0] -= 0;
- Node217compspts[Node217ptslength-2] += 0;
- } else if (Node217rect.width === 0){
- Node217compspts[1] -= 0;
- Node217compspts[Node217ptslength-1] += 0;
- } else {
- Node217compspts[0] -= 0;
- Node217compspts[1] -= 0;
- Node217compspts[Node217ptslength-2] += 0;
- Node217compspts[Node217ptslength-1] += 0;
- }
- Node217 = new ht.Node();
- Node217.borderWidth = 1;
- Node217rect.width = Node217rect.width === 0 ? 0.0001 : Node217rect.width;
- Node217rect.height = Node217rect.height === 0 ? 0.0001 : Node217rect.height;
- var Node217endCompspts = [Node217compspts[Node217ptslength-2],Node217compspts[Node217ptslength-1],0,0];
- var Node217startCompspts = [Node217compspts[0],Node217compspts[1],0,0];
- Node217.setImage(GD.getPolyLineJSON());
- Node217.setPosition(Node217rect.x+Node217rect.width/2,Node217rect.y+Node217rect.height/2);
- Node217.setSize(Node217rect.width,Node217rect.height);
- Node217.setStyle("opacity",1);
- Node217.s({'pixelPerfect':true});
- Node217borderwidth=1;
- Node217.setRotation(0);
- dataModel.add(Node217);
- Node217.a('node.points',Node217compspts);
- Node217.a('node.segments',[1,2]);
- Node217.a('node.color','rgba(255,128,0,1)');
- Node217.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node217.a('node.borderColor','rgba(255,128,0,1)');
- Node217.a('node.background','rgba(255,128,0,1)');
- Node217.a('node.gradient','');
- Node217.a('node.gradientcolor','rgba(255,128,0,1)');
- Node217.a('node.endCompspts',Node217endCompspts);
- Node217.a('node.startCompspts',Node217startCompspts);
- (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 = 'Node217';
- 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);
- }
- })(Node217, Node217.getImage(), Node217compspts, Node217endCompspts, Node217startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node218 = new ht.lib['黄色接地'](1193*ratio.ratioX, 733*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node218');
- _libModel.add("Node218", Node218);
- Node218.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node219 = new ht.Node();
- var Node219textStart, Node219textWidth, Node219lineStart, Node219align = 'left', Node219fontSize = 13.3333*_ratio.ratioY,Node219width = 41*_ratio.ratioX, Node219height = 16*_ratio.ratioY;
- (function () {
- if (Node219align === 'left') {
- Node219textStart = Node219fontSize * 0.2 > 2 ? Node219fontSize * 0.2 - 4 : Node219fontSize * 0.2 - 9;
- Node219textWidth = Node219width;
- Node219lineStart = 1;
- } else if (Node219align === 'right') {
- Node219textStart = 0;
- Node219textWidth =Node219fontSize <= 8 ? Node219width + Node219fontSize * 0.2 + 6 : Node219width - Node219fontSize * 0.2;
- Node219lineStart = (Node219width - (ht.Default.getTextSize('321', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node219align === 'center') {
- Node219textStart = -3;
- Node219textWidth = Node219width;
- Node219lineStart = Node219width - ht.Default.getTextSize('321', ' '+ Node219fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"'))
- Node219.setPosition(1129*ratio.ratioX, 661*ratio.ratioY);
- Node219.setWidth(Node219width);
- Node219.setHeight(Node219height);
- Node219._nodeType = 'text';
- Node219._disallowEvert = true;
- Node219.setRotation(0*Math.PI/180);
- Node219.a('node.width', Node219width);
- Node219.a('node.height', Node219height);
- Node219.a('node.rect', [0, 0, Node219width, Node219height]);
- Node219.a('node.bordercolor','rgba(0,0,0,1)');
- Node219.a('node.borderwidth', 0);
- Node219.a('node.background','' || 'rgba(0,0,0,0)');
- Node219.a('node.gradient','');
- Node219.a('node.gradientcolor','');
- Node219.a('node.text','321');
- Node219.a('node.textalign','left');
- Node219.a('node.textvAlign','middle');
- Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]);
- Node219.a('node.color','rgba(0,0,0,1)');
- Node219.a('node.font',' '+ Node219fontSize + 'px "Arial"');
- Node219.a('node.textvisible',true);
- Node219.a('node.linefeed',false);
- if (false) {
- Node219.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node219.a('node.text') || '321';
- var color=Node219.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node219width,Node219height,13.3333*_ratio.ratioY,"left",color,' '+ Node219fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node219.a('node.underlinepoints',[Node219lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node219fontSize + 2 , ht.Default.getTextSize('321', ' '+ Node219fontSize + 'px "Arial"').width + 6, (Node219height - Node219fontSize) * 0.5*_ratio.ratioY + Node219fontSize + 2 ]);
- Node219.a('node.underlinevisible',false);
- Node219.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node219);
- zoomNodeList.push({
- node: Node219,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node220type = 'rect';
- var Node220 = new ht.Node(),
- Node220BorderWidth = 0*2;
- if (Node220type === 'arc') {
- Node220BorderWidth *= 0;
- }
- Node220.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node220type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node220.setPosition(1154*ratio.ratioX, 782*ratio.ratioY);
- Node220.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node220.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node220.a('node.width', 90*_ratio.ratioX);
- Node220.a('node.height', 21*_ratio.ratioY);
- Node220.a('node.type', Node220type);
- Node220.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node220.a('node.background', 'rgba(0,0,192,1)');
- Node220.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node220.a('node.gradient', '');
- Node220.a('node.borderwidth', Node220BorderWidth);
- Node220.a('node.color', 'rgba(0,0,0,0)');
- 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 Node221 = new ht.Node();
- var Node221textStart, Node221textWidth, Node221lineStart, Node221align = 'left', Node221fontSize = 13.3333*_ratio.ratioY,Node221width = 69*_ratio.ratioX, Node221height = 30*_ratio.ratioY;
- (function () {
- if (Node221align === 'left') {
- Node221textStart = Node221fontSize * 0.2 > 2 ? Node221fontSize * 0.2 - 4 : Node221fontSize * 0.2 - 9;
- Node221textWidth = Node221width;
- Node221lineStart = 1;
- } else if (Node221align === 'right') {
- Node221textStart = 0;
- Node221textWidth =Node221fontSize <= 8 ? Node221width + Node221fontSize * 0.2 + 6 : Node221width - Node221fontSize * 0.2;
- Node221lineStart = (Node221width - (ht.Default.getTextSize('集电Ⅳ线', ' '+ Node221fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node221align === 'center') {
- Node221textStart = -3;
- Node221textWidth = Node221width;
- Node221lineStart = Node221width - ht.Default.getTextSize('集电Ⅳ线', ' '+ Node221fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node221.setImage(GD.getTextJSON(Node221width, Node221height, true, false, false, ' '+ Node221fontSize + 'px "微软雅黑"'))
- Node221.setPosition(1163*ratio.ratioX, 783*ratio.ratioY);
- Node221.setWidth(Node221width);
- Node221.setHeight(Node221height);
- Node221._nodeType = 'text';
- Node221._disallowEvert = true;
- Node221.setRotation(0*Math.PI/180);
- Node221.a('node.width', Node221width);
- Node221.a('node.height', Node221height);
- Node221.a('node.rect', [0, 0, Node221width, Node221height]);
- Node221.a('node.bordercolor','rgba(255,255,255,1)');
- Node221.a('node.borderwidth', 0);
- Node221.a('node.background','' || 'rgba(0,0,0,0)');
- Node221.a('node.gradient','');
- Node221.a('node.gradientcolor','');
- Node221.a('node.text','集电Ⅳ线');
- Node221.a('node.textalign','left');
- Node221.a('node.textvAlign','middle');
- Node221.a('node.textrect', [Node221textStart, 0, Node221textWidth, Node221height]);
- Node221.a('node.color','rgba(255,255,255,1)');
- Node221.a('node.font',' '+ Node221fontSize + 'px "微软雅黑"');
- Node221.a('node.textvisible',true);
- Node221.a('node.linefeed',false);
- if (false) {
- Node221.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node221.a('node.text') || '集电Ⅳ线';
- var color=Node221.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node221width,Node221height,13.3333*_ratio.ratioY,"left",color,' '+ Node221fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node221.a('node.underlinepoints',[Node221lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node221fontSize + 2 , ht.Default.getTextSize('集电Ⅳ线', ' '+ Node221fontSize + 'px "微软雅黑"').width + 6, (Node221height - Node221fontSize) * 0.5*_ratio.ratioY + Node221fontSize + 2 ]);
- Node221.a('node.underlinevisible',false);
- Node221.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node221);
- zoomNodeList.push({
- node: Node221,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node222points=[1335, 634,1335, 644],
- Node222rect=ht.Default.unionPoint([{x:1335,y:634},{x:1335,y:644}]),
- Node222compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node222points.length;i++){
- if(i%2==0){
- Node222compspts.push(Node222points[i]-Node222rect.x);
- }else{
- Node222compspts.push(Node222points[i]-Node222rect.y);
- }
- }
- var Node222ptslength=Node222compspts.length;
- if (Node222rect.height === 0) {
- Node222compspts[0] -= 0;
- Node222compspts[Node222ptslength-2] += 0;
- } else if (Node222rect.width === 0){
- Node222compspts[1] -= 0;
- Node222compspts[Node222ptslength-1] += 0;
- } else {
- Node222compspts[0] -= 0;
- Node222compspts[1] -= 0;
- Node222compspts[Node222ptslength-2] += 0;
- Node222compspts[Node222ptslength-1] += 0;
- }
- Node222 = new ht.Node();
- Node222.borderWidth = 1;
- Node222rect.width = Node222rect.width === 0 ? 0.0001 : Node222rect.width;
- Node222rect.height = Node222rect.height === 0 ? 0.0001 : Node222rect.height;
- var Node222endCompspts = [Node222compspts[Node222ptslength-2],Node222compspts[Node222ptslength-1],0,0];
- var Node222startCompspts = [Node222compspts[0],Node222compspts[1],0,0];
- Node222.setImage(GD.getPolyLineJSON());
- Node222.setPosition(Node222rect.x+Node222rect.width/2,Node222rect.y+Node222rect.height/2);
- Node222.setSize(Node222rect.width,Node222rect.height);
- Node222.setStyle("opacity",1);
- Node222.s({'pixelPerfect':true});
- Node222borderwidth=1;
- Node222.setRotation(0);
- dataModel.add(Node222);
- Node222.a('node.points',Node222compspts);
- Node222.a('node.segments',[1,2]);
- Node222.a('node.color','rgba(255,128,0,1)');
- Node222.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node222.a('node.borderColor','rgba(255,128,0,1)');
- Node222.a('node.background','rgba(255,128,0,1)');
- Node222.a('node.gradient','');
- Node222.a('node.gradientcolor','rgba(255,128,0,1)');
- Node222.a('node.endCompspts',Node222endCompspts);
- Node222.a('node.startCompspts',Node222startCompspts);
- (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 = 'Node222';
- 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);
- }
- })(Node222, Node222.getImage(), Node222compspts, Node222endCompspts, Node222startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node223 = new ht.lib['黄箭头'](1334*ratio.ratioX, 723*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node223');
- _libModel.add("Node223", Node223);
- Node223.setRotation(180*Math.PI/180);
- ;
- ;
- var Node224points=[1335, 697,1375, 697],
- Node224rect=ht.Default.unionPoint([{x:1335,y:697},{x:1375,y:697}]),
- Node224compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node224points.length;i++){
- if(i%2==0){
- Node224compspts.push(Node224points[i]-Node224rect.x);
- }else{
- Node224compspts.push(Node224points[i]-Node224rect.y);
- }
- }
- var Node224ptslength=Node224compspts.length;
- if (Node224rect.height === 0) {
- Node224compspts[0] -= 0;
- Node224compspts[Node224ptslength-2] += 0;
- } else if (Node224rect.width === 0){
- Node224compspts[1] -= 0;
- Node224compspts[Node224ptslength-1] += 0;
- } else {
- Node224compspts[0] -= 0;
- Node224compspts[1] -= 0;
- Node224compspts[Node224ptslength-2] += 0;
- Node224compspts[Node224ptslength-1] += 0;
- }
- Node224 = new ht.Node();
- Node224.borderWidth = 1;
- Node224rect.width = Node224rect.width === 0 ? 0.0001 : Node224rect.width;
- Node224rect.height = Node224rect.height === 0 ? 0.0001 : Node224rect.height;
- var Node224endCompspts = [Node224compspts[Node224ptslength-2],Node224compspts[Node224ptslength-1],0,0];
- var Node224startCompspts = [Node224compspts[0],Node224compspts[1],0,0];
- Node224.setImage(GD.getPolyLineJSON());
- Node224.setPosition(Node224rect.x+Node224rect.width/2,Node224rect.y+Node224rect.height/2);
- Node224.setSize(Node224rect.width,Node224rect.height);
- Node224.setStyle("opacity",1);
- Node224.s({'pixelPerfect':true});
- Node224borderwidth=1;
- Node224.setRotation(0);
- dataModel.add(Node224);
- Node224.a('node.points',Node224compspts);
- Node224.a('node.segments',[1,2]);
- Node224.a('node.color','rgba(255,128,0,1)');
- Node224.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node224.a('node.borderColor','rgba(255,128,0,1)');
- Node224.a('node.background','rgba(255,128,0,1)');
- Node224.a('node.gradient','');
- Node224.a('node.gradientcolor','rgba(255,128,0,1)');
- Node224.a('node.endCompspts',Node224endCompspts);
- Node224.a('node.startCompspts',Node224startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node224';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node224, Node224.getImage(), Node224compspts, Node224endCompspts, Node224startCompspts);
- var Node225points=[1375, 697,1375, 707],
- Node225rect=ht.Default.unionPoint([{x:1375,y:697},{x:1375,y:707}]),
- Node225compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node225points.length;i++){
- if(i%2==0){
- Node225compspts.push(Node225points[i]-Node225rect.x);
- }else{
- Node225compspts.push(Node225points[i]-Node225rect.y);
- }
- }
- var Node225ptslength=Node225compspts.length;
- if (Node225rect.height === 0) {
- Node225compspts[0] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- } else if (Node225rect.width === 0){
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-1] += 0;
- } else {
- Node225compspts[0] -= 0;
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- Node225compspts[Node225ptslength-1] += 0;
- }
- Node225 = new ht.Node();
- Node225.borderWidth = 1;
- Node225rect.width = Node225rect.width === 0 ? 0.0001 : Node225rect.width;
- Node225rect.height = Node225rect.height === 0 ? 0.0001 : Node225rect.height;
- var Node225endCompspts = [Node225compspts[Node225ptslength-2],Node225compspts[Node225ptslength-1],0,0];
- var Node225startCompspts = [Node225compspts[0],Node225compspts[1],0,0];
- Node225.setImage(GD.getPolyLineJSON());
- Node225.setPosition(Node225rect.x+Node225rect.width/2,Node225rect.y+Node225rect.height/2);
- Node225.setSize(Node225rect.width,Node225rect.height);
- Node225.setStyle("opacity",1);
- Node225.s({'pixelPerfect':true});
- Node225borderwidth=1;
- Node225.setRotation(0);
- dataModel.add(Node225);
- Node225.a('node.points',Node225compspts);
- Node225.a('node.segments',[1,2]);
- Node225.a('node.color','rgba(255,128,0,1)');
- Node225.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node225.a('node.borderColor','rgba(255,128,0,1)');
- Node225.a('node.background','rgba(255,128,0,1)');
- Node225.a('node.gradient','');
- Node225.a('node.gradientcolor','rgba(255,128,0,1)');
- Node225.a('node.endCompspts',Node225endCompspts);
- Node225.a('node.startCompspts',Node225startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node225';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node225, Node225.getImage(), Node225compspts, Node225endCompspts, Node225startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node226 = new ht.lib['黄色接地'](1374*ratio.ratioX, 731*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node226');
- _libModel.add("Node226", Node226);
- Node226.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node227 = new ht.Node();
- var Node227textStart, Node227textWidth, Node227lineStart, Node227align = 'left', Node227fontSize = 13.3333*_ratio.ratioY,Node227width = 41*_ratio.ratioX, Node227height = 16*_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('322', ' '+ Node227fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node227align === 'center') {
- Node227textStart = -3;
- Node227textWidth = Node227width;
- Node227lineStart = Node227width - ht.Default.getTextSize('322', ' '+ Node227fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node227.setImage(GD.getTextJSON(Node227width, Node227height, true, false, false, ' '+ Node227fontSize + 'px "Arial"'))
- Node227.setPosition(1311*ratio.ratioX, 661*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(0,0,0,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','322');
- Node227.a('node.textalign','left');
- Node227.a('node.textvAlign','middle');
- Node227.a('node.textrect', [Node227textStart, 0, Node227textWidth, Node227height]);
- Node227.a('node.color','rgba(0,0,0,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') || '322';
- var color=Node227.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node227width,Node227height,13.3333*_ratio.ratioY,"left",color,' '+ Node227fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node227.a('node.underlinepoints',[Node227lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node227fontSize + 2 , ht.Default.getTextSize('322', ' '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node228type = 'rect';
- var Node228 = new ht.Node(),
- Node228BorderWidth = 0*2;
- if (Node228type === 'arc') {
- Node228BorderWidth *= 0;
- }
- Node228.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node228type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node228.setPosition(1336*ratio.ratioX, 782*ratio.ratioY);
- Node228.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node228.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node228.a('node.width', 90*_ratio.ratioX);
- Node228.a('node.height', 21*_ratio.ratioY);
- Node228.a('node.type', Node228type);
- Node228.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node228.a('node.background', 'rgba(0,0,192,1)');
- Node228.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node228.a('node.gradient', '');
- Node228.a('node.borderwidth', Node228BorderWidth);
- Node228.a('node.color', 'rgba(0,0,0,0)');
- Node228.a('node.fillrect', [0,0,0,0]);
- Node228.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node228.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node228.a('node.fillgradient', '');
- if (Node228type !== 'rect') {
- Node228.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node228.a('node.arcTo', parseFloat('@arcTo@'));
- Node228.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node228type === 'arc') {
- Node228.a('node.arcOval', true);
- }
- Node228.setRotation(0*Math.PI/180);
- Node228.borderWidth = Node228BorderWidth;
- Node228.borderFillwidth = Node228BorderWidth;
- dataModel.add(Node228);
- Node228._nodename = 'Node228'
- Node228._nodeType = 'rect';
- zoomNodeList.push({
- node: Node228,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node228, Node228.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node229 = new ht.Node();
- var Node229textStart, Node229textWidth, Node229lineStart, Node229align = 'left', Node229fontSize = 13.3333*_ratio.ratioY,Node229width = 69*_ratio.ratioX, Node229height = 30*_ratio.ratioY;
- (function () {
- if (Node229align === 'left') {
- Node229textStart = Node229fontSize * 0.2 > 2 ? Node229fontSize * 0.2 - 4 : Node229fontSize * 0.2 - 9;
- Node229textWidth = Node229width;
- Node229lineStart = 1;
- } else if (Node229align === 'right') {
- Node229textStart = 0;
- Node229textWidth =Node229fontSize <= 8 ? Node229width + Node229fontSize * 0.2 + 6 : Node229width - Node229fontSize * 0.2;
- Node229lineStart = (Node229width - (ht.Default.getTextSize('集电Ⅴ线', ' '+ Node229fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node229align === 'center') {
- Node229textStart = -3;
- Node229textWidth = Node229width;
- Node229lineStart = Node229width - ht.Default.getTextSize('集电Ⅴ线', ' '+ Node229fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node229.setImage(GD.getTextJSON(Node229width, Node229height, true, false, false, ' '+ Node229fontSize + 'px "微软雅黑"'))
- Node229.setPosition(1345*ratio.ratioX, 783*ratio.ratioY);
- Node229.setWidth(Node229width);
- Node229.setHeight(Node229height);
- Node229._nodeType = 'text';
- Node229._disallowEvert = true;
- Node229.setRotation(0*Math.PI/180);
- Node229.a('node.width', Node229width);
- Node229.a('node.height', Node229height);
- Node229.a('node.rect', [0, 0, Node229width, Node229height]);
- Node229.a('node.bordercolor','rgba(255,255,255,1)');
- Node229.a('node.borderwidth', 0);
- Node229.a('node.background','' || 'rgba(0,0,0,0)');
- Node229.a('node.gradient','');
- Node229.a('node.gradientcolor','');
- Node229.a('node.text','集电Ⅴ线');
- Node229.a('node.textalign','left');
- Node229.a('node.textvAlign','middle');
- Node229.a('node.textrect', [Node229textStart, 0, Node229textWidth, Node229height]);
- Node229.a('node.color','rgba(255,255,255,1)');
- Node229.a('node.font',' '+ Node229fontSize + 'px "微软雅黑"');
- Node229.a('node.textvisible',true);
- Node229.a('node.linefeed',false);
- if (false) {
- Node229.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node229.a('node.text') || '集电Ⅴ线';
- var color=Node229.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node229width,Node229height,13.3333*_ratio.ratioY,"left",color,' '+ Node229fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node229.a('node.underlinepoints',[Node229lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node229fontSize + 2 , ht.Default.getTextSize('集电Ⅴ线', ' '+ Node229fontSize + 'px "微软雅黑"').width + 6, (Node229height - Node229fontSize) * 0.5*_ratio.ratioY + Node229fontSize + 2 ]);
- Node229.a('node.underlinevisible',false);
- Node229.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node229);
- zoomNodeList.push({
- node: Node229,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node230points=[1521, 634,1521, 644],
- Node230rect=ht.Default.unionPoint([{x:1521,y:634},{x:1521,y:644}]),
- Node230compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node230points.length;i++){
- if(i%2==0){
- Node230compspts.push(Node230points[i]-Node230rect.x);
- }else{
- Node230compspts.push(Node230points[i]-Node230rect.y);
- }
- }
- var Node230ptslength=Node230compspts.length;
- if (Node230rect.height === 0) {
- Node230compspts[0] -= 0;
- Node230compspts[Node230ptslength-2] += 0;
- } else if (Node230rect.width === 0){
- Node230compspts[1] -= 0;
- Node230compspts[Node230ptslength-1] += 0;
- } else {
- Node230compspts[0] -= 0;
- Node230compspts[1] -= 0;
- Node230compspts[Node230ptslength-2] += 0;
- Node230compspts[Node230ptslength-1] += 0;
- }
- Node230 = new ht.Node();
- Node230.borderWidth = 1;
- Node230rect.width = Node230rect.width === 0 ? 0.0001 : Node230rect.width;
- Node230rect.height = Node230rect.height === 0 ? 0.0001 : Node230rect.height;
- var Node230endCompspts = [Node230compspts[Node230ptslength-2],Node230compspts[Node230ptslength-1],0,0];
- var Node230startCompspts = [Node230compspts[0],Node230compspts[1],0,0];
- Node230.setImage(GD.getPolyLineJSON());
- Node230.setPosition(Node230rect.x+Node230rect.width/2,Node230rect.y+Node230rect.height/2);
- Node230.setSize(Node230rect.width,Node230rect.height);
- Node230.setStyle("opacity",1);
- Node230.s({'pixelPerfect':true});
- Node230borderwidth=1;
- Node230.setRotation(0);
- dataModel.add(Node230);
- Node230.a('node.points',Node230compspts);
- Node230.a('node.segments',[1,2]);
- Node230.a('node.color','rgba(255,128,0,1)');
- Node230.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node230.a('node.borderColor','rgba(255,128,0,1)');
- Node230.a('node.background','rgba(255,128,0,1)');
- Node230.a('node.gradient','');
- Node230.a('node.gradientcolor','rgba(255,128,0,1)');
- Node230.a('node.endCompspts',Node230endCompspts);
- Node230.a('node.startCompspts',Node230startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node230';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node230, Node230.getImage(), Node230compspts, Node230endCompspts, Node230startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node231 = new ht.lib['黄箭头'](1521*ratio.ratioX, 723*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node231');
- _libModel.add("Node231", Node231);
- Node231.setRotation(180*Math.PI/180);
- ;
- ;
- var Node232points=[1522, 697,1562, 697],
- Node232rect=ht.Default.unionPoint([{x:1522,y:697},{x:1562,y:697}]),
- Node232compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node232points.length;i++){
- if(i%2==0){
- Node232compspts.push(Node232points[i]-Node232rect.x);
- }else{
- Node232compspts.push(Node232points[i]-Node232rect.y);
- }
- }
- var Node232ptslength=Node232compspts.length;
- if (Node232rect.height === 0) {
- Node232compspts[0] -= 0;
- Node232compspts[Node232ptslength-2] += 0;
- } else if (Node232rect.width === 0){
- Node232compspts[1] -= 0;
- Node232compspts[Node232ptslength-1] += 0;
- } else {
- Node232compspts[0] -= 0;
- Node232compspts[1] -= 0;
- Node232compspts[Node232ptslength-2] += 0;
- Node232compspts[Node232ptslength-1] += 0;
- }
- Node232 = new ht.Node();
- Node232.borderWidth = 1;
- Node232rect.width = Node232rect.width === 0 ? 0.0001 : Node232rect.width;
- Node232rect.height = Node232rect.height === 0 ? 0.0001 : Node232rect.height;
- var Node232endCompspts = [Node232compspts[Node232ptslength-2],Node232compspts[Node232ptslength-1],0,0];
- var Node232startCompspts = [Node232compspts[0],Node232compspts[1],0,0];
- Node232.setImage(GD.getPolyLineJSON());
- Node232.setPosition(Node232rect.x+Node232rect.width/2,Node232rect.y+Node232rect.height/2);
- Node232.setSize(Node232rect.width,Node232rect.height);
- Node232.setStyle("opacity",1);
- Node232.s({'pixelPerfect':true});
- Node232borderwidth=1;
- Node232.setRotation(0);
- dataModel.add(Node232);
- Node232.a('node.points',Node232compspts);
- Node232.a('node.segments',[1,2]);
- Node232.a('node.color','rgba(255,128,0,1)');
- Node232.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node232.a('node.borderColor','rgba(255,128,0,1)');
- Node232.a('node.background','rgba(255,128,0,1)');
- Node232.a('node.gradient','');
- Node232.a('node.gradientcolor','rgba(255,128,0,1)');
- Node232.a('node.endCompspts',Node232endCompspts);
- Node232.a('node.startCompspts',Node232startCompspts);
- (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 = 'Node232';
- 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);
- }
- })(Node232, Node232.getImage(), Node232compspts, Node232endCompspts, Node232startCompspts);
- var Node233points=[1562, 697,1562, 707],
- Node233rect=ht.Default.unionPoint([{x:1562,y:697},{x:1562,y:707}]),
- Node233compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node233points.length;i++){
- if(i%2==0){
- Node233compspts.push(Node233points[i]-Node233rect.x);
- }else{
- Node233compspts.push(Node233points[i]-Node233rect.y);
- }
- }
- var Node233ptslength=Node233compspts.length;
- if (Node233rect.height === 0) {
- Node233compspts[0] -= 0;
- Node233compspts[Node233ptslength-2] += 0;
- } else if (Node233rect.width === 0){
- Node233compspts[1] -= 0;
- Node233compspts[Node233ptslength-1] += 0;
- } else {
- Node233compspts[0] -= 0;
- Node233compspts[1] -= 0;
- Node233compspts[Node233ptslength-2] += 0;
- Node233compspts[Node233ptslength-1] += 0;
- }
- Node233 = new ht.Node();
- Node233.borderWidth = 1;
- Node233rect.width = Node233rect.width === 0 ? 0.0001 : Node233rect.width;
- Node233rect.height = Node233rect.height === 0 ? 0.0001 : Node233rect.height;
- var Node233endCompspts = [Node233compspts[Node233ptslength-2],Node233compspts[Node233ptslength-1],0,0];
- var Node233startCompspts = [Node233compspts[0],Node233compspts[1],0,0];
- Node233.setImage(GD.getPolyLineJSON());
- Node233.setPosition(Node233rect.x+Node233rect.width/2,Node233rect.y+Node233rect.height/2);
- Node233.setSize(Node233rect.width,Node233rect.height);
- Node233.setStyle("opacity",1);
- Node233.s({'pixelPerfect':true});
- Node233borderwidth=1;
- Node233.setRotation(0);
- dataModel.add(Node233);
- Node233.a('node.points',Node233compspts);
- Node233.a('node.segments',[1,2]);
- Node233.a('node.color','rgba(255,128,0,1)');
- Node233.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node233.a('node.borderColor','rgba(255,128,0,1)');
- Node233.a('node.background','rgba(255,128,0,1)');
- Node233.a('node.gradient','');
- Node233.a('node.gradientcolor','rgba(255,128,0,1)');
- Node233.a('node.endCompspts',Node233endCompspts);
- Node233.a('node.startCompspts',Node233startCompspts);
- (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 = 'Node233';
- 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);
- }
- })(Node233, Node233.getImage(), Node233compspts, Node233endCompspts, Node233startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node234 = new ht.lib['黄色接地'](1562*ratio.ratioX, 730*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node234');
- _libModel.add("Node234", Node234);
- Node234.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node235 = new ht.Node();
- var Node235textStart, Node235textWidth, Node235lineStart, Node235align = 'left', Node235fontSize = 13.3333*_ratio.ratioY,Node235width = 41*_ratio.ratioX, Node235height = 16*_ratio.ratioY;
- (function () {
- if (Node235align === 'left') {
- Node235textStart = Node235fontSize * 0.2 > 2 ? Node235fontSize * 0.2 - 4 : Node235fontSize * 0.2 - 9;
- Node235textWidth = Node235width;
- Node235lineStart = 1;
- } else if (Node235align === 'right') {
- Node235textStart = 0;
- Node235textWidth =Node235fontSize <= 8 ? Node235width + Node235fontSize * 0.2 + 6 : Node235width - Node235fontSize * 0.2;
- Node235lineStart = (Node235width - (ht.Default.getTextSize('323', ' '+ Node235fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node235align === 'center') {
- Node235textStart = -3;
- Node235textWidth = Node235width;
- Node235lineStart = Node235width - ht.Default.getTextSize('323', ' '+ Node235fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node235.setImage(GD.getTextJSON(Node235width, Node235height, true, false, false, ' '+ Node235fontSize + 'px "Arial"'))
- Node235.setPosition(1498*ratio.ratioX, 661*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','323');
- 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') || '323';
- var color=Node235.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node235width,Node235height,13.3333*_ratio.ratioY,"left",color,' '+ Node235fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node235.a('node.underlinepoints',[Node235lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node235fontSize + 2 , ht.Default.getTextSize('323', ' '+ 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 Node236type = 'rect';
- var Node236 = new ht.Node(),
- Node236BorderWidth = 0*2;
- if (Node236type === 'arc') {
- Node236BorderWidth *= 0;
- }
- Node236.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node236type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node236.setPosition(1523*ratio.ratioX, 782*ratio.ratioY);
- Node236.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node236.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node236.a('node.width', 90*_ratio.ratioX);
- Node236.a('node.height', 21*_ratio.ratioY);
- Node236.a('node.type', Node236type);
- Node236.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node236.a('node.background', 'rgba(0,0,192,1)');
- Node236.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node236.a('node.gradient', '');
- Node236.a('node.borderwidth', Node236BorderWidth);
- Node236.a('node.color', 'rgba(0,0,0,0)');
- Node236.a('node.fillrect', [0,0,0,0]);
- Node236.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node236.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node236.a('node.fillgradient', '');
- if (Node236type !== 'rect') {
- Node236.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node236.a('node.arcTo', parseFloat('@arcTo@'));
- Node236.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node236type === 'arc') {
- Node236.a('node.arcOval', true);
- }
- Node236.setRotation(0*Math.PI/180);
- Node236.borderWidth = Node236BorderWidth;
- Node236.borderFillwidth = Node236BorderWidth;
- dataModel.add(Node236);
- Node236._nodename = 'Node236'
- Node236._nodeType = 'rect';
- zoomNodeList.push({
- node: Node236,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node236, Node236.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node237 = new ht.Node();
- var Node237textStart, Node237textWidth, Node237lineStart, Node237align = 'left', Node237fontSize = 13.3333*_ratio.ratioY,Node237width = 69*_ratio.ratioX, Node237height = 30*_ratio.ratioY;
- (function () {
- if (Node237align === 'left') {
- Node237textStart = Node237fontSize * 0.2 > 2 ? Node237fontSize * 0.2 - 4 : Node237fontSize * 0.2 - 9;
- Node237textWidth = Node237width;
- Node237lineStart = 1;
- } else if (Node237align === 'right') {
- Node237textStart = 0;
- Node237textWidth =Node237fontSize <= 8 ? Node237width + Node237fontSize * 0.2 + 6 : Node237width - Node237fontSize * 0.2;
- Node237lineStart = (Node237width - (ht.Default.getTextSize('集电Ⅵ线', ' '+ Node237fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node237align === 'center') {
- Node237textStart = -3;
- Node237textWidth = Node237width;
- Node237lineStart = Node237width - ht.Default.getTextSize('集电Ⅵ线', ' '+ Node237fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node237.setImage(GD.getTextJSON(Node237width, Node237height, true, false, false, ' '+ Node237fontSize + 'px "微软雅黑"'))
- Node237.setPosition(1532*ratio.ratioX, 783*ratio.ratioY);
- Node237.setWidth(Node237width);
- Node237.setHeight(Node237height);
- Node237._nodeType = 'text';
- Node237._disallowEvert = true;
- Node237.setRotation(0*Math.PI/180);
- Node237.a('node.width', Node237width);
- Node237.a('node.height', Node237height);
- Node237.a('node.rect', [0, 0, Node237width, Node237height]);
- Node237.a('node.bordercolor','rgba(255,255,255,1)');
- Node237.a('node.borderwidth', 0);
- Node237.a('node.background','' || 'rgba(0,0,0,0)');
- Node237.a('node.gradient','');
- Node237.a('node.gradientcolor','');
- Node237.a('node.text','集电Ⅵ线');
- Node237.a('node.textalign','left');
- Node237.a('node.textvAlign','middle');
- Node237.a('node.textrect', [Node237textStart, 0, Node237textWidth, Node237height]);
- Node237.a('node.color','rgba(255,255,255,1)');
- Node237.a('node.font',' '+ Node237fontSize + 'px "微软雅黑"');
- Node237.a('node.textvisible',true);
- Node237.a('node.linefeed',false);
- if (false) {
- Node237.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node237.a('node.text') || '集电Ⅵ线';
- var color=Node237.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node237width,Node237height,13.3333*_ratio.ratioY,"left",color,' '+ Node237fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node237.a('node.underlinepoints',[Node237lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node237fontSize + 2 , ht.Default.getTextSize('集电Ⅵ线', ' '+ Node237fontSize + 'px "微软雅黑"').width + 6, (Node237height - Node237fontSize) * 0.5*_ratio.ratioY + Node237fontSize + 2 ]);
- Node237.a('node.underlinevisible',false);
- Node237.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node237);
- zoomNodeList.push({
- node: Node237,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node238points=[1694, 634,1694, 644],
- Node238rect=ht.Default.unionPoint([{x:1694,y:634},{x:1694,y:644}]),
- Node238compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node238points.length;i++){
- if(i%2==0){
- Node238compspts.push(Node238points[i]-Node238rect.x);
- }else{
- Node238compspts.push(Node238points[i]-Node238rect.y);
- }
- }
- var Node238ptslength=Node238compspts.length;
- if (Node238rect.height === 0) {
- Node238compspts[0] -= 0;
- Node238compspts[Node238ptslength-2] += 0;
- } else if (Node238rect.width === 0){
- Node238compspts[1] -= 0;
- Node238compspts[Node238ptslength-1] += 0;
- } else {
- Node238compspts[0] -= 0;
- Node238compspts[1] -= 0;
- Node238compspts[Node238ptslength-2] += 0;
- Node238compspts[Node238ptslength-1] += 0;
- }
- Node238 = new ht.Node();
- Node238.borderWidth = 1;
- Node238rect.width = Node238rect.width === 0 ? 0.0001 : Node238rect.width;
- Node238rect.height = Node238rect.height === 0 ? 0.0001 : Node238rect.height;
- var Node238endCompspts = [Node238compspts[Node238ptslength-2],Node238compspts[Node238ptslength-1],0,0];
- var Node238startCompspts = [Node238compspts[0],Node238compspts[1],0,0];
- Node238.setImage(GD.getPolyLineJSON());
- Node238.setPosition(Node238rect.x+Node238rect.width/2,Node238rect.y+Node238rect.height/2);
- Node238.setSize(Node238rect.width,Node238rect.height);
- Node238.setStyle("opacity",1);
- Node238.s({'pixelPerfect':true});
- Node238borderwidth=1;
- Node238.setRotation(0);
- dataModel.add(Node238);
- Node238.a('node.points',Node238compspts);
- Node238.a('node.segments',[1,2]);
- Node238.a('node.color','rgba(255,128,0,1)');
- Node238.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node238.a('node.borderColor','rgba(255,128,0,1)');
- Node238.a('node.background','rgba(255,128,0,1)');
- Node238.a('node.gradient','');
- Node238.a('node.gradientcolor','rgba(255,128,0,1)');
- Node238.a('node.endCompspts',Node238endCompspts);
- Node238.a('node.startCompspts',Node238startCompspts);
- (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 = 'Node238';
- 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);
- }
- })(Node238, Node238.getImage(), Node238compspts, Node238endCompspts, Node238startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node239 = new ht.lib['黄箭头'](1693*ratio.ratioX, 723*ratio.ratioY, 10*_ratio.ratioX, 88*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node239');
- _libModel.add("Node239", Node239);
- Node239.setRotation(180*Math.PI/180);
- ;
- ;
- var Node240points=[1694, 697,1734, 697],
- Node240rect=ht.Default.unionPoint([{x:1694,y:697},{x:1734,y:697}]),
- Node240compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node240points.length;i++){
- if(i%2==0){
- Node240compspts.push(Node240points[i]-Node240rect.x);
- }else{
- Node240compspts.push(Node240points[i]-Node240rect.y);
- }
- }
- var Node240ptslength=Node240compspts.length;
- if (Node240rect.height === 0) {
- Node240compspts[0] -= 0;
- Node240compspts[Node240ptslength-2] += 0;
- } else if (Node240rect.width === 0){
- Node240compspts[1] -= 0;
- Node240compspts[Node240ptslength-1] += 0;
- } else {
- Node240compspts[0] -= 0;
- Node240compspts[1] -= 0;
- Node240compspts[Node240ptslength-2] += 0;
- Node240compspts[Node240ptslength-1] += 0;
- }
- Node240 = new ht.Node();
- Node240.borderWidth = 1;
- Node240rect.width = Node240rect.width === 0 ? 0.0001 : Node240rect.width;
- Node240rect.height = Node240rect.height === 0 ? 0.0001 : Node240rect.height;
- var Node240endCompspts = [Node240compspts[Node240ptslength-2],Node240compspts[Node240ptslength-1],0,0];
- var Node240startCompspts = [Node240compspts[0],Node240compspts[1],0,0];
- Node240.setImage(GD.getPolyLineJSON());
- Node240.setPosition(Node240rect.x+Node240rect.width/2,Node240rect.y+Node240rect.height/2);
- Node240.setSize(Node240rect.width,Node240rect.height);
- Node240.setStyle("opacity",1);
- Node240.s({'pixelPerfect':true});
- Node240borderwidth=1;
- Node240.setRotation(0);
- dataModel.add(Node240);
- Node240.a('node.points',Node240compspts);
- Node240.a('node.segments',[1,2]);
- Node240.a('node.color','rgba(255,128,0,1)');
- Node240.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node240.a('node.borderColor','rgba(255,128,0,1)');
- Node240.a('node.background','rgba(255,128,0,1)');
- Node240.a('node.gradient','');
- Node240.a('node.gradientcolor','rgba(255,128,0,1)');
- Node240.a('node.endCompspts',Node240endCompspts);
- Node240.a('node.startCompspts',Node240startCompspts);
- (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 = 'Node240';
- 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);
- }
- })(Node240, Node240.getImage(), Node240compspts, Node240endCompspts, Node240startCompspts);
- var Node241points=[1734, 697,1734, 707],
- Node241rect=ht.Default.unionPoint([{x:1734,y:697},{x:1734,y:707}]),
- Node241compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node241points.length;i++){
- if(i%2==0){
- Node241compspts.push(Node241points[i]-Node241rect.x);
- }else{
- Node241compspts.push(Node241points[i]-Node241rect.y);
- }
- }
- var Node241ptslength=Node241compspts.length;
- if (Node241rect.height === 0) {
- Node241compspts[0] -= 0;
- Node241compspts[Node241ptslength-2] += 0;
- } else if (Node241rect.width === 0){
- Node241compspts[1] -= 0;
- Node241compspts[Node241ptslength-1] += 0;
- } else {
- Node241compspts[0] -= 0;
- Node241compspts[1] -= 0;
- Node241compspts[Node241ptslength-2] += 0;
- Node241compspts[Node241ptslength-1] += 0;
- }
- Node241 = new ht.Node();
- Node241.borderWidth = 1;
- Node241rect.width = Node241rect.width === 0 ? 0.0001 : Node241rect.width;
- Node241rect.height = Node241rect.height === 0 ? 0.0001 : Node241rect.height;
- var Node241endCompspts = [Node241compspts[Node241ptslength-2],Node241compspts[Node241ptslength-1],0,0];
- var Node241startCompspts = [Node241compspts[0],Node241compspts[1],0,0];
- Node241.setImage(GD.getPolyLineJSON());
- Node241.setPosition(Node241rect.x+Node241rect.width/2,Node241rect.y+Node241rect.height/2);
- Node241.setSize(Node241rect.width,Node241rect.height);
- Node241.setStyle("opacity",1);
- Node241.s({'pixelPerfect':true});
- Node241borderwidth=1;
- Node241.setRotation(0);
- dataModel.add(Node241);
- Node241.a('node.points',Node241compspts);
- Node241.a('node.segments',[1,2]);
- Node241.a('node.color','rgba(255,128,0,1)');
- Node241.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node241.a('node.borderColor','rgba(255,128,0,1)');
- Node241.a('node.background','rgba(255,128,0,1)');
- Node241.a('node.gradient','');
- Node241.a('node.gradientcolor','rgba(255,128,0,1)');
- Node241.a('node.endCompspts',Node241endCompspts);
- Node241.a('node.startCompspts',Node241startCompspts);
- (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 = 'Node241';
- 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);
- }
- })(Node241, Node241.getImage(), Node241compspts, Node241endCompspts, Node241startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node242 = new ht.lib['黄色接地'](1734*ratio.ratioX, 730*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node242');
- _libModel.add("Node242", Node242);
- Node242.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node243 = new ht.Node();
- var Node243textStart, Node243textWidth, Node243lineStart, Node243align = 'left', Node243fontSize = 13.3333*_ratio.ratioY,Node243width = 41*_ratio.ratioX, Node243height = 16*_ratio.ratioY;
- (function () {
- if (Node243align === 'left') {
- Node243textStart = Node243fontSize * 0.2 > 2 ? Node243fontSize * 0.2 - 4 : Node243fontSize * 0.2 - 9;
- Node243textWidth = Node243width;
- Node243lineStart = 1;
- } else if (Node243align === 'right') {
- Node243textStart = 0;
- Node243textWidth =Node243fontSize <= 8 ? Node243width + Node243fontSize * 0.2 + 6 : Node243width - Node243fontSize * 0.2;
- Node243lineStart = (Node243width - (ht.Default.getTextSize('324', ' '+ Node243fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node243align === 'center') {
- Node243textStart = -3;
- Node243textWidth = Node243width;
- Node243lineStart = Node243width - ht.Default.getTextSize('324', ' '+ Node243fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node243.setImage(GD.getTextJSON(Node243width, Node243height, true, false, false, ' '+ Node243fontSize + 'px "Arial"'))
- Node243.setPosition(1670*ratio.ratioX, 661*ratio.ratioY);
- Node243.setWidth(Node243width);
- Node243.setHeight(Node243height);
- Node243._nodeType = 'text';
- Node243._disallowEvert = true;
- Node243.setRotation(0*Math.PI/180);
- Node243.a('node.width', Node243width);
- Node243.a('node.height', Node243height);
- Node243.a('node.rect', [0, 0, Node243width, Node243height]);
- Node243.a('node.bordercolor','rgba(0,0,0,1)');
- Node243.a('node.borderwidth', 0);
- Node243.a('node.background','' || 'rgba(0,0,0,0)');
- Node243.a('node.gradient','');
- Node243.a('node.gradientcolor','');
- Node243.a('node.text','324');
- Node243.a('node.textalign','left');
- Node243.a('node.textvAlign','middle');
- Node243.a('node.textrect', [Node243textStart, 0, Node243textWidth, Node243height]);
- Node243.a('node.color','rgba(0,0,0,1)');
- Node243.a('node.font',' '+ Node243fontSize + 'px "Arial"');
- Node243.a('node.textvisible',true);
- Node243.a('node.linefeed',false);
- if (false) {
- Node243.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node243.a('node.text') || '324';
- var color=Node243.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node243width,Node243height,13.3333*_ratio.ratioY,"left",color,' '+ Node243fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node243.a('node.underlinepoints',[Node243lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node243fontSize + 2 , ht.Default.getTextSize('324', ' '+ Node243fontSize + 'px "Arial"').width + 6, (Node243height - Node243fontSize) * 0.5*_ratio.ratioY + Node243fontSize + 2 ]);
- Node243.a('node.underlinevisible',false);
- Node243.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node243);
- zoomNodeList.push({
- node: Node243,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node244type = 'rect';
- var Node244 = new ht.Node(),
- Node244BorderWidth = 0*2;
- if (Node244type === 'arc') {
- Node244BorderWidth *= 0;
- }
- Node244.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node244type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node244.setPosition(1695*ratio.ratioX, 782*ratio.ratioY);
- Node244.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node244.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node244.a('node.width', 90*_ratio.ratioX);
- Node244.a('node.height', 21*_ratio.ratioY);
- Node244.a('node.type', Node244type);
- Node244.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node244.a('node.background', 'rgba(0,0,192,1)');
- Node244.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node244.a('node.gradient', '');
- Node244.a('node.borderwidth', Node244BorderWidth);
- Node244.a('node.color', 'rgba(0,0,0,0)');
- 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 Node245 = new ht.Node();
- var Node245textStart, Node245textWidth, Node245lineStart, Node245align = 'left', Node245fontSize = 13.3333*_ratio.ratioY,Node245width = 69*_ratio.ratioX, Node245height = 30*_ratio.ratioY;
- (function () {
- if (Node245align === 'left') {
- Node245textStart = Node245fontSize * 0.2 > 2 ? Node245fontSize * 0.2 - 4 : Node245fontSize * 0.2 - 9;
- Node245textWidth = Node245width;
- Node245lineStart = 1;
- } else if (Node245align === 'right') {
- Node245textStart = 0;
- Node245textWidth =Node245fontSize <= 8 ? Node245width + Node245fontSize * 0.2 + 6 : Node245width - Node245fontSize * 0.2;
- Node245lineStart = (Node245width - (ht.Default.getTextSize('集电Ⅶ线', ' '+ Node245fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node245align === 'center') {
- Node245textStart = -3;
- Node245textWidth = Node245width;
- Node245lineStart = Node245width - ht.Default.getTextSize('集电Ⅶ线', ' '+ Node245fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node245.setImage(GD.getTextJSON(Node245width, Node245height, true, false, false, ' '+ Node245fontSize + 'px "微软雅黑"'))
- Node245.setPosition(1704*ratio.ratioX, 783*ratio.ratioY);
- Node245.setWidth(Node245width);
- Node245.setHeight(Node245height);
- Node245._nodeType = 'text';
- Node245._disallowEvert = true;
- Node245.setRotation(0*Math.PI/180);
- Node245.a('node.width', Node245width);
- Node245.a('node.height', Node245height);
- Node245.a('node.rect', [0, 0, Node245width, Node245height]);
- Node245.a('node.bordercolor','rgba(255,255,255,1)');
- Node245.a('node.borderwidth', 0);
- Node245.a('node.background','' || 'rgba(0,0,0,0)');
- Node245.a('node.gradient','');
- Node245.a('node.gradientcolor','');
- Node245.a('node.text','集电Ⅶ线');
- Node245.a('node.textalign','left');
- Node245.a('node.textvAlign','middle');
- Node245.a('node.textrect', [Node245textStart, 0, Node245textWidth, Node245height]);
- Node245.a('node.color','rgba(255,255,255,1)');
- Node245.a('node.font',' '+ Node245fontSize + 'px "微软雅黑"');
- Node245.a('node.textvisible',true);
- Node245.a('node.linefeed',false);
- if (false) {
- Node245.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node245.a('node.text') || '集电Ⅶ线';
- var color=Node245.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node245width,Node245height,13.3333*_ratio.ratioY,"left",color,' '+ Node245fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node245.a('node.underlinepoints',[Node245lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node245fontSize + 2 , ht.Default.getTextSize('集电Ⅶ线', ' '+ Node245fontSize + 'px "微软雅黑"').width + 6, (Node245height - Node245fontSize) * 0.5*_ratio.ratioY + Node245fontSize + 2 ]);
- Node245.a('node.underlinevisible',false);
- Node245.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node245);
- zoomNodeList.push({
- node: Node245,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node246 = new ht.Node();
- var Node246textStart, Node246textWidth, Node246lineStart, Node246align = 'left', Node246fontSize = 13.3333*_ratio.ratioY,Node246width = 41*_ratio.ratioX, Node246height = 16*_ratio.ratioY;
- (function () {
- if (Node246align === 'left') {
- Node246textStart = Node246fontSize * 0.2 > 2 ? Node246fontSize * 0.2 - 4 : Node246fontSize * 0.2 - 9;
- Node246textWidth = Node246width;
- Node246lineStart = 1;
- } else if (Node246align === 'right') {
- Node246textStart = 0;
- Node246textWidth =Node246fontSize <= 8 ? Node246width + Node246fontSize * 0.2 + 6 : Node246width - Node246fontSize * 0.2;
- Node246lineStart = (Node246width - (ht.Default.getTextSize('300-1', ' '+ Node246fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node246align === 'center') {
- Node246textStart = -3;
- Node246textWidth = Node246width;
- Node246lineStart = Node246width - ht.Default.getTextSize('300-1', ' '+ Node246fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node246.setImage(GD.getTextJSON(Node246width, Node246height, true, false, false, ' '+ Node246fontSize + 'px "Arial"'))
- Node246.setPosition(888*ratio.ratioX, 659*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','300-1');
- 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 "Arial"');
- Node246.a('node.textvisible',true);
- Node246.a('node.linefeed',false);
- if (false) {
- Node246.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node246.a('node.text') || '300-1';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node246.a('node.underlinepoints',[Node246lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node246fontSize + 2 , ht.Default.getTextSize('300-1', ' '+ Node246fontSize + 'px "Arial"').width + 6, (Node246height - Node246fontSize) * 0.5*_ratio.ratioY + Node246fontSize + 2 ]);
- Node246.a('node.underlinevisible',false);
- Node246.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node246);
- zoomNodeList.push({
- node: Node246,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node247 = new ht.Node();
- var Node247textStart, Node247textWidth, Node247lineStart, Node247align = 'left', Node247fontSize = 13.3333*_ratio.ratioY,Node247width = 41*_ratio.ratioX, Node247height = 16*_ratio.ratioY;
- (function () {
- if (Node247align === 'left') {
- Node247textStart = Node247fontSize * 0.2 > 2 ? Node247fontSize * 0.2 - 4 : Node247fontSize * 0.2 - 9;
- Node247textWidth = Node247width;
- Node247lineStart = 1;
- } else if (Node247align === 'right') {
- Node247textStart = 0;
- Node247textWidth =Node247fontSize <= 8 ? Node247width + Node247fontSize * 0.2 + 6 : Node247width - Node247fontSize * 0.2;
- Node247lineStart = (Node247width - (ht.Default.getTextSize('300', ' '+ Node247fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node247align === 'center') {
- Node247textStart = -3;
- Node247textWidth = Node247width;
- Node247lineStart = Node247width - ht.Default.getTextSize('300', ' '+ Node247fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, ' '+ Node247fontSize + 'px "Arial"'))
- Node247.setPosition(1030*ratio.ratioX, 660*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','300');
- 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 "Arial"');
- Node247.a('node.textvisible',true);
- Node247.a('node.linefeed',false);
- if (false) {
- Node247.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node247.a('node.text') || '300';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node247.a('node.underlinepoints',[Node247lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('300', ' '+ Node247fontSize + 'px "Arial"').width + 6, (Node247height - Node247fontSize) * 0.5*_ratio.ratioY + Node247fontSize + 2 ]);
- Node247.a('node.underlinevisible',false);
- Node247.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node247);
- zoomNodeList.push({
- node: Node247,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node248 = new ht.Node();
- var Node248textStart, Node248textWidth, Node248lineStart, Node248align = 'left', Node248fontSize = 13.3333*_ratio.ratioY,Node248width = 41*_ratio.ratioX, Node248height = 16*_ratio.ratioY;
- (function () {
- if (Node248align === 'left') {
- Node248textStart = Node248fontSize * 0.2 > 2 ? Node248fontSize * 0.2 - 4 : Node248fontSize * 0.2 - 9;
- Node248textWidth = Node248width;
- Node248lineStart = 1;
- } else if (Node248align === 'right') {
- Node248textStart = 0;
- Node248textWidth =Node248fontSize <= 8 ? Node248width + Node248fontSize * 0.2 + 6 : Node248width - Node248fontSize * 0.2;
- Node248lineStart = (Node248width - (ht.Default.getTextSize('321-0', ' '+ Node248fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node248align === 'center') {
- Node248textStart = -3;
- Node248textWidth = Node248width;
- Node248lineStart = Node248width - ht.Default.getTextSize('321-0', ' '+ Node248fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "Arial"'))
- Node248.setPosition(1218*ratio.ratioX, 714*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','321-0');
- 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 "Arial"');
- Node248.a('node.textvisible',true);
- Node248.a('node.linefeed',false);
- if (false) {
- Node248.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node248.a('node.text') || '321-0';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node248.a('node.underlinepoints',[Node248lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('321-0', ' '+ Node248fontSize + 'px "Arial"').width + 6, (Node248height - Node248fontSize) * 0.5*_ratio.ratioY + Node248fontSize + 2 ]);
- Node248.a('node.underlinevisible',false);
- Node248.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node248);
- zoomNodeList.push({
- node: Node248,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node249 = new ht.Node();
- var Node249textStart, Node249textWidth, Node249lineStart, Node249align = 'left', Node249fontSize = 13.3333*_ratio.ratioY,Node249width = 41*_ratio.ratioX, Node249height = 16*_ratio.ratioY;
- (function () {
- if (Node249align === 'left') {
- Node249textStart = Node249fontSize * 0.2 > 2 ? Node249fontSize * 0.2 - 4 : Node249fontSize * 0.2 - 9;
- Node249textWidth = Node249width;
- Node249lineStart = 1;
- } else if (Node249align === 'right') {
- Node249textStart = 0;
- Node249textWidth =Node249fontSize <= 8 ? Node249width + Node249fontSize * 0.2 + 6 : Node249width - Node249fontSize * 0.2;
- Node249lineStart = (Node249width - (ht.Default.getTextSize('322-0', ' '+ Node249fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node249align === 'center') {
- Node249textStart = -3;
- Node249textWidth = Node249width;
- Node249lineStart = Node249width - ht.Default.getTextSize('322-0', ' '+ Node249fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node249.setImage(GD.getTextJSON(Node249width, Node249height, true, false, false, ' '+ Node249fontSize + 'px "Arial"'))
- Node249.setPosition(1405*ratio.ratioX, 715*ratio.ratioY);
- Node249.setWidth(Node249width);
- Node249.setHeight(Node249height);
- Node249._nodeType = 'text';
- Node249._disallowEvert = true;
- Node249.setRotation(0*Math.PI/180);
- Node249.a('node.width', Node249width);
- Node249.a('node.height', Node249height);
- Node249.a('node.rect', [0, 0, Node249width, Node249height]);
- Node249.a('node.bordercolor','rgba(0,0,0,1)');
- Node249.a('node.borderwidth', 0);
- Node249.a('node.background','' || 'rgba(0,0,0,0)');
- Node249.a('node.gradient','');
- Node249.a('node.gradientcolor','');
- Node249.a('node.text','322-0');
- Node249.a('node.textalign','left');
- Node249.a('node.textvAlign','middle');
- Node249.a('node.textrect', [Node249textStart, 0, Node249textWidth, Node249height]);
- Node249.a('node.color','rgba(0,0,0,1)');
- Node249.a('node.font',' '+ Node249fontSize + 'px "Arial"');
- Node249.a('node.textvisible',true);
- Node249.a('node.linefeed',false);
- if (false) {
- Node249.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node249.a('node.text') || '322-0';
- var color=Node249.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node249width,Node249height,13.3333*_ratio.ratioY,"left",color,' '+ Node249fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node249.a('node.underlinepoints',[Node249lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node249fontSize + 2 , ht.Default.getTextSize('322-0', ' '+ Node249fontSize + 'px "Arial"').width + 6, (Node249height - Node249fontSize) * 0.5*_ratio.ratioY + Node249fontSize + 2 ]);
- Node249.a('node.underlinevisible',false);
- Node249.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node249);
- zoomNodeList.push({
- node: Node249,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node250 = new ht.Node();
- var Node250textStart, Node250textWidth, Node250lineStart, Node250align = 'left', Node250fontSize = 13.3333*_ratio.ratioY,Node250width = 41*_ratio.ratioX, Node250height = 16*_ratio.ratioY;
- (function () {
- if (Node250align === 'left') {
- Node250textStart = Node250fontSize * 0.2 > 2 ? Node250fontSize * 0.2 - 4 : Node250fontSize * 0.2 - 9;
- Node250textWidth = Node250width;
- Node250lineStart = 1;
- } else if (Node250align === 'right') {
- Node250textStart = 0;
- Node250textWidth =Node250fontSize <= 8 ? Node250width + Node250fontSize * 0.2 + 6 : Node250width - Node250fontSize * 0.2;
- Node250lineStart = (Node250width - (ht.Default.getTextSize('323-0', ' '+ Node250fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node250align === 'center') {
- Node250textStart = -3;
- Node250textWidth = Node250width;
- Node250lineStart = Node250width - ht.Default.getTextSize('323-0', ' '+ Node250fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node250.setImage(GD.getTextJSON(Node250width, Node250height, true, false, false, ' '+ Node250fontSize + 'px "Arial"'))
- Node250.setPosition(1589*ratio.ratioX, 713*ratio.ratioY);
- Node250.setWidth(Node250width);
- Node250.setHeight(Node250height);
- Node250._nodeType = 'text';
- Node250._disallowEvert = true;
- Node250.setRotation(0*Math.PI/180);
- Node250.a('node.width', Node250width);
- Node250.a('node.height', Node250height);
- Node250.a('node.rect', [0, 0, Node250width, Node250height]);
- Node250.a('node.bordercolor','rgba(0,0,0,1)');
- Node250.a('node.borderwidth', 0);
- Node250.a('node.background','' || 'rgba(0,0,0,0)');
- Node250.a('node.gradient','');
- Node250.a('node.gradientcolor','');
- Node250.a('node.text','323-0');
- Node250.a('node.textalign','left');
- Node250.a('node.textvAlign','middle');
- Node250.a('node.textrect', [Node250textStart, 0, Node250textWidth, Node250height]);
- Node250.a('node.color','rgba(0,0,0,1)');
- Node250.a('node.font',' '+ Node250fontSize + 'px "Arial"');
- Node250.a('node.textvisible',true);
- Node250.a('node.linefeed',false);
- if (false) {
- Node250.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node250.a('node.text') || '323-0';
- var color=Node250.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node250width,Node250height,13.3333*_ratio.ratioY,"left",color,' '+ Node250fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node250.a('node.underlinepoints',[Node250lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node250fontSize + 2 , ht.Default.getTextSize('323-0', ' '+ Node250fontSize + 'px "Arial"').width + 6, (Node250height - Node250fontSize) * 0.5*_ratio.ratioY + Node250fontSize + 2 ]);
- Node250.a('node.underlinevisible',false);
- Node250.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node250);
- zoomNodeList.push({
- node: Node250,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node251 = new ht.Node();
- var Node251textStart, Node251textWidth, Node251lineStart, Node251align = 'left', Node251fontSize = 13.3333*_ratio.ratioY,Node251width = 41*_ratio.ratioX, Node251height = 16*_ratio.ratioY;
- (function () {
- if (Node251align === 'left') {
- Node251textStart = Node251fontSize * 0.2 > 2 ? Node251fontSize * 0.2 - 4 : Node251fontSize * 0.2 - 9;
- Node251textWidth = Node251width;
- Node251lineStart = 1;
- } else if (Node251align === 'right') {
- Node251textStart = 0;
- Node251textWidth =Node251fontSize <= 8 ? Node251width + Node251fontSize * 0.2 + 6 : Node251width - Node251fontSize * 0.2;
- Node251lineStart = (Node251width - (ht.Default.getTextSize('324-0', ' '+ Node251fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node251align === 'center') {
- Node251textStart = -3;
- Node251textWidth = Node251width;
- Node251lineStart = Node251width - ht.Default.getTextSize('324-0', ' '+ Node251fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node251.setImage(GD.getTextJSON(Node251width, Node251height, true, false, false, ' '+ Node251fontSize + 'px "Arial"'))
- Node251.setPosition(1766*ratio.ratioX, 715*ratio.ratioY);
- Node251.setWidth(Node251width);
- Node251.setHeight(Node251height);
- Node251._nodeType = 'text';
- Node251._disallowEvert = true;
- Node251.setRotation(0*Math.PI/180);
- Node251.a('node.width', Node251width);
- Node251.a('node.height', Node251height);
- Node251.a('node.rect', [0, 0, Node251width, Node251height]);
- Node251.a('node.bordercolor','rgba(0,0,0,1)');
- Node251.a('node.borderwidth', 0);
- Node251.a('node.background','' || 'rgba(0,0,0,0)');
- Node251.a('node.gradient','');
- Node251.a('node.gradientcolor','');
- Node251.a('node.text','324-0');
- Node251.a('node.textalign','left');
- Node251.a('node.textvAlign','middle');
- Node251.a('node.textrect', [Node251textStart, 0, Node251textWidth, Node251height]);
- Node251.a('node.color','rgba(0,0,0,1)');
- Node251.a('node.font',' '+ Node251fontSize + 'px "Arial"');
- Node251.a('node.textvisible',true);
- Node251.a('node.linefeed',false);
- if (false) {
- Node251.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node251.a('node.text') || '324-0';
- var color=Node251.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node251width,Node251height,13.3333*_ratio.ratioY,"left",color,' '+ Node251fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node251.a('node.underlinepoints',[Node251lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node251fontSize + 2 , ht.Default.getTextSize('324-0', ' '+ Node251fontSize + 'px "Arial"').width + 6, (Node251height - Node251fontSize) * 0.5*_ratio.ratioY + Node251fontSize + 2 ]);
- Node251.a('node.underlinevisible',false);
- Node251.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node251);
- zoomNodeList.push({
- node: Node251,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node252 = new ht.lib['黄色箭头'](799*ratio.ratioX, 531*ratio.ratioY, 15*_ratio.ratioX, 70*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node252');
- _libModel.add("Node252", Node252);
- Node252.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node253type = 'rect';
- var Node253 = new ht.Node(),
- Node253BorderWidth = 0*2;
- if (Node253type === 'arc') {
- Node253BorderWidth *= 0;
- }
- Node253.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node253type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node253.setPosition(494*ratio.ratioX, 200*ratio.ratioY);
- Node253.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node253.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node253.a('node.width', 90*_ratio.ratioX);
- Node253.a('node.height', 21*_ratio.ratioY);
- Node253.a('node.type', Node253type);
- Node253.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node253.a('node.background', 'rgba(0,0,192,1)');
- Node253.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node253.a('node.gradient', '');
- Node253.a('node.borderwidth', Node253BorderWidth);
- Node253.a('node.color', 'rgba(0,0,0,0)');
- Node253.a('node.fillrect', [0,0,0,0]);
- Node253.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node253.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node253.a('node.fillgradient', '');
- if (Node253type !== 'rect') {
- Node253.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node253.a('node.arcTo', parseFloat('@arcTo@'));
- Node253.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node253type === 'arc') {
- Node253.a('node.arcOval', true);
- }
- Node253.setRotation(0*Math.PI/180);
- Node253.borderWidth = Node253BorderWidth;
- Node253.borderFillwidth = Node253BorderWidth;
- dataModel.add(Node253);
- Node253._nodename = 'Node253'
- Node253._nodeType = 'rect';
- zoomNodeList.push({
- node: Node253,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node253, Node253.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node254 = new ht.Node();
- var Node254textStart, Node254textWidth, Node254lineStart, Node254align = 'left', Node254fontSize = 13.3333*_ratio.ratioY,Node254width = 69*_ratio.ratioX, Node254height = 30*_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(510*ratio.ratioX, 200*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(255,255,255,1)');
- Node254.a('node.borderwidth', 0);
- Node254.a('node.background','' || 'rgba(0,0,0,0)');
- Node254.a('node.gradient','');
- Node254.a('node.gradientcolor','');
- Node254.a('node.text','峰劲线');
- Node254.a('node.textalign','left');
- Node254.a('node.textvAlign','middle');
- Node254.a('node.textrect', [Node254textStart, 0, Node254textWidth, Node254height]);
- Node254.a('node.color','rgba(255,255,255,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(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node254width,Node254height,13.3333*_ratio.ratioY,"left",color,' '+ Node254fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node254.a('node.underlinepoints',[Node254lineStart, (30 - 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.lib['开关通用图元'](432*ratio.ratioX, 250*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0006',}, function (){return {}}, 'Node255');
- _libModel.add("Node255", Node255);
- Node255.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node256 = new ht.lib['开关通用图元'](433*ratio.ratioX, 331*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0004',}, function (){return {}}, 'Node256');
- _libModel.add("Node256", Node256);
- Node256.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node257 = new ht.lib['开关通用图元'](1104*ratio.ratioX, 248*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0024',}, function (){return {}}, 'Node257');
- _libModel.add("Node257", Node257);
- Node257.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258 = new ht.lib['开关通用图元'](1105*ratio.ratioX, 332*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0022',}, function (){return {}}, 'Node258');
- _libModel.add("Node258", Node258);
- Node258.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259 = new ht.lib['开关通用图元'](1488*ratio.ratioX, 250*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0042',}, function (){return {}}, 'Node259');
- _libModel.add("Node259", Node259);
- Node259.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260 = new ht.lib['开关通用图元'](1488*ratio.ratioX, 333*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0040',}, function (){return {}}, 'Node260');
- _libModel.add("Node260", Node260);
- Node260.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261 = new ht.lib['开关通用图元'](284*ratio.ratioX, 505*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0093',}, function (){return {}}, 'Node261');
- _libModel.add("Node261", Node261);
- Node261.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node262 = new ht.lib['开关通用图元'](1472*ratio.ratioX, 529*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0124',}, function (){return {}}, 'Node262');
- _libModel.add("Node262", Node262);
- Node262.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node263 = new ht.lib['开关通用图元'](1545*ratio.ratioX, 531*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0125',}, function (){return {}}, 'Node263');
- _libModel.add("Node263", Node263);
- Node263.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node264 = new ht.lib['开关通用图元'](1666*ratio.ratioX, 504*ratio.ratioY, 15*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0133',}, function (){return {}}, 'Node264');
- _libModel.add("Node264", Node264);
- Node264.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node265 = new ht.lib['断路器通用图元'](432*ratio.ratioX, 290*ratio.ratioY, 14*_ratio.ratioX, 23*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0002',}, function (){return {}}, 'Node265');
- _libModel.add("Node265", Node265);
- Node265.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266 = new ht.lib['断路器通用图元'](793*ratio.ratioX, 308*ratio.ratioY, 14*_ratio.ratioX, 23*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0014',}, function (){return {}}, 'Node266');
- _libModel.add("Node266", Node266);
- Node266.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267 = new ht.lib['断路器通用图元'](1105*ratio.ratioX, 290*ratio.ratioY, 14*_ratio.ratioX, 23*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0020',}, function (){return {}}, 'Node267');
- _libModel.add("Node267", Node267);
- Node267.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node268 = new ht.lib['断路器通用图元'](1488*ratio.ratioX, 290*ratio.ratioY, 14*_ratio.ratioX, 23*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0038',}, function (){return {}}, 'Node268');
- _libModel.add("Node268", Node268);
- Node268.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269 = new ht.lib['断路器通用图元'](284*ratio.ratioX, 593*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0088',}, function (){return {}}, 'Node269');
- _libModel.add("Node269", Node269);
- Node269.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node270 = new ht.lib['断路器通用图元'](658*ratio.ratioX, 594*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0034',}, function (){return {}}, 'Node270');
- _libModel.add("Node270", Node270);
- Node270.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node271 = new ht.lib['断路器通用图元'](1141*ratio.ratioX, 595*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0052',}, function (){return {}}, 'Node271');
- _libModel.add("Node271", Node271);
- Node271.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node272 = new ht.lib['断路器通用图元'](1510*ratio.ratioX, 593*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0119',}, function (){return {}}, 'Node272');
- _libModel.add("Node272", Node272);
- Node272.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273 = new ht.lib['断路器通用图元'](1666*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0128',}, function (){return {}}, 'Node273');
- _libModel.add("Node273", Node273);
- Node273.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274 = new ht.lib['断路器通用图元'](219*ratio.ratioX, 661*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0064',}, function (){return {}}, 'Node274');
- _libModel.add("Node274", Node274);
- Node274.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275 = new ht.lib['断路器通用图元'](400*ratio.ratioX, 661*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0070',}, function (){return {}}, 'Node275');
- _libModel.add("Node275", Node275);
- Node275.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276 = new ht.lib['断路器通用图元'](567*ratio.ratioX, 659*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0076',}, function (){return {}}, 'Node276');
- _libModel.add("Node276", Node276);
- Node276.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277 = new ht.lib['断路器通用图元'](743*ratio.ratioX, 659*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0082',}, function (){return {}}, 'Node277');
- _libModel.add("Node277", Node277);
- Node277.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278 = new ht.lib['断路器通用图元'](1064*ratio.ratioX, 660*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0058',}, function (){return {}}, 'Node278');
- _libModel.add("Node278", Node278);
- Node278.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279 = new ht.lib['断路器通用图元'](1153*ratio.ratioX, 662*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0095',}, function (){return {}}, 'Node279');
- _libModel.add("Node279", Node279);
- Node279.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node280 = new ht.lib['断路器通用图元'](1335*ratio.ratioX, 662*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0101',}, function (){return {}}, 'Node280');
- _libModel.add("Node280", Node280);
- Node280.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node281 = new ht.lib['断路器通用图元'](1521*ratio.ratioX, 662*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0107',}, function (){return {}}, 'Node281');
- _libModel.add("Node281", Node281);
- Node281.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node282 = new ht.lib['断路器通用图元'](1694*ratio.ratioX, 662*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0113',}, function (){return {}}, 'Node282');
- _libModel.add("Node282", Node282);
- Node282.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node283 = new ht.lib['手车通用图元'](284*ratio.ratioX, 594*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0090',}, function (){return {}}, 'Node283');
- _libModel.add("Node283", Node283);
- Node283.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node284 = new ht.lib['手车通用图元'](494*ratio.ratioX, 594*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0056',}, function (){return {}}, 'Node284');
- _libModel.add("Node284", Node284);
- Node284.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node285 = new ht.lib['手车通用图元'](658*ratio.ratioX, 593*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0036',}, function (){return {}}, 'Node285');
- _libModel.add("Node285", Node285);
- Node285.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286 = new ht.lib['手车通用图元'](1141*ratio.ratioX, 595*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0054',}, function (){return {}}, 'Node286');
- _libModel.add("Node286", Node286);
- Node286.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node287 = new ht.lib['手车通用图元'](1380*ratio.ratioX, 600*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0050',}, function (){return {}}, 'Node287');
- _libModel.add("Node287", Node287);
- Node287.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node288 = new ht.lib['手车通用图元'](1510*ratio.ratioX, 593*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0121',}, function (){return {}}, 'Node288');
- _libModel.add("Node288", Node288);
- Node288.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node289 = new ht.lib['手车通用图元'](1666*ratio.ratioX, 592*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0130',}, function (){return {}}, 'Node289');
- _libModel.add("Node289", Node289);
- Node289.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node290 = new ht.lib['手车通用图元'](219*ratio.ratioX, 661*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0066',}, function (){return {}}, 'Node290');
- _libModel.add("Node290", Node290);
- Node290.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node291 = new ht.lib['手车通用图元'](400*ratio.ratioX, 661*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0072',}, function (){return {}}, 'Node291');
- _libModel.add("Node291", Node291);
- Node291.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node292 = new ht.lib['手车通用图元'](568*ratio.ratioX, 659*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0078',}, function (){return {}}, 'Node292');
- _libModel.add("Node292", Node292);
- Node292.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node293 = new ht.lib['手车通用图元'](743*ratio.ratioX, 659*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0084',}, function (){return {}}, 'Node293');
- _libModel.add("Node293", Node293);
- Node293.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node294 = new ht.lib['手车通用图元'](1064*ratio.ratioX, 659*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0060',}, function (){return {}}, 'Node294');
- _libModel.add("Node294", Node294);
- Node294.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node295 = new ht.lib['手车通用图元'](1153*ratio.ratioX, 662*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0097',}, function (){return {}}, 'Node295');
- _libModel.add("Node295", Node295);
- Node295.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node296 = new ht.lib['手车通用图元'](1335*ratio.ratioX, 661*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0103',}, function (){return {}}, 'Node296');
- _libModel.add("Node296", Node296);
- Node296.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node297 = new ht.lib['手车通用图元'](1521*ratio.ratioX, 663*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0109',}, function (){return {}}, 'Node297');
- _libModel.add("Node297", Node297);
- Node297.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node298 = new ht.lib['手车通用图元'](1694*ratio.ratioX, 662*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0115',}, function (){return {}}, 'Node298');
- _libModel.add("Node298", Node298);
- Node298.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node299 = new ht.lib['倒置 接地刀闸通用图元'](492*ratio.ratioX, 240*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0012',}, function (){return {}}, 'Node299');
- _libModel.add("Node299", Node299);
- Node299.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node300 = new ht.lib['倒置 接地刀闸通用图元'](492*ratio.ratioX, 286*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0010',}, function (){return {}}, 'Node300');
- _libModel.add("Node300", Node300);
- Node300.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node301 = new ht.lib['倒置 接地刀闸通用图元'](493*ratio.ratioX, 324*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0004',}, function (){return {}}, 'Node301');
- _libModel.add("Node301", Node301);
- Node301.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node302 = new ht.lib['倒置 接地刀闸通用图元'](852*ratio.ratioX, 301*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0016',}, function (){return {}}, 'Node302');
- _libModel.add("Node302", Node302);
- Node302.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node303 = new ht.lib['倒置 接地刀闸通用图元'](854*ratio.ratioX, 339*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0018',}, function (){return {}}, 'Node303');
- _libModel.add("Node303", Node303);
- Node303.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node304 = new ht.lib['倒置 接地刀闸通用图元'](1165*ratio.ratioX, 240*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0030',}, function (){return {}}, 'Node304');
- _libModel.add("Node304", Node304);
- Node304.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node305 = new ht.lib['倒置 接地刀闸通用图元'](1165*ratio.ratioX, 284*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0028',}, function (){return {}}, 'Node305');
- _libModel.add("Node305", Node305);
- Node305.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node306 = new ht.lib['倒置 接地刀闸通用图元'](1165*ratio.ratioX, 324*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0026',}, function (){return {}}, 'Node306');
- _libModel.add("Node306", Node306);
- Node306.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node307 = new ht.lib['倒置 接地刀闸通用图元'](1548*ratio.ratioX, 242*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0048',}, function (){return {}}, 'Node307');
- _libModel.add("Node307", Node307);
- Node307.setRotation(0*Math.PI/180);
- ;
- ;
- var Node308points=[1488, 207,1488, 239],
- Node308rect=ht.Default.unionPoint([{x:1488,y:207},{x:1488,y:239}]),
- Node308compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node308points.length;i++){
- if(i%2==0){
- Node308compspts.push(Node308points[i]-Node308rect.x);
- }else{
- Node308compspts.push(Node308points[i]-Node308rect.y);
- }
- }
- var Node308ptslength=Node308compspts.length;
- if (Node308rect.height === 0) {
- Node308compspts[0] -= 0;
- Node308compspts[Node308ptslength-2] += 0;
- } else if (Node308rect.width === 0){
- Node308compspts[1] -= 0;
- Node308compspts[Node308ptslength-1] += 0;
- } else {
- Node308compspts[0] -= 0;
- Node308compspts[1] -= 0;
- Node308compspts[Node308ptslength-2] += 0;
- Node308compspts[Node308ptslength-1] += 0;
- }
- Node308 = new ht.Node();
- Node308.borderWidth = 1;
- Node308rect.width = Node308rect.width === 0 ? 0.0001 : Node308rect.width;
- Node308rect.height = Node308rect.height === 0 ? 0.0001 : Node308rect.height;
- var Node308endCompspts = [Node308compspts[Node308ptslength-2],Node308compspts[Node308ptslength-1],0,0];
- var Node308startCompspts = [Node308compspts[0],Node308compspts[1],0,0];
- Node308.setImage(GD.getPolyLineJSON());
- Node308.setPosition(Node308rect.x+Node308rect.width/2,Node308rect.y+Node308rect.height/2);
- Node308.setSize(Node308rect.width,Node308rect.height);
- Node308.setStyle("opacity",1);
- Node308.s({'pixelPerfect':true});
- Node308borderwidth=1;
- Node308.setRotation(0);
- dataModel.add(Node308);
- Node308.a('node.points',Node308compspts);
- Node308.a('node.segments',[1,2]);
- Node308.a('node.color','rgba(255,0,255,1)');
- Node308.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node308.a('node.borderColor','rgba(255,0,255,1)');
- Node308.a('node.background','rgba(255,0,255,1)');
- Node308.a('node.gradient','');
- Node308.a('node.gradientcolor','rgba(255,0,255,1)');
- Node308.a('node.endCompspts',Node308endCompspts);
- Node308.a('node.startCompspts',Node308startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node308';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node308, Node308.getImage(), Node308compspts, Node308endCompspts, Node308startCompspts);
- var Node309points=[1488, 228,1548, 228],
- Node309rect=ht.Default.unionPoint([{x:1488,y:228},{x:1548,y:228}]),
- Node309compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node309points.length;i++){
- if(i%2==0){
- Node309compspts.push(Node309points[i]-Node309rect.x);
- }else{
- Node309compspts.push(Node309points[i]-Node309rect.y);
- }
- }
- var Node309ptslength=Node309compspts.length;
- if (Node309rect.height === 0) {
- Node309compspts[0] -= 0;
- Node309compspts[Node309ptslength-2] += 0;
- } else if (Node309rect.width === 0){
- Node309compspts[1] -= 0;
- Node309compspts[Node309ptslength-1] += 0;
- } else {
- Node309compspts[0] -= 0;
- Node309compspts[1] -= 0;
- Node309compspts[Node309ptslength-2] += 0;
- Node309compspts[Node309ptslength-1] += 0;
- }
- Node309 = new ht.Node();
- Node309.borderWidth = 1;
- Node309rect.width = Node309rect.width === 0 ? 0.0001 : Node309rect.width;
- Node309rect.height = Node309rect.height === 0 ? 0.0001 : Node309rect.height;
- var Node309endCompspts = [Node309compspts[Node309ptslength-2],Node309compspts[Node309ptslength-1],0,0];
- var Node309startCompspts = [Node309compspts[0],Node309compspts[1],0,0];
- Node309.setImage(GD.getPolyLineJSON());
- Node309.setPosition(Node309rect.x+Node309rect.width/2,Node309rect.y+Node309rect.height/2);
- Node309.setSize(Node309rect.width,Node309rect.height);
- Node309.setStyle("opacity",1);
- Node309.s({'pixelPerfect':true});
- Node309borderwidth=1;
- Node309.setRotation(0);
- dataModel.add(Node309);
- Node309.a('node.points',Node309compspts);
- Node309.a('node.segments',[1,2]);
- Node309.a('node.color','rgba(255,0,255,1)');
- Node309.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node309.a('node.borderColor','rgba(255,0,255,1)');
- Node309.a('node.background','rgba(255,0,255,1)');
- Node309.a('node.gradient','');
- Node309.a('node.gradientcolor','rgba(255,0,255,1)');
- Node309.a('node.endCompspts',Node309endCompspts);
- Node309.a('node.startCompspts',Node309startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node309';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node309, Node309.getImage(), Node309compspts, Node309endCompspts, Node309startCompspts);
- var Node310points=[1556, 239,1556, 239],
- Node310rect=ht.Default.unionPoint([{x:1556,y:239},{x:1556,y:239}]),
- Node310compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node310points.length;i++){
- if(i%2==0){
- Node310compspts.push(Node310points[i]-Node310rect.x);
- }else{
- Node310compspts.push(Node310points[i]-Node310rect.y);
- }
- }
- var Node310ptslength=Node310compspts.length;
- if (Node310rect.height === 0) {
- Node310compspts[0] -= 0;
- Node310compspts[Node310ptslength-2] += 0;
- } else if (Node310rect.width === 0){
- Node310compspts[1] -= 0;
- Node310compspts[Node310ptslength-1] += 0;
- } else {
- Node310compspts[0] -= 0;
- Node310compspts[1] -= 0;
- Node310compspts[Node310ptslength-2] += 0;
- Node310compspts[Node310ptslength-1] += 0;
- }
- Node310 = new ht.Node();
- Node310.borderWidth = 1;
- Node310rect.width = Node310rect.width === 0 ? 0.0001 : Node310rect.width;
- Node310rect.height = Node310rect.height === 0 ? 0.0001 : Node310rect.height;
- var Node310endCompspts = [Node310compspts[Node310ptslength-2],Node310compspts[Node310ptslength-1],0,0];
- var Node310startCompspts = [Node310compspts[0],Node310compspts[1],0,0];
- Node310.setImage(GD.getPolyLineJSON());
- Node310.setPosition(Node310rect.x+Node310rect.width/2,Node310rect.y+Node310rect.height/2);
- Node310.setSize(Node310rect.width,Node310rect.height);
- Node310.setStyle("opacity",1);
- Node310.s({'pixelPerfect':true});
- Node310borderwidth=1;
- Node310.setRotation(0);
- dataModel.add(Node310);
- Node310.a('node.points',Node310compspts);
- Node310.a('node.segments',[1,2]);
- Node310.a('node.color','rgba(255,0,255,1)');
- Node310.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node310.a('node.borderColor','rgba(255,0,255,1)');
- Node310.a('node.background','rgba(255,0,255,1)');
- Node310.a('node.gradient','');
- Node310.a('node.gradientcolor','rgba(255,0,255,1)');
- Node310.a('node.endCompspts',Node310endCompspts);
- Node310.a('node.startCompspts',Node310startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node310';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node310, Node310.getImage(), Node310compspts, Node310endCompspts, Node310startCompspts);
- var Node311points=[1548, 228,1548, 233],
- Node311rect=ht.Default.unionPoint([{x:1548,y:228},{x:1548,y:233}]),
- Node311compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node311points.length;i++){
- if(i%2==0){
- Node311compspts.push(Node311points[i]-Node311rect.x);
- }else{
- Node311compspts.push(Node311points[i]-Node311rect.y);
- }
- }
- var Node311ptslength=Node311compspts.length;
- if (Node311rect.height === 0) {
- Node311compspts[0] -= 0;
- Node311compspts[Node311ptslength-2] += 0;
- } else if (Node311rect.width === 0){
- Node311compspts[1] -= 0;
- Node311compspts[Node311ptslength-1] += 0;
- } else {
- Node311compspts[0] -= 0;
- Node311compspts[1] -= 0;
- Node311compspts[Node311ptslength-2] += 0;
- Node311compspts[Node311ptslength-1] += 0;
- }
- Node311 = new ht.Node();
- Node311.borderWidth = 1;
- Node311rect.width = Node311rect.width === 0 ? 0.0001 : Node311rect.width;
- Node311rect.height = Node311rect.height === 0 ? 0.0001 : Node311rect.height;
- var Node311endCompspts = [Node311compspts[Node311ptslength-2],Node311compspts[Node311ptslength-1],0,0];
- var Node311startCompspts = [Node311compspts[0],Node311compspts[1],0,0];
- Node311.setImage(GD.getPolyLineJSON());
- Node311.setPosition(Node311rect.x+Node311rect.width/2,Node311rect.y+Node311rect.height/2);
- Node311.setSize(Node311rect.width,Node311rect.height);
- Node311.setStyle("opacity",1);
- Node311.s({'pixelPerfect':true});
- Node311borderwidth=1;
- Node311.setRotation(0);
- dataModel.add(Node311);
- Node311.a('node.points',Node311compspts);
- Node311.a('node.segments',[1,2]);
- Node311.a('node.color','rgba(255,0,255,1)');
- Node311.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node311.a('node.borderColor','rgba(255,0,255,1)');
- Node311.a('node.background','rgba(255,0,255,1)');
- Node311.a('node.gradient','');
- Node311.a('node.gradientcolor','rgba(255,0,255,1)');
- Node311.a('node.endCompspts',Node311endCompspts);
- Node311.a('node.startCompspts',Node311startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node311';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node311, Node311.getImage(), Node311compspts, Node311endCompspts, Node311startCompspts);
- var Node312points=[1485, 288,1485, 288],
- Node312rect=ht.Default.unionPoint([{x:1485,y:288},{x:1485,y:288}]),
- Node312compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node312points.length;i++){
- if(i%2==0){
- Node312compspts.push(Node312points[i]-Node312rect.x);
- }else{
- Node312compspts.push(Node312points[i]-Node312rect.y);
- }
- }
- var Node312ptslength=Node312compspts.length;
- if (Node312rect.height === 0) {
- Node312compspts[0] -= 0;
- Node312compspts[Node312ptslength-2] += 0;
- } else if (Node312rect.width === 0){
- Node312compspts[1] -= 0;
- Node312compspts[Node312ptslength-1] += 0;
- } else {
- Node312compspts[0] -= 0;
- Node312compspts[1] -= 0;
- Node312compspts[Node312ptslength-2] += 0;
- Node312compspts[Node312ptslength-1] += 0;
- }
- Node312 = new ht.Node();
- Node312.borderWidth = 1;
- Node312rect.width = Node312rect.width === 0 ? 0.0001 : Node312rect.width;
- Node312rect.height = Node312rect.height === 0 ? 0.0001 : Node312rect.height;
- var Node312endCompspts = [Node312compspts[Node312ptslength-2],Node312compspts[Node312ptslength-1],0,0];
- var Node312startCompspts = [Node312compspts[0],Node312compspts[1],0,0];
- Node312.setImage(GD.getPolyLineJSON());
- Node312.setPosition(Node312rect.x+Node312rect.width/2,Node312rect.y+Node312rect.height/2);
- Node312.setSize(Node312rect.width,Node312rect.height);
- Node312.setStyle("opacity",1);
- Node312.s({'pixelPerfect':true});
- Node312borderwidth=1;
- Node312.setRotation(0);
- dataModel.add(Node312);
- Node312.a('node.points',Node312compspts);
- Node312.a('node.segments',[1,2]);
- Node312.a('node.color','rgba(255,0,255,1)');
- Node312.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node312.a('node.borderColor','rgba(255,0,255,1)');
- Node312.a('node.background','rgba(255,0,255,1)');
- Node312.a('node.gradient','');
- Node312.a('node.gradientcolor','rgba(255,0,255,1)');
- Node312.a('node.endCompspts',Node312endCompspts);
- Node312.a('node.startCompspts',Node312startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node312';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node312, Node312.getImage(), Node312compspts, Node312endCompspts, Node312startCompspts);
- var Node313_0points=[1485, 266,1485, 266],
- Node313_0rect=ht.Default.unionPoint([{x:1485,y:266},{x:1485,y:266}]),
- Node313_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node313_0points.length;i++){
- if(i%2==0){
- Node313_0compspts.push(Node313_0points[i]-Node313_0rect.x);
- }else{
- Node313_0compspts.push(Node313_0points[i]-Node313_0rect.y);
- }
- }
- var Node313_0ptslength=Node313_0compspts.length;
- if (Node313_0rect.height === 0) {
- Node313_0compspts[0] -= 0;
- Node313_0compspts[Node313_0ptslength-2] += 0;
- } else if (Node313_0rect.width === 0){
- Node313_0compspts[1] -= 0;
- Node313_0compspts[Node313_0ptslength-1] += 0;
- } else {
- Node313_0compspts[0] -= 0;
- Node313_0compspts[1] -= 0;
- Node313_0compspts[Node313_0ptslength-2] += 0;
- Node313_0compspts[Node313_0ptslength-1] += 0;
- }
- Node313_0 = new ht.Node();
- Node313_0.borderWidth = 1;
- Node313_0rect.width = Node313_0rect.width === 0 ? 0.0001 : Node313_0rect.width;
- Node313_0rect.height = Node313_0rect.height === 0 ? 0.0001 : Node313_0rect.height;
- var Node313_0endCompspts = [Node313_0compspts[Node313_0ptslength-2],Node313_0compspts[Node313_0ptslength-1],0,0];
- var Node313_0startCompspts = [Node313_0compspts[0],Node313_0compspts[1],0,0];
- Node313_0.setImage(GD.getPolyLineJSON());
- Node313_0.setPosition(Node313_0rect.x+Node313_0rect.width/2,Node313_0rect.y+Node313_0rect.height/2);
- Node313_0.setSize(Node313_0rect.width,Node313_0rect.height);
- Node313_0.setStyle("opacity",1);
- Node313_0.s({'pixelPerfect':true});
- Node313_0borderwidth=1;
- Node313_0.setRotation(0);
- dataModel.add(Node313_0);
- Node313_0.a('node.points',Node313_0compspts);
- Node313_0.a('node.segments',[1,2]);
- Node313_0.a('node.color','rgba(255,0,255,1)');
- Node313_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node313_0.a('node.borderColor','rgba(255,0,255,1)');
- Node313_0.a('node.background','rgba(255,0,255,1)');
- Node313_0.a('node.gradient','');
- Node313_0.a('node.gradientcolor','rgba(255,0,255,1)');
- Node313_0.a('node.endCompspts',Node313_0endCompspts);
- Node313_0.a('node.startCompspts',Node313_0startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node313_0';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node313_0, Node313_0.getImage(), Node313_0compspts, Node313_0endCompspts, Node313_0startCompspts);
- var Node313_1points=[1488, 261,1488, 281],
- Node313_1rect=ht.Default.unionPoint([{x:1488,y:261},{x:1488,y:281}]),
- Node313_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node313_1points.length;i++){
- if(i%2==0){
- Node313_1compspts.push(Node313_1points[i]-Node313_1rect.x);
- }else{
- Node313_1compspts.push(Node313_1points[i]-Node313_1rect.y);
- }
- }
- var Node313_1ptslength=Node313_1compspts.length;
- if (Node313_1rect.height === 0) {
- Node313_1compspts[0] -= 0;
- Node313_1compspts[Node313_1ptslength-2] += 0;
- } else if (Node313_1rect.width === 0){
- Node313_1compspts[1] -= 0;
- Node313_1compspts[Node313_1ptslength-1] += 0;
- } else {
- Node313_1compspts[0] -= 0;
- Node313_1compspts[1] -= 0;
- Node313_1compspts[Node313_1ptslength-2] += 0;
- Node313_1compspts[Node313_1ptslength-1] += 0;
- }
- Node313_1 = new ht.Node();
- Node313_1.borderWidth = 1;
- Node313_1rect.width = Node313_1rect.width === 0 ? 0.0001 : Node313_1rect.width;
- Node313_1rect.height = Node313_1rect.height === 0 ? 0.0001 : Node313_1rect.height;
- var Node313_1endCompspts = [Node313_1compspts[Node313_1ptslength-2],Node313_1compspts[Node313_1ptslength-1],0,0];
- var Node313_1startCompspts = [Node313_1compspts[0],Node313_1compspts[1],0,0];
- Node313_1.setImage(GD.getPolyLineJSON());
- Node313_1.setPosition(Node313_1rect.x+Node313_1rect.width/2,Node313_1rect.y+Node313_1rect.height/2);
- Node313_1.setSize(Node313_1rect.width,Node313_1rect.height);
- Node313_1.setStyle("opacity",1);
- Node313_1.s({'pixelPerfect':true});
- Node313_1borderwidth=1;
- Node313_1.setRotation(0);
- dataModel.add(Node313_1);
- Node313_1.a('node.points',Node313_1compspts);
- Node313_1.a('node.segments',[1,2]);
- Node313_1.a('node.color','rgba(255,0,255,1)');
- Node313_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node313_1.a('node.borderColor','rgba(255,0,255,1)');
- Node313_1.a('node.background','rgba(255,0,255,1)');
- Node313_1.a('node.gradient','');
- Node313_1.a('node.gradientcolor','rgba(255,0,255,1)');
- Node313_1.a('node.endCompspts',Node313_1endCompspts);
- Node313_1.a('node.startCompspts',Node313_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node313_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node313_1, Node313_1.getImage(), Node313_1compspts, Node313_1endCompspts, Node313_1startCompspts);
- var Node313_2points=[1488, 270,1548, 270],
- Node313_2rect=ht.Default.unionPoint([{x:1488,y:270},{x:1548,y:270}]),
- Node313_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node313_2points.length;i++){
- if(i%2==0){
- Node313_2compspts.push(Node313_2points[i]-Node313_2rect.x);
- }else{
- Node313_2compspts.push(Node313_2points[i]-Node313_2rect.y);
- }
- }
- var Node313_2ptslength=Node313_2compspts.length;
- if (Node313_2rect.height === 0) {
- Node313_2compspts[0] -= 0;
- Node313_2compspts[Node313_2ptslength-2] += 0;
- } else if (Node313_2rect.width === 0){
- Node313_2compspts[1] -= 0;
- Node313_2compspts[Node313_2ptslength-1] += 0;
- } else {
- Node313_2compspts[0] -= 0;
- Node313_2compspts[1] -= 0;
- Node313_2compspts[Node313_2ptslength-2] += 0;
- Node313_2compspts[Node313_2ptslength-1] += 0;
- }
- Node313_2 = new ht.Node();
- Node313_2.borderWidth = 1;
- Node313_2rect.width = Node313_2rect.width === 0 ? 0.0001 : Node313_2rect.width;
- Node313_2rect.height = Node313_2rect.height === 0 ? 0.0001 : Node313_2rect.height;
- var Node313_2endCompspts = [Node313_2compspts[Node313_2ptslength-2],Node313_2compspts[Node313_2ptslength-1],0,0];
- var Node313_2startCompspts = [Node313_2compspts[0],Node313_2compspts[1],0,0];
- Node313_2.setImage(GD.getPolyLineJSON());
- Node313_2.setPosition(Node313_2rect.x+Node313_2rect.width/2,Node313_2rect.y+Node313_2rect.height/2);
- Node313_2.setSize(Node313_2rect.width,Node313_2rect.height);
- Node313_2.setStyle("opacity",1);
- Node313_2.s({'pixelPerfect':true});
- Node313_2borderwidth=1;
- Node313_2.setRotation(0);
- dataModel.add(Node313_2);
- Node313_2.a('node.points',Node313_2compspts);
- Node313_2.a('node.segments',[1,2]);
- Node313_2.a('node.color','rgba(255,0,255,1)');
- Node313_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node313_2.a('node.borderColor','rgba(255,0,255,1)');
- Node313_2.a('node.background','rgba(255,0,255,1)');
- Node313_2.a('node.gradient','');
- Node313_2.a('node.gradientcolor','rgba(255,0,255,1)');
- Node313_2.a('node.endCompspts',Node313_2endCompspts);
- Node313_2.a('node.startCompspts',Node313_2startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node313_2';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node313_2, Node313_2.getImage(), Node313_2compspts, Node313_2endCompspts, Node313_2startCompspts);
- var Node313_3points=[1556, 281,1556, 281],
- Node313_3rect=ht.Default.unionPoint([{x:1556,y:281},{x:1556,y:281}]),
- Node313_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node313_3points.length;i++){
- if(i%2==0){
- Node313_3compspts.push(Node313_3points[i]-Node313_3rect.x);
- }else{
- Node313_3compspts.push(Node313_3points[i]-Node313_3rect.y);
- }
- }
- var Node313_3ptslength=Node313_3compspts.length;
- if (Node313_3rect.height === 0) {
- Node313_3compspts[0] -= 0;
- Node313_3compspts[Node313_3ptslength-2] += 0;
- } else if (Node313_3rect.width === 0){
- Node313_3compspts[1] -= 0;
- Node313_3compspts[Node313_3ptslength-1] += 0;
- } else {
- Node313_3compspts[0] -= 0;
- Node313_3compspts[1] -= 0;
- Node313_3compspts[Node313_3ptslength-2] += 0;
- Node313_3compspts[Node313_3ptslength-1] += 0;
- }
- Node313_3 = new ht.Node();
- Node313_3.borderWidth = 1;
- Node313_3rect.width = Node313_3rect.width === 0 ? 0.0001 : Node313_3rect.width;
- Node313_3rect.height = Node313_3rect.height === 0 ? 0.0001 : Node313_3rect.height;
- var Node313_3endCompspts = [Node313_3compspts[Node313_3ptslength-2],Node313_3compspts[Node313_3ptslength-1],0,0];
- var Node313_3startCompspts = [Node313_3compspts[0],Node313_3compspts[1],0,0];
- Node313_3.setImage(GD.getPolyLineJSON());
- Node313_3.setPosition(Node313_3rect.x+Node313_3rect.width/2,Node313_3rect.y+Node313_3rect.height/2);
- Node313_3.setSize(Node313_3rect.width,Node313_3rect.height);
- Node313_3.setStyle("opacity",1);
- Node313_3.s({'pixelPerfect':true});
- Node313_3borderwidth=1;
- Node313_3.setRotation(0);
- dataModel.add(Node313_3);
- Node313_3.a('node.points',Node313_3compspts);
- Node313_3.a('node.segments',[1,2]);
- Node313_3.a('node.color','rgba(255,0,255,1)');
- Node313_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node313_3.a('node.borderColor','rgba(255,0,255,1)');
- Node313_3.a('node.background','rgba(255,0,255,1)');
- Node313_3.a('node.gradient','');
- Node313_3.a('node.gradientcolor','rgba(255,0,255,1)');
- Node313_3.a('node.endCompspts',Node313_3endCompspts);
- Node313_3.a('node.startCompspts',Node313_3startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node313_3';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node313_3, Node313_3.getImage(), Node313_3compspts, Node313_3endCompspts, Node313_3startCompspts);
- var Node313_4points=[1548, 270,1548, 275],
- Node313_4rect=ht.Default.unionPoint([{x:1548,y:270},{x:1548,y:275}]),
- Node313_4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node313_4points.length;i++){
- if(i%2==0){
- Node313_4compspts.push(Node313_4points[i]-Node313_4rect.x);
- }else{
- Node313_4compspts.push(Node313_4points[i]-Node313_4rect.y);
- }
- }
- var Node313_4ptslength=Node313_4compspts.length;
- if (Node313_4rect.height === 0) {
- Node313_4compspts[0] -= 0;
- Node313_4compspts[Node313_4ptslength-2] += 0;
- } else if (Node313_4rect.width === 0){
- Node313_4compspts[1] -= 0;
- Node313_4compspts[Node313_4ptslength-1] += 0;
- } else {
- Node313_4compspts[0] -= 0;
- Node313_4compspts[1] -= 0;
- Node313_4compspts[Node313_4ptslength-2] += 0;
- Node313_4compspts[Node313_4ptslength-1] += 0;
- }
- Node313_4 = new ht.Node();
- Node313_4.borderWidth = 1;
- Node313_4rect.width = Node313_4rect.width === 0 ? 0.0001 : Node313_4rect.width;
- Node313_4rect.height = Node313_4rect.height === 0 ? 0.0001 : Node313_4rect.height;
- var Node313_4endCompspts = [Node313_4compspts[Node313_4ptslength-2],Node313_4compspts[Node313_4ptslength-1],0,0];
- var Node313_4startCompspts = [Node313_4compspts[0],Node313_4compspts[1],0,0];
- Node313_4.setImage(GD.getPolyLineJSON());
- Node313_4.setPosition(Node313_4rect.x+Node313_4rect.width/2,Node313_4rect.y+Node313_4rect.height/2);
- Node313_4.setSize(Node313_4rect.width,Node313_4rect.height);
- Node313_4.setStyle("opacity",1);
- Node313_4.s({'pixelPerfect':true});
- Node313_4borderwidth=1;
- Node313_4.setRotation(0);
- dataModel.add(Node313_4);
- Node313_4.a('node.points',Node313_4compspts);
- Node313_4.a('node.segments',[1,2]);
- Node313_4.a('node.color','rgba(255,0,255,1)');
- Node313_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node313_4.a('node.borderColor','rgba(255,0,255,1)');
- Node313_4.a('node.background','rgba(255,0,255,1)');
- Node313_4.a('node.gradient','');
- Node313_4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node313_4.a('node.endCompspts',Node313_4endCompspts);
- Node313_4.a('node.startCompspts',Node313_4startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node313_4';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node313_4, Node313_4.getImage(), Node313_4compspts, Node313_4endCompspts, Node313_4startCompspts);
- var Node314_0points=[1485, 305,1485, 305],
- Node314_0rect=ht.Default.unionPoint([{x:1485,y:305},{x:1485,y:305}]),
- Node314_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node314_0points.length;i++){
- if(i%2==0){
- Node314_0compspts.push(Node314_0points[i]-Node314_0rect.x);
- }else{
- Node314_0compspts.push(Node314_0points[i]-Node314_0rect.y);
- }
- }
- var Node314_0ptslength=Node314_0compspts.length;
- if (Node314_0rect.height === 0) {
- Node314_0compspts[0] -= 0;
- Node314_0compspts[Node314_0ptslength-2] += 0;
- } else if (Node314_0rect.width === 0){
- Node314_0compspts[1] -= 0;
- Node314_0compspts[Node314_0ptslength-1] += 0;
- } else {
- Node314_0compspts[0] -= 0;
- Node314_0compspts[1] -= 0;
- Node314_0compspts[Node314_0ptslength-2] += 0;
- Node314_0compspts[Node314_0ptslength-1] += 0;
- }
- Node314_0 = new ht.Node();
- Node314_0.borderWidth = 1;
- Node314_0rect.width = Node314_0rect.width === 0 ? 0.0001 : Node314_0rect.width;
- Node314_0rect.height = Node314_0rect.height === 0 ? 0.0001 : Node314_0rect.height;
- var Node314_0endCompspts = [Node314_0compspts[Node314_0ptslength-2],Node314_0compspts[Node314_0ptslength-1],0,0];
- var Node314_0startCompspts = [Node314_0compspts[0],Node314_0compspts[1],0,0];
- Node314_0.setImage(GD.getPolyLineJSON());
- Node314_0.setPosition(Node314_0rect.x+Node314_0rect.width/2,Node314_0rect.y+Node314_0rect.height/2);
- Node314_0.setSize(Node314_0rect.width,Node314_0rect.height);
- Node314_0.setStyle("opacity",1);
- Node314_0.s({'pixelPerfect':true});
- Node314_0borderwidth=1;
- Node314_0.setRotation(0);
- dataModel.add(Node314_0);
- Node314_0.a('node.points',Node314_0compspts);
- Node314_0.a('node.segments',[1,2]);
- Node314_0.a('node.color','rgba(255,0,255,1)');
- Node314_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node314_0.a('node.borderColor','rgba(255,0,255,1)');
- Node314_0.a('node.background','rgba(255,0,255,1)');
- Node314_0.a('node.gradient','');
- Node314_0.a('node.gradientcolor','rgba(255,0,255,1)');
- Node314_0.a('node.endCompspts',Node314_0endCompspts);
- Node314_0.a('node.startCompspts',Node314_0startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node314_0';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node314_0, Node314_0.getImage(), Node314_0compspts, Node314_0endCompspts, Node314_0startCompspts);
- var Node314_1points=[1488, 300,1488, 320],
- Node314_1rect=ht.Default.unionPoint([{x:1488,y:300},{x:1488,y:320}]),
- Node314_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node314_1points.length;i++){
- if(i%2==0){
- Node314_1compspts.push(Node314_1points[i]-Node314_1rect.x);
- }else{
- Node314_1compspts.push(Node314_1points[i]-Node314_1rect.y);
- }
- }
- var Node314_1ptslength=Node314_1compspts.length;
- if (Node314_1rect.height === 0) {
- Node314_1compspts[0] -= 0;
- Node314_1compspts[Node314_1ptslength-2] += 0;
- } else if (Node314_1rect.width === 0){
- Node314_1compspts[1] -= 0;
- Node314_1compspts[Node314_1ptslength-1] += 0;
- } else {
- Node314_1compspts[0] -= 0;
- Node314_1compspts[1] -= 0;
- Node314_1compspts[Node314_1ptslength-2] += 0;
- Node314_1compspts[Node314_1ptslength-1] += 0;
- }
- Node314_1 = new ht.Node();
- Node314_1.borderWidth = 1;
- Node314_1rect.width = Node314_1rect.width === 0 ? 0.0001 : Node314_1rect.width;
- Node314_1rect.height = Node314_1rect.height === 0 ? 0.0001 : Node314_1rect.height;
- var Node314_1endCompspts = [Node314_1compspts[Node314_1ptslength-2],Node314_1compspts[Node314_1ptslength-1],0,0];
- var Node314_1startCompspts = [Node314_1compspts[0],Node314_1compspts[1],0,0];
- Node314_1.setImage(GD.getPolyLineJSON());
- Node314_1.setPosition(Node314_1rect.x+Node314_1rect.width/2,Node314_1rect.y+Node314_1rect.height/2);
- Node314_1.setSize(Node314_1rect.width,Node314_1rect.height);
- Node314_1.setStyle("opacity",1);
- Node314_1.s({'pixelPerfect':true});
- Node314_1borderwidth=1;
- Node314_1.setRotation(0);
- dataModel.add(Node314_1);
- Node314_1.a('node.points',Node314_1compspts);
- Node314_1.a('node.segments',[1,2]);
- Node314_1.a('node.color','rgba(255,0,255,1)');
- Node314_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node314_1.a('node.borderColor','rgba(255,0,255,1)');
- Node314_1.a('node.background','rgba(255,0,255,1)');
- Node314_1.a('node.gradient','');
- Node314_1.a('node.gradientcolor','rgba(255,0,255,1)');
- Node314_1.a('node.endCompspts',Node314_1endCompspts);
- Node314_1.a('node.startCompspts',Node314_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node314_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node314_1, Node314_1.getImage(), Node314_1compspts, Node314_1endCompspts, Node314_1startCompspts);
- var Node314_2points=[1488, 309,1548, 309],
- Node314_2rect=ht.Default.unionPoint([{x:1488,y:309},{x:1548,y:309}]),
- Node314_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node314_2points.length;i++){
- if(i%2==0){
- Node314_2compspts.push(Node314_2points[i]-Node314_2rect.x);
- }else{
- Node314_2compspts.push(Node314_2points[i]-Node314_2rect.y);
- }
- }
- var Node314_2ptslength=Node314_2compspts.length;
- if (Node314_2rect.height === 0) {
- Node314_2compspts[0] -= 0;
- Node314_2compspts[Node314_2ptslength-2] += 0;
- } else if (Node314_2rect.width === 0){
- Node314_2compspts[1] -= 0;
- Node314_2compspts[Node314_2ptslength-1] += 0;
- } else {
- Node314_2compspts[0] -= 0;
- Node314_2compspts[1] -= 0;
- Node314_2compspts[Node314_2ptslength-2] += 0;
- Node314_2compspts[Node314_2ptslength-1] += 0;
- }
- Node314_2 = new ht.Node();
- Node314_2.borderWidth = 1;
- Node314_2rect.width = Node314_2rect.width === 0 ? 0.0001 : Node314_2rect.width;
- Node314_2rect.height = Node314_2rect.height === 0 ? 0.0001 : Node314_2rect.height;
- var Node314_2endCompspts = [Node314_2compspts[Node314_2ptslength-2],Node314_2compspts[Node314_2ptslength-1],0,0];
- var Node314_2startCompspts = [Node314_2compspts[0],Node314_2compspts[1],0,0];
- Node314_2.setImage(GD.getPolyLineJSON());
- Node314_2.setPosition(Node314_2rect.x+Node314_2rect.width/2,Node314_2rect.y+Node314_2rect.height/2);
- Node314_2.setSize(Node314_2rect.width,Node314_2rect.height);
- Node314_2.setStyle("opacity",1);
- Node314_2.s({'pixelPerfect':true});
- Node314_2borderwidth=1;
- Node314_2.setRotation(0);
- dataModel.add(Node314_2);
- Node314_2.a('node.points',Node314_2compspts);
- Node314_2.a('node.segments',[1,2]);
- Node314_2.a('node.color','rgba(255,0,255,1)');
- Node314_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node314_2.a('node.borderColor','rgba(255,0,255,1)');
- Node314_2.a('node.background','rgba(255,0,255,1)');
- Node314_2.a('node.gradient','');
- Node314_2.a('node.gradientcolor','rgba(255,0,255,1)');
- Node314_2.a('node.endCompspts',Node314_2endCompspts);
- Node314_2.a('node.startCompspts',Node314_2startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node314_2';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node314_2, Node314_2.getImage(), Node314_2compspts, Node314_2endCompspts, Node314_2startCompspts);
- var Node314_3points=[1556, 320,1556, 320],
- Node314_3rect=ht.Default.unionPoint([{x:1556,y:320},{x:1556,y:320}]),
- Node314_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node314_3points.length;i++){
- if(i%2==0){
- Node314_3compspts.push(Node314_3points[i]-Node314_3rect.x);
- }else{
- Node314_3compspts.push(Node314_3points[i]-Node314_3rect.y);
- }
- }
- var Node314_3ptslength=Node314_3compspts.length;
- if (Node314_3rect.height === 0) {
- Node314_3compspts[0] -= 0;
- Node314_3compspts[Node314_3ptslength-2] += 0;
- } else if (Node314_3rect.width === 0){
- Node314_3compspts[1] -= 0;
- Node314_3compspts[Node314_3ptslength-1] += 0;
- } else {
- Node314_3compspts[0] -= 0;
- Node314_3compspts[1] -= 0;
- Node314_3compspts[Node314_3ptslength-2] += 0;
- Node314_3compspts[Node314_3ptslength-1] += 0;
- }
- Node314_3 = new ht.Node();
- Node314_3.borderWidth = 1;
- Node314_3rect.width = Node314_3rect.width === 0 ? 0.0001 : Node314_3rect.width;
- Node314_3rect.height = Node314_3rect.height === 0 ? 0.0001 : Node314_3rect.height;
- var Node314_3endCompspts = [Node314_3compspts[Node314_3ptslength-2],Node314_3compspts[Node314_3ptslength-1],0,0];
- var Node314_3startCompspts = [Node314_3compspts[0],Node314_3compspts[1],0,0];
- Node314_3.setImage(GD.getPolyLineJSON());
- Node314_3.setPosition(Node314_3rect.x+Node314_3rect.width/2,Node314_3rect.y+Node314_3rect.height/2);
- Node314_3.setSize(Node314_3rect.width,Node314_3rect.height);
- Node314_3.setStyle("opacity",1);
- Node314_3.s({'pixelPerfect':true});
- Node314_3borderwidth=1;
- Node314_3.setRotation(0);
- dataModel.add(Node314_3);
- Node314_3.a('node.points',Node314_3compspts);
- Node314_3.a('node.segments',[1,2]);
- Node314_3.a('node.color','rgba(255,0,255,1)');
- Node314_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node314_3.a('node.borderColor','rgba(255,0,255,1)');
- Node314_3.a('node.background','rgba(255,0,255,1)');
- Node314_3.a('node.gradient','');
- Node314_3.a('node.gradientcolor','rgba(255,0,255,1)');
- Node314_3.a('node.endCompspts',Node314_3endCompspts);
- Node314_3.a('node.startCompspts',Node314_3startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node314_3';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node314_3, Node314_3.getImage(), Node314_3compspts, Node314_3endCompspts, Node314_3startCompspts);
- var Node314_4points=[1548, 309,1548, 314],
- Node314_4rect=ht.Default.unionPoint([{x:1548,y:309},{x:1548,y:314}]),
- Node314_4compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node314_4points.length;i++){
- if(i%2==0){
- Node314_4compspts.push(Node314_4points[i]-Node314_4rect.x);
- }else{
- Node314_4compspts.push(Node314_4points[i]-Node314_4rect.y);
- }
- }
- var Node314_4ptslength=Node314_4compspts.length;
- if (Node314_4rect.height === 0) {
- Node314_4compspts[0] -= 0;
- Node314_4compspts[Node314_4ptslength-2] += 0;
- } else if (Node314_4rect.width === 0){
- Node314_4compspts[1] -= 0;
- Node314_4compspts[Node314_4ptslength-1] += 0;
- } else {
- Node314_4compspts[0] -= 0;
- Node314_4compspts[1] -= 0;
- Node314_4compspts[Node314_4ptslength-2] += 0;
- Node314_4compspts[Node314_4ptslength-1] += 0;
- }
- Node314_4 = new ht.Node();
- Node314_4.borderWidth = 1;
- Node314_4rect.width = Node314_4rect.width === 0 ? 0.0001 : Node314_4rect.width;
- Node314_4rect.height = Node314_4rect.height === 0 ? 0.0001 : Node314_4rect.height;
- var Node314_4endCompspts = [Node314_4compspts[Node314_4ptslength-2],Node314_4compspts[Node314_4ptslength-1],0,0];
- var Node314_4startCompspts = [Node314_4compspts[0],Node314_4compspts[1],0,0];
- Node314_4.setImage(GD.getPolyLineJSON());
- Node314_4.setPosition(Node314_4rect.x+Node314_4rect.width/2,Node314_4rect.y+Node314_4rect.height/2);
- Node314_4.setSize(Node314_4rect.width,Node314_4rect.height);
- Node314_4.setStyle("opacity",1);
- Node314_4.s({'pixelPerfect':true});
- Node314_4borderwidth=1;
- Node314_4.setRotation(0);
- dataModel.add(Node314_4);
- Node314_4.a('node.points',Node314_4compspts);
- Node314_4.a('node.segments',[1,2]);
- Node314_4.a('node.color','rgba(255,0,255,1)');
- Node314_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node314_4.a('node.borderColor','rgba(255,0,255,1)');
- Node314_4.a('node.background','rgba(255,0,255,1)');
- Node314_4.a('node.gradient','');
- Node314_4.a('node.gradientcolor','rgba(255,0,255,1)');
- Node314_4.a('node.endCompspts',Node314_4endCompspts);
- Node314_4.a('node.startCompspts',Node314_4startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node314_4';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node314_4, Node314_4.getImage(), Node314_4compspts, Node314_4endCompspts, Node314_4startCompspts);
- var Node315points=[1488, 339,1488, 359],
- Node315rect=ht.Default.unionPoint([{x:1488,y:339},{x:1488,y:359}]),
- Node315compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node315points.length;i++){
- if(i%2==0){
- Node315compspts.push(Node315points[i]-Node315rect.x);
- }else{
- Node315compspts.push(Node315points[i]-Node315rect.y);
- }
- }
- var Node315ptslength=Node315compspts.length;
- if (Node315rect.height === 0) {
- Node315compspts[0] -= 0;
- Node315compspts[Node315ptslength-2] += 0;
- } else if (Node315rect.width === 0){
- Node315compspts[1] -= 0;
- Node315compspts[Node315ptslength-1] += 0;
- } else {
- Node315compspts[0] -= 0;
- Node315compspts[1] -= 0;
- Node315compspts[Node315ptslength-2] += 0;
- Node315compspts[Node315ptslength-1] += 0;
- }
- Node315 = new ht.Node();
- Node315.borderWidth = 1;
- Node315rect.width = Node315rect.width === 0 ? 0.0001 : Node315rect.width;
- Node315rect.height = Node315rect.height === 0 ? 0.0001 : Node315rect.height;
- var Node315endCompspts = [Node315compspts[Node315ptslength-2],Node315compspts[Node315ptslength-1],0,0];
- var Node315startCompspts = [Node315compspts[0],Node315compspts[1],0,0];
- Node315.setImage(GD.getPolyLineJSON());
- Node315.setPosition(Node315rect.x+Node315rect.width/2,Node315rect.y+Node315rect.height/2);
- Node315.setSize(Node315rect.width,Node315rect.height);
- Node315.setStyle("opacity",1);
- Node315.s({'pixelPerfect':true});
- Node315borderwidth=1;
- Node315.setRotation(0);
- dataModel.add(Node315);
- Node315.a('node.points',Node315compspts);
- Node315.a('node.segments',[1,2]);
- Node315.a('node.color','rgba(255,0,255,1)');
- Node315.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node315.a('node.borderColor','rgba(255,0,255,1)');
- Node315.a('node.background','rgba(255,0,255,1)');
- Node315.a('node.gradient','');
- Node315.a('node.gradientcolor','rgba(255,0,255,1)');
- Node315.a('node.endCompspts',Node315endCompspts);
- Node315.a('node.startCompspts',Node315startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node315';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node315, Node315.getImage(), Node315compspts, Node315endCompspts, Node315startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node316 = new ht.lib['接地'](1548*ratio.ratioX, 256*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node316');
- _libModel.add("Node316", Node316);
- Node316.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node317 = new ht.lib['接地'](1548*ratio.ratioX, 298*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node317');
- _libModel.add("Node317", Node317);
- Node317.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node318 = new ht.lib['接地'](1548*ratio.ratioX, 336*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node318');
- _libModel.add("Node318", Node318);
- Node318.setRotation(0*Math.PI/180);
- ;
- ;
- var Node319points=[1489, 207,1629, 207],
- Node319rect=ht.Default.unionPoint([{x:1489,y:207},{x:1629,y:207}]),
- Node319compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node319points.length;i++){
- if(i%2==0){
- Node319compspts.push(Node319points[i]-Node319rect.x);
- }else{
- Node319compspts.push(Node319points[i]-Node319rect.y);
- }
- }
- var Node319ptslength=Node319compspts.length;
- if (Node319rect.height === 0) {
- Node319compspts[0] -= 0;
- Node319compspts[Node319ptslength-2] += 0;
- } else if (Node319rect.width === 0){
- Node319compspts[1] -= 0;
- Node319compspts[Node319ptslength-1] += 0;
- } else {
- Node319compspts[0] -= 0;
- Node319compspts[1] -= 0;
- Node319compspts[Node319ptslength-2] += 0;
- Node319compspts[Node319ptslength-1] += 0;
- }
- Node319 = new ht.Node();
- Node319.borderWidth = 1;
- Node319rect.width = Node319rect.width === 0 ? 0.0001 : Node319rect.width;
- Node319rect.height = Node319rect.height === 0 ? 0.0001 : Node319rect.height;
- var Node319endCompspts = [Node319compspts[Node319ptslength-2],Node319compspts[Node319ptslength-1],0,0];
- var Node319startCompspts = [Node319compspts[0],Node319compspts[1],0,0];
- Node319.setImage(GD.getPolyLineJSON());
- Node319.setPosition(Node319rect.x+Node319rect.width/2,Node319rect.y+Node319rect.height/2);
- Node319.setSize(Node319rect.width,Node319rect.height);
- Node319.setStyle("opacity",1);
- Node319.s({'pixelPerfect':true});
- Node319borderwidth=1;
- Node319.setRotation(0);
- dataModel.add(Node319);
- Node319.a('node.points',Node319compspts);
- Node319.a('node.segments',[1,2]);
- Node319.a('node.color','rgba(255,0,255,1)');
- Node319.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node319.a('node.borderColor','rgba(255,0,255,1)');
- Node319.a('node.background','rgba(255,0,255,1)');
- Node319.a('node.gradient','');
- Node319.a('node.gradientcolor','rgba(255,0,255,1)');
- Node319.a('node.endCompspts',Node319endCompspts);
- Node319.a('node.startCompspts',Node319startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node319';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node319, Node319.getImage(), Node319compspts, Node319endCompspts, Node319startCompspts);
- var Node320points=[1629, 208,1629, 358],
- Node320rect=ht.Default.unionPoint([{x:1629,y:208},{x:1629,y:358}]),
- Node320compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node320points.length;i++){
- if(i%2==0){
- Node320compspts.push(Node320points[i]-Node320rect.x);
- }else{
- Node320compspts.push(Node320points[i]-Node320rect.y);
- }
- }
- var Node320ptslength=Node320compspts.length;
- if (Node320rect.height === 0) {
- Node320compspts[0] -= 0;
- Node320compspts[Node320ptslength-2] += 0;
- } else if (Node320rect.width === 0){
- Node320compspts[1] -= 0;
- Node320compspts[Node320ptslength-1] += 0;
- } else {
- Node320compspts[0] -= 0;
- Node320compspts[1] -= 0;
- Node320compspts[Node320ptslength-2] += 0;
- Node320compspts[Node320ptslength-1] += 0;
- }
- Node320 = new ht.Node();
- Node320.borderWidth = 1;
- Node320rect.width = Node320rect.width === 0 ? 0.0001 : Node320rect.width;
- Node320rect.height = Node320rect.height === 0 ? 0.0001 : Node320rect.height;
- var Node320endCompspts = [Node320compspts[Node320ptslength-2],Node320compspts[Node320ptslength-1],0,0];
- var Node320startCompspts = [Node320compspts[0],Node320compspts[1],0,0];
- Node320.setImage(GD.getPolyLineJSON());
- Node320.setPosition(Node320rect.x+Node320rect.width/2,Node320rect.y+Node320rect.height/2);
- Node320.setSize(Node320rect.width,Node320rect.height);
- Node320.setStyle("opacity",1);
- Node320.s({'pixelPerfect':true});
- Node320borderwidth=1;
- Node320.setRotation(0);
- dataModel.add(Node320);
- Node320.a('node.points',Node320compspts);
- Node320.a('node.segments',[1,2]);
- Node320.a('node.color','rgba(255,0,255,1)');
- Node320.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node320.a('node.borderColor','rgba(255,0,255,1)');
- Node320.a('node.background','rgba(255,0,255,1)');
- Node320.a('node.gradient','');
- Node320.a('node.gradientcolor','rgba(255,0,255,1)');
- Node320.a('node.endCompspts',Node320endCompspts);
- Node320.a('node.startCompspts',Node320startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node320';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node320, Node320.getImage(), Node320compspts, Node320endCompspts, Node320startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node321 = new ht.lib['倒置 接地刀闸通用图元'](1548*ratio.ratioX, 284*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0046',}, function (){return {}}, 'Node321');
- _libModel.add("Node321", Node321);
- Node321.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node322 = new ht.lib['倒置 接地刀闸通用图元'](1548*ratio.ratioX, 323*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0044',}, function (){return {}}, 'Node322');
- _libModel.add("Node322", Node322);
- Node322.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node323 = new ht.lib['倒置 接地刀闸通用图元'](344*ratio.ratioX, 493*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0094',}, function (){return {}}, 'Node323');
- _libModel.add("Node323", Node323);
- Node323.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node324 = new ht.lib['倒置 接地刀闸通用图元'](353*ratio.ratioX, 545*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 180*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0092',}, function (){return {}}, 'Node324');
- _libModel.add("Node324", Node324);
- Node324.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node325 = new ht.lib['倒置 接地刀闸通用图元'](760*ratio.ratioX, 536*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0032',}, function (){return {}}, 'Node325');
- _libModel.add("Node325", Node325);
- Node325.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node326 = new ht.lib['倒置 接地刀闸通用图元'](1240*ratio.ratioX, 545*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0050',}, function (){return {}}, 'Node326');
- _libModel.add("Node326", Node326);
- Node326.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node327 = new ht.lib['倒置 接地刀闸通用图元'](1449*ratio.ratioX, 496*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 180*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0126',}, function (){return {}}, 'Node327');
- _libModel.add("Node327", Node327);
- Node327.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node328 = new ht.lib['倒置 接地刀闸通用图元'](1564*ratio.ratioX, 497*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 180*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0127',}, function (){return {}}, 'Node328');
- _libModel.add("Node328", Node328);
- Node328.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node329 = new ht.lib['倒置 接地刀闸通用图元'](1726*ratio.ratioX, 494*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0134',}, function (){return {}}, 'Node329');
- _libModel.add("Node329", Node329);
- Node329.setRotation(0*Math.PI/180);
- ;
- ;
- var Node330points=[1666, 612,1666, 632],
- Node330rect=ht.Default.unionPoint([{x:1666,y:612},{x:1666,y:632}]),
- Node330compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node330points.length;i++){
- if(i%2==0){
- Node330compspts.push(Node330points[i]-Node330rect.x);
- }else{
- Node330compspts.push(Node330points[i]-Node330rect.y);
- }
- }
- var Node330ptslength=Node330compspts.length;
- if (Node330rect.height === 0) {
- Node330compspts[0] -= 0;
- Node330compspts[Node330ptslength-2] += 0;
- } else if (Node330rect.width === 0){
- Node330compspts[1] -= 0;
- Node330compspts[Node330ptslength-1] += 0;
- } else {
- Node330compspts[0] -= 0;
- Node330compspts[1] -= 0;
- Node330compspts[Node330ptslength-2] += 0;
- Node330compspts[Node330ptslength-1] += 0;
- }
- Node330 = new ht.Node();
- Node330.borderWidth = 1;
- Node330rect.width = Node330rect.width === 0 ? 0.0001 : Node330rect.width;
- Node330rect.height = Node330rect.height === 0 ? 0.0001 : Node330rect.height;
- var Node330endCompspts = [Node330compspts[Node330ptslength-2],Node330compspts[Node330ptslength-1],0,0];
- var Node330startCompspts = [Node330compspts[0],Node330compspts[1],0,0];
- Node330.setImage(GD.getPolyLineJSON());
- Node330.setPosition(Node330rect.x+Node330rect.width/2,Node330rect.y+Node330rect.height/2);
- Node330.setSize(Node330rect.width,Node330rect.height);
- Node330.setStyle("opacity",1);
- Node330.s({'pixelPerfect':true});
- Node330borderwidth=1;
- Node330.setRotation(0);
- dataModel.add(Node330);
- Node330.a('node.points',Node330compspts);
- Node330.a('node.segments',[1,2]);
- Node330.a('node.color','rgba(255,128,0,1)');
- Node330.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node330.a('node.borderColor','rgba(255,128,0,1)');
- Node330.a('node.background','rgba(255,128,0,1)');
- Node330.a('node.gradient','');
- Node330.a('node.gradientcolor','rgba(255,128,0,1)');
- Node330.a('node.endCompspts',Node330endCompspts);
- Node330.a('node.startCompspts',Node330startCompspts);
- (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 = 'Node330';
- 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);
- }
- })(Node330, Node330.getImage(), Node330compspts, Node330endCompspts, Node330startCompspts);
- var Node331points=[1666, 512,1666, 572],
- Node331rect=ht.Default.unionPoint([{x:1666,y:512},{x:1666,y:572}]),
- Node331compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node331points.length;i++){
- if(i%2==0){
- Node331compspts.push(Node331points[i]-Node331rect.x);
- }else{
- Node331compspts.push(Node331points[i]-Node331rect.y);
- }
- }
- var Node331ptslength=Node331compspts.length;
- if (Node331rect.height === 0) {
- Node331compspts[0] -= 0;
- Node331compspts[Node331ptslength-2] += 0;
- } else if (Node331rect.width === 0){
- Node331compspts[1] -= 0;
- Node331compspts[Node331ptslength-1] += 0;
- } else {
- Node331compspts[0] -= 0;
- Node331compspts[1] -= 0;
- Node331compspts[Node331ptslength-2] += 0;
- Node331compspts[Node331ptslength-1] += 0;
- }
- Node331 = new ht.Node();
- Node331.borderWidth = 1;
- Node331rect.width = Node331rect.width === 0 ? 0.0001 : Node331rect.width;
- Node331rect.height = Node331rect.height === 0 ? 0.0001 : Node331rect.height;
- var Node331endCompspts = [Node331compspts[Node331ptslength-2],Node331compspts[Node331ptslength-1],0,0];
- var Node331startCompspts = [Node331compspts[0],Node331compspts[1],0,0];
- Node331.setImage(GD.getPolyLineJSON());
- Node331.setPosition(Node331rect.x+Node331rect.width/2,Node331rect.y+Node331rect.height/2);
- Node331.setSize(Node331rect.width,Node331rect.height);
- Node331.setStyle("opacity",1);
- Node331.s({'pixelPerfect':true});
- Node331borderwidth=1;
- Node331.setRotation(0);
- dataModel.add(Node331);
- Node331.a('node.points',Node331compspts);
- Node331.a('node.segments',[1,2]);
- Node331.a('node.color','rgba(255,128,0,1)');
- Node331.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node331.a('node.borderColor','rgba(255,128,0,1)');
- Node331.a('node.background','rgba(255,128,0,1)');
- Node331.a('node.gradient','');
- Node331.a('node.gradientcolor','rgba(255,128,0,1)');
- Node331.a('node.endCompspts',Node331endCompspts);
- Node331.a('node.startCompspts',Node331startCompspts);
- (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 = 'Node331';
- 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);
- }
- })(Node331, Node331.getImage(), Node331compspts, Node331endCompspts, Node331startCompspts);
- var Node332points=[1666, 563,1736, 563],
- Node332rect=ht.Default.unionPoint([{x:1666,y:563},{x:1736,y:563}]),
- Node332compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node332points.length;i++){
- if(i%2==0){
- Node332compspts.push(Node332points[i]-Node332rect.x);
- }else{
- Node332compspts.push(Node332points[i]-Node332rect.y);
- }
- }
- var Node332ptslength=Node332compspts.length;
- if (Node332rect.height === 0) {
- Node332compspts[0] -= 0;
- Node332compspts[Node332ptslength-2] += 0;
- } else if (Node332rect.width === 0){
- Node332compspts[1] -= 0;
- Node332compspts[Node332ptslength-1] += 0;
- } else {
- Node332compspts[0] -= 0;
- Node332compspts[1] -= 0;
- Node332compspts[Node332ptslength-2] += 0;
- Node332compspts[Node332ptslength-1] += 0;
- }
- Node332 = new ht.Node();
- Node332.borderWidth = 1;
- Node332rect.width = Node332rect.width === 0 ? 0.0001 : Node332rect.width;
- Node332rect.height = Node332rect.height === 0 ? 0.0001 : Node332rect.height;
- var Node332endCompspts = [Node332compspts[Node332ptslength-2],Node332compspts[Node332ptslength-1],0,0];
- var Node332startCompspts = [Node332compspts[0],Node332compspts[1],0,0];
- Node332.setImage(GD.getPolyLineJSON());
- Node332.setPosition(Node332rect.x+Node332rect.width/2,Node332rect.y+Node332rect.height/2);
- Node332.setSize(Node332rect.width,Node332rect.height);
- Node332.setStyle("opacity",1);
- Node332.s({'pixelPerfect':true});
- Node332borderwidth=1;
- Node332.setRotation(0);
- dataModel.add(Node332);
- Node332.a('node.points',Node332compspts);
- Node332.a('node.segments',[1,2]);
- Node332.a('node.color','rgba(255,128,0,1)');
- Node332.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node332.a('node.borderColor','rgba(255,128,0,1)');
- Node332.a('node.background','rgba(255,128,0,1)');
- Node332.a('node.gradient','');
- Node332.a('node.gradientcolor','rgba(255,128,0,1)');
- Node332.a('node.endCompspts',Node332endCompspts);
- Node332.a('node.startCompspts',Node332startCompspts);
- (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 = 'Node332';
- 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);
- }
- })(Node332, Node332.getImage(), Node332compspts, Node332endCompspts, Node332startCompspts);
- var Node333points=[1736, 553,1736, 563],
- Node333rect=ht.Default.unionPoint([{x:1736,y:553},{x:1736,y:563}]),
- Node333compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node333points.length;i++){
- if(i%2==0){
- Node333compspts.push(Node333points[i]-Node333rect.x);
- }else{
- Node333compspts.push(Node333points[i]-Node333rect.y);
- }
- }
- var Node333ptslength=Node333compspts.length;
- if (Node333rect.height === 0) {
- Node333compspts[0] -= 0;
- Node333compspts[Node333ptslength-2] += 0;
- } else if (Node333rect.width === 0){
- Node333compspts[1] -= 0;
- Node333compspts[Node333ptslength-1] += 0;
- } else {
- Node333compspts[0] -= 0;
- Node333compspts[1] -= 0;
- Node333compspts[Node333ptslength-2] += 0;
- Node333compspts[Node333ptslength-1] += 0;
- }
- Node333 = new ht.Node();
- Node333.borderWidth = 1;
- Node333rect.width = Node333rect.width === 0 ? 0.0001 : Node333rect.width;
- Node333rect.height = Node333rect.height === 0 ? 0.0001 : Node333rect.height;
- var Node333endCompspts = [Node333compspts[Node333ptslength-2],Node333compspts[Node333ptslength-1],0,0];
- var Node333startCompspts = [Node333compspts[0],Node333compspts[1],0,0];
- Node333.setImage(GD.getPolyLineJSON());
- Node333.setPosition(Node333rect.x+Node333rect.width/2,Node333rect.y+Node333rect.height/2);
- Node333.setSize(Node333rect.width,Node333rect.height);
- Node333.setStyle("opacity",1);
- Node333.s({'pixelPerfect':true});
- Node333borderwidth=1;
- Node333.setRotation(0);
- dataModel.add(Node333);
- Node333.a('node.points',Node333compspts);
- Node333.a('node.segments',[1,2]);
- Node333.a('node.color','rgba(255,128,0,1)');
- Node333.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node333.a('node.borderColor','rgba(255,128,0,1)');
- Node333.a('node.background','rgba(255,128,0,1)');
- Node333.a('node.gradient','');
- Node333.a('node.gradientcolor','rgba(255,128,0,1)');
- Node333.a('node.endCompspts',Node333endCompspts);
- Node333.a('node.startCompspts',Node333startCompspts);
- (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 = 'Node333';
- 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);
- }
- })(Node333, Node333.getImage(), Node333compspts, Node333endCompspts, Node333startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node334 = new ht.lib['黄色接地'](1735*ratio.ratioX, 530*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node334');
- _libModel.add("Node334", Node334);
- Node334.setRotation(180*Math.PI/180);
- ;
- ;
- var Node335points=[1663, 500,1663, 500],
- Node335rect=ht.Default.unionPoint([{x:1663,y:500},{x:1663,y:500}]),
- Node335compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node335points.length;i++){
- if(i%2==0){
- Node335compspts.push(Node335points[i]-Node335rect.x);
- }else{
- Node335compspts.push(Node335points[i]-Node335rect.y);
- }
- }
- var Node335ptslength=Node335compspts.length;
- if (Node335rect.height === 0) {
- Node335compspts[0] -= 0;
- Node335compspts[Node335ptslength-2] += 0;
- } else if (Node335rect.width === 0){
- Node335compspts[1] -= 0;
- Node335compspts[Node335ptslength-1] += 0;
- } else {
- Node335compspts[0] -= 0;
- Node335compspts[1] -= 0;
- Node335compspts[Node335ptslength-2] += 0;
- Node335compspts[Node335ptslength-1] += 0;
- }
- Node335 = new ht.Node();
- Node335.borderWidth = 1;
- Node335rect.width = Node335rect.width === 0 ? 0.0001 : Node335rect.width;
- Node335rect.height = Node335rect.height === 0 ? 0.0001 : Node335rect.height;
- var Node335endCompspts = [Node335compspts[Node335ptslength-2],Node335compspts[Node335ptslength-1],0,0];
- var Node335startCompspts = [Node335compspts[0],Node335compspts[1],0,0];
- Node335.setImage(GD.getPolyLineJSON());
- Node335.setPosition(Node335rect.x+Node335rect.width/2,Node335rect.y+Node335rect.height/2);
- Node335.setSize(Node335rect.width,Node335rect.height);
- Node335.setStyle("opacity",1);
- Node335.s({'pixelPerfect':true});
- Node335borderwidth=1;
- Node335.setRotation(0);
- dataModel.add(Node335);
- Node335.a('node.points',Node335compspts);
- Node335.a('node.segments',[1,2]);
- Node335.a('node.color','rgba(255,128,0,1)');
- Node335.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node335.a('node.borderColor','rgba(255,128,0,1)');
- Node335.a('node.background','rgba(255,128,0,1)');
- Node335.a('node.gradient','');
- Node335.a('node.gradientcolor','rgba(255,128,0,1)');
- Node335.a('node.endCompspts',Node335endCompspts);
- Node335.a('node.startCompspts',Node335startCompspts);
- (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 = 'Node335';
- 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);
- }
- })(Node335, Node335.getImage(), Node335compspts, Node335endCompspts, Node335startCompspts);
- var Node336points=[1663, 478,1663, 478],
- Node336rect=ht.Default.unionPoint([{x:1663,y:478},{x:1663,y:478}]),
- Node336compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node336points.length;i++){
- if(i%2==0){
- Node336compspts.push(Node336points[i]-Node336rect.x);
- }else{
- Node336compspts.push(Node336points[i]-Node336rect.y);
- }
- }
- var Node336ptslength=Node336compspts.length;
- if (Node336rect.height === 0) {
- Node336compspts[0] -= 0;
- Node336compspts[Node336ptslength-2] += 0;
- } else if (Node336rect.width === 0){
- Node336compspts[1] -= 0;
- Node336compspts[Node336ptslength-1] += 0;
- } else {
- Node336compspts[0] -= 0;
- Node336compspts[1] -= 0;
- Node336compspts[Node336ptslength-2] += 0;
- Node336compspts[Node336ptslength-1] += 0;
- }
- Node336 = new ht.Node();
- Node336.borderWidth = 1;
- Node336rect.width = Node336rect.width === 0 ? 0.0001 : Node336rect.width;
- Node336rect.height = Node336rect.height === 0 ? 0.0001 : Node336rect.height;
- var Node336endCompspts = [Node336compspts[Node336ptslength-2],Node336compspts[Node336ptslength-1],0,0];
- var Node336startCompspts = [Node336compspts[0],Node336compspts[1],0,0];
- Node336.setImage(GD.getPolyLineJSON());
- Node336.setPosition(Node336rect.x+Node336rect.width/2,Node336rect.y+Node336rect.height/2);
- Node336.setSize(Node336rect.width,Node336rect.height);
- Node336.setStyle("opacity",1);
- Node336.s({'pixelPerfect':true});
- Node336borderwidth=1;
- Node336.setRotation(0);
- dataModel.add(Node336);
- Node336.a('node.points',Node336compspts);
- Node336.a('node.segments',[1,2]);
- Node336.a('node.color','rgba(255,0,255,1)');
- Node336.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node336.a('node.borderColor','rgba(255,0,255,1)');
- Node336.a('node.background','rgba(255,0,255,1)');
- Node336.a('node.gradient','');
- Node336.a('node.gradientcolor','rgba(255,0,255,1)');
- Node336.a('node.endCompspts',Node336endCompspts);
- Node336.a('node.startCompspts',Node336startCompspts);
- (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 = 'Node336';
- 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);
- }
- })(Node336, Node336.getImage(), Node336compspts, Node336endCompspts, Node336startCompspts);
- var Node337points=[1666, 473,1666, 493],
- Node337rect=ht.Default.unionPoint([{x:1666,y:473},{x:1666,y:493}]),
- Node337compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node337points.length;i++){
- if(i%2==0){
- Node337compspts.push(Node337points[i]-Node337rect.x);
- }else{
- Node337compspts.push(Node337points[i]-Node337rect.y);
- }
- }
- var Node337ptslength=Node337compspts.length;
- if (Node337rect.height === 0) {
- Node337compspts[0] -= 0;
- Node337compspts[Node337ptslength-2] += 0;
- } else if (Node337rect.width === 0){
- Node337compspts[1] -= 0;
- Node337compspts[Node337ptslength-1] += 0;
- } else {
- Node337compspts[0] -= 0;
- Node337compspts[1] -= 0;
- Node337compspts[Node337ptslength-2] += 0;
- Node337compspts[Node337ptslength-1] += 0;
- }
- Node337 = new ht.Node();
- Node337.borderWidth = 1;
- Node337rect.width = Node337rect.width === 0 ? 0.0001 : Node337rect.width;
- Node337rect.height = Node337rect.height === 0 ? 0.0001 : Node337rect.height;
- var Node337endCompspts = [Node337compspts[Node337ptslength-2],Node337compspts[Node337ptslength-1],0,0];
- var Node337startCompspts = [Node337compspts[0],Node337compspts[1],0,0];
- Node337.setImage(GD.getPolyLineJSON());
- Node337.setPosition(Node337rect.x+Node337rect.width/2,Node337rect.y+Node337rect.height/2);
- Node337.setSize(Node337rect.width,Node337rect.height);
- Node337.setStyle("opacity",1);
- Node337.s({'pixelPerfect':true});
- Node337borderwidth=1;
- Node337.setRotation(0);
- dataModel.add(Node337);
- Node337.a('node.points',Node337compspts);
- Node337.a('node.segments',[1,2]);
- Node337.a('node.color','rgba(255,128,0,1)');
- Node337.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node337.a('node.borderColor','rgba(255,128,0,1)');
- Node337.a('node.background','rgba(255,128,0,1)');
- Node337.a('node.gradient','');
- Node337.a('node.gradientcolor','rgba(255,128,0,1)');
- Node337.a('node.endCompspts',Node337endCompspts);
- Node337.a('node.startCompspts',Node337startCompspts);
- (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 = 'Node337';
- 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);
- }
- })(Node337, Node337.getImage(), Node337compspts, Node337endCompspts, Node337startCompspts);
- var Node338points=[1666, 482,1726, 482],
- Node338rect=ht.Default.unionPoint([{x:1666,y:482},{x:1726,y:482}]),
- Node338compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node338points.length;i++){
- if(i%2==0){
- Node338compspts.push(Node338points[i]-Node338rect.x);
- }else{
- Node338compspts.push(Node338points[i]-Node338rect.y);
- }
- }
- var Node338ptslength=Node338compspts.length;
- if (Node338rect.height === 0) {
- Node338compspts[0] -= 0;
- Node338compspts[Node338ptslength-2] += 0;
- } else if (Node338rect.width === 0){
- Node338compspts[1] -= 0;
- Node338compspts[Node338ptslength-1] += 0;
- } else {
- Node338compspts[0] -= 0;
- Node338compspts[1] -= 0;
- Node338compspts[Node338ptslength-2] += 0;
- Node338compspts[Node338ptslength-1] += 0;
- }
- Node338 = new ht.Node();
- Node338.borderWidth = 1;
- Node338rect.width = Node338rect.width === 0 ? 0.0001 : Node338rect.width;
- Node338rect.height = Node338rect.height === 0 ? 0.0001 : Node338rect.height;
- var Node338endCompspts = [Node338compspts[Node338ptslength-2],Node338compspts[Node338ptslength-1],0,0];
- var Node338startCompspts = [Node338compspts[0],Node338compspts[1],0,0];
- Node338.setImage(GD.getPolyLineJSON());
- Node338.setPosition(Node338rect.x+Node338rect.width/2,Node338rect.y+Node338rect.height/2);
- Node338.setSize(Node338rect.width,Node338rect.height);
- Node338.setStyle("opacity",1);
- Node338.s({'pixelPerfect':true});
- Node338borderwidth=1;
- Node338.setRotation(0);
- dataModel.add(Node338);
- Node338.a('node.points',Node338compspts);
- Node338.a('node.segments',[1,2]);
- Node338.a('node.color','rgba(255,128,0,1)');
- Node338.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node338.a('node.borderColor','rgba(255,128,0,1)');
- Node338.a('node.background','rgba(255,128,0,1)');
- Node338.a('node.gradient','');
- Node338.a('node.gradientcolor','rgba(255,128,0,1)');
- Node338.a('node.endCompspts',Node338endCompspts);
- Node338.a('node.startCompspts',Node338startCompspts);
- (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 = 'Node338';
- 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);
- }
- })(Node338, Node338.getImage(), Node338compspts, Node338endCompspts, Node338startCompspts);
- var Node339points=[1734, 493,1734, 493],
- Node339rect=ht.Default.unionPoint([{x:1734,y:493},{x:1734,y:493}]),
- Node339compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node339points.length;i++){
- if(i%2==0){
- Node339compspts.push(Node339points[i]-Node339rect.x);
- }else{
- Node339compspts.push(Node339points[i]-Node339rect.y);
- }
- }
- var Node339ptslength=Node339compspts.length;
- if (Node339rect.height === 0) {
- Node339compspts[0] -= 0;
- Node339compspts[Node339ptslength-2] += 0;
- } else if (Node339rect.width === 0){
- Node339compspts[1] -= 0;
- Node339compspts[Node339ptslength-1] += 0;
- } else {
- Node339compspts[0] -= 0;
- Node339compspts[1] -= 0;
- Node339compspts[Node339ptslength-2] += 0;
- Node339compspts[Node339ptslength-1] += 0;
- }
- Node339 = new ht.Node();
- Node339.borderWidth = 1;
- Node339rect.width = Node339rect.width === 0 ? 0.0001 : Node339rect.width;
- Node339rect.height = Node339rect.height === 0 ? 0.0001 : Node339rect.height;
- var Node339endCompspts = [Node339compspts[Node339ptslength-2],Node339compspts[Node339ptslength-1],0,0];
- var Node339startCompspts = [Node339compspts[0],Node339compspts[1],0,0];
- Node339.setImage(GD.getPolyLineJSON());
- Node339.setPosition(Node339rect.x+Node339rect.width/2,Node339rect.y+Node339rect.height/2);
- Node339.setSize(Node339rect.width,Node339rect.height);
- Node339.setStyle("opacity",1);
- Node339.s({'pixelPerfect':true});
- Node339borderwidth=1;
- Node339.setRotation(0);
- dataModel.add(Node339);
- Node339.a('node.points',Node339compspts);
- Node339.a('node.segments',[1,2]);
- Node339.a('node.color','rgba(255,0,255,1)');
- Node339.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node339.a('node.borderColor','rgba(255,0,255,1)');
- Node339.a('node.background','rgba(255,0,255,1)');
- Node339.a('node.gradient','');
- Node339.a('node.gradientcolor','rgba(255,0,255,1)');
- Node339.a('node.endCompspts',Node339endCompspts);
- Node339.a('node.startCompspts',Node339startCompspts);
- (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 = 'Node339';
- 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);
- }
- })(Node339, Node339.getImage(), Node339compspts, Node339endCompspts, Node339startCompspts);
- var Node340points=[1726, 482,1726, 487],
- Node340rect=ht.Default.unionPoint([{x:1726,y:482},{x:1726,y:487}]),
- Node340compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node340points.length;i++){
- if(i%2==0){
- Node340compspts.push(Node340points[i]-Node340rect.x);
- }else{
- Node340compspts.push(Node340points[i]-Node340rect.y);
- }
- }
- var Node340ptslength=Node340compspts.length;
- if (Node340rect.height === 0) {
- Node340compspts[0] -= 0;
- Node340compspts[Node340ptslength-2] += 0;
- } else if (Node340rect.width === 0){
- Node340compspts[1] -= 0;
- Node340compspts[Node340ptslength-1] += 0;
- } else {
- Node340compspts[0] -= 0;
- Node340compspts[1] -= 0;
- Node340compspts[Node340ptslength-2] += 0;
- Node340compspts[Node340ptslength-1] += 0;
- }
- Node340 = new ht.Node();
- Node340.borderWidth = 1;
- Node340rect.width = Node340rect.width === 0 ? 0.0001 : Node340rect.width;
- Node340rect.height = Node340rect.height === 0 ? 0.0001 : Node340rect.height;
- var Node340endCompspts = [Node340compspts[Node340ptslength-2],Node340compspts[Node340ptslength-1],0,0];
- var Node340startCompspts = [Node340compspts[0],Node340compspts[1],0,0];
- Node340.setImage(GD.getPolyLineJSON());
- Node340.setPosition(Node340rect.x+Node340rect.width/2,Node340rect.y+Node340rect.height/2);
- Node340.setSize(Node340rect.width,Node340rect.height);
- Node340.setStyle("opacity",1);
- Node340.s({'pixelPerfect':true});
- Node340borderwidth=1;
- Node340.setRotation(0);
- dataModel.add(Node340);
- Node340.a('node.points',Node340compspts);
- Node340.a('node.segments',[1,2]);
- Node340.a('node.color','rgba(255,128,0,1)');
- Node340.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node340.a('node.borderColor','rgba(255,128,0,1)');
- Node340.a('node.background','rgba(255,128,0,1)');
- Node340.a('node.gradient','');
- Node340.a('node.gradientcolor','rgba(255,128,0,1)');
- Node340.a('node.endCompspts',Node340endCompspts);
- Node340.a('node.startCompspts',Node340startCompspts);
- (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 = 'Node340';
- 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);
- }
- })(Node340, Node340.getImage(), Node340compspts, Node340endCompspts, Node340startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node341 = new ht.lib['黄色接地'](1726*ratio.ratioX, 510*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node341');
- _libModel.add("Node341", Node341);
- Node341.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node342 = new ht.lib['倒置 接地刀闸通用图元'](1735*ratio.ratioX, 544*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 180*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0132',}, function (){return {}}, 'Node342');
- _libModel.add("Node342", Node342);
- Node342.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node343 = new ht.lib['倒置 接地刀闸通用图元'](260*ratio.ratioX, 713*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0068',}, function (){return {}}, 'Node343');
- _libModel.add("Node343", Node343);
- Node343.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node344 = new ht.lib['倒置 接地刀闸通用图元'](440*ratio.ratioX, 713*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0074',}, function (){return {}}, 'Node344');
- _libModel.add("Node344", Node344);
- Node344.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node345 = new ht.lib['倒置 接地刀闸通用图元'](608*ratio.ratioX, 713*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0080',}, function (){return {}}, 'Node345');
- _libModel.add("Node345", Node345);
- Node345.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node346 = new ht.lib['倒置 接地刀闸通用图元'](783*ratio.ratioX, 715*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0086',}, function (){return {}}, 'Node346');
- _libModel.add("Node346", Node346);
- Node346.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node347 = new ht.lib['倒置 接地刀闸通用图元'](1193*ratio.ratioX, 716*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0099',}, function (){return {}}, 'Node347');
- _libModel.add("Node347", Node347);
- Node347.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node348 = new ht.lib['倒置 接地刀闸通用图元'](1375*ratio.ratioX, 717*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0105',}, function (){return {}}, 'Node348');
- _libModel.add("Node348", Node348);
- Node348.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node349 = new ht.lib['倒置 接地刀闸通用图元'](1562*ratio.ratioX, 717*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0111',}, function (){return {}}, 'Node349');
- _libModel.add("Node349", Node349);
- Node349.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node350 = new ht.lib['倒置 接地刀闸通用图元'](1734*ratio.ratioX, 716*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0117',}, function (){return {}}, 'Node350');
- _libModel.add("Node350", Node350);
- Node350.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node351 = new ht.Node();
- var Node351textStart, Node351textWidth, Node351lineStart, Node351align = 'left', Node351fontSize = 13.3333*_ratio.ratioY,Node351width = 47*_ratio.ratioX, Node351height = 16*_ratio.ratioY;
- (function () {
- if (Node351align === 'left') {
- Node351textStart = Node351fontSize * 0.2 > 2 ? Node351fontSize * 0.2 - 4 : Node351fontSize * 0.2 - 9;
- Node351textWidth = Node351width;
- Node351lineStart = 1;
- } else if (Node351align === 'right') {
- Node351textStart = 0;
- Node351textWidth =Node351fontSize <= 8 ? Node351width + Node351fontSize * 0.2 + 6 : Node351width - Node351fontSize * 0.2;
- Node351lineStart = (Node351width - (ht.Default.getTextSize('315-10', ' '+ Node351fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node351align === 'center') {
- Node351textStart = -3;
- Node351textWidth = Node351width;
- Node351lineStart = Node351width - ht.Default.getTextSize('315-10', ' '+ Node351fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node351.setImage(GD.getTextJSON(Node351width, Node351height, true, false, false, ' '+ Node351fontSize + 'px "Arial"'))
- Node351.setPosition(388*ratio.ratioX, 493*ratio.ratioY);
- Node351.setWidth(Node351width);
- Node351.setHeight(Node351height);
- Node351._nodeType = 'text';
- Node351._disallowEvert = true;
- Node351.setRotation(0*Math.PI/180);
- Node351.a('node.width', Node351width);
- Node351.a('node.height', Node351height);
- Node351.a('node.rect', [0, 0, Node351width, Node351height]);
- Node351.a('node.bordercolor','rgba(0,0,0,1)');
- Node351.a('node.borderwidth', 0);
- Node351.a('node.background','' || 'rgba(0,0,0,0)');
- Node351.a('node.gradient','');
- Node351.a('node.gradientcolor','');
- Node351.a('node.text','315-10');
- Node351.a('node.textalign','left');
- Node351.a('node.textvAlign','middle');
- Node351.a('node.textrect', [Node351textStart, 0, Node351textWidth, Node351height]);
- Node351.a('node.color','rgba(0,0,0,1)');
- Node351.a('node.font',' '+ Node351fontSize + 'px "Arial"');
- Node351.a('node.textvisible',true);
- Node351.a('node.linefeed',false);
- if (false) {
- Node351.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node351.a('node.text') || '315-10';
- var color=Node351.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node351width,Node351height,13.3333*_ratio.ratioY,"left",color,' '+ Node351fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node351.a('node.underlinepoints',[Node351lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node351fontSize + 2 , ht.Default.getTextSize('315-10', ' '+ Node351fontSize + 'px "Arial"').width + 6, (Node351height - Node351fontSize) * 0.5*_ratio.ratioY + Node351fontSize + 2 ]);
- Node351.a('node.underlinevisible',false);
- Node351.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node351);
- zoomNodeList.push({
- node: Node351,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node352 = new ht.Node();
- var Node352textStart, Node352textWidth, Node352lineStart, Node352align = 'left', Node352fontSize = 13.3333*_ratio.ratioY,Node352width = 47*_ratio.ratioX, Node352height = 16*_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('315-0', ' '+ Node352fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node352align === 'center') {
- Node352textStart = -3;
- Node352textWidth = Node352width;
- Node352lineStart = Node352width - ht.Default.getTextSize('315-0', ' '+ Node352fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node352.setImage(GD.getTextJSON(Node352width, Node352height, true, false, false, ' '+ Node352fontSize + 'px "Arial"'))
- Node352.setPosition(391*ratio.ratioX, 544*ratio.ratioY);
- Node352.setWidth(Node352width);
- Node352.setHeight(Node352height);
- Node352._nodeType = 'text';
- Node352._disallowEvert = true;
- Node352.setRotation(0*Math.PI/180);
- Node352.a('node.width', Node352width);
- Node352.a('node.height', Node352height);
- Node352.a('node.rect', [0, 0, Node352width, Node352height]);
- Node352.a('node.bordercolor','rgba(0,0,0,1)');
- Node352.a('node.borderwidth', 0);
- Node352.a('node.background','' || 'rgba(0,0,0,0)');
- Node352.a('node.gradient','');
- Node352.a('node.gradientcolor','');
- Node352.a('node.text','315-0');
- Node352.a('node.textalign','left');
- Node352.a('node.textvAlign','middle');
- Node352.a('node.textrect', [Node352textStart, 0, Node352textWidth, Node352height]);
- Node352.a('node.color','rgba(0,0,0,1)');
- Node352.a('node.font',' '+ Node352fontSize + 'px "Arial"');
- Node352.a('node.textvisible',true);
- Node352.a('node.linefeed',false);
- if (false) {
- Node352.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node352.a('node.text') || '315-0';
- var color=Node352.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node352width,Node352height,13.3333*_ratio.ratioY,"left",color,' '+ Node352fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node352.a('node.underlinepoints',[Node352lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node352fontSize + 2 , ht.Default.getTextSize('315-0', ' '+ 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(180*Math.PI/180, ratio);
- var Node353 = new ht.lib['倒置 接地刀闸通用图元'](1600*ratio.ratioX, 550*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 180*Math.PI/180, {xianshi4:'HY_DQ.SX_GD_HYF_DQ_P1_L1_001_DI0123',}, function (){return {}}, 'Node353');
- _libModel.add("Node353", Node353);
- Node353.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node354 = new ht.Node();
- var Node354textStart, Node354textWidth, Node354lineStart, Node354align = 'left', Node354fontSize = 13.3333*_ratio.ratioY,Node354width = 29*_ratio.ratioX, Node354height = 16*_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('0', ' '+ Node354fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node354align === 'center') {
- Node354textStart = -3;
- Node354textWidth = Node354width;
- Node354lineStart = Node354width - ht.Default.getTextSize('0', ' '+ Node354fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node354.setImage(GD.getTextJSON(Node354width, Node354height, true, false, false, ' '+ Node354fontSize + 'px "Arial"'))
- Node354.setPosition(274*ratio.ratioX, 259*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(0,0,0,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','0');
- Node354.a('node.textalign','left');
- Node354.a('node.textvAlign','middle');
- Node354.a('node.textrect', [Node354textStart, 0, Node354textWidth, Node354height]);
- Node354.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node354.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node354width,Node354height,13.3333*_ratio.ratioY,"left",color,' '+ Node354fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node354.a('node.underlinepoints',[Node354lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node354fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'left', Node355fontSize = 13.3333*_ratio.ratioY,Node355width = 29*_ratio.ratioX, Node355height = 16*_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('0', ' '+ Node355fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node355align === 'center') {
- Node355textStart = -3;
- Node355textWidth = Node355width;
- Node355lineStart = Node355width - ht.Default.getTextSize('0', ' '+ Node355fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node355.setImage(GD.getTextJSON(Node355width, Node355height, true, false, false, ' '+ Node355fontSize + 'px "Arial"'))
- Node355.setPosition(274*ratio.ratioX, 283*ratio.ratioY);
- Node355.setWidth(Node355width);
- Node355.setHeight(Node355height);
- Node355._nodeType = 'text';
- Node355._disallowEvert = true;
- Node355.setRotation(0*Math.PI/180);
- Node355.a('node.width', Node355width);
- Node355.a('node.height', Node355height);
- Node355.a('node.rect', [0, 0, Node355width, Node355height]);
- Node355.a('node.bordercolor','rgba(0,0,0,1)');
- Node355.a('node.borderwidth', 0);
- Node355.a('node.background','' || 'rgba(0,0,0,0)');
- Node355.a('node.gradient','');
- Node355.a('node.gradientcolor','');
- Node355.a('node.text','0');
- Node355.a('node.textalign','left');
- Node355.a('node.textvAlign','middle');
- Node355.a('node.textrect', [Node355textStart, 0, Node355textWidth, Node355height]);
- Node355.a('node.color','rgba(0,0,0,1)');
- Node355.a('node.font',' '+ Node355fontSize + 'px "Arial"');
- Node355.a('node.textvisible',true);
- Node355.a('node.linefeed',false);
- if (false) {
- Node355.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node355.a('node.text') || '0';
- var color=Node355.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node355width,Node355height,13.3333*_ratio.ratioY,"left",color,' '+ Node355fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node355.a('node.underlinepoints',[Node355lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node355fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'left', Node356fontSize = 13.3333*_ratio.ratioY,Node356width = 29*_ratio.ratioX, Node356height = 16*_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('0', ' '+ Node356fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node356align === 'center') {
- Node356textStart = -3;
- Node356textWidth = Node356width;
- Node356lineStart = Node356width - ht.Default.getTextSize('0', ' '+ Node356fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node356.setImage(GD.getTextJSON(Node356width, Node356height, true, false, false, ' '+ Node356fontSize + 'px "Arial"'))
- Node356.setPosition(274*ratio.ratioX, 304*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(0,0,0,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','0');
- Node356.a('node.textalign','left');
- Node356.a('node.textvAlign','middle');
- Node356.a('node.textrect', [Node356textStart, 0, Node356textWidth, Node356height]);
- Node356.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node356.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node356width,Node356height,13.3333*_ratio.ratioY,"left",color,' '+ Node356fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node356.a('node.underlinepoints',[Node356lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node356fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node357width = 29*_ratio.ratioX, Node357height = 16*_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('0', ' '+ Node357fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node357align === 'center') {
- Node357textStart = -3;
- Node357textWidth = Node357width;
- Node357lineStart = Node357width - ht.Default.getTextSize('0', ' '+ Node357fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node357.setImage(GD.getTextJSON(Node357width, Node357height, true, false, false, ' '+ Node357fontSize + 'px "Arial"'))
- Node357.setPosition(274*ratio.ratioX, 323*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(0,0,0,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','0');
- Node357.a('node.textalign','left');
- Node357.a('node.textvAlign','middle');
- Node357.a('node.textrect', [Node357textStart, 0, Node357textWidth, Node357height]);
- Node357.a('node.color','rgba(0,0,0,1)');
- Node357.a('node.font',' '+ 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') || '0';
- var color=Node357.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node357width,Node357height,13.3333*_ratio.ratioY,"left",color,' '+ Node357fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node357.a('node.underlinepoints',[Node357lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node357fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node358width = 29*_ratio.ratioX, Node358height = 16*_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('0', ' '+ Node358fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node358align === 'center') {
- Node358textStart = -3;
- Node358textWidth = Node358width;
- Node358lineStart = Node358width - ht.Default.getTextSize('0', ' '+ Node358fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node358.setImage(GD.getTextJSON(Node358width, Node358height, true, false, false, ' '+ Node358fontSize + 'px "Arial"'))
- Node358.setPosition(692*ratio.ratioX, 252*ratio.ratioY);
- Node358.setWidth(Node358width);
- Node358.setHeight(Node358height);
- Node358._nodeType = 'text';
- Node358._disallowEvert = true;
- Node358.setRotation(0*Math.PI/180);
- Node358.a('node.width', Node358width);
- Node358.a('node.height', Node358height);
- Node358.a('node.rect', [0, 0, Node358width, Node358height]);
- Node358.a('node.bordercolor','rgba(0,0,0,1)');
- Node358.a('node.borderwidth', 0);
- Node358.a('node.background','' || 'rgba(0,0,0,0)');
- Node358.a('node.gradient','');
- Node358.a('node.gradientcolor','');
- Node358.a('node.text','0');
- Node358.a('node.textalign','left');
- Node358.a('node.textvAlign','middle');
- Node358.a('node.textrect', [Node358textStart, 0, Node358textWidth, Node358height]);
- Node358.a('node.color','rgba(0,0,0,1)');
- Node358.a('node.font',' '+ Node358fontSize + 'px "Arial"');
- Node358.a('node.textvisible',true);
- Node358.a('node.linefeed',false);
- if (false) {
- Node358.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node358.a('node.text') || '0';
- var color=Node358.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node358width,Node358height,13.3333*_ratio.ratioY,"left",color,' '+ Node358fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node358.a('node.underlinepoints',[Node358lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node358fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node359width = 29*_ratio.ratioX, Node359height = 16*_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('0', ' '+ Node359fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node359align === 'center') {
- Node359textStart = -3;
- Node359textWidth = Node359width;
- Node359lineStart = Node359width - ht.Default.getTextSize('0', ' '+ Node359fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node359.setImage(GD.getTextJSON(Node359width, Node359height, true, false, false, ' '+ Node359fontSize + 'px "Arial"'))
- Node359.setPosition(692*ratio.ratioX, 274*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(0,0,0,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','0');
- Node359.a('node.textalign','left');
- Node359.a('node.textvAlign','middle');
- Node359.a('node.textrect', [Node359textStart, 0, Node359textWidth, Node359height]);
- Node359.a('node.color','rgba(0,0,0,1)');
- Node359.a('node.font',' '+ 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') || '0';
- var color=Node359.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node359width,Node359height,13.3333*_ratio.ratioY,"left",color,' '+ Node359fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node359.a('node.underlinepoints',[Node359lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node359fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'left', Node360fontSize = 13.3333*_ratio.ratioY,Node360width = 29*_ratio.ratioX, Node360height = 16*_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('0', ' '+ Node360fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node360align === 'center') {
- Node360textStart = -3;
- Node360textWidth = Node360width;
- Node360lineStart = Node360width - ht.Default.getTextSize('0', ' '+ Node360fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node360.setImage(GD.getTextJSON(Node360width, Node360height, true, false, false, ' '+ Node360fontSize + 'px "Arial"'))
- Node360.setPosition(692*ratio.ratioX, 296*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(0,0,0,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','0');
- Node360.a('node.textalign','left');
- Node360.a('node.textvAlign','middle');
- Node360.a('node.textrect', [Node360textStart, 0, Node360textWidth, Node360height]);
- Node360.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node360.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node360width,Node360height,13.3333*_ratio.ratioY,"left",color,' '+ Node360fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node360.a('node.underlinepoints',[Node360lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node360fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node361 = new ht.Node();
- var Node361textStart, Node361textWidth, Node361lineStart, Node361align = 'left', Node361fontSize = 13.3333*_ratio.ratioY,Node361width = 29*_ratio.ratioX, Node361height = 16*_ratio.ratioY;
- (function () {
- if (Node361align === 'left') {
- Node361textStart = Node361fontSize * 0.2 > 2 ? Node361fontSize * 0.2 - 4 : Node361fontSize * 0.2 - 9;
- Node361textWidth = Node361width;
- Node361lineStart = 1;
- } else if (Node361align === 'right') {
- Node361textStart = 0;
- Node361textWidth =Node361fontSize <= 8 ? Node361width + Node361fontSize * 0.2 + 6 : Node361width - Node361fontSize * 0.2;
- Node361lineStart = (Node361width - (ht.Default.getTextSize('0', ' '+ Node361fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node361align === 'center') {
- Node361textStart = -3;
- Node361textWidth = Node361width;
- Node361lineStart = Node361width - ht.Default.getTextSize('0', ' '+ Node361fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node361.setImage(GD.getTextJSON(Node361width, Node361height, true, false, false, ' '+ Node361fontSize + 'px "Arial"'))
- Node361.setPosition(692*ratio.ratioX, 316*ratio.ratioY);
- Node361.setWidth(Node361width);
- Node361.setHeight(Node361height);
- Node361._nodeType = 'text';
- Node361._disallowEvert = true;
- Node361.setRotation(0*Math.PI/180);
- Node361.a('node.width', Node361width);
- Node361.a('node.height', Node361height);
- Node361.a('node.rect', [0, 0, Node361width, Node361height]);
- Node361.a('node.bordercolor','rgba(0,0,0,1)');
- Node361.a('node.borderwidth', 0);
- Node361.a('node.background','' || 'rgba(0,0,0,0)');
- Node361.a('node.gradient','');
- Node361.a('node.gradientcolor','');
- Node361.a('node.text','0');
- Node361.a('node.textalign','left');
- Node361.a('node.textvAlign','middle');
- Node361.a('node.textrect', [Node361textStart, 0, Node361textWidth, Node361height]);
- Node361.a('node.color','rgba(0,0,0,1)');
- Node361.a('node.font',' '+ Node361fontSize + 'px "Arial"');
- Node361.a('node.textvisible',true);
- Node361.a('node.linefeed',false);
- if (false) {
- Node361.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node361.a('node.text') || '0';
- var color=Node361.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node361width,Node361height,13.3333*_ratio.ratioY,"left",color,' '+ Node361fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node361.a('node.underlinepoints',[Node361lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node361fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node361fontSize + 'px "Arial"').width + 6, (Node361height - Node361fontSize) * 0.5*_ratio.ratioY + Node361fontSize + 2 ]);
- Node361.a('node.underlinevisible',false);
- Node361.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node361);
- zoomNodeList.push({
- node: Node361,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node362 = new ht.lib['手车通用图元'](864*ratio.ratioX, 659*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'SX_GD_HYF_DQ_P1_L1_001_DI0062',}, function (){return {}}, 'Node362');
- _libModel.add("Node362", Node362);
- Node362.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node363 = new ht.Node();
- var Node363textStart, Node363textWidth, Node363lineStart, Node363align = 'left', Node363fontSize = 13.3333*_ratio.ratioY,Node363width = 29*_ratio.ratioX, Node363height = 16*_ratio.ratioY;
- (function () {
- if (Node363align === 'left') {
- Node363textStart = Node363fontSize * 0.2 > 2 ? Node363fontSize * 0.2 - 4 : Node363fontSize * 0.2 - 9;
- Node363textWidth = Node363width;
- Node363lineStart = 1;
- } else if (Node363align === 'right') {
- Node363textStart = 0;
- Node363textWidth =Node363fontSize <= 8 ? Node363width + Node363fontSize * 0.2 + 6 : Node363width - Node363fontSize * 0.2;
- Node363lineStart = (Node363width - (ht.Default.getTextSize('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(336*ratio.ratioX, 397*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,13.3333*0.5*_ratio.ratioY,Node363width,Node363height,13.3333*_ratio.ratioY,"left",color,' '+ Node363fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node363.a('node.underlinepoints',[Node363lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node363fontSize + 2 , ht.Default.getTextSize('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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node364 = new ht.Node();
- var Node364textStart, Node364textWidth, Node364lineStart, Node364align = 'left', Node364fontSize = 13.3333*_ratio.ratioY,Node364width = 29*_ratio.ratioX, Node364height = 16*_ratio.ratioY;
- (function () {
- if (Node364align === 'left') {
- Node364textStart = Node364fontSize * 0.2 > 2 ? Node364fontSize * 0.2 - 4 : Node364fontSize * 0.2 - 9;
- Node364textWidth = Node364width;
- Node364lineStart = 1;
- } else if (Node364align === 'right') {
- Node364textStart = 0;
- Node364textWidth =Node364fontSize <= 8 ? Node364width + Node364fontSize * 0.2 + 6 : Node364width - Node364fontSize * 0.2;
- Node364lineStart = (Node364width - (ht.Default.getTextSize('0', ' '+ Node364fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node364align === 'center') {
- Node364textStart = -3;
- Node364textWidth = Node364width;
- Node364lineStart = Node364width - ht.Default.getTextSize('0', ' '+ Node364fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node364.setImage(GD.getTextJSON(Node364width, Node364height, true, false, false, ' '+ Node364fontSize + 'px "Arial"'))
- Node364.setPosition(336*ratio.ratioX, 420*ratio.ratioY);
- Node364.setWidth(Node364width);
- Node364.setHeight(Node364height);
- Node364._nodeType = 'text';
- Node364._disallowEvert = true;
- Node364.setRotation(0*Math.PI/180);
- Node364.a('node.width', Node364width);
- Node364.a('node.height', Node364height);
- Node364.a('node.rect', [0, 0, Node364width, Node364height]);
- Node364.a('node.bordercolor','rgba(0,0,0,1)');
- Node364.a('node.borderwidth', 0);
- Node364.a('node.background','' || 'rgba(0,0,0,0)');
- Node364.a('node.gradient','');
- Node364.a('node.gradientcolor','');
- Node364.a('node.text','0');
- Node364.a('node.textalign','left');
- Node364.a('node.textvAlign','middle');
- Node364.a('node.textrect', [Node364textStart, 0, Node364textWidth, Node364height]);
- Node364.a('node.color','rgba(0,0,0,1)');
- Node364.a('node.font',' '+ Node364fontSize + 'px "Arial"');
- Node364.a('node.textvisible',true);
- Node364.a('node.linefeed',false);
- if (false) {
- Node364.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node364.a('node.text') || '0';
- var color=Node364.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node364width,Node364height,13.3333*_ratio.ratioY,"left",color,' '+ Node364fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node364.a('node.underlinepoints',[Node364lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node364fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node364fontSize + 'px "Arial"').width + 6, (Node364height - Node364fontSize) * 0.5*_ratio.ratioY + Node364fontSize + 2 ]);
- Node364.a('node.underlinevisible',false);
- Node364.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node364);
- zoomNodeList.push({
- node: Node364,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node365 = new ht.Node();
- var Node365textStart, Node365textWidth, Node365lineStart, Node365align = 'left', Node365fontSize = 13.3333*_ratio.ratioY,Node365width = 29*_ratio.ratioX, Node365height = 16*_ratio.ratioY;
- (function () {
- if (Node365align === 'left') {
- Node365textStart = Node365fontSize * 0.2 > 2 ? Node365fontSize * 0.2 - 4 : Node365fontSize * 0.2 - 9;
- Node365textWidth = Node365width;
- Node365lineStart = 1;
- } else if (Node365align === 'right') {
- Node365textStart = 0;
- Node365textWidth =Node365fontSize <= 8 ? Node365width + Node365fontSize * 0.2 + 6 : Node365width - Node365fontSize * 0.2;
- Node365lineStart = (Node365width - (ht.Default.getTextSize('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(336*ratio.ratioX, 441*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,13.3333*0.5*_ratio.ratioY,Node365width,Node365height,13.3333*_ratio.ratioY,"left",color,' '+ Node365fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node365.a('node.underlinepoints',[Node365lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node365fontSize + 2 , ht.Default.getTextSize('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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node366 = new ht.Node();
- var Node366textStart, Node366textWidth, Node366lineStart, Node366align = 'left', Node366fontSize = 13.3333*_ratio.ratioY,Node366width = 29*_ratio.ratioX, Node366height = 16*_ratio.ratioY;
- (function () {
- if (Node366align === 'left') {
- Node366textStart = Node366fontSize * 0.2 > 2 ? Node366fontSize * 0.2 - 4 : Node366fontSize * 0.2 - 9;
- Node366textWidth = Node366width;
- Node366lineStart = 1;
- } else if (Node366align === 'right') {
- Node366textStart = 0;
- Node366textWidth =Node366fontSize <= 8 ? Node366width + Node366fontSize * 0.2 + 6 : Node366width - Node366fontSize * 0.2;
- Node366lineStart = (Node366width - (ht.Default.getTextSize('0', ' '+ Node366fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node366align === 'center') {
- Node366textStart = -3;
- Node366textWidth = Node366width;
- Node366lineStart = Node366width - ht.Default.getTextSize('0', ' '+ Node366fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node366.setImage(GD.getTextJSON(Node366width, Node366height, true, false, false, ' '+ Node366fontSize + 'px "Arial"'))
- Node366.setPosition(336*ratio.ratioX, 461*ratio.ratioY);
- Node366.setWidth(Node366width);
- Node366.setHeight(Node366height);
- Node366._nodeType = 'text';
- Node366._disallowEvert = true;
- Node366.setRotation(0*Math.PI/180);
- Node366.a('node.width', Node366width);
- Node366.a('node.height', Node366height);
- Node366.a('node.rect', [0, 0, Node366width, Node366height]);
- Node366.a('node.bordercolor','rgba(0,0,0,1)');
- Node366.a('node.borderwidth', 0);
- Node366.a('node.background','' || 'rgba(0,0,0,0)');
- Node366.a('node.gradient','');
- Node366.a('node.gradientcolor','');
- Node366.a('node.text','0');
- Node366.a('node.textalign','left');
- Node366.a('node.textvAlign','middle');
- Node366.a('node.textrect', [Node366textStart, 0, Node366textWidth, Node366height]);
- Node366.a('node.color','rgba(0,0,0,1)');
- Node366.a('node.font',' '+ Node366fontSize + 'px "Arial"');
- Node366.a('node.textvisible',true);
- Node366.a('node.linefeed',false);
- if (false) {
- Node366.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node366.a('node.text') || '0';
- var color=Node366.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node366width,Node366height,13.3333*_ratio.ratioY,"left",color,' '+ Node366fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node366.a('node.underlinepoints',[Node366lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node366fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node366fontSize + 'px "Arial"').width + 6, (Node366height - Node366fontSize) * 0.5*_ratio.ratioY + Node366fontSize + 2 ]);
- Node366.a('node.underlinevisible',false);
- Node366.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node366);
- zoomNodeList.push({
- node: Node366,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node367 = new ht.Node();
- var Node367textStart, Node367textWidth, Node367lineStart, Node367align = 'left', Node367fontSize = 13.3333*_ratio.ratioY,Node367width = 29*_ratio.ratioX, Node367height = 16*_ratio.ratioY;
- (function () {
- if (Node367align === 'left') {
- Node367textStart = Node367fontSize * 0.2 > 2 ? Node367fontSize * 0.2 - 4 : Node367fontSize * 0.2 - 9;
- Node367textWidth = Node367width;
- Node367lineStart = 1;
- } else if (Node367align === 'right') {
- Node367textStart = 0;
- Node367textWidth =Node367fontSize <= 8 ? Node367width + Node367fontSize * 0.2 + 6 : Node367width - Node367fontSize * 0.2;
- Node367lineStart = (Node367width - (ht.Default.getTextSize('0', ' '+ Node367fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node367align === 'center') {
- Node367textStart = -3;
- Node367textWidth = Node367width;
- Node367lineStart = Node367width - ht.Default.getTextSize('0', ' '+ Node367fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node367.setImage(GD.getTextJSON(Node367width, Node367height, true, false, false, ' '+ Node367fontSize + 'px "Arial"'))
- Node367.setPosition(556*ratio.ratioX, 397*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','0');
- Node367.a('node.textalign','left');
- Node367.a('node.textvAlign','middle');
- Node367.a('node.textrect', [Node367textStart, 0, Node367textWidth, Node367height]);
- Node367.a('node.color','rgba(0,0,0,1)');
- Node367.a('node.font',' '+ Node367fontSize + 'px "Arial"');
- Node367.a('node.textvisible',true);
- Node367.a('node.linefeed',false);
- if (false) {
- Node367.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node367.a('node.text') || '0';
- 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,' '+ Node367fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node367.a('node.underlinepoints',[Node367lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node367fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node367fontSize + 'px "Arial"').width + 6, (Node367height - Node367fontSize) * 0.5*_ratio.ratioY + Node367fontSize + 2 ]);
- Node367.a('node.underlinevisible',false);
- Node367.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node367);
- zoomNodeList.push({
- node: Node367,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node368 = new ht.Node();
- var Node368textStart, Node368textWidth, Node368lineStart, Node368align = 'left', Node368fontSize = 13.3333*_ratio.ratioY,Node368width = 29*_ratio.ratioX, Node368height = 16*_ratio.ratioY;
- (function () {
- if (Node368align === 'left') {
- Node368textStart = Node368fontSize * 0.2 > 2 ? Node368fontSize * 0.2 - 4 : Node368fontSize * 0.2 - 9;
- Node368textWidth = Node368width;
- Node368lineStart = 1;
- } else if (Node368align === 'right') {
- Node368textStart = 0;
- Node368textWidth =Node368fontSize <= 8 ? Node368width + Node368fontSize * 0.2 + 6 : Node368width - Node368fontSize * 0.2;
- Node368lineStart = (Node368width - (ht.Default.getTextSize('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(556*ratio.ratioX, 419*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,13.3333*0.5*_ratio.ratioY,Node368width,Node368height,13.3333*_ratio.ratioY,"left",color,' '+ Node368fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node368.a('node.underlinepoints',[Node368lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node368fontSize + 2 , ht.Default.getTextSize('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 = 29*_ratio.ratioX, Node369height = 16*_ratio.ratioY;
- (function () {
- if (Node369align === 'left') {
- Node369textStart = Node369fontSize * 0.2 > 2 ? Node369fontSize * 0.2 - 4 : Node369fontSize * 0.2 - 9;
- Node369textWidth = Node369width;
- Node369lineStart = 1;
- } else if (Node369align === 'right') {
- Node369textStart = 0;
- Node369textWidth =Node369fontSize <= 8 ? Node369width + Node369fontSize * 0.2 + 6 : Node369width - Node369fontSize * 0.2;
- Node369lineStart = (Node369width - (ht.Default.getTextSize('0', ' '+ Node369fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node369align === 'center') {
- Node369textStart = -3;
- Node369textWidth = Node369width;
- Node369lineStart = Node369width - ht.Default.getTextSize('0', ' '+ Node369fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node369.setImage(GD.getTextJSON(Node369width, Node369height, true, false, false, ' '+ Node369fontSize + 'px "Arial"'))
- Node369.setPosition(556*ratio.ratioX, 440*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','0');
- 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 "Arial"');
- Node369.a('node.textvisible',true);
- Node369.a('node.linefeed',false);
- if (false) {
- Node369.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node369.a('node.text') || '0';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node369.a('node.underlinepoints',[Node369lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node369fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node369fontSize + 'px "Arial"').width + 6, (Node369height - Node369fontSize) * 0.5*_ratio.ratioY + Node369fontSize + 2 ]);
- Node369.a('node.underlinevisible',false);
- Node369.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node369);
- zoomNodeList.push({
- node: Node369,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node370 = new ht.Node();
- var Node370textStart, Node370textWidth, Node370lineStart, Node370align = 'left', Node370fontSize = 13.3333*_ratio.ratioY,Node370width = 29*_ratio.ratioX, Node370height = 16*_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('0', ' '+ Node370fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node370align === 'center') {
- Node370textStart = -3;
- Node370textWidth = Node370width;
- Node370lineStart = Node370width - ht.Default.getTextSize('0', ' '+ Node370fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node370.setImage(GD.getTextJSON(Node370width, Node370height, true, false, false, ' '+ Node370fontSize + 'px "Arial"'))
- Node370.setPosition(556*ratio.ratioX, 461*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(0,0,0,0)');
- Node370.a('node.gradient','');
- Node370.a('node.gradientcolor','');
- Node370.a('node.text','0');
- Node370.a('node.textalign','left');
- 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 "Arial"');
- 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') || '0';
- 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,"left",color,' '+ Node370fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node370.a('node.underlinepoints',[Node370lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node370fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node370fontSize + 'px "Arial"').width + 6, (Node370height - Node370fontSize) * 0.5*_ratio.ratioY + Node370fontSize + 2 ]);
- Node370.a('node.underlinevisible',false);
- Node370.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node370);
- zoomNodeList.push({
- node: Node370,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node371 = new ht.Node();
- var Node371textStart, Node371textWidth, Node371lineStart, Node371align = 'left', Node371fontSize = 13.3333*_ratio.ratioY,Node371width = 29*_ratio.ratioX, Node371height = 16*_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('Ia :', ' '+ Node371fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node371align === 'center') {
- Node371textStart = -3;
- Node371textWidth = Node371width;
- Node371lineStart = Node371width - ht.Default.getTextSize('Ia :', ' '+ Node371fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node371.setImage(GD.getTextJSON(Node371width, Node371height, true, false, false, ' '+ Node371fontSize + 'px "Arial"'))
- Node371.setPosition(731*ratio.ratioX, 396*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(255,0,255,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','Ia :');
- Node371.a('node.textalign','left');
- Node371.a('node.textvAlign','middle');
- Node371.a('node.textrect', [Node371textStart, 0, Node371textWidth, Node371height]);
- Node371.a('node.color','rgba(255,0,255,1)');
- Node371.a('node.font',' '+ Node371fontSize + 'px "Arial"');
- 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') || 'Ia :';
- var color=Node371.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node371width,Node371height,13.3333*_ratio.ratioY,"left",color,' '+ Node371fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node371.a('node.underlinepoints',[Node371lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node371fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node371fontSize + 'px "Arial"').width + 6, (Node371height - Node371fontSize) * 0.5*_ratio.ratioY + Node371fontSize + 2 ]);
- Node371.a('node.underlinevisible',false);
- Node371.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node371);
- zoomNodeList.push({
- node: Node371,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node372 = new ht.Node();
- var Node372textStart, Node372textWidth, Node372lineStart, Node372align = 'left', Node372fontSize = 13.3333*_ratio.ratioY,Node372width = 29*_ratio.ratioX, Node372height = 16*_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('P :', ' '+ Node372fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node372align === 'center') {
- Node372textStart = -3;
- Node372textWidth = Node372width;
- Node372lineStart = Node372width - ht.Default.getTextSize('P :', ' '+ Node372fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node372.setImage(GD.getTextJSON(Node372width, Node372height, true, false, false, ' '+ Node372fontSize + 'px "Arial"'))
- Node372.setPosition(731*ratio.ratioX, 419*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','P :');
- Node372.a('node.textalign','left');
- Node372.a('node.textvAlign','middle');
- Node372.a('node.textrect', [Node372textStart, 0, Node372textWidth, Node372height]);
- Node372.a('node.color','rgba(0,0,0,1)');
- Node372.a('node.font',' '+ Node372fontSize + 'px "Arial"');
- Node372.a('node.textvisible',true);
- Node372.a('node.linefeed',false);
- if (false) {
- Node372.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node372.a('node.text') || 'P :';
- 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,"left",color,' '+ Node372fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node372.a('node.underlinepoints',[Node372lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node372fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node372fontSize + 'px "Arial"').width + 6, (Node372height - Node372fontSize) * 0.5*_ratio.ratioY + Node372fontSize + 2 ]);
- Node372.a('node.underlinevisible',false);
- Node372.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node372);
- zoomNodeList.push({
- node: Node372,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node373 = new ht.Node();
- var Node373textStart, Node373textWidth, Node373lineStart, Node373align = 'left', Node373fontSize = 13.3333*_ratio.ratioY,Node373width = 29*_ratio.ratioX, Node373height = 16*_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('Q :', ' '+ Node373fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node373align === 'center') {
- Node373textStart = -3;
- Node373textWidth = Node373width;
- Node373lineStart = Node373width - ht.Default.getTextSize('Q :', ' '+ Node373fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node373.setImage(GD.getTextJSON(Node373width, Node373height, true, false, false, ' '+ Node373fontSize + 'px "Arial"'))
- Node373.setPosition(731*ratio.ratioX, 440*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','Q :');
- 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',' '+ 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') || 'Q :';
- 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,' '+ Node373fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node373.a('node.underlinepoints',[Node373lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node373fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ 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 = 41*_ratio.ratioX, Node374height = 16*_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('COS :', ' '+ Node374fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node374align === 'center') {
- Node374textStart = -3;
- Node374textWidth = Node374width;
- Node374lineStart = Node374width - ht.Default.getTextSize('COS :', ' '+ Node374fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node374.setImage(GD.getTextJSON(Node374width, Node374height, true, false, false, ' '+ Node374fontSize + 'px "Arial"'))
- Node374.setPosition(718*ratio.ratioX, 460*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','COS :');
- 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',' '+ 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') || 'COS :';
- 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,' '+ Node374fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node374.a('node.underlinepoints',[Node374lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node374fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ 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 = 29*_ratio.ratioX, Node375height = 16*_ratio.ratioY;
- (function () {
- if (Node375align === 'left') {
- Node375textStart = Node375fontSize * 0.2 > 2 ? Node375fontSize * 0.2 - 4 : Node375fontSize * 0.2 - 9;
- Node375textWidth = Node375width;
- Node375lineStart = 1;
- } else if (Node375align === 'right') {
- Node375textStart = 0;
- Node375textWidth =Node375fontSize <= 8 ? Node375width + Node375fontSize * 0.2 + 6 : Node375width - Node375fontSize * 0.2;
- Node375lineStart = (Node375width - (ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node375align === 'center') {
- Node375textStart = -3;
- Node375textWidth = Node375width;
- Node375lineStart = Node375width - ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node375.setImage(GD.getTextJSON(Node375width, Node375height, true, false, false, ' '+ Node375fontSize + 'px "Arial"'))
- Node375.setPosition(755*ratio.ratioX, 397*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','0');
- Node375.a('node.textalign','left');
- Node375.a('node.textvAlign','middle');
- Node375.a('node.textrect', [Node375textStart, 0, Node375textWidth, Node375height]);
- Node375.a('node.color','rgba(0,0,0,1)');
- Node375.a('node.font',' '+ Node375fontSize + 'px "Arial"');
- Node375.a('node.textvisible',true);
- Node375.a('node.linefeed',false);
- if (false) {
- Node375.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node375.a('node.text') || '0';
- 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,' '+ Node375fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node375.a('node.underlinepoints',[Node375lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node375fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "Arial"').width + 6, (Node375height - Node375fontSize) * 0.5*_ratio.ratioY + Node375fontSize + 2 ]);
- Node375.a('node.underlinevisible',false);
- Node375.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node375);
- zoomNodeList.push({
- node: Node375,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node376 = new ht.Node();
- var Node376textStart, Node376textWidth, Node376lineStart, Node376align = 'left', Node376fontSize = 13.3333*_ratio.ratioY,Node376width = 29*_ratio.ratioX, Node376height = 16*_ratio.ratioY;
- (function () {
- if (Node376align === 'left') {
- Node376textStart = Node376fontSize * 0.2 > 2 ? Node376fontSize * 0.2 - 4 : Node376fontSize * 0.2 - 9;
- Node376textWidth = Node376width;
- Node376lineStart = 1;
- } else if (Node376align === 'right') {
- Node376textStart = 0;
- Node376textWidth =Node376fontSize <= 8 ? Node376width + Node376fontSize * 0.2 + 6 : Node376width - Node376fontSize * 0.2;
- Node376lineStart = (Node376width - (ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node376align === 'center') {
- Node376textStart = -3;
- Node376textWidth = Node376width;
- Node376lineStart = Node376width - ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node376.setImage(GD.getTextJSON(Node376width, Node376height, true, false, false, ' '+ Node376fontSize + 'px "Arial"'))
- Node376.setPosition(755*ratio.ratioX, 419*ratio.ratioY);
- Node376.setWidth(Node376width);
- Node376.setHeight(Node376height);
- Node376._nodeType = 'text';
- Node376._disallowEvert = true;
- Node376.setRotation(0*Math.PI/180);
- Node376.a('node.width', Node376width);
- Node376.a('node.height', Node376height);
- Node376.a('node.rect', [0, 0, Node376width, Node376height]);
- Node376.a('node.bordercolor','rgba(0,0,0,1)');
- Node376.a('node.borderwidth', 0);
- Node376.a('node.background','' || 'rgba(0,0,0,0)');
- Node376.a('node.gradient','');
- Node376.a('node.gradientcolor','');
- Node376.a('node.text','0');
- Node376.a('node.textalign','left');
- Node376.a('node.textvAlign','middle');
- Node376.a('node.textrect', [Node376textStart, 0, Node376textWidth, Node376height]);
- Node376.a('node.color','rgba(0,0,0,1)');
- Node376.a('node.font',' '+ Node376fontSize + 'px "Arial"');
- Node376.a('node.textvisible',true);
- Node376.a('node.linefeed',false);
- if (false) {
- Node376.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node376.a('node.text') || '0';
- var color=Node376.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node376width,Node376height,13.3333*_ratio.ratioY,"left",color,' '+ Node376fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node376.a('node.underlinepoints',[Node376lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node376fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "Arial"').width + 6, (Node376height - Node376fontSize) * 0.5*_ratio.ratioY + Node376fontSize + 2 ]);
- Node376.a('node.underlinevisible',false);
- Node376.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node376);
- zoomNodeList.push({
- node: Node376,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node377 = new ht.Node();
- var Node377textStart, Node377textWidth, Node377lineStart, Node377align = 'left', Node377fontSize = 13.3333*_ratio.ratioY,Node377width = 29*_ratio.ratioX, Node377height = 16*_ratio.ratioY;
- (function () {
- if (Node377align === 'left') {
- Node377textStart = Node377fontSize * 0.2 > 2 ? Node377fontSize * 0.2 - 4 : Node377fontSize * 0.2 - 9;
- Node377textWidth = Node377width;
- Node377lineStart = 1;
- } else if (Node377align === 'right') {
- Node377textStart = 0;
- Node377textWidth =Node377fontSize <= 8 ? Node377width + Node377fontSize * 0.2 + 6 : Node377width - Node377fontSize * 0.2;
- Node377lineStart = (Node377width - (ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node377align === 'center') {
- Node377textStart = -3;
- Node377textWidth = Node377width;
- Node377lineStart = Node377width - ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node377.setImage(GD.getTextJSON(Node377width, Node377height, true, false, false, ' '+ Node377fontSize + 'px "Arial"'))
- Node377.setPosition(755*ratio.ratioX, 441*ratio.ratioY);
- Node377.setWidth(Node377width);
- Node377.setHeight(Node377height);
- Node377._nodeType = 'text';
- Node377._disallowEvert = true;
- Node377.setRotation(0*Math.PI/180);
- Node377.a('node.width', Node377width);
- Node377.a('node.height', Node377height);
- Node377.a('node.rect', [0, 0, Node377width, Node377height]);
- Node377.a('node.bordercolor','rgba(0,0,0,1)');
- Node377.a('node.borderwidth', 0);
- Node377.a('node.background','' || 'rgba(0,0,0,0)');
- Node377.a('node.gradient','');
- Node377.a('node.gradientcolor','');
- Node377.a('node.text','0');
- Node377.a('node.textalign','left');
- Node377.a('node.textvAlign','middle');
- Node377.a('node.textrect', [Node377textStart, 0, Node377textWidth, Node377height]);
- Node377.a('node.color','rgba(0,0,0,1)');
- Node377.a('node.font',' '+ Node377fontSize + 'px "Arial"');
- Node377.a('node.textvisible',true);
- Node377.a('node.linefeed',false);
- if (false) {
- Node377.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node377.a('node.text') || '0';
- var color=Node377.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node377width,Node377height,13.3333*_ratio.ratioY,"left",color,' '+ Node377fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node377.a('node.underlinepoints',[Node377lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node377fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "Arial"').width + 6, (Node377height - Node377fontSize) * 0.5*_ratio.ratioY + Node377fontSize + 2 ]);
- Node377.a('node.underlinevisible',false);
- Node377.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node377);
- zoomNodeList.push({
- node: Node377,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node378 = new ht.Node();
- var Node378textStart, Node378textWidth, Node378lineStart, Node378align = 'left', Node378fontSize = 13.3333*_ratio.ratioY,Node378width = 29*_ratio.ratioX, Node378height = 16*_ratio.ratioY;
- (function () {
- if (Node378align === 'left') {
- Node378textStart = Node378fontSize * 0.2 > 2 ? Node378fontSize * 0.2 - 4 : Node378fontSize * 0.2 - 9;
- Node378textWidth = Node378width;
- Node378lineStart = 1;
- } else if (Node378align === 'right') {
- Node378textStart = 0;
- Node378textWidth =Node378fontSize <= 8 ? Node378width + Node378fontSize * 0.2 + 6 : Node378width - Node378fontSize * 0.2;
- Node378lineStart = (Node378width - (ht.Default.getTextSize('0', ' '+ Node378fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node378align === 'center') {
- Node378textStart = -3;
- Node378textWidth = Node378width;
- Node378lineStart = Node378width - ht.Default.getTextSize('0', ' '+ Node378fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node378.setImage(GD.getTextJSON(Node378width, Node378height, true, false, false, ' '+ Node378fontSize + 'px "Arial"'))
- Node378.setPosition(755*ratio.ratioX, 461*ratio.ratioY);
- Node378.setWidth(Node378width);
- Node378.setHeight(Node378height);
- Node378._nodeType = 'text';
- Node378._disallowEvert = true;
- Node378.setRotation(0*Math.PI/180);
- Node378.a('node.width', Node378width);
- Node378.a('node.height', Node378height);
- Node378.a('node.rect', [0, 0, Node378width, Node378height]);
- Node378.a('node.bordercolor','rgba(0,0,0,1)');
- Node378.a('node.borderwidth', 0);
- Node378.a('node.background','' || 'rgba(0,0,0,0)');
- Node378.a('node.gradient','');
- Node378.a('node.gradientcolor','');
- Node378.a('node.text','0');
- Node378.a('node.textalign','left');
- Node378.a('node.textvAlign','middle');
- Node378.a('node.textrect', [Node378textStart, 0, Node378textWidth, Node378height]);
- Node378.a('node.color','rgba(0,0,0,1)');
- Node378.a('node.font',' '+ Node378fontSize + 'px "Arial"');
- Node378.a('node.textvisible',true);
- Node378.a('node.linefeed',false);
- if (false) {
- Node378.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node378.a('node.text') || '0';
- var color=Node378.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node378width,Node378height,13.3333*_ratio.ratioY,"left",color,' '+ Node378fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node378.a('node.underlinepoints',[Node378lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node378fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node378fontSize + 'px "Arial"').width + 6, (Node378height - Node378fontSize) * 0.5*_ratio.ratioY + Node378fontSize + 2 ]);
- Node378.a('node.underlinevisible',false);
- Node378.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node378);
- zoomNodeList.push({
- node: Node378,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node379 = new ht.Node();
- var Node379textStart, Node379textWidth, Node379lineStart, Node379align = 'left', Node379fontSize = 13.3333*_ratio.ratioY,Node379width = 29*_ratio.ratioX, Node379height = 16*_ratio.ratioY;
- (function () {
- if (Node379align === 'left') {
- Node379textStart = Node379fontSize * 0.2 > 2 ? Node379fontSize * 0.2 - 4 : Node379fontSize * 0.2 - 9;
- Node379textWidth = Node379width;
- Node379lineStart = 1;
- } else if (Node379align === 'right') {
- Node379textStart = 0;
- Node379textWidth =Node379fontSize <= 8 ? Node379width + Node379fontSize * 0.2 + 6 : Node379width - Node379fontSize * 0.2;
- Node379lineStart = (Node379width - (ht.Default.getTextSize('0', ' '+ Node379fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node379align === 'center') {
- Node379textStart = -3;
- Node379textWidth = Node379width;
- Node379lineStart = Node379width - ht.Default.getTextSize('0', ' '+ Node379fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node379.setImage(GD.getTextJSON(Node379width, Node379height, true, false, false, ' '+ Node379fontSize + 'px "Arial"'))
- Node379.setPosition(1234*ratio.ratioX, 408*ratio.ratioY);
- Node379.setWidth(Node379width);
- Node379.setHeight(Node379height);
- Node379._nodeType = 'text';
- Node379._disallowEvert = true;
- Node379.setRotation(0*Math.PI/180);
- Node379.a('node.width', Node379width);
- Node379.a('node.height', Node379height);
- Node379.a('node.rect', [0, 0, Node379width, Node379height]);
- Node379.a('node.bordercolor','rgba(0,0,0,1)');
- Node379.a('node.borderwidth', 0);
- Node379.a('node.background','' || 'rgba(0,0,0,0)');
- Node379.a('node.gradient','');
- Node379.a('node.gradientcolor','');
- Node379.a('node.text','0');
- Node379.a('node.textalign','left');
- Node379.a('node.textvAlign','middle');
- Node379.a('node.textrect', [Node379textStart, 0, Node379textWidth, Node379height]);
- Node379.a('node.color','rgba(0,0,0,1)');
- Node379.a('node.font',' '+ Node379fontSize + 'px "Arial"');
- Node379.a('node.textvisible',true);
- Node379.a('node.linefeed',false);
- if (false) {
- Node379.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node379.a('node.text') || '0';
- var color=Node379.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node379width,Node379height,13.3333*_ratio.ratioY,"left",color,' '+ Node379fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node379.a('node.underlinepoints',[Node379lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node379fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node379fontSize + 'px "Arial"').width + 6, (Node379height - Node379fontSize) * 0.5*_ratio.ratioY + Node379fontSize + 2 ]);
- Node379.a('node.underlinevisible',false);
- Node379.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node379);
- zoomNodeList.push({
- node: Node379,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node380 = new ht.Node();
- var Node380textStart, Node380textWidth, Node380lineStart, Node380align = 'left', Node380fontSize = 13.3333*_ratio.ratioY,Node380width = 29*_ratio.ratioX, Node380height = 16*_ratio.ratioY;
- (function () {
- if (Node380align === 'left') {
- Node380textStart = Node380fontSize * 0.2 > 2 ? Node380fontSize * 0.2 - 4 : Node380fontSize * 0.2 - 9;
- Node380textWidth = Node380width;
- Node380lineStart = 1;
- } else if (Node380align === 'right') {
- Node380textStart = 0;
- Node380textWidth =Node380fontSize <= 8 ? Node380width + Node380fontSize * 0.2 + 6 : Node380width - Node380fontSize * 0.2;
- Node380lineStart = (Node380width - (ht.Default.getTextSize('0', ' '+ Node380fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node380align === 'center') {
- Node380textStart = -3;
- Node380textWidth = Node380width;
- Node380lineStart = Node380width - ht.Default.getTextSize('0', ' '+ Node380fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node380.setImage(GD.getTextJSON(Node380width, Node380height, true, false, false, ' '+ Node380fontSize + 'px "Arial"'))
- Node380.setPosition(1234*ratio.ratioX, 430*ratio.ratioY);
- Node380.setWidth(Node380width);
- Node380.setHeight(Node380height);
- Node380._nodeType = 'text';
- Node380._disallowEvert = true;
- Node380.setRotation(0*Math.PI/180);
- Node380.a('node.width', Node380width);
- Node380.a('node.height', Node380height);
- Node380.a('node.rect', [0, 0, Node380width, Node380height]);
- Node380.a('node.bordercolor','rgba(0,0,0,1)');
- Node380.a('node.borderwidth', 0);
- Node380.a('node.background','' || 'rgba(0,0,0,0)');
- Node380.a('node.gradient','');
- Node380.a('node.gradientcolor','');
- Node380.a('node.text','0');
- Node380.a('node.textalign','left');
- Node380.a('node.textvAlign','middle');
- Node380.a('node.textrect', [Node380textStart, 0, Node380textWidth, Node380height]);
- Node380.a('node.color','rgba(0,0,0,1)');
- Node380.a('node.font',' '+ Node380fontSize + 'px "Arial"');
- Node380.a('node.textvisible',true);
- Node380.a('node.linefeed',false);
- if (false) {
- Node380.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node380.a('node.text') || '0';
- var color=Node380.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node380width,Node380height,13.3333*_ratio.ratioY,"left",color,' '+ Node380fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node380.a('node.underlinepoints',[Node380lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node380fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node380fontSize + 'px "Arial"').width + 6, (Node380height - Node380fontSize) * 0.5*_ratio.ratioY + Node380fontSize + 2 ]);
- Node380.a('node.underlinevisible',false);
- Node380.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node380);
- zoomNodeList.push({
- node: Node380,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node381 = new ht.Node();
- var Node381textStart, Node381textWidth, Node381lineStart, Node381align = 'left', Node381fontSize = 13.3333*_ratio.ratioY,Node381width = 29*_ratio.ratioX, Node381height = 16*_ratio.ratioY;
- (function () {
- if (Node381align === 'left') {
- Node381textStart = Node381fontSize * 0.2 > 2 ? Node381fontSize * 0.2 - 4 : Node381fontSize * 0.2 - 9;
- Node381textWidth = Node381width;
- Node381lineStart = 1;
- } else if (Node381align === 'right') {
- Node381textStart = 0;
- Node381textWidth =Node381fontSize <= 8 ? Node381width + Node381fontSize * 0.2 + 6 : Node381width - Node381fontSize * 0.2;
- Node381lineStart = (Node381width - (ht.Default.getTextSize('0', ' '+ Node381fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node381align === 'center') {
- Node381textStart = -3;
- Node381textWidth = Node381width;
- Node381lineStart = Node381width - ht.Default.getTextSize('0', ' '+ Node381fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node381.setImage(GD.getTextJSON(Node381width, Node381height, true, false, false, ' '+ Node381fontSize + 'px "Arial"'))
- Node381.setPosition(1234*ratio.ratioX, 452*ratio.ratioY);
- Node381.setWidth(Node381width);
- Node381.setHeight(Node381height);
- Node381._nodeType = 'text';
- Node381._disallowEvert = true;
- Node381.setRotation(0*Math.PI/180);
- Node381.a('node.width', Node381width);
- Node381.a('node.height', Node381height);
- Node381.a('node.rect', [0, 0, Node381width, Node381height]);
- Node381.a('node.bordercolor','rgba(0,0,0,1)');
- Node381.a('node.borderwidth', 0);
- Node381.a('node.background','' || 'rgba(0,0,0,0)');
- Node381.a('node.gradient','');
- Node381.a('node.gradientcolor','');
- Node381.a('node.text','0');
- Node381.a('node.textalign','left');
- Node381.a('node.textvAlign','middle');
- Node381.a('node.textrect', [Node381textStart, 0, Node381textWidth, Node381height]);
- Node381.a('node.color','rgba(0,0,0,1)');
- Node381.a('node.font',' '+ Node381fontSize + 'px "Arial"');
- Node381.a('node.textvisible',true);
- Node381.a('node.linefeed',false);
- if (false) {
- Node381.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node381.a('node.text') || '0';
- var color=Node381.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node381width,Node381height,13.3333*_ratio.ratioY,"left",color,' '+ Node381fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node381.a('node.underlinepoints',[Node381lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node381fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node381fontSize + 'px "Arial"').width + 6, (Node381height - Node381fontSize) * 0.5*_ratio.ratioY + Node381fontSize + 2 ]);
- Node381.a('node.underlinevisible',false);
- Node381.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node381);
- zoomNodeList.push({
- node: Node381,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node382 = new ht.Node();
- var Node382textStart, Node382textWidth, Node382lineStart, Node382align = 'left', Node382fontSize = 13.3333*_ratio.ratioY,Node382width = 29*_ratio.ratioX, Node382height = 16*_ratio.ratioY;
- (function () {
- if (Node382align === 'left') {
- Node382textStart = Node382fontSize * 0.2 > 2 ? Node382fontSize * 0.2 - 4 : Node382fontSize * 0.2 - 9;
- Node382textWidth = Node382width;
- Node382lineStart = 1;
- } else if (Node382align === 'right') {
- Node382textStart = 0;
- Node382textWidth =Node382fontSize <= 8 ? Node382width + Node382fontSize * 0.2 + 6 : Node382width - Node382fontSize * 0.2;
- Node382lineStart = (Node382width - (ht.Default.getTextSize('0', ' '+ Node382fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node382align === 'center') {
- Node382textStart = -3;
- Node382textWidth = Node382width;
- Node382lineStart = Node382width - ht.Default.getTextSize('0', ' '+ Node382fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node382.setImage(GD.getTextJSON(Node382width, Node382height, true, false, false, ' '+ Node382fontSize + 'px "Arial"'))
- Node382.setPosition(1234*ratio.ratioX, 472*ratio.ratioY);
- Node382.setWidth(Node382width);
- Node382.setHeight(Node382height);
- Node382._nodeType = 'text';
- Node382._disallowEvert = true;
- Node382.setRotation(0*Math.PI/180);
- Node382.a('node.width', Node382width);
- Node382.a('node.height', Node382height);
- Node382.a('node.rect', [0, 0, Node382width, Node382height]);
- Node382.a('node.bordercolor','rgba(0,0,0,1)');
- Node382.a('node.borderwidth', 0);
- Node382.a('node.background','' || 'rgba(0,0,0,0)');
- Node382.a('node.gradient','');
- Node382.a('node.gradientcolor','');
- Node382.a('node.text','0');
- Node382.a('node.textalign','left');
- Node382.a('node.textvAlign','middle');
- Node382.a('node.textrect', [Node382textStart, 0, Node382textWidth, Node382height]);
- Node382.a('node.color','rgba(0,0,0,1)');
- Node382.a('node.font',' '+ Node382fontSize + 'px "Arial"');
- Node382.a('node.textvisible',true);
- Node382.a('node.linefeed',false);
- if (false) {
- Node382.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node382.a('node.text') || '0';
- var color=Node382.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node382width,Node382height,13.3333*_ratio.ratioY,"left",color,' '+ Node382fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node382.a('node.underlinepoints',[Node382lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node382fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node382fontSize + 'px "Arial"').width + 6, (Node382height - Node382fontSize) * 0.5*_ratio.ratioY + Node382fontSize + 2 ]);
- Node382.a('node.underlinevisible',false);
- Node382.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node382);
- zoomNodeList.push({
- node: Node382,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node383 = new ht.Node();
- var Node383textStart, Node383textWidth, Node383lineStart, Node383align = 'left', Node383fontSize = 13.3333*_ratio.ratioY,Node383width = 29*_ratio.ratioX, Node383height = 16*_ratio.ratioY;
- (function () {
- if (Node383align === 'left') {
- Node383textStart = Node383fontSize * 0.2 > 2 ? Node383fontSize * 0.2 - 4 : Node383fontSize * 0.2 - 9;
- Node383textWidth = Node383width;
- Node383lineStart = 1;
- } else if (Node383align === 'right') {
- Node383textStart = 0;
- Node383textWidth =Node383fontSize <= 8 ? Node383width + Node383fontSize * 0.2 + 6 : Node383width - Node383fontSize * 0.2;
- Node383lineStart = (Node383width - (ht.Default.getTextSize('0', ' '+ Node383fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node383align === 'center') {
- Node383textStart = -3;
- Node383textWidth = Node383width;
- Node383lineStart = Node383width - ht.Default.getTextSize('0', ' '+ Node383fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node383.setImage(GD.getTextJSON(Node383width, Node383height, true, false, false, ' '+ Node383fontSize + 'px "Arial"'))
- Node383.setPosition(1527*ratio.ratioX, 408*ratio.ratioY);
- Node383.setWidth(Node383width);
- Node383.setHeight(Node383height);
- Node383._nodeType = 'text';
- Node383._disallowEvert = true;
- Node383.setRotation(0*Math.PI/180);
- Node383.a('node.width', Node383width);
- Node383.a('node.height', Node383height);
- Node383.a('node.rect', [0, 0, Node383width, Node383height]);
- Node383.a('node.bordercolor','rgba(0,0,0,1)');
- Node383.a('node.borderwidth', 0);
- Node383.a('node.background','' || 'rgba(0,0,0,0)');
- Node383.a('node.gradient','');
- Node383.a('node.gradientcolor','');
- Node383.a('node.text','0');
- Node383.a('node.textalign','left');
- Node383.a('node.textvAlign','middle');
- Node383.a('node.textrect', [Node383textStart, 0, Node383textWidth, Node383height]);
- Node383.a('node.color','rgba(0,0,0,1)');
- Node383.a('node.font',' '+ Node383fontSize + 'px "Arial"');
- Node383.a('node.textvisible',true);
- Node383.a('node.linefeed',false);
- if (false) {
- Node383.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node383.a('node.text') || '0';
- var color=Node383.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node383width,Node383height,13.3333*_ratio.ratioY,"left",color,' '+ Node383fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node383.a('node.underlinepoints',[Node383lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node383fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node383fontSize + 'px "Arial"').width + 6, (Node383height - Node383fontSize) * 0.5*_ratio.ratioY + Node383fontSize + 2 ]);
- Node383.a('node.underlinevisible',false);
- Node383.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node383);
- zoomNodeList.push({
- node: Node383,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node384 = new ht.Node();
- var Node384textStart, Node384textWidth, Node384lineStart, Node384align = 'left', Node384fontSize = 13.3333*_ratio.ratioY,Node384width = 29*_ratio.ratioX, Node384height = 16*_ratio.ratioY;
- (function () {
- if (Node384align === 'left') {
- Node384textStart = Node384fontSize * 0.2 > 2 ? Node384fontSize * 0.2 - 4 : Node384fontSize * 0.2 - 9;
- Node384textWidth = Node384width;
- Node384lineStart = 1;
- } else if (Node384align === 'right') {
- Node384textStart = 0;
- Node384textWidth =Node384fontSize <= 8 ? Node384width + Node384fontSize * 0.2 + 6 : Node384width - Node384fontSize * 0.2;
- Node384lineStart = (Node384width - (ht.Default.getTextSize('0', ' '+ Node384fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node384align === 'center') {
- Node384textStart = -3;
- Node384textWidth = Node384width;
- Node384lineStart = Node384width - ht.Default.getTextSize('0', ' '+ Node384fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node384.setImage(GD.getTextJSON(Node384width, Node384height, true, false, false, ' '+ Node384fontSize + 'px "Arial"'))
- Node384.setPosition(1527*ratio.ratioX, 430*ratio.ratioY);
- Node384.setWidth(Node384width);
- Node384.setHeight(Node384height);
- Node384._nodeType = 'text';
- Node384._disallowEvert = true;
- Node384.setRotation(0*Math.PI/180);
- Node384.a('node.width', Node384width);
- Node384.a('node.height', Node384height);
- Node384.a('node.rect', [0, 0, Node384width, Node384height]);
- Node384.a('node.bordercolor','rgba(0,0,0,1)');
- Node384.a('node.borderwidth', 0);
- Node384.a('node.background','' || 'rgba(0,0,0,0)');
- Node384.a('node.gradient','');
- Node384.a('node.gradientcolor','');
- Node384.a('node.text','0');
- Node384.a('node.textalign','left');
- Node384.a('node.textvAlign','middle');
- Node384.a('node.textrect', [Node384textStart, 0, Node384textWidth, Node384height]);
- Node384.a('node.color','rgba(0,0,0,1)');
- Node384.a('node.font',' '+ Node384fontSize + 'px "Arial"');
- Node384.a('node.textvisible',true);
- Node384.a('node.linefeed',false);
- if (false) {
- Node384.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node384.a('node.text') || '0';
- var color=Node384.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node384width,Node384height,13.3333*_ratio.ratioY,"left",color,' '+ Node384fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node384.a('node.underlinepoints',[Node384lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node384fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node384fontSize + 'px "Arial"').width + 6, (Node384height - Node384fontSize) * 0.5*_ratio.ratioY + Node384fontSize + 2 ]);
- Node384.a('node.underlinevisible',false);
- Node384.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node384);
- zoomNodeList.push({
- node: Node384,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node385 = new ht.Node();
- var Node385textStart, Node385textWidth, Node385lineStart, Node385align = 'left', Node385fontSize = 13.3333*_ratio.ratioY,Node385width = 29*_ratio.ratioX, Node385height = 16*_ratio.ratioY;
- (function () {
- if (Node385align === 'left') {
- Node385textStart = Node385fontSize * 0.2 > 2 ? Node385fontSize * 0.2 - 4 : Node385fontSize * 0.2 - 9;
- Node385textWidth = Node385width;
- Node385lineStart = 1;
- } else if (Node385align === 'right') {
- Node385textStart = 0;
- Node385textWidth =Node385fontSize <= 8 ? Node385width + Node385fontSize * 0.2 + 6 : Node385width - Node385fontSize * 0.2;
- Node385lineStart = (Node385width - (ht.Default.getTextSize('0', ' '+ Node385fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node385align === 'center') {
- Node385textStart = -3;
- Node385textWidth = Node385width;
- Node385lineStart = Node385width - ht.Default.getTextSize('0', ' '+ Node385fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node385.setImage(GD.getTextJSON(Node385width, Node385height, true, false, false, ' '+ Node385fontSize + 'px "Arial"'))
- Node385.setPosition(1527*ratio.ratioX, 452*ratio.ratioY);
- Node385.setWidth(Node385width);
- Node385.setHeight(Node385height);
- Node385._nodeType = 'text';
- Node385._disallowEvert = true;
- Node385.setRotation(0*Math.PI/180);
- Node385.a('node.width', Node385width);
- Node385.a('node.height', Node385height);
- Node385.a('node.rect', [0, 0, Node385width, Node385height]);
- Node385.a('node.bordercolor','rgba(0,0,0,1)');
- Node385.a('node.borderwidth', 0);
- Node385.a('node.background','' || 'rgba(0,0,0,0)');
- Node385.a('node.gradient','');
- Node385.a('node.gradientcolor','');
- Node385.a('node.text','0');
- Node385.a('node.textalign','left');
- Node385.a('node.textvAlign','middle');
- Node385.a('node.textrect', [Node385textStart, 0, Node385textWidth, Node385height]);
- Node385.a('node.color','rgba(0,0,0,1)');
- Node385.a('node.font',' '+ Node385fontSize + 'px "Arial"');
- Node385.a('node.textvisible',true);
- Node385.a('node.linefeed',false);
- if (false) {
- Node385.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node385.a('node.text') || '0';
- var color=Node385.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node385width,Node385height,13.3333*_ratio.ratioY,"left",color,' '+ Node385fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node385.a('node.underlinepoints',[Node385lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node385fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node385fontSize + 'px "Arial"').width + 6, (Node385height - Node385fontSize) * 0.5*_ratio.ratioY + Node385fontSize + 2 ]);
- Node385.a('node.underlinevisible',false);
- Node385.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node385);
- zoomNodeList.push({
- node: Node385,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node386 = new ht.Node();
- var Node386textStart, Node386textWidth, Node386lineStart, Node386align = 'left', Node386fontSize = 13.3333*_ratio.ratioY,Node386width = 29*_ratio.ratioX, Node386height = 16*_ratio.ratioY;
- (function () {
- if (Node386align === 'left') {
- Node386textStart = Node386fontSize * 0.2 > 2 ? Node386fontSize * 0.2 - 4 : Node386fontSize * 0.2 - 9;
- Node386textWidth = Node386width;
- Node386lineStart = 1;
- } else if (Node386align === 'right') {
- Node386textStart = 0;
- Node386textWidth =Node386fontSize <= 8 ? Node386width + Node386fontSize * 0.2 + 6 : Node386width - Node386fontSize * 0.2;
- Node386lineStart = (Node386width - (ht.Default.getTextSize('0', ' '+ Node386fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node386align === 'center') {
- Node386textStart = -3;
- Node386textWidth = Node386width;
- Node386lineStart = Node386width - ht.Default.getTextSize('0', ' '+ Node386fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node386.setImage(GD.getTextJSON(Node386width, Node386height, true, false, false, ' '+ Node386fontSize + 'px "Arial"'))
- Node386.setPosition(1527*ratio.ratioX, 472*ratio.ratioY);
- Node386.setWidth(Node386width);
- Node386.setHeight(Node386height);
- Node386._nodeType = 'text';
- Node386._disallowEvert = true;
- Node386.setRotation(0*Math.PI/180);
- Node386.a('node.width', Node386width);
- Node386.a('node.height', Node386height);
- Node386.a('node.rect', [0, 0, Node386width, Node386height]);
- Node386.a('node.bordercolor','rgba(0,0,0,1)');
- Node386.a('node.borderwidth', 0);
- Node386.a('node.background','' || 'rgba(0,0,0,0)');
- Node386.a('node.gradient','');
- Node386.a('node.gradientcolor','');
- Node386.a('node.text','0');
- Node386.a('node.textalign','left');
- Node386.a('node.textvAlign','middle');
- Node386.a('node.textrect', [Node386textStart, 0, Node386textWidth, Node386height]);
- Node386.a('node.color','rgba(0,0,0,1)');
- Node386.a('node.font',' '+ Node386fontSize + 'px "Arial"');
- Node386.a('node.textvisible',true);
- Node386.a('node.linefeed',false);
- if (false) {
- Node386.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node386.a('node.text') || '0';
- var color=Node386.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node386width,Node386height,13.3333*_ratio.ratioY,"left",color,' '+ Node386fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node386.a('node.underlinepoints',[Node386lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node386fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node386fontSize + 'px "Arial"').width + 6, (Node386height - Node386fontSize) * 0.5*_ratio.ratioY + Node386fontSize + 2 ]);
- Node386.a('node.underlinevisible',false);
- Node386.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node386);
- zoomNodeList.push({
- node: Node386,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node387 = new ht.Node();
- var Node387textStart, Node387textWidth, Node387lineStart, Node387align = 'left', Node387fontSize = 13.3333*_ratio.ratioY,Node387width = 29*_ratio.ratioX, Node387height = 16*_ratio.ratioY;
- (function () {
- if (Node387align === 'left') {
- Node387textStart = Node387fontSize * 0.2 > 2 ? Node387fontSize * 0.2 - 4 : Node387fontSize * 0.2 - 9;
- Node387textWidth = Node387width;
- Node387lineStart = 1;
- } else if (Node387align === 'right') {
- Node387textStart = 0;
- Node387textWidth =Node387fontSize <= 8 ? Node387width + Node387fontSize * 0.2 + 6 : Node387width - Node387fontSize * 0.2;
- Node387lineStart = (Node387width - (ht.Default.getTextSize('0', ' '+ Node387fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node387align === 'center') {
- Node387textStart = -3;
- Node387textWidth = Node387width;
- Node387lineStart = Node387width - ht.Default.getTextSize('0', ' '+ Node387fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node387.setImage(GD.getTextJSON(Node387width, Node387height, true, false, false, ' '+ Node387fontSize + 'px "Arial"'))
- Node387.setPosition(1726*ratio.ratioX, 401*ratio.ratioY);
- Node387.setWidth(Node387width);
- Node387.setHeight(Node387height);
- Node387._nodeType = 'text';
- Node387._disallowEvert = true;
- Node387.setRotation(0*Math.PI/180);
- Node387.a('node.width', Node387width);
- Node387.a('node.height', Node387height);
- Node387.a('node.rect', [0, 0, Node387width, Node387height]);
- Node387.a('node.bordercolor','rgba(0,0,0,1)');
- Node387.a('node.borderwidth', 0);
- Node387.a('node.background','' || 'rgba(0,0,0,0)');
- Node387.a('node.gradient','');
- Node387.a('node.gradientcolor','');
- Node387.a('node.text','0');
- Node387.a('node.textalign','left');
- Node387.a('node.textvAlign','middle');
- Node387.a('node.textrect', [Node387textStart, 0, Node387textWidth, Node387height]);
- Node387.a('node.color','rgba(0,0,0,1)');
- Node387.a('node.font',' '+ Node387fontSize + 'px "Arial"');
- Node387.a('node.textvisible',true);
- Node387.a('node.linefeed',false);
- if (false) {
- Node387.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node387.a('node.text') || '0';
- var color=Node387.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node387width,Node387height,13.3333*_ratio.ratioY,"left",color,' '+ Node387fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node387.a('node.underlinepoints',[Node387lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node387fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node387fontSize + 'px "Arial"').width + 6, (Node387height - Node387fontSize) * 0.5*_ratio.ratioY + Node387fontSize + 2 ]);
- Node387.a('node.underlinevisible',false);
- Node387.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node387);
- zoomNodeList.push({
- node: Node387,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node388 = new ht.Node();
- var Node388textStart, Node388textWidth, Node388lineStart, Node388align = 'left', Node388fontSize = 13.3333*_ratio.ratioY,Node388width = 29*_ratio.ratioX, Node388height = 16*_ratio.ratioY;
- (function () {
- if (Node388align === 'left') {
- Node388textStart = Node388fontSize * 0.2 > 2 ? Node388fontSize * 0.2 - 4 : Node388fontSize * 0.2 - 9;
- Node388textWidth = Node388width;
- Node388lineStart = 1;
- } else if (Node388align === 'right') {
- Node388textStart = 0;
- Node388textWidth =Node388fontSize <= 8 ? Node388width + Node388fontSize * 0.2 + 6 : Node388width - Node388fontSize * 0.2;
- Node388lineStart = (Node388width - (ht.Default.getTextSize('0', ' '+ Node388fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node388align === 'center') {
- Node388textStart = -3;
- Node388textWidth = Node388width;
- Node388lineStart = Node388width - ht.Default.getTextSize('0', ' '+ Node388fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node388.setImage(GD.getTextJSON(Node388width, Node388height, true, false, false, ' '+ Node388fontSize + 'px "Arial"'))
- Node388.setPosition(1726*ratio.ratioX, 423*ratio.ratioY);
- Node388.setWidth(Node388width);
- Node388.setHeight(Node388height);
- Node388._nodeType = 'text';
- Node388._disallowEvert = true;
- Node388.setRotation(0*Math.PI/180);
- Node388.a('node.width', Node388width);
- Node388.a('node.height', Node388height);
- Node388.a('node.rect', [0, 0, Node388width, Node388height]);
- Node388.a('node.bordercolor','rgba(0,0,0,1)');
- Node388.a('node.borderwidth', 0);
- Node388.a('node.background','' || 'rgba(0,0,0,0)');
- Node388.a('node.gradient','');
- Node388.a('node.gradientcolor','');
- Node388.a('node.text','0');
- Node388.a('node.textalign','left');
- Node388.a('node.textvAlign','middle');
- Node388.a('node.textrect', [Node388textStart, 0, Node388textWidth, Node388height]);
- Node388.a('node.color','rgba(0,0,0,1)');
- Node388.a('node.font',' '+ Node388fontSize + 'px "Arial"');
- Node388.a('node.textvisible',true);
- Node388.a('node.linefeed',false);
- if (false) {
- Node388.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node388.a('node.text') || '0';
- var color=Node388.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node388width,Node388height,13.3333*_ratio.ratioY,"left",color,' '+ Node388fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node388.a('node.underlinepoints',[Node388lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node388fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node388fontSize + 'px "Arial"').width + 6, (Node388height - Node388fontSize) * 0.5*_ratio.ratioY + Node388fontSize + 2 ]);
- Node388.a('node.underlinevisible',false);
- Node388.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node388);
- zoomNodeList.push({
- node: Node388,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node389 = new ht.Node();
- var Node389textStart, Node389textWidth, Node389lineStart, Node389align = 'left', Node389fontSize = 13.3333*_ratio.ratioY,Node389width = 29*_ratio.ratioX, Node389height = 16*_ratio.ratioY;
- (function () {
- if (Node389align === 'left') {
- Node389textStart = Node389fontSize * 0.2 > 2 ? Node389fontSize * 0.2 - 4 : Node389fontSize * 0.2 - 9;
- Node389textWidth = Node389width;
- Node389lineStart = 1;
- } else if (Node389align === 'right') {
- Node389textStart = 0;
- Node389textWidth =Node389fontSize <= 8 ? Node389width + Node389fontSize * 0.2 + 6 : Node389width - Node389fontSize * 0.2;
- Node389lineStart = (Node389width - (ht.Default.getTextSize('0', ' '+ Node389fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node389align === 'center') {
- Node389textStart = -3;
- Node389textWidth = Node389width;
- Node389lineStart = Node389width - ht.Default.getTextSize('0', ' '+ Node389fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node389.setImage(GD.getTextJSON(Node389width, Node389height, true, false, false, ' '+ Node389fontSize + 'px "Arial"'))
- Node389.setPosition(1726*ratio.ratioX, 445*ratio.ratioY);
- Node389.setWidth(Node389width);
- Node389.setHeight(Node389height);
- Node389._nodeType = 'text';
- Node389._disallowEvert = true;
- Node389.setRotation(0*Math.PI/180);
- Node389.a('node.width', Node389width);
- Node389.a('node.height', Node389height);
- Node389.a('node.rect', [0, 0, Node389width, Node389height]);
- Node389.a('node.bordercolor','rgba(0,0,0,1)');
- Node389.a('node.borderwidth', 0);
- Node389.a('node.background','' || 'rgba(0,0,0,0)');
- Node389.a('node.gradient','');
- Node389.a('node.gradientcolor','');
- Node389.a('node.text','0');
- Node389.a('node.textalign','left');
- Node389.a('node.textvAlign','middle');
- Node389.a('node.textrect', [Node389textStart, 0, Node389textWidth, Node389height]);
- Node389.a('node.color','rgba(0,0,0,1)');
- Node389.a('node.font',' '+ Node389fontSize + 'px "Arial"');
- Node389.a('node.textvisible',true);
- Node389.a('node.linefeed',false);
- if (false) {
- Node389.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node389.a('node.text') || '0';
- var color=Node389.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node389width,Node389height,13.3333*_ratio.ratioY,"left",color,' '+ Node389fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node389.a('node.underlinepoints',[Node389lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node389fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node389fontSize + 'px "Arial"').width + 6, (Node389height - Node389fontSize) * 0.5*_ratio.ratioY + Node389fontSize + 2 ]);
- Node389.a('node.underlinevisible',false);
- Node389.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node389);
- zoomNodeList.push({
- node: Node389,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node390 = new ht.Node();
- var Node390textStart, Node390textWidth, Node390lineStart, Node390align = 'left', Node390fontSize = 13.3333*_ratio.ratioY,Node390width = 29*_ratio.ratioX, Node390height = 16*_ratio.ratioY;
- (function () {
- if (Node390align === 'left') {
- Node390textStart = Node390fontSize * 0.2 > 2 ? Node390fontSize * 0.2 - 4 : Node390fontSize * 0.2 - 9;
- Node390textWidth = Node390width;
- Node390lineStart = 1;
- } else if (Node390align === 'right') {
- Node390textStart = 0;
- Node390textWidth =Node390fontSize <= 8 ? Node390width + Node390fontSize * 0.2 + 6 : Node390width - Node390fontSize * 0.2;
- Node390lineStart = (Node390width - (ht.Default.getTextSize('0', ' '+ Node390fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node390align === 'center') {
- Node390textStart = -3;
- Node390textWidth = Node390width;
- Node390lineStart = Node390width - ht.Default.getTextSize('0', ' '+ Node390fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node390.setImage(GD.getTextJSON(Node390width, Node390height, true, false, false, ' '+ Node390fontSize + 'px "Arial"'))
- Node390.setPosition(1726*ratio.ratioX, 465*ratio.ratioY);
- Node390.setWidth(Node390width);
- Node390.setHeight(Node390height);
- Node390._nodeType = 'text';
- Node390._disallowEvert = true;
- Node390.setRotation(0*Math.PI/180);
- Node390.a('node.width', Node390width);
- Node390.a('node.height', Node390height);
- Node390.a('node.rect', [0, 0, Node390width, Node390height]);
- Node390.a('node.bordercolor','rgba(0,0,0,1)');
- Node390.a('node.borderwidth', 0);
- Node390.a('node.background','' || 'rgba(0,0,0,0)');
- Node390.a('node.gradient','');
- Node390.a('node.gradientcolor','');
- Node390.a('node.text','0');
- Node390.a('node.textalign','left');
- Node390.a('node.textvAlign','middle');
- Node390.a('node.textrect', [Node390textStart, 0, Node390textWidth, Node390height]);
- Node390.a('node.color','rgba(0,0,0,1)');
- Node390.a('node.font',' '+ Node390fontSize + 'px "Arial"');
- Node390.a('node.textvisible',true);
- Node390.a('node.linefeed',false);
- if (false) {
- Node390.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node390.a('node.text') || '0';
- var color=Node390.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node390width,Node390height,13.3333*_ratio.ratioY,"left",color,' '+ Node390fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node390.a('node.underlinepoints',[Node390lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node390fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node390fontSize + 'px "Arial"').width + 6, (Node390height - Node390fontSize) * 0.5*_ratio.ratioY + Node390fontSize + 2 ]);
- Node390.a('node.underlinevisible',false);
- Node390.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node390);
- zoomNodeList.push({
- node: Node390,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node391 = new ht.Node();
- var Node391textStart, Node391textWidth, Node391lineStart, Node391align = 'left', Node391fontSize = 13.3333*_ratio.ratioY,Node391width = 29*_ratio.ratioX, Node391height = 16*_ratio.ratioY;
- (function () {
- if (Node391align === 'left') {
- Node391textStart = Node391fontSize * 0.2 > 2 ? Node391fontSize * 0.2 - 4 : Node391fontSize * 0.2 - 9;
- Node391textWidth = Node391width;
- Node391lineStart = 1;
- } else if (Node391align === 'right') {
- Node391textStart = 0;
- Node391textWidth =Node391fontSize <= 8 ? Node391width + Node391fontSize * 0.2 + 6 : Node391width - Node391fontSize * 0.2;
- Node391lineStart = (Node391width - (ht.Default.getTextSize('0', ' '+ Node391fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node391align === 'center') {
- Node391textStart = -3;
- Node391textWidth = Node391width;
- Node391lineStart = Node391width - ht.Default.getTextSize('0', ' '+ Node391fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node391.setImage(GD.getTextJSON(Node391width, Node391height, true, false, false, ' '+ Node391fontSize + 'px "Arial"'))
- Node391.setPosition(163*ratio.ratioX, 533*ratio.ratioY);
- Node391.setWidth(Node391width);
- Node391.setHeight(Node391height);
- Node391._nodeType = 'text';
- Node391._disallowEvert = true;
- Node391.setRotation(0*Math.PI/180);
- Node391.a('node.width', Node391width);
- Node391.a('node.height', Node391height);
- Node391.a('node.rect', [0, 0, Node391width, Node391height]);
- Node391.a('node.bordercolor','rgba(0,0,0,1)');
- Node391.a('node.borderwidth', 0);
- Node391.a('node.background','' || 'rgba(0,0,0,0)');
- Node391.a('node.gradient','');
- Node391.a('node.gradientcolor','');
- Node391.a('node.text','0');
- Node391.a('node.textalign','left');
- Node391.a('node.textvAlign','middle');
- Node391.a('node.textrect', [Node391textStart, 0, Node391textWidth, Node391height]);
- Node391.a('node.color','rgba(0,0,0,1)');
- Node391.a('node.font',' '+ Node391fontSize + 'px "Arial"');
- Node391.a('node.textvisible',true);
- Node391.a('node.linefeed',false);
- if (false) {
- Node391.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node391.a('node.text') || '0';
- var color=Node391.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node391width,Node391height,13.3333*_ratio.ratioY,"left",color,' '+ Node391fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node391.a('node.underlinepoints',[Node391lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node391fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node391fontSize + 'px "Arial"').width + 6, (Node391height - Node391fontSize) * 0.5*_ratio.ratioY + Node391fontSize + 2 ]);
- Node391.a('node.underlinevisible',false);
- Node391.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node391);
- zoomNodeList.push({
- node: Node391,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node392 = new ht.Node();
- var Node392textStart, Node392textWidth, Node392lineStart, Node392align = 'left', Node392fontSize = 13.3333*_ratio.ratioY,Node392width = 29*_ratio.ratioX, Node392height = 16*_ratio.ratioY;
- (function () {
- if (Node392align === 'left') {
- Node392textStart = Node392fontSize * 0.2 > 2 ? Node392fontSize * 0.2 - 4 : Node392fontSize * 0.2 - 9;
- Node392textWidth = Node392width;
- Node392lineStart = 1;
- } else if (Node392align === 'right') {
- Node392textStart = 0;
- Node392textWidth =Node392fontSize <= 8 ? Node392width + Node392fontSize * 0.2 + 6 : Node392width - Node392fontSize * 0.2;
- Node392lineStart = (Node392width - (ht.Default.getTextSize('0', ' '+ Node392fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node392align === 'center') {
- Node392textStart = -3;
- Node392textWidth = Node392width;
- Node392lineStart = Node392width - ht.Default.getTextSize('0', ' '+ Node392fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node392.setImage(GD.getTextJSON(Node392width, Node392height, true, false, false, ' '+ Node392fontSize + 'px "Arial"'))
- Node392.setPosition(163*ratio.ratioX, 556*ratio.ratioY);
- Node392.setWidth(Node392width);
- Node392.setHeight(Node392height);
- Node392._nodeType = 'text';
- Node392._disallowEvert = true;
- Node392.setRotation(0*Math.PI/180);
- Node392.a('node.width', Node392width);
- Node392.a('node.height', Node392height);
- Node392.a('node.rect', [0, 0, Node392width, Node392height]);
- Node392.a('node.bordercolor','rgba(0,0,0,1)');
- Node392.a('node.borderwidth', 0);
- Node392.a('node.background','' || 'rgba(0,0,0,0)');
- Node392.a('node.gradient','');
- Node392.a('node.gradientcolor','');
- Node392.a('node.text','0');
- Node392.a('node.textalign','left');
- Node392.a('node.textvAlign','middle');
- Node392.a('node.textrect', [Node392textStart, 0, Node392textWidth, Node392height]);
- Node392.a('node.color','rgba(0,0,0,1)');
- Node392.a('node.font',' '+ Node392fontSize + 'px "Arial"');
- Node392.a('node.textvisible',true);
- Node392.a('node.linefeed',false);
- if (false) {
- Node392.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node392.a('node.text') || '0';
- var color=Node392.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node392width,Node392height,13.3333*_ratio.ratioY,"left",color,' '+ Node392fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node392.a('node.underlinepoints',[Node392lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node392fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node392fontSize + 'px "Arial"').width + 6, (Node392height - Node392fontSize) * 0.5*_ratio.ratioY + Node392fontSize + 2 ]);
- Node392.a('node.underlinevisible',false);
- Node392.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node392);
- zoomNodeList.push({
- node: Node392,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node393 = new ht.Node();
- var Node393textStart, Node393textWidth, Node393lineStart, Node393align = 'left', Node393fontSize = 13.3333*_ratio.ratioY,Node393width = 29*_ratio.ratioX, Node393height = 16*_ratio.ratioY;
- (function () {
- if (Node393align === 'left') {
- Node393textStart = Node393fontSize * 0.2 > 2 ? Node393fontSize * 0.2 - 4 : Node393fontSize * 0.2 - 9;
- Node393textWidth = Node393width;
- Node393lineStart = 1;
- } else if (Node393align === 'right') {
- Node393textStart = 0;
- Node393textWidth =Node393fontSize <= 8 ? Node393width + Node393fontSize * 0.2 + 6 : Node393width - Node393fontSize * 0.2;
- Node393lineStart = (Node393width - (ht.Default.getTextSize('0', ' '+ Node393fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node393align === 'center') {
- Node393textStart = -3;
- Node393textWidth = Node393width;
- Node393lineStart = Node393width - ht.Default.getTextSize('0', ' '+ Node393fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node393.setImage(GD.getTextJSON(Node393width, Node393height, true, false, false, ' '+ Node393fontSize + 'px "Arial"'))
- Node393.setPosition(163*ratio.ratioX, 578*ratio.ratioY);
- Node393.setWidth(Node393width);
- Node393.setHeight(Node393height);
- Node393._nodeType = 'text';
- Node393._disallowEvert = true;
- Node393.setRotation(0*Math.PI/180);
- Node393.a('node.width', Node393width);
- Node393.a('node.height', Node393height);
- Node393.a('node.rect', [0, 0, Node393width, Node393height]);
- Node393.a('node.bordercolor','rgba(0,0,0,1)');
- Node393.a('node.borderwidth', 0);
- Node393.a('node.background','' || 'rgba(0,0,0,0)');
- Node393.a('node.gradient','');
- Node393.a('node.gradientcolor','');
- Node393.a('node.text','0');
- Node393.a('node.textalign','left');
- Node393.a('node.textvAlign','middle');
- Node393.a('node.textrect', [Node393textStart, 0, Node393textWidth, Node393height]);
- Node393.a('node.color','rgba(0,0,0,1)');
- Node393.a('node.font',' '+ Node393fontSize + 'px "Arial"');
- Node393.a('node.textvisible',true);
- Node393.a('node.linefeed',false);
- if (false) {
- Node393.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node393.a('node.text') || '0';
- var color=Node393.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node393width,Node393height,13.3333*_ratio.ratioY,"left",color,' '+ Node393fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node393.a('node.underlinepoints',[Node393lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node393fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node393fontSize + 'px "Arial"').width + 6, (Node393height - Node393fontSize) * 0.5*_ratio.ratioY + Node393fontSize + 2 ]);
- Node393.a('node.underlinevisible',false);
- Node393.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node393);
- zoomNodeList.push({
- node: Node393,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node394 = new ht.Node();
- var Node394textStart, Node394textWidth, Node394lineStart, Node394align = 'left', Node394fontSize = 13.3333*_ratio.ratioY,Node394width = 29*_ratio.ratioX, Node394height = 16*_ratio.ratioY;
- (function () {
- if (Node394align === 'left') {
- Node394textStart = Node394fontSize * 0.2 > 2 ? Node394fontSize * 0.2 - 4 : Node394fontSize * 0.2 - 9;
- Node394textWidth = Node394width;
- Node394lineStart = 1;
- } else if (Node394align === 'right') {
- Node394textStart = 0;
- Node394textWidth =Node394fontSize <= 8 ? Node394width + Node394fontSize * 0.2 + 6 : Node394width - Node394fontSize * 0.2;
- Node394lineStart = (Node394width - (ht.Default.getTextSize('0', ' '+ Node394fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node394align === 'center') {
- Node394textStart = -3;
- Node394textWidth = Node394width;
- Node394lineStart = Node394width - ht.Default.getTextSize('0', ' '+ Node394fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node394.setImage(GD.getTextJSON(Node394width, Node394height, true, false, false, ' '+ Node394fontSize + 'px "Arial"'))
- Node394.setPosition(163*ratio.ratioX, 598*ratio.ratioY);
- Node394.setWidth(Node394width);
- Node394.setHeight(Node394height);
- Node394._nodeType = 'text';
- Node394._disallowEvert = true;
- Node394.setRotation(0*Math.PI/180);
- Node394.a('node.width', Node394width);
- Node394.a('node.height', Node394height);
- Node394.a('node.rect', [0, 0, Node394width, Node394height]);
- Node394.a('node.bordercolor','rgba(0,0,0,1)');
- Node394.a('node.borderwidth', 0);
- Node394.a('node.background','' || 'rgba(0,0,0,0)');
- Node394.a('node.gradient','');
- Node394.a('node.gradientcolor','');
- Node394.a('node.text','0');
- Node394.a('node.textalign','left');
- Node394.a('node.textvAlign','middle');
- Node394.a('node.textrect', [Node394textStart, 0, Node394textWidth, Node394height]);
- Node394.a('node.color','rgba(0,0,0,1)');
- Node394.a('node.font',' '+ Node394fontSize + 'px "Arial"');
- Node394.a('node.textvisible',true);
- Node394.a('node.linefeed',false);
- if (false) {
- Node394.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node394.a('node.text') || '0';
- var color=Node394.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node394width,Node394height,13.3333*_ratio.ratioY,"left",color,' '+ Node394fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node394.a('node.underlinepoints',[Node394lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node394fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node394fontSize + 'px "Arial"').width + 6, (Node394height - Node394fontSize) * 0.5*_ratio.ratioY + Node394fontSize + 2 ]);
- Node394.a('node.underlinevisible',false);
- Node394.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node394);
- zoomNodeList.push({
- node: Node394,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node395 = new ht.Node();
- var Node395textStart, Node395textWidth, Node395lineStart, Node395align = 'left', Node395fontSize = 13.3333*_ratio.ratioY,Node395width = 29*_ratio.ratioX, Node395height = 16*_ratio.ratioY;
- (function () {
- if (Node395align === 'left') {
- Node395textStart = Node395fontSize * 0.2 > 2 ? Node395fontSize * 0.2 - 4 : Node395fontSize * 0.2 - 9;
- Node395textWidth = Node395width;
- Node395lineStart = 1;
- } else if (Node395align === 'right') {
- Node395textStart = 0;
- Node395textWidth =Node395fontSize <= 8 ? Node395width + Node395fontSize * 0.2 + 6 : Node395width - Node395fontSize * 0.2;
- Node395lineStart = (Node395width - (ht.Default.getTextSize('0', ' '+ Node395fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node395align === 'center') {
- Node395textStart = -3;
- Node395textWidth = Node395width;
- Node395lineStart = Node395width - ht.Default.getTextSize('0', ' '+ Node395fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node395.setImage(GD.getTextJSON(Node395width, Node395height, true, false, false, ' '+ Node395fontSize + 'px "Arial"'))
- Node395.setPosition(916*ratio.ratioX, 557*ratio.ratioY);
- Node395.setWidth(Node395width);
- Node395.setHeight(Node395height);
- Node395._nodeType = 'text';
- Node395._disallowEvert = true;
- Node395.setRotation(0*Math.PI/180);
- Node395.a('node.width', Node395width);
- Node395.a('node.height', Node395height);
- Node395.a('node.rect', [0, 0, Node395width, Node395height]);
- Node395.a('node.bordercolor','rgba(0,0,0,1)');
- Node395.a('node.borderwidth', 0);
- Node395.a('node.background','' || 'rgba(0,0,0,0)');
- Node395.a('node.gradient','');
- Node395.a('node.gradientcolor','');
- Node395.a('node.text','0');
- Node395.a('node.textalign','left');
- Node395.a('node.textvAlign','middle');
- Node395.a('node.textrect', [Node395textStart, 0, Node395textWidth, Node395height]);
- Node395.a('node.color','rgba(0,0,0,1)');
- Node395.a('node.font',' '+ Node395fontSize + 'px "Arial"');
- Node395.a('node.textvisible',true);
- Node395.a('node.linefeed',false);
- if (false) {
- Node395.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node395.a('node.text') || '0';
- var color=Node395.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node395width,Node395height,13.3333*_ratio.ratioY,"left",color,' '+ Node395fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node395.a('node.underlinepoints',[Node395lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node395fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node395fontSize + 'px "Arial"').width + 6, (Node395height - Node395fontSize) * 0.5*_ratio.ratioY + Node395fontSize + 2 ]);
- Node395.a('node.underlinevisible',false);
- Node395.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node395);
- zoomNodeList.push({
- node: Node395,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node396 = new ht.Node();
- var Node396textStart, Node396textWidth, Node396lineStart, Node396align = 'left', Node396fontSize = 13.3333*_ratio.ratioY,Node396width = 29*_ratio.ratioX, Node396height = 16*_ratio.ratioY;
- (function () {
- if (Node396align === 'left') {
- Node396textStart = Node396fontSize * 0.2 > 2 ? Node396fontSize * 0.2 - 4 : Node396fontSize * 0.2 - 9;
- Node396textWidth = Node396width;
- Node396lineStart = 1;
- } else if (Node396align === 'right') {
- Node396textStart = 0;
- Node396textWidth =Node396fontSize <= 8 ? Node396width + Node396fontSize * 0.2 + 6 : Node396width - Node396fontSize * 0.2;
- Node396lineStart = (Node396width - (ht.Default.getTextSize('0', ' '+ Node396fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node396align === 'center') {
- Node396textStart = -3;
- Node396textWidth = Node396width;
- Node396lineStart = Node396width - ht.Default.getTextSize('0', ' '+ Node396fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node396.setImage(GD.getTextJSON(Node396width, Node396height, true, false, false, ' '+ Node396fontSize + 'px "Arial"'))
- Node396.setPosition(916*ratio.ratioX, 579*ratio.ratioY);
- Node396.setWidth(Node396width);
- Node396.setHeight(Node396height);
- Node396._nodeType = 'text';
- Node396._disallowEvert = true;
- Node396.setRotation(0*Math.PI/180);
- Node396.a('node.width', Node396width);
- Node396.a('node.height', Node396height);
- Node396.a('node.rect', [0, 0, Node396width, Node396height]);
- Node396.a('node.bordercolor','rgba(0,0,0,1)');
- Node396.a('node.borderwidth', 0);
- Node396.a('node.background','' || 'rgba(0,0,0,0)');
- Node396.a('node.gradient','');
- Node396.a('node.gradientcolor','');
- Node396.a('node.text','0');
- Node396.a('node.textalign','left');
- Node396.a('node.textvAlign','middle');
- Node396.a('node.textrect', [Node396textStart, 0, Node396textWidth, Node396height]);
- Node396.a('node.color','rgba(0,0,0,1)');
- Node396.a('node.font',' '+ Node396fontSize + 'px "Arial"');
- Node396.a('node.textvisible',true);
- Node396.a('node.linefeed',false);
- if (false) {
- Node396.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node396.a('node.text') || '0';
- var color=Node396.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node396width,Node396height,13.3333*_ratio.ratioY,"left",color,' '+ Node396fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node396.a('node.underlinepoints',[Node396lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node396fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node396fontSize + 'px "Arial"').width + 6, (Node396height - Node396fontSize) * 0.5*_ratio.ratioY + Node396fontSize + 2 ]);
- Node396.a('node.underlinevisible',false);
- Node396.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node396);
- zoomNodeList.push({
- node: Node396,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node397 = new ht.Node();
- var Node397textStart, Node397textWidth, Node397lineStart, Node397align = 'left', Node397fontSize = 13.3333*_ratio.ratioY,Node397width = 29*_ratio.ratioX, Node397height = 16*_ratio.ratioY;
- (function () {
- if (Node397align === 'left') {
- Node397textStart = Node397fontSize * 0.2 > 2 ? Node397fontSize * 0.2 - 4 : Node397fontSize * 0.2 - 9;
- Node397textWidth = Node397width;
- Node397lineStart = 1;
- } else if (Node397align === 'right') {
- Node397textStart = 0;
- Node397textWidth =Node397fontSize <= 8 ? Node397width + Node397fontSize * 0.2 + 6 : Node397width - Node397fontSize * 0.2;
- Node397lineStart = (Node397width - (ht.Default.getTextSize('0', ' '+ Node397fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node397align === 'center') {
- Node397textStart = -3;
- Node397textWidth = Node397width;
- Node397lineStart = Node397width - ht.Default.getTextSize('0', ' '+ Node397fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node397.setImage(GD.getTextJSON(Node397width, Node397height, true, false, false, ' '+ Node397fontSize + 'px "Arial"'))
- Node397.setPosition(916*ratio.ratioX, 601*ratio.ratioY);
- Node397.setWidth(Node397width);
- Node397.setHeight(Node397height);
- Node397._nodeType = 'text';
- Node397._disallowEvert = true;
- Node397.setRotation(0*Math.PI/180);
- Node397.a('node.width', Node397width);
- Node397.a('node.height', Node397height);
- Node397.a('node.rect', [0, 0, Node397width, Node397height]);
- Node397.a('node.bordercolor','rgba(0,0,0,1)');
- Node397.a('node.borderwidth', 0);
- Node397.a('node.background','' || 'rgba(0,0,0,0)');
- Node397.a('node.gradient','');
- Node397.a('node.gradientcolor','');
- Node397.a('node.text','0');
- Node397.a('node.textalign','left');
- Node397.a('node.textvAlign','middle');
- Node397.a('node.textrect', [Node397textStart, 0, Node397textWidth, Node397height]);
- Node397.a('node.color','rgba(0,0,0,1)');
- Node397.a('node.font',' '+ Node397fontSize + 'px "Arial"');
- Node397.a('node.textvisible',true);
- Node397.a('node.linefeed',false);
- if (false) {
- Node397.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node397.a('node.text') || '0';
- var color=Node397.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node397width,Node397height,13.3333*_ratio.ratioY,"left",color,' '+ Node397fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node397.a('node.underlinepoints',[Node397lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node397fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node397fontSize + 'px "Arial"').width + 6, (Node397height - Node397fontSize) * 0.5*_ratio.ratioY + Node397fontSize + 2 ]);
- Node397.a('node.underlinevisible',false);
- Node397.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node397);
- zoomNodeList.push({
- node: Node397,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node398 = new ht.Node();
- var Node398textStart, Node398textWidth, Node398lineStart, Node398align = 'left', Node398fontSize = 13.3333*_ratio.ratioY,Node398width = 29*_ratio.ratioX, Node398height = 16*_ratio.ratioY;
- (function () {
- if (Node398align === 'left') {
- Node398textStart = Node398fontSize * 0.2 > 2 ? Node398fontSize * 0.2 - 4 : Node398fontSize * 0.2 - 9;
- Node398textWidth = Node398width;
- Node398lineStart = 1;
- } else if (Node398align === 'right') {
- Node398textStart = 0;
- Node398textWidth =Node398fontSize <= 8 ? Node398width + Node398fontSize * 0.2 + 6 : Node398width - Node398fontSize * 0.2;
- Node398lineStart = (Node398width - (ht.Default.getTextSize('0', ' '+ Node398fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node398align === 'center') {
- Node398textStart = -3;
- Node398textWidth = Node398width;
- Node398lineStart = Node398width - ht.Default.getTextSize('0', ' '+ Node398fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node398.setImage(GD.getTextJSON(Node398width, Node398height, true, false, false, ' '+ Node398fontSize + 'px "Arial"'))
- Node398.setPosition(916*ratio.ratioX, 621*ratio.ratioY);
- Node398.setWidth(Node398width);
- Node398.setHeight(Node398height);
- Node398._nodeType = 'text';
- Node398._disallowEvert = true;
- Node398.setRotation(0*Math.PI/180);
- Node398.a('node.width', Node398width);
- Node398.a('node.height', Node398height);
- Node398.a('node.rect', [0, 0, Node398width, Node398height]);
- Node398.a('node.bordercolor','rgba(0,0,0,1)');
- Node398.a('node.borderwidth', 0);
- Node398.a('node.background','' || 'rgba(0,0,0,0)');
- Node398.a('node.gradient','');
- Node398.a('node.gradientcolor','');
- Node398.a('node.text','0');
- Node398.a('node.textalign','left');
- Node398.a('node.textvAlign','middle');
- Node398.a('node.textrect', [Node398textStart, 0, Node398textWidth, Node398height]);
- Node398.a('node.color','rgba(0,0,0,1)');
- Node398.a('node.font',' '+ Node398fontSize + 'px "Arial"');
- Node398.a('node.textvisible',true);
- Node398.a('node.linefeed',false);
- if (false) {
- Node398.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node398.a('node.text') || '0';
- var color=Node398.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node398width,Node398height,13.3333*_ratio.ratioY,"left",color,' '+ Node398fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node398.a('node.underlinepoints',[Node398lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node398fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node398fontSize + 'px "Arial"').width + 6, (Node398height - Node398fontSize) * 0.5*_ratio.ratioY + Node398fontSize + 2 ]);
- Node398.a('node.underlinevisible',false);
- Node398.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node398);
- zoomNodeList.push({
- node: Node398,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node399 = new ht.Node();
- var Node399textStart, Node399textWidth, Node399lineStart, Node399align = 'left', Node399fontSize = 13.3333*_ratio.ratioY,Node399width = 29*_ratio.ratioX, Node399height = 16*_ratio.ratioY;
- (function () {
- if (Node399align === 'left') {
- Node399textStart = Node399fontSize * 0.2 > 2 ? Node399fontSize * 0.2 - 4 : Node399fontSize * 0.2 - 9;
- Node399textWidth = Node399width;
- Node399lineStart = 1;
- } else if (Node399align === 'right') {
- Node399textStart = 0;
- Node399textWidth =Node399fontSize <= 8 ? Node399width + Node399fontSize * 0.2 + 6 : Node399width - Node399fontSize * 0.2;
- Node399lineStart = (Node399width - (ht.Default.getTextSize('0', ' '+ Node399fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node399align === 'center') {
- Node399textStart = -3;
- Node399textWidth = Node399width;
- Node399lineStart = Node399width - ht.Default.getTextSize('0', ' '+ Node399fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node399.setImage(GD.getTextJSON(Node399width, Node399height, true, false, false, ' '+ Node399fontSize + 'px "Arial"'))
- Node399.setPosition(1069*ratio.ratioX, 559*ratio.ratioY);
- Node399.setWidth(Node399width);
- Node399.setHeight(Node399height);
- Node399._nodeType = 'text';
- Node399._disallowEvert = true;
- Node399.setRotation(0*Math.PI/180);
- Node399.a('node.width', Node399width);
- Node399.a('node.height', Node399height);
- Node399.a('node.rect', [0, 0, Node399width, Node399height]);
- Node399.a('node.bordercolor','rgba(0,0,0,1)');
- Node399.a('node.borderwidth', 0);
- Node399.a('node.background','' || 'rgba(0,0,0,0)');
- Node399.a('node.gradient','');
- Node399.a('node.gradientcolor','');
- Node399.a('node.text','0');
- Node399.a('node.textalign','left');
- Node399.a('node.textvAlign','middle');
- Node399.a('node.textrect', [Node399textStart, 0, Node399textWidth, Node399height]);
- Node399.a('node.color','rgba(0,0,0,1)');
- Node399.a('node.font',' '+ Node399fontSize + 'px "Arial"');
- Node399.a('node.textvisible',true);
- Node399.a('node.linefeed',false);
- if (false) {
- Node399.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node399.a('node.text') || '0';
- var color=Node399.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node399width,Node399height,13.3333*_ratio.ratioY,"left",color,' '+ Node399fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node399.a('node.underlinepoints',[Node399lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node399fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node399fontSize + 'px "Arial"').width + 6, (Node399height - Node399fontSize) * 0.5*_ratio.ratioY + Node399fontSize + 2 ]);
- Node399.a('node.underlinevisible',false);
- Node399.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node399);
- zoomNodeList.push({
- node: Node399,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node400 = new ht.Node();
- var Node400textStart, Node400textWidth, Node400lineStart, Node400align = 'left', Node400fontSize = 13.3333*_ratio.ratioY,Node400width = 29*_ratio.ratioX, Node400height = 16*_ratio.ratioY;
- (function () {
- if (Node400align === 'left') {
- Node400textStart = Node400fontSize * 0.2 > 2 ? Node400fontSize * 0.2 - 4 : Node400fontSize * 0.2 - 9;
- Node400textWidth = Node400width;
- Node400lineStart = 1;
- } else if (Node400align === 'right') {
- Node400textStart = 0;
- Node400textWidth =Node400fontSize <= 8 ? Node400width + Node400fontSize * 0.2 + 6 : Node400width - Node400fontSize * 0.2;
- Node400lineStart = (Node400width - (ht.Default.getTextSize('0', ' '+ Node400fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node400align === 'center') {
- Node400textStart = -3;
- Node400textWidth = Node400width;
- Node400lineStart = Node400width - ht.Default.getTextSize('0', ' '+ Node400fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node400.setImage(GD.getTextJSON(Node400width, Node400height, true, false, false, ' '+ Node400fontSize + 'px "Arial"'))
- Node400.setPosition(1069*ratio.ratioX, 581*ratio.ratioY);
- Node400.setWidth(Node400width);
- Node400.setHeight(Node400height);
- Node400._nodeType = 'text';
- Node400._disallowEvert = true;
- Node400.setRotation(0*Math.PI/180);
- Node400.a('node.width', Node400width);
- Node400.a('node.height', Node400height);
- Node400.a('node.rect', [0, 0, Node400width, Node400height]);
- Node400.a('node.bordercolor','rgba(0,0,0,1)');
- Node400.a('node.borderwidth', 0);
- Node400.a('node.background','' || 'rgba(0,0,0,0)');
- Node400.a('node.gradient','');
- Node400.a('node.gradientcolor','');
- Node400.a('node.text','0');
- Node400.a('node.textalign','left');
- Node400.a('node.textvAlign','middle');
- Node400.a('node.textrect', [Node400textStart, 0, Node400textWidth, Node400height]);
- Node400.a('node.color','rgba(0,0,0,1)');
- Node400.a('node.font',' '+ Node400fontSize + 'px "Arial"');
- Node400.a('node.textvisible',true);
- Node400.a('node.linefeed',false);
- if (false) {
- Node400.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node400.a('node.text') || '0';
- var color=Node400.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node400width,Node400height,13.3333*_ratio.ratioY,"left",color,' '+ Node400fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node400.a('node.underlinepoints',[Node400lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node400fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node400fontSize + 'px "Arial"').width + 6, (Node400height - Node400fontSize) * 0.5*_ratio.ratioY + Node400fontSize + 2 ]);
- Node400.a('node.underlinevisible',false);
- Node400.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node400);
- zoomNodeList.push({
- node: Node400,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node401 = new ht.Node();
- var Node401textStart, Node401textWidth, Node401lineStart, Node401align = 'left', Node401fontSize = 13.3333*_ratio.ratioY,Node401width = 29*_ratio.ratioX, Node401height = 16*_ratio.ratioY;
- (function () {
- if (Node401align === 'left') {
- Node401textStart = Node401fontSize * 0.2 > 2 ? Node401fontSize * 0.2 - 4 : Node401fontSize * 0.2 - 9;
- Node401textWidth = Node401width;
- Node401lineStart = 1;
- } else if (Node401align === 'right') {
- Node401textStart = 0;
- Node401textWidth =Node401fontSize <= 8 ? Node401width + Node401fontSize * 0.2 + 6 : Node401width - Node401fontSize * 0.2;
- Node401lineStart = (Node401width - (ht.Default.getTextSize('0', ' '+ Node401fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node401align === 'center') {
- Node401textStart = -3;
- Node401textWidth = Node401width;
- Node401lineStart = Node401width - ht.Default.getTextSize('0', ' '+ Node401fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node401.setImage(GD.getTextJSON(Node401width, Node401height, true, false, false, ' '+ Node401fontSize + 'px "Arial"'))
- Node401.setPosition(1069*ratio.ratioX, 603*ratio.ratioY);
- Node401.setWidth(Node401width);
- Node401.setHeight(Node401height);
- Node401._nodeType = 'text';
- Node401._disallowEvert = true;
- Node401.setRotation(0*Math.PI/180);
- Node401.a('node.width', Node401width);
- Node401.a('node.height', Node401height);
- Node401.a('node.rect', [0, 0, Node401width, Node401height]);
- Node401.a('node.bordercolor','rgba(0,0,0,1)');
- Node401.a('node.borderwidth', 0);
- Node401.a('node.background','' || 'rgba(0,0,0,0)');
- Node401.a('node.gradient','');
- Node401.a('node.gradientcolor','');
- Node401.a('node.text','0');
- Node401.a('node.textalign','left');
- Node401.a('node.textvAlign','middle');
- Node401.a('node.textrect', [Node401textStart, 0, Node401textWidth, Node401height]);
- Node401.a('node.color','rgba(0,0,0,1)');
- Node401.a('node.font',' '+ Node401fontSize + 'px "Arial"');
- Node401.a('node.textvisible',true);
- Node401.a('node.linefeed',false);
- if (false) {
- Node401.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node401.a('node.text') || '0';
- var color=Node401.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node401width,Node401height,13.3333*_ratio.ratioY,"left",color,' '+ Node401fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node401.a('node.underlinepoints',[Node401lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node401fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node401fontSize + 'px "Arial"').width + 6, (Node401height - Node401fontSize) * 0.5*_ratio.ratioY + Node401fontSize + 2 ]);
- Node401.a('node.underlinevisible',false);
- Node401.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node401);
- zoomNodeList.push({
- node: Node401,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node402 = new ht.Node();
- var Node402textStart, Node402textWidth, Node402lineStart, Node402align = 'left', Node402fontSize = 13.3333*_ratio.ratioY,Node402width = 29*_ratio.ratioX, Node402height = 16*_ratio.ratioY;
- (function () {
- if (Node402align === 'left') {
- Node402textStart = Node402fontSize * 0.2 > 2 ? Node402fontSize * 0.2 - 4 : Node402fontSize * 0.2 - 9;
- Node402textWidth = Node402width;
- Node402lineStart = 1;
- } else if (Node402align === 'right') {
- Node402textStart = 0;
- Node402textWidth =Node402fontSize <= 8 ? Node402width + Node402fontSize * 0.2 + 6 : Node402width - Node402fontSize * 0.2;
- Node402lineStart = (Node402width - (ht.Default.getTextSize('0', ' '+ Node402fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node402align === 'center') {
- Node402textStart = -3;
- Node402textWidth = Node402width;
- Node402lineStart = Node402width - ht.Default.getTextSize('0', ' '+ Node402fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node402.setImage(GD.getTextJSON(Node402width, Node402height, true, false, false, ' '+ Node402fontSize + 'px "Arial"'))
- Node402.setPosition(1069*ratio.ratioX, 623*ratio.ratioY);
- Node402.setWidth(Node402width);
- Node402.setHeight(Node402height);
- Node402._nodeType = 'text';
- Node402._disallowEvert = true;
- Node402.setRotation(0*Math.PI/180);
- Node402.a('node.width', Node402width);
- Node402.a('node.height', Node402height);
- Node402.a('node.rect', [0, 0, Node402width, Node402height]);
- Node402.a('node.bordercolor','rgba(0,0,0,1)');
- Node402.a('node.borderwidth', 0);
- Node402.a('node.background','' || 'rgba(0,0,0,0)');
- Node402.a('node.gradient','');
- Node402.a('node.gradientcolor','');
- Node402.a('node.text','0');
- Node402.a('node.textalign','left');
- Node402.a('node.textvAlign','middle');
- Node402.a('node.textrect', [Node402textStart, 0, Node402textWidth, Node402height]);
- Node402.a('node.color','rgba(0,0,0,1)');
- Node402.a('node.font',' '+ Node402fontSize + 'px "Arial"');
- Node402.a('node.textvisible',true);
- Node402.a('node.linefeed',false);
- if (false) {
- Node402.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node402.a('node.text') || '0';
- var color=Node402.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node402width,Node402height,13.3333*_ratio.ratioY,"left",color,' '+ Node402fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node402.a('node.underlinepoints',[Node402lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node402fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node402fontSize + 'px "Arial"').width + 6, (Node402height - Node402fontSize) * 0.5*_ratio.ratioY + Node402fontSize + 2 ]);
- Node402.a('node.underlinevisible',false);
- Node402.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node402);
- zoomNodeList.push({
- node: Node402,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node403 = new ht.Node();
- var Node403textStart, Node403textWidth, Node403lineStart, Node403align = 'left', Node403fontSize = 13.3333*_ratio.ratioY,Node403width = 29*_ratio.ratioX, Node403height = 16*_ratio.ratioY;
- (function () {
- if (Node403align === 'left') {
- Node403textStart = Node403fontSize * 0.2 > 2 ? Node403fontSize * 0.2 - 4 : Node403fontSize * 0.2 - 9;
- Node403textWidth = Node403width;
- Node403lineStart = 1;
- } else if (Node403align === 'right') {
- Node403textStart = 0;
- Node403textWidth =Node403fontSize <= 8 ? Node403width + Node403fontSize * 0.2 + 6 : Node403width - Node403fontSize * 0.2;
- Node403lineStart = (Node403width - (ht.Default.getTextSize('Ia :', ' '+ Node403fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node403align === 'center') {
- Node403textStart = -3;
- Node403textWidth = Node403width;
- Node403lineStart = Node403width - ht.Default.getTextSize('Ia :', ' '+ Node403fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node403.setImage(GD.getTextJSON(Node403width, Node403height, true, false, false, ' '+ Node403fontSize + 'px "Arial"'))
- Node403.setPosition(201*ratio.ratioX, 806*ratio.ratioY);
- Node403.setWidth(Node403width);
- Node403.setHeight(Node403height);
- Node403._nodeType = 'text';
- Node403._disallowEvert = true;
- Node403.setRotation(0*Math.PI/180);
- Node403.a('node.width', Node403width);
- Node403.a('node.height', Node403height);
- Node403.a('node.rect', [0, 0, Node403width, Node403height]);
- Node403.a('node.bordercolor','rgba(255,0,255,1)');
- Node403.a('node.borderwidth', 0);
- Node403.a('node.background','' || 'rgba(0,0,0,0)');
- Node403.a('node.gradient','');
- Node403.a('node.gradientcolor','');
- Node403.a('node.text','Ia :');
- Node403.a('node.textalign','left');
- Node403.a('node.textvAlign','middle');
- Node403.a('node.textrect', [Node403textStart, 0, Node403textWidth, Node403height]);
- Node403.a('node.color','rgba(255,0,255,1)');
- Node403.a('node.font',' '+ Node403fontSize + 'px "Arial"');
- Node403.a('node.textvisible',true);
- Node403.a('node.linefeed',false);
- if (false) {
- Node403.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node403.a('node.text') || 'Ia :';
- var color=Node403.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node403width,Node403height,13.3333*_ratio.ratioY,"left",color,' '+ Node403fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node403.a('node.underlinepoints',[Node403lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node403fontSize + 2 , ht.Default.getTextSize('Ia :', ' '+ Node403fontSize + 'px "Arial"').width + 6, (Node403height - Node403fontSize) * 0.5*_ratio.ratioY + Node403fontSize + 2 ]);
- Node403.a('node.underlinevisible',false);
- Node403.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node403);
- zoomNodeList.push({
- node: Node403,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node404 = new ht.Node();
- var Node404textStart, Node404textWidth, Node404lineStart, Node404align = 'left', Node404fontSize = 13.3333*_ratio.ratioY,Node404width = 29*_ratio.ratioX, Node404height = 16*_ratio.ratioY;
- (function () {
- if (Node404align === 'left') {
- Node404textStart = Node404fontSize * 0.2 > 2 ? Node404fontSize * 0.2 - 4 : Node404fontSize * 0.2 - 9;
- Node404textWidth = Node404width;
- Node404lineStart = 1;
- } else if (Node404align === 'right') {
- Node404textStart = 0;
- Node404textWidth =Node404fontSize <= 8 ? Node404width + Node404fontSize * 0.2 + 6 : Node404width - Node404fontSize * 0.2;
- Node404lineStart = (Node404width - (ht.Default.getTextSize('P :', ' '+ Node404fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node404align === 'center') {
- Node404textStart = -3;
- Node404textWidth = Node404width;
- Node404lineStart = Node404width - ht.Default.getTextSize('P :', ' '+ Node404fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node404.setImage(GD.getTextJSON(Node404width, Node404height, true, false, false, ' '+ Node404fontSize + 'px "Arial"'))
- Node404.setPosition(201*ratio.ratioX, 829*ratio.ratioY);
- Node404.setWidth(Node404width);
- Node404.setHeight(Node404height);
- Node404._nodeType = 'text';
- Node404._disallowEvert = true;
- Node404.setRotation(0*Math.PI/180);
- Node404.a('node.width', Node404width);
- Node404.a('node.height', Node404height);
- Node404.a('node.rect', [0, 0, Node404width, Node404height]);
- Node404.a('node.bordercolor','rgba(0,0,0,1)');
- Node404.a('node.borderwidth', 0);
- Node404.a('node.background','' || 'rgba(0,0,0,0)');
- Node404.a('node.gradient','');
- Node404.a('node.gradientcolor','');
- Node404.a('node.text','P :');
- Node404.a('node.textalign','left');
- Node404.a('node.textvAlign','middle');
- Node404.a('node.textrect', [Node404textStart, 0, Node404textWidth, Node404height]);
- Node404.a('node.color','rgba(0,0,0,1)');
- Node404.a('node.font',' '+ Node404fontSize + 'px "Arial"');
- Node404.a('node.textvisible',true);
- Node404.a('node.linefeed',false);
- if (false) {
- Node404.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node404.a('node.text') || 'P :';
- var color=Node404.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node404width,Node404height,13.3333*_ratio.ratioY,"left",color,' '+ Node404fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node404.a('node.underlinepoints',[Node404lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node404fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node404fontSize + 'px "Arial"').width + 6, (Node404height - Node404fontSize) * 0.5*_ratio.ratioY + Node404fontSize + 2 ]);
- Node404.a('node.underlinevisible',false);
- Node404.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node404);
- zoomNodeList.push({
- node: Node404,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node405 = new ht.Node();
- var Node405textStart, Node405textWidth, Node405lineStart, Node405align = 'left', Node405fontSize = 13.3333*_ratio.ratioY,Node405width = 29*_ratio.ratioX, Node405height = 16*_ratio.ratioY;
- (function () {
- if (Node405align === 'left') {
- Node405textStart = Node405fontSize * 0.2 > 2 ? Node405fontSize * 0.2 - 4 : Node405fontSize * 0.2 - 9;
- Node405textWidth = Node405width;
- Node405lineStart = 1;
- } else if (Node405align === 'right') {
- Node405textStart = 0;
- Node405textWidth =Node405fontSize <= 8 ? Node405width + Node405fontSize * 0.2 + 6 : Node405width - Node405fontSize * 0.2;
- Node405lineStart = (Node405width - (ht.Default.getTextSize('Q :', ' '+ Node405fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node405align === 'center') {
- Node405textStart = -3;
- Node405textWidth = Node405width;
- Node405lineStart = Node405width - ht.Default.getTextSize('Q :', ' '+ Node405fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node405.setImage(GD.getTextJSON(Node405width, Node405height, true, false, false, ' '+ Node405fontSize + 'px "Arial"'))
- Node405.setPosition(201*ratio.ratioX, 850*ratio.ratioY);
- Node405.setWidth(Node405width);
- Node405.setHeight(Node405height);
- Node405._nodeType = 'text';
- Node405._disallowEvert = true;
- Node405.setRotation(0*Math.PI/180);
- Node405.a('node.width', Node405width);
- Node405.a('node.height', Node405height);
- Node405.a('node.rect', [0, 0, Node405width, Node405height]);
- Node405.a('node.bordercolor','rgba(0,0,0,1)');
- Node405.a('node.borderwidth', 0);
- Node405.a('node.background','' || 'rgba(0,0,0,0)');
- Node405.a('node.gradient','');
- Node405.a('node.gradientcolor','');
- Node405.a('node.text','Q :');
- Node405.a('node.textalign','left');
- Node405.a('node.textvAlign','middle');
- Node405.a('node.textrect', [Node405textStart, 0, Node405textWidth, Node405height]);
- Node405.a('node.color','rgba(0,0,0,1)');
- Node405.a('node.font',' '+ Node405fontSize + 'px "Arial"');
- Node405.a('node.textvisible',true);
- Node405.a('node.linefeed',false);
- if (false) {
- Node405.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node405.a('node.text') || 'Q :';
- var color=Node405.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node405width,Node405height,13.3333*_ratio.ratioY,"left",color,' '+ Node405fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node405.a('node.underlinepoints',[Node405lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node405fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node405fontSize + 'px "Arial"').width + 6, (Node405height - Node405fontSize) * 0.5*_ratio.ratioY + Node405fontSize + 2 ]);
- Node405.a('node.underlinevisible',false);
- Node405.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node405);
- zoomNodeList.push({
- node: Node405,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node406 = new ht.Node();
- var Node406textStart, Node406textWidth, Node406lineStart, Node406align = 'left', Node406fontSize = 13.3333*_ratio.ratioY,Node406width = 41*_ratio.ratioX, Node406height = 16*_ratio.ratioY;
- (function () {
- if (Node406align === 'left') {
- Node406textStart = Node406fontSize * 0.2 > 2 ? Node406fontSize * 0.2 - 4 : Node406fontSize * 0.2 - 9;
- Node406textWidth = Node406width;
- Node406lineStart = 1;
- } else if (Node406align === 'right') {
- Node406textStart = 0;
- Node406textWidth =Node406fontSize <= 8 ? Node406width + Node406fontSize * 0.2 + 6 : Node406width - Node406fontSize * 0.2;
- Node406lineStart = (Node406width - (ht.Default.getTextSize('COS :', ' '+ Node406fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node406align === 'center') {
- Node406textStart = -3;
- Node406textWidth = Node406width;
- Node406lineStart = Node406width - ht.Default.getTextSize('COS :', ' '+ Node406fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node406.setImage(GD.getTextJSON(Node406width, Node406height, true, false, false, ' '+ Node406fontSize + 'px "Arial"'))
- Node406.setPosition(188*ratio.ratioX, 870*ratio.ratioY);
- Node406.setWidth(Node406width);
- Node406.setHeight(Node406height);
- Node406._nodeType = 'text';
- Node406._disallowEvert = true;
- Node406.setRotation(0*Math.PI/180);
- Node406.a('node.width', Node406width);
- Node406.a('node.height', Node406height);
- Node406.a('node.rect', [0, 0, Node406width, Node406height]);
- Node406.a('node.bordercolor','rgba(0,0,0,1)');
- Node406.a('node.borderwidth', 0);
- Node406.a('node.background','' || 'rgba(0,0,0,0)');
- Node406.a('node.gradient','');
- Node406.a('node.gradientcolor','');
- Node406.a('node.text','COS :');
- Node406.a('node.textalign','left');
- Node406.a('node.textvAlign','middle');
- Node406.a('node.textrect', [Node406textStart, 0, Node406textWidth, Node406height]);
- Node406.a('node.color','rgba(0,0,0,1)');
- Node406.a('node.font',' '+ Node406fontSize + 'px "Arial"');
- Node406.a('node.textvisible',true);
- Node406.a('node.linefeed',false);
- if (false) {
- Node406.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node406.a('node.text') || 'COS :';
- var color=Node406.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node406width,Node406height,13.3333*_ratio.ratioY,"left",color,' '+ Node406fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node406.a('node.underlinepoints',[Node406lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node406fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node406fontSize + 'px "Arial"').width + 6, (Node406height - Node406fontSize) * 0.5*_ratio.ratioY + Node406fontSize + 2 ]);
- Node406.a('node.underlinevisible',false);
- Node406.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node406);
- zoomNodeList.push({
- node: Node406,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node407 = new ht.Node();
- var Node407textStart, Node407textWidth, Node407lineStart, Node407align = 'left', Node407fontSize = 13.3333*_ratio.ratioY,Node407width = 29*_ratio.ratioX, Node407height = 16*_ratio.ratioY;
- (function () {
- if (Node407align === 'left') {
- Node407textStart = Node407fontSize * 0.2 > 2 ? Node407fontSize * 0.2 - 4 : Node407fontSize * 0.2 - 9;
- Node407textWidth = Node407width;
- Node407lineStart = 1;
- } else if (Node407align === 'right') {
- Node407textStart = 0;
- Node407textWidth =Node407fontSize <= 8 ? Node407width + Node407fontSize * 0.2 + 6 : Node407width - Node407fontSize * 0.2;
- Node407lineStart = (Node407width - (ht.Default.getTextSize('0', ' '+ Node407fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node407align === 'center') {
- Node407textStart = -3;
- Node407textWidth = Node407width;
- Node407lineStart = Node407width - ht.Default.getTextSize('0', ' '+ Node407fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node407.setImage(GD.getTextJSON(Node407width, Node407height, true, false, false, ' '+ Node407fontSize + 'px "Arial"'))
- Node407.setPosition(226*ratio.ratioX, 807*ratio.ratioY);
- Node407.setWidth(Node407width);
- Node407.setHeight(Node407height);
- Node407._nodeType = 'text';
- Node407._disallowEvert = true;
- Node407.setRotation(0*Math.PI/180);
- Node407.a('node.width', Node407width);
- Node407.a('node.height', Node407height);
- Node407.a('node.rect', [0, 0, Node407width, Node407height]);
- Node407.a('node.bordercolor','rgba(0,0,0,1)');
- Node407.a('node.borderwidth', 0);
- Node407.a('node.background','' || 'rgba(0,0,0,0)');
- Node407.a('node.gradient','');
- Node407.a('node.gradientcolor','');
- Node407.a('node.text','0');
- Node407.a('node.textalign','left');
- Node407.a('node.textvAlign','middle');
- Node407.a('node.textrect', [Node407textStart, 0, Node407textWidth, Node407height]);
- Node407.a('node.color','rgba(0,0,0,1)');
- Node407.a('node.font',' '+ Node407fontSize + 'px "Arial"');
- Node407.a('node.textvisible',true);
- Node407.a('node.linefeed',false);
- if (false) {
- Node407.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node407.a('node.text') || '0';
- var color=Node407.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node407width,Node407height,13.3333*_ratio.ratioY,"left",color,' '+ Node407fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node407.a('node.underlinepoints',[Node407lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node407fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node407fontSize + 'px "Arial"').width + 6, (Node407height - Node407fontSize) * 0.5*_ratio.ratioY + Node407fontSize + 2 ]);
- Node407.a('node.underlinevisible',false);
- Node407.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node407);
- zoomNodeList.push({
- node: Node407,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node408 = new ht.Node();
- var Node408textStart, Node408textWidth, Node408lineStart, Node408align = 'left', Node408fontSize = 13.3333*_ratio.ratioY,Node408width = 29*_ratio.ratioX, Node408height = 16*_ratio.ratioY;
- (function () {
- if (Node408align === 'left') {
- Node408textStart = Node408fontSize * 0.2 > 2 ? Node408fontSize * 0.2 - 4 : Node408fontSize * 0.2 - 9;
- Node408textWidth = Node408width;
- Node408lineStart = 1;
- } else if (Node408align === 'right') {
- Node408textStart = 0;
- Node408textWidth =Node408fontSize <= 8 ? Node408width + Node408fontSize * 0.2 + 6 : Node408width - Node408fontSize * 0.2;
- Node408lineStart = (Node408width - (ht.Default.getTextSize('0', ' '+ Node408fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node408align === 'center') {
- Node408textStart = -3;
- Node408textWidth = Node408width;
- Node408lineStart = Node408width - ht.Default.getTextSize('0', ' '+ Node408fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node408.setImage(GD.getTextJSON(Node408width, Node408height, true, false, false, ' '+ Node408fontSize + 'px "Arial"'))
- Node408.setPosition(226*ratio.ratioX, 830*ratio.ratioY);
- Node408.setWidth(Node408width);
- Node408.setHeight(Node408height);
- Node408._nodeType = 'text';
- Node408._disallowEvert = true;
- Node408.setRotation(0*Math.PI/180);
- Node408.a('node.width', Node408width);
- Node408.a('node.height', Node408height);
- Node408.a('node.rect', [0, 0, Node408width, Node408height]);
- Node408.a('node.bordercolor','rgba(0,0,0,1)');
- Node408.a('node.borderwidth', 0);
- Node408.a('node.background','' || 'rgba(0,0,0,0)');
- Node408.a('node.gradient','');
- Node408.a('node.gradientcolor','');
- Node408.a('node.text','0');
- Node408.a('node.textalign','left');
- Node408.a('node.textvAlign','middle');
- Node408.a('node.textrect', [Node408textStart, 0, Node408textWidth, Node408height]);
- Node408.a('node.color','rgba(0,0,0,1)');
- Node408.a('node.font',' '+ Node408fontSize + 'px "Arial"');
- Node408.a('node.textvisible',true);
- Node408.a('node.linefeed',false);
- if (false) {
- Node408.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node408.a('node.text') || '0';
- var color=Node408.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node408width,Node408height,13.3333*_ratio.ratioY,"left",color,' '+ Node408fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node408.a('node.underlinepoints',[Node408lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node408fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node408fontSize + 'px "Arial"').width + 6, (Node408height - Node408fontSize) * 0.5*_ratio.ratioY + Node408fontSize + 2 ]);
- Node408.a('node.underlinevisible',false);
- Node408.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node408);
- zoomNodeList.push({
- node: Node408,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node409 = new ht.Node();
- var Node409textStart, Node409textWidth, Node409lineStart, Node409align = 'left', Node409fontSize = 13.3333*_ratio.ratioY,Node409width = 29*_ratio.ratioX, Node409height = 16*_ratio.ratioY;
- (function () {
- if (Node409align === 'left') {
- Node409textStart = Node409fontSize * 0.2 > 2 ? Node409fontSize * 0.2 - 4 : Node409fontSize * 0.2 - 9;
- Node409textWidth = Node409width;
- Node409lineStart = 1;
- } else if (Node409align === 'right') {
- Node409textStart = 0;
- Node409textWidth =Node409fontSize <= 8 ? Node409width + Node409fontSize * 0.2 + 6 : Node409width - Node409fontSize * 0.2;
- Node409lineStart = (Node409width - (ht.Default.getTextSize('0', ' '+ Node409fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node409align === 'center') {
- Node409textStart = -3;
- Node409textWidth = Node409width;
- Node409lineStart = Node409width - ht.Default.getTextSize('0', ' '+ Node409fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node409.setImage(GD.getTextJSON(Node409width, Node409height, true, false, false, ' '+ Node409fontSize + 'px "Arial"'))
- Node409.setPosition(226*ratio.ratioX, 851*ratio.ratioY);
- Node409.setWidth(Node409width);
- Node409.setHeight(Node409height);
- Node409._nodeType = 'text';
- Node409._disallowEvert = true;
- Node409.setRotation(0*Math.PI/180);
- Node409.a('node.width', Node409width);
- Node409.a('node.height', Node409height);
- Node409.a('node.rect', [0, 0, Node409width, Node409height]);
- Node409.a('node.bordercolor','rgba(0,0,0,1)');
- Node409.a('node.borderwidth', 0);
- Node409.a('node.background','' || 'rgba(0,0,0,0)');
- Node409.a('node.gradient','');
- Node409.a('node.gradientcolor','');
- Node409.a('node.text','0');
- Node409.a('node.textalign','left');
- Node409.a('node.textvAlign','middle');
- Node409.a('node.textrect', [Node409textStart, 0, Node409textWidth, Node409height]);
- Node409.a('node.color','rgba(0,0,0,1)');
- Node409.a('node.font',' '+ Node409fontSize + 'px "Arial"');
- Node409.a('node.textvisible',true);
- Node409.a('node.linefeed',false);
- if (false) {
- Node409.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node409.a('node.text') || '0';
- var color=Node409.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node409width,Node409height,13.3333*_ratio.ratioY,"left",color,' '+ Node409fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node409.a('node.underlinepoints',[Node409lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node409fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node409fontSize + 'px "Arial"').width + 6, (Node409height - Node409fontSize) * 0.5*_ratio.ratioY + Node409fontSize + 2 ]);
- Node409.a('node.underlinevisible',false);
- Node409.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node409);
- zoomNodeList.push({
- node: Node409,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node410 = new ht.Node();
- var Node410textStart, Node410textWidth, Node410lineStart, Node410align = 'left', Node410fontSize = 13.3333*_ratio.ratioY,Node410width = 29*_ratio.ratioX, Node410height = 16*_ratio.ratioY;
- (function () {
- if (Node410align === 'left') {
- Node410textStart = Node410fontSize * 0.2 > 2 ? Node410fontSize * 0.2 - 4 : Node410fontSize * 0.2 - 9;
- Node410textWidth = Node410width;
- Node410lineStart = 1;
- } else if (Node410align === 'right') {
- Node410textStart = 0;
- Node410textWidth =Node410fontSize <= 8 ? Node410width + Node410fontSize * 0.2 + 6 : Node410width - Node410fontSize * 0.2;
- Node410lineStart = (Node410width - (ht.Default.getTextSize('0', ' '+ Node410fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node410align === 'center') {
- Node410textStart = -3;
- Node410textWidth = Node410width;
- Node410lineStart = Node410width - ht.Default.getTextSize('0', ' '+ Node410fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node410.setImage(GD.getTextJSON(Node410width, Node410height, true, false, false, ' '+ Node410fontSize + 'px "Arial"'))
- Node410.setPosition(226*ratio.ratioX, 871*ratio.ratioY);
- Node410.setWidth(Node410width);
- Node410.setHeight(Node410height);
- Node410._nodeType = 'text';
- Node410._disallowEvert = true;
- Node410.setRotation(0*Math.PI/180);
- Node410.a('node.width', Node410width);
- Node410.a('node.height', Node410height);
- Node410.a('node.rect', [0, 0, Node410width, Node410height]);
- Node410.a('node.bordercolor','rgba(0,0,0,1)');
- Node410.a('node.borderwidth', 0);
- Node410.a('node.background','' || 'rgba(0,0,0,0)');
- Node410.a('node.gradient','');
- Node410.a('node.gradientcolor','');
- Node410.a('node.text','0');
- Node410.a('node.textalign','left');
- Node410.a('node.textvAlign','middle');
- Node410.a('node.textrect', [Node410textStart, 0, Node410textWidth, Node410height]);
- Node410.a('node.color','rgba(0,0,0,1)');
- Node410.a('node.font',' '+ Node410fontSize + 'px "Arial"');
- Node410.a('node.textvisible',true);
- Node410.a('node.linefeed',false);
- if (false) {
- Node410.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node410.a('node.text') || '0';
- var color=Node410.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node410width,Node410height,13.3333*_ratio.ratioY,"left",color,' '+ Node410fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node410.a('node.underlinepoints',[Node410lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node410fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node410fontSize + 'px "Arial"').width + 6, (Node410height - Node410fontSize) * 0.5*_ratio.ratioY + Node410fontSize + 2 ]);
- Node410.a('node.underlinevisible',false);
- Node410.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node410);
- zoomNodeList.push({
- node: Node410,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node411 = new ht.Node();
- var Node411textStart, Node411textWidth, Node411lineStart, Node411align = 'left', Node411fontSize = 13.3333*_ratio.ratioY,Node411width = 29*_ratio.ratioX, Node411height = 16*_ratio.ratioY;
- (function () {
- if (Node411align === 'left') {
- Node411textStart = Node411fontSize * 0.2 > 2 ? Node411fontSize * 0.2 - 4 : Node411fontSize * 0.2 - 9;
- Node411textWidth = Node411width;
- Node411lineStart = 1;
- } else if (Node411align === 'right') {
- Node411textStart = 0;
- Node411textWidth =Node411fontSize <= 8 ? Node411width + Node411fontSize * 0.2 + 6 : Node411width - Node411fontSize * 0.2;
- Node411lineStart = (Node411width - (ht.Default.getTextSize('0', ' '+ Node411fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node411align === 'center') {
- Node411textStart = -3;
- Node411textWidth = Node411width;
- Node411lineStart = Node411width - ht.Default.getTextSize('0', ' '+ Node411fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node411.setImage(GD.getTextJSON(Node411width, Node411height, true, false, false, ' '+ Node411fontSize + 'px "Arial"'))
- Node411.setPosition(403*ratio.ratioX, 806*ratio.ratioY);
- Node411.setWidth(Node411width);
- Node411.setHeight(Node411height);
- Node411._nodeType = 'text';
- Node411._disallowEvert = true;
- Node411.setRotation(0*Math.PI/180);
- Node411.a('node.width', Node411width);
- Node411.a('node.height', Node411height);
- Node411.a('node.rect', [0, 0, Node411width, Node411height]);
- Node411.a('node.bordercolor','rgba(0,0,0,1)');
- Node411.a('node.borderwidth', 0);
- Node411.a('node.background','' || 'rgba(0,0,0,0)');
- Node411.a('node.gradient','');
- Node411.a('node.gradientcolor','');
- Node411.a('node.text','0');
- Node411.a('node.textalign','left');
- Node411.a('node.textvAlign','middle');
- Node411.a('node.textrect', [Node411textStart, 0, Node411textWidth, Node411height]);
- Node411.a('node.color','rgba(0,0,0,1)');
- Node411.a('node.font',' '+ Node411fontSize + 'px "Arial"');
- Node411.a('node.textvisible',true);
- Node411.a('node.linefeed',false);
- if (false) {
- Node411.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node411.a('node.text') || '0';
- var color=Node411.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node411width,Node411height,13.3333*_ratio.ratioY,"left",color,' '+ Node411fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node411.a('node.underlinepoints',[Node411lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node411fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node411fontSize + 'px "Arial"').width + 6, (Node411height - Node411fontSize) * 0.5*_ratio.ratioY + Node411fontSize + 2 ]);
- Node411.a('node.underlinevisible',false);
- Node411.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node411);
- zoomNodeList.push({
- node: Node411,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node412 = new ht.Node();
- var Node412textStart, Node412textWidth, Node412lineStart, Node412align = 'left', Node412fontSize = 13.3333*_ratio.ratioY,Node412width = 29*_ratio.ratioX, Node412height = 16*_ratio.ratioY;
- (function () {
- if (Node412align === 'left') {
- Node412textStart = Node412fontSize * 0.2 > 2 ? Node412fontSize * 0.2 - 4 : Node412fontSize * 0.2 - 9;
- Node412textWidth = Node412width;
- Node412lineStart = 1;
- } else if (Node412align === 'right') {
- Node412textStart = 0;
- Node412textWidth =Node412fontSize <= 8 ? Node412width + Node412fontSize * 0.2 + 6 : Node412width - Node412fontSize * 0.2;
- Node412lineStart = (Node412width - (ht.Default.getTextSize('0', ' '+ Node412fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node412align === 'center') {
- Node412textStart = -3;
- Node412textWidth = Node412width;
- Node412lineStart = Node412width - ht.Default.getTextSize('0', ' '+ Node412fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node412.setImage(GD.getTextJSON(Node412width, Node412height, true, false, false, ' '+ Node412fontSize + 'px "Arial"'))
- Node412.setPosition(403*ratio.ratioX, 829*ratio.ratioY);
- Node412.setWidth(Node412width);
- Node412.setHeight(Node412height);
- Node412._nodeType = 'text';
- Node412._disallowEvert = true;
- Node412.setRotation(0*Math.PI/180);
- Node412.a('node.width', Node412width);
- Node412.a('node.height', Node412height);
- Node412.a('node.rect', [0, 0, Node412width, Node412height]);
- Node412.a('node.bordercolor','rgba(0,0,0,1)');
- Node412.a('node.borderwidth', 0);
- Node412.a('node.background','' || 'rgba(0,0,0,0)');
- Node412.a('node.gradient','');
- Node412.a('node.gradientcolor','');
- Node412.a('node.text','0');
- Node412.a('node.textalign','left');
- Node412.a('node.textvAlign','middle');
- Node412.a('node.textrect', [Node412textStart, 0, Node412textWidth, Node412height]);
- Node412.a('node.color','rgba(0,0,0,1)');
- Node412.a('node.font',' '+ Node412fontSize + 'px "Arial"');
- Node412.a('node.textvisible',true);
- Node412.a('node.linefeed',false);
- if (false) {
- Node412.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node412.a('node.text') || '0';
- var color=Node412.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node412width,Node412height,13.3333*_ratio.ratioY,"left",color,' '+ Node412fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node412.a('node.underlinepoints',[Node412lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node412fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node412fontSize + 'px "Arial"').width + 6, (Node412height - Node412fontSize) * 0.5*_ratio.ratioY + Node412fontSize + 2 ]);
- Node412.a('node.underlinevisible',false);
- Node412.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node412);
- zoomNodeList.push({
- node: Node412,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node413 = new ht.Node();
- var Node413textStart, Node413textWidth, Node413lineStart, Node413align = 'left', Node413fontSize = 13.3333*_ratio.ratioY,Node413width = 29*_ratio.ratioX, Node413height = 16*_ratio.ratioY;
- (function () {
- if (Node413align === 'left') {
- Node413textStart = Node413fontSize * 0.2 > 2 ? Node413fontSize * 0.2 - 4 : Node413fontSize * 0.2 - 9;
- Node413textWidth = Node413width;
- Node413lineStart = 1;
- } else if (Node413align === 'right') {
- Node413textStart = 0;
- Node413textWidth =Node413fontSize <= 8 ? Node413width + Node413fontSize * 0.2 + 6 : Node413width - Node413fontSize * 0.2;
- Node413lineStart = (Node413width - (ht.Default.getTextSize('0', ' '+ Node413fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node413align === 'center') {
- Node413textStart = -3;
- Node413textWidth = Node413width;
- Node413lineStart = Node413width - ht.Default.getTextSize('0', ' '+ Node413fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node413.setImage(GD.getTextJSON(Node413width, Node413height, true, false, false, ' '+ Node413fontSize + 'px "Arial"'))
- Node413.setPosition(403*ratio.ratioX, 850*ratio.ratioY);
- Node413.setWidth(Node413width);
- Node413.setHeight(Node413height);
- Node413._nodeType = 'text';
- Node413._disallowEvert = true;
- Node413.setRotation(0*Math.PI/180);
- Node413.a('node.width', Node413width);
- Node413.a('node.height', Node413height);
- Node413.a('node.rect', [0, 0, Node413width, Node413height]);
- Node413.a('node.bordercolor','rgba(0,0,0,1)');
- Node413.a('node.borderwidth', 0);
- Node413.a('node.background','' || 'rgba(0,0,0,0)');
- Node413.a('node.gradient','');
- Node413.a('node.gradientcolor','');
- Node413.a('node.text','0');
- Node413.a('node.textalign','left');
- Node413.a('node.textvAlign','middle');
- Node413.a('node.textrect', [Node413textStart, 0, Node413textWidth, Node413height]);
- Node413.a('node.color','rgba(0,0,0,1)');
- Node413.a('node.font',' '+ Node413fontSize + 'px "Arial"');
- Node413.a('node.textvisible',true);
- Node413.a('node.linefeed',false);
- if (false) {
- Node413.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node413.a('node.text') || '0';
- var color=Node413.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node413width,Node413height,13.3333*_ratio.ratioY,"left",color,' '+ Node413fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node413.a('node.underlinepoints',[Node413lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node413fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node413fontSize + 'px "Arial"').width + 6, (Node413height - Node413fontSize) * 0.5*_ratio.ratioY + Node413fontSize + 2 ]);
- Node413.a('node.underlinevisible',false);
- Node413.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node413);
- zoomNodeList.push({
- node: Node413,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node414 = new ht.Node();
- var Node414textStart, Node414textWidth, Node414lineStart, Node414align = 'left', Node414fontSize = 13.3333*_ratio.ratioY,Node414width = 29*_ratio.ratioX, Node414height = 16*_ratio.ratioY;
- (function () {
- if (Node414align === 'left') {
- Node414textStart = Node414fontSize * 0.2 > 2 ? Node414fontSize * 0.2 - 4 : Node414fontSize * 0.2 - 9;
- Node414textWidth = Node414width;
- Node414lineStart = 1;
- } else if (Node414align === 'right') {
- Node414textStart = 0;
- Node414textWidth =Node414fontSize <= 8 ? Node414width + Node414fontSize * 0.2 + 6 : Node414width - Node414fontSize * 0.2;
- Node414lineStart = (Node414width - (ht.Default.getTextSize('0', ' '+ Node414fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node414align === 'center') {
- Node414textStart = -3;
- Node414textWidth = Node414width;
- Node414lineStart = Node414width - ht.Default.getTextSize('0', ' '+ Node414fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node414.setImage(GD.getTextJSON(Node414width, Node414height, true, false, false, ' '+ Node414fontSize + 'px "Arial"'))
- Node414.setPosition(403*ratio.ratioX, 870*ratio.ratioY);
- Node414.setWidth(Node414width);
- Node414.setHeight(Node414height);
- Node414._nodeType = 'text';
- Node414._disallowEvert = true;
- Node414.setRotation(0*Math.PI/180);
- Node414.a('node.width', Node414width);
- Node414.a('node.height', Node414height);
- Node414.a('node.rect', [0, 0, Node414width, Node414height]);
- Node414.a('node.bordercolor','rgba(0,0,0,1)');
- Node414.a('node.borderwidth', 0);
- Node414.a('node.background','' || 'rgba(0,0,0,0)');
- Node414.a('node.gradient','');
- Node414.a('node.gradientcolor','');
- Node414.a('node.text','0');
- Node414.a('node.textalign','left');
- Node414.a('node.textvAlign','middle');
- Node414.a('node.textrect', [Node414textStart, 0, Node414textWidth, Node414height]);
- Node414.a('node.color','rgba(0,0,0,1)');
- Node414.a('node.font',' '+ Node414fontSize + 'px "Arial"');
- Node414.a('node.textvisible',true);
- Node414.a('node.linefeed',false);
- if (false) {
- Node414.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node414.a('node.text') || '0';
- var color=Node414.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node414width,Node414height,13.3333*_ratio.ratioY,"left",color,' '+ Node414fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node414.a('node.underlinepoints',[Node414lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node414fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node414fontSize + 'px "Arial"').width + 6, (Node414height - Node414fontSize) * 0.5*_ratio.ratioY + Node414fontSize + 2 ]);
- Node414.a('node.underlinevisible',false);
- Node414.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node414);
- zoomNodeList.push({
- node: Node414,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node415 = new ht.Node();
- var Node415textStart, Node415textWidth, Node415lineStart, Node415align = 'left', Node415fontSize = 13.3333*_ratio.ratioY,Node415width = 29*_ratio.ratioX, Node415height = 16*_ratio.ratioY;
- (function () {
- if (Node415align === 'left') {
- Node415textStart = Node415fontSize * 0.2 > 2 ? Node415fontSize * 0.2 - 4 : Node415fontSize * 0.2 - 9;
- Node415textWidth = Node415width;
- Node415lineStart = 1;
- } else if (Node415align === 'right') {
- Node415textStart = 0;
- Node415textWidth =Node415fontSize <= 8 ? Node415width + Node415fontSize * 0.2 + 6 : Node415width - Node415fontSize * 0.2;
- Node415lineStart = (Node415width - (ht.Default.getTextSize('0', ' '+ Node415fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node415align === 'center') {
- Node415textStart = -3;
- Node415textWidth = Node415width;
- Node415lineStart = Node415width - ht.Default.getTextSize('0', ' '+ Node415fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node415.setImage(GD.getTextJSON(Node415width, Node415height, true, false, false, ' '+ Node415fontSize + 'px "Arial"'))
- Node415.setPosition(574*ratio.ratioX, 806*ratio.ratioY);
- Node415.setWidth(Node415width);
- Node415.setHeight(Node415height);
- Node415._nodeType = 'text';
- Node415._disallowEvert = true;
- Node415.setRotation(0*Math.PI/180);
- Node415.a('node.width', Node415width);
- Node415.a('node.height', Node415height);
- Node415.a('node.rect', [0, 0, Node415width, Node415height]);
- Node415.a('node.bordercolor','rgba(0,0,0,1)');
- Node415.a('node.borderwidth', 0);
- Node415.a('node.background','' || 'rgba(0,0,0,0)');
- Node415.a('node.gradient','');
- Node415.a('node.gradientcolor','');
- Node415.a('node.text','0');
- Node415.a('node.textalign','left');
- Node415.a('node.textvAlign','middle');
- Node415.a('node.textrect', [Node415textStart, 0, Node415textWidth, Node415height]);
- Node415.a('node.color','rgba(0,0,0,1)');
- Node415.a('node.font',' '+ Node415fontSize + 'px "Arial"');
- Node415.a('node.textvisible',true);
- Node415.a('node.linefeed',false);
- if (false) {
- Node415.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node415.a('node.text') || '0';
- var color=Node415.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node415width,Node415height,13.3333*_ratio.ratioY,"left",color,' '+ Node415fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node415.a('node.underlinepoints',[Node415lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node415fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node415fontSize + 'px "Arial"').width + 6, (Node415height - Node415fontSize) * 0.5*_ratio.ratioY + Node415fontSize + 2 ]);
- Node415.a('node.underlinevisible',false);
- Node415.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node415);
- zoomNodeList.push({
- node: Node415,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node416 = new ht.Node();
- var Node416textStart, Node416textWidth, Node416lineStart, Node416align = 'left', Node416fontSize = 13.3333*_ratio.ratioY,Node416width = 29*_ratio.ratioX, Node416height = 16*_ratio.ratioY;
- (function () {
- if (Node416align === 'left') {
- Node416textStart = Node416fontSize * 0.2 > 2 ? Node416fontSize * 0.2 - 4 : Node416fontSize * 0.2 - 9;
- Node416textWidth = Node416width;
- Node416lineStart = 1;
- } else if (Node416align === 'right') {
- Node416textStart = 0;
- Node416textWidth =Node416fontSize <= 8 ? Node416width + Node416fontSize * 0.2 + 6 : Node416width - Node416fontSize * 0.2;
- Node416lineStart = (Node416width - (ht.Default.getTextSize('0', ' '+ Node416fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node416align === 'center') {
- Node416textStart = -3;
- Node416textWidth = Node416width;
- Node416lineStart = Node416width - ht.Default.getTextSize('0', ' '+ Node416fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node416.setImage(GD.getTextJSON(Node416width, Node416height, true, false, false, ' '+ Node416fontSize + 'px "Arial"'))
- Node416.setPosition(574*ratio.ratioX, 829*ratio.ratioY);
- Node416.setWidth(Node416width);
- Node416.setHeight(Node416height);
- Node416._nodeType = 'text';
- Node416._disallowEvert = true;
- Node416.setRotation(0*Math.PI/180);
- Node416.a('node.width', Node416width);
- Node416.a('node.height', Node416height);
- Node416.a('node.rect', [0, 0, Node416width, Node416height]);
- Node416.a('node.bordercolor','rgba(0,0,0,1)');
- Node416.a('node.borderwidth', 0);
- Node416.a('node.background','' || 'rgba(0,0,0,0)');
- Node416.a('node.gradient','');
- Node416.a('node.gradientcolor','');
- Node416.a('node.text','0');
- Node416.a('node.textalign','left');
- Node416.a('node.textvAlign','middle');
- Node416.a('node.textrect', [Node416textStart, 0, Node416textWidth, Node416height]);
- Node416.a('node.color','rgba(0,0,0,1)');
- Node416.a('node.font',' '+ Node416fontSize + 'px "Arial"');
- Node416.a('node.textvisible',true);
- Node416.a('node.linefeed',false);
- if (false) {
- Node416.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node416.a('node.text') || '0';
- var color=Node416.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node416width,Node416height,13.3333*_ratio.ratioY,"left",color,' '+ Node416fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node416.a('node.underlinepoints',[Node416lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node416fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node416fontSize + 'px "Arial"').width + 6, (Node416height - Node416fontSize) * 0.5*_ratio.ratioY + Node416fontSize + 2 ]);
- Node416.a('node.underlinevisible',false);
- Node416.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node416);
- zoomNodeList.push({
- node: Node416,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node417 = new ht.Node();
- var Node417textStart, Node417textWidth, Node417lineStart, Node417align = 'left', Node417fontSize = 13.3333*_ratio.ratioY,Node417width = 29*_ratio.ratioX, Node417height = 16*_ratio.ratioY;
- (function () {
- if (Node417align === 'left') {
- Node417textStart = Node417fontSize * 0.2 > 2 ? Node417fontSize * 0.2 - 4 : Node417fontSize * 0.2 - 9;
- Node417textWidth = Node417width;
- Node417lineStart = 1;
- } else if (Node417align === 'right') {
- Node417textStart = 0;
- Node417textWidth =Node417fontSize <= 8 ? Node417width + Node417fontSize * 0.2 + 6 : Node417width - Node417fontSize * 0.2;
- Node417lineStart = (Node417width - (ht.Default.getTextSize('0', ' '+ Node417fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node417align === 'center') {
- Node417textStart = -3;
- Node417textWidth = Node417width;
- Node417lineStart = Node417width - ht.Default.getTextSize('0', ' '+ Node417fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node417.setImage(GD.getTextJSON(Node417width, Node417height, true, false, false, ' '+ Node417fontSize + 'px "Arial"'))
- Node417.setPosition(574*ratio.ratioX, 850*ratio.ratioY);
- Node417.setWidth(Node417width);
- Node417.setHeight(Node417height);
- Node417._nodeType = 'text';
- Node417._disallowEvert = true;
- Node417.setRotation(0*Math.PI/180);
- Node417.a('node.width', Node417width);
- Node417.a('node.height', Node417height);
- Node417.a('node.rect', [0, 0, Node417width, Node417height]);
- Node417.a('node.bordercolor','rgba(0,0,0,1)');
- Node417.a('node.borderwidth', 0);
- Node417.a('node.background','' || 'rgba(0,0,0,0)');
- Node417.a('node.gradient','');
- Node417.a('node.gradientcolor','');
- Node417.a('node.text','0');
- Node417.a('node.textalign','left');
- Node417.a('node.textvAlign','middle');
- Node417.a('node.textrect', [Node417textStart, 0, Node417textWidth, Node417height]);
- Node417.a('node.color','rgba(0,0,0,1)');
- Node417.a('node.font',' '+ Node417fontSize + 'px "Arial"');
- Node417.a('node.textvisible',true);
- Node417.a('node.linefeed',false);
- if (false) {
- Node417.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node417.a('node.text') || '0';
- var color=Node417.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node417width,Node417height,13.3333*_ratio.ratioY,"left",color,' '+ Node417fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node417.a('node.underlinepoints',[Node417lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node417fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node417fontSize + 'px "Arial"').width + 6, (Node417height - Node417fontSize) * 0.5*_ratio.ratioY + Node417fontSize + 2 ]);
- Node417.a('node.underlinevisible',false);
- Node417.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node417);
- zoomNodeList.push({
- node: Node417,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node418 = new ht.Node();
- var Node418textStart, Node418textWidth, Node418lineStart, Node418align = 'left', Node418fontSize = 13.3333*_ratio.ratioY,Node418width = 29*_ratio.ratioX, Node418height = 16*_ratio.ratioY;
- (function () {
- if (Node418align === 'left') {
- Node418textStart = Node418fontSize * 0.2 > 2 ? Node418fontSize * 0.2 - 4 : Node418fontSize * 0.2 - 9;
- Node418textWidth = Node418width;
- Node418lineStart = 1;
- } else if (Node418align === 'right') {
- Node418textStart = 0;
- Node418textWidth =Node418fontSize <= 8 ? Node418width + Node418fontSize * 0.2 + 6 : Node418width - Node418fontSize * 0.2;
- Node418lineStart = (Node418width - (ht.Default.getTextSize('0', ' '+ Node418fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node418align === 'center') {
- Node418textStart = -3;
- Node418textWidth = Node418width;
- Node418lineStart = Node418width - ht.Default.getTextSize('0', ' '+ Node418fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node418.setImage(GD.getTextJSON(Node418width, Node418height, true, false, false, ' '+ Node418fontSize + 'px "Arial"'))
- Node418.setPosition(574*ratio.ratioX, 870*ratio.ratioY);
- Node418.setWidth(Node418width);
- Node418.setHeight(Node418height);
- Node418._nodeType = 'text';
- Node418._disallowEvert = true;
- Node418.setRotation(0*Math.PI/180);
- Node418.a('node.width', Node418width);
- Node418.a('node.height', Node418height);
- Node418.a('node.rect', [0, 0, Node418width, Node418height]);
- Node418.a('node.bordercolor','rgba(0,0,0,1)');
- Node418.a('node.borderwidth', 0);
- Node418.a('node.background','' || 'rgba(0,0,0,0)');
- Node418.a('node.gradient','');
- Node418.a('node.gradientcolor','');
- Node418.a('node.text','0');
- Node418.a('node.textalign','left');
- Node418.a('node.textvAlign','middle');
- Node418.a('node.textrect', [Node418textStart, 0, Node418textWidth, Node418height]);
- Node418.a('node.color','rgba(0,0,0,1)');
- Node418.a('node.font',' '+ Node418fontSize + 'px "Arial"');
- Node418.a('node.textvisible',true);
- Node418.a('node.linefeed',false);
- if (false) {
- Node418.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node418.a('node.text') || '0';
- var color=Node418.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node418width,Node418height,13.3333*_ratio.ratioY,"left",color,' '+ Node418fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node418.a('node.underlinepoints',[Node418lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node418fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node418fontSize + 'px "Arial"').width + 6, (Node418height - Node418fontSize) * 0.5*_ratio.ratioY + Node418fontSize + 2 ]);
- Node418.a('node.underlinevisible',false);
- Node418.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node418);
- zoomNodeList.push({
- node: Node418,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node419 = new ht.Node();
- var Node419textStart, Node419textWidth, Node419lineStart, Node419align = 'left', Node419fontSize = 13.3333*_ratio.ratioY,Node419width = 29*_ratio.ratioX, Node419height = 16*_ratio.ratioY;
- (function () {
- if (Node419align === 'left') {
- Node419textStart = Node419fontSize * 0.2 > 2 ? Node419fontSize * 0.2 - 4 : Node419fontSize * 0.2 - 9;
- Node419textWidth = Node419width;
- Node419lineStart = 1;
- } else if (Node419align === 'right') {
- Node419textStart = 0;
- Node419textWidth =Node419fontSize <= 8 ? Node419width + Node419fontSize * 0.2 + 6 : Node419width - Node419fontSize * 0.2;
- Node419lineStart = (Node419width - (ht.Default.getTextSize('0', ' '+ Node419fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node419align === 'center') {
- Node419textStart = -3;
- Node419textWidth = Node419width;
- Node419lineStart = Node419width - ht.Default.getTextSize('0', ' '+ Node419fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node419.setImage(GD.getTextJSON(Node419width, Node419height, true, false, false, ' '+ Node419fontSize + 'px "Arial"'))
- Node419.setPosition(752*ratio.ratioX, 807*ratio.ratioY);
- Node419.setWidth(Node419width);
- Node419.setHeight(Node419height);
- Node419._nodeType = 'text';
- Node419._disallowEvert = true;
- Node419.setRotation(0*Math.PI/180);
- Node419.a('node.width', Node419width);
- Node419.a('node.height', Node419height);
- Node419.a('node.rect', [0, 0, Node419width, Node419height]);
- Node419.a('node.bordercolor','rgba(0,0,0,1)');
- Node419.a('node.borderwidth', 0);
- Node419.a('node.background','' || 'rgba(0,0,0,0)');
- Node419.a('node.gradient','');
- Node419.a('node.gradientcolor','');
- Node419.a('node.text','0');
- Node419.a('node.textalign','left');
- Node419.a('node.textvAlign','middle');
- Node419.a('node.textrect', [Node419textStart, 0, Node419textWidth, Node419height]);
- Node419.a('node.color','rgba(0,0,0,1)');
- Node419.a('node.font',' '+ Node419fontSize + 'px "Arial"');
- Node419.a('node.textvisible',true);
- Node419.a('node.linefeed',false);
- if (false) {
- Node419.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node419.a('node.text') || '0';
- var color=Node419.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node419width,Node419height,13.3333*_ratio.ratioY,"left",color,' '+ Node419fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node419.a('node.underlinepoints',[Node419lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node419fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node419fontSize + 'px "Arial"').width + 6, (Node419height - Node419fontSize) * 0.5*_ratio.ratioY + Node419fontSize + 2 ]);
- Node419.a('node.underlinevisible',false);
- Node419.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node419);
- zoomNodeList.push({
- node: Node419,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node420 = new ht.Node();
- var Node420textStart, Node420textWidth, Node420lineStart, Node420align = 'left', Node420fontSize = 13.3333*_ratio.ratioY,Node420width = 29*_ratio.ratioX, Node420height = 16*_ratio.ratioY;
- (function () {
- if (Node420align === 'left') {
- Node420textStart = Node420fontSize * 0.2 > 2 ? Node420fontSize * 0.2 - 4 : Node420fontSize * 0.2 - 9;
- Node420textWidth = Node420width;
- Node420lineStart = 1;
- } else if (Node420align === 'right') {
- Node420textStart = 0;
- Node420textWidth =Node420fontSize <= 8 ? Node420width + Node420fontSize * 0.2 + 6 : Node420width - Node420fontSize * 0.2;
- Node420lineStart = (Node420width - (ht.Default.getTextSize('0', ' '+ Node420fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node420align === 'center') {
- Node420textStart = -3;
- Node420textWidth = Node420width;
- Node420lineStart = Node420width - ht.Default.getTextSize('0', ' '+ Node420fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node420.setImage(GD.getTextJSON(Node420width, Node420height, true, false, false, ' '+ Node420fontSize + 'px "Arial"'))
- Node420.setPosition(752*ratio.ratioX, 830*ratio.ratioY);
- Node420.setWidth(Node420width);
- Node420.setHeight(Node420height);
- Node420._nodeType = 'text';
- Node420._disallowEvert = true;
- Node420.setRotation(0*Math.PI/180);
- Node420.a('node.width', Node420width);
- Node420.a('node.height', Node420height);
- Node420.a('node.rect', [0, 0, Node420width, Node420height]);
- Node420.a('node.bordercolor','rgba(0,0,0,1)');
- Node420.a('node.borderwidth', 0);
- Node420.a('node.background','' || 'rgba(0,0,0,0)');
- Node420.a('node.gradient','');
- Node420.a('node.gradientcolor','');
- Node420.a('node.text','0');
- Node420.a('node.textalign','left');
- Node420.a('node.textvAlign','middle');
- Node420.a('node.textrect', [Node420textStart, 0, Node420textWidth, Node420height]);
- Node420.a('node.color','rgba(0,0,0,1)');
- Node420.a('node.font',' '+ Node420fontSize + 'px "Arial"');
- Node420.a('node.textvisible',true);
- Node420.a('node.linefeed',false);
- if (false) {
- Node420.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node420.a('node.text') || '0';
- var color=Node420.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node420width,Node420height,13.3333*_ratio.ratioY,"left",color,' '+ Node420fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node420.a('node.underlinepoints',[Node420lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node420fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node420fontSize + 'px "Arial"').width + 6, (Node420height - Node420fontSize) * 0.5*_ratio.ratioY + Node420fontSize + 2 ]);
- Node420.a('node.underlinevisible',false);
- Node420.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node420);
- zoomNodeList.push({
- node: Node420,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node421 = new ht.Node();
- var Node421textStart, Node421textWidth, Node421lineStart, Node421align = 'left', Node421fontSize = 13.3333*_ratio.ratioY,Node421width = 29*_ratio.ratioX, Node421height = 16*_ratio.ratioY;
- (function () {
- if (Node421align === 'left') {
- Node421textStart = Node421fontSize * 0.2 > 2 ? Node421fontSize * 0.2 - 4 : Node421fontSize * 0.2 - 9;
- Node421textWidth = Node421width;
- Node421lineStart = 1;
- } else if (Node421align === 'right') {
- Node421textStart = 0;
- Node421textWidth =Node421fontSize <= 8 ? Node421width + Node421fontSize * 0.2 + 6 : Node421width - Node421fontSize * 0.2;
- Node421lineStart = (Node421width - (ht.Default.getTextSize('0', ' '+ Node421fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node421align === 'center') {
- Node421textStart = -3;
- Node421textWidth = Node421width;
- Node421lineStart = Node421width - ht.Default.getTextSize('0', ' '+ Node421fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node421.setImage(GD.getTextJSON(Node421width, Node421height, true, false, false, ' '+ Node421fontSize + 'px "Arial"'))
- Node421.setPosition(752*ratio.ratioX, 851*ratio.ratioY);
- Node421.setWidth(Node421width);
- Node421.setHeight(Node421height);
- Node421._nodeType = 'text';
- Node421._disallowEvert = true;
- Node421.setRotation(0*Math.PI/180);
- Node421.a('node.width', Node421width);
- Node421.a('node.height', Node421height);
- Node421.a('node.rect', [0, 0, Node421width, Node421height]);
- Node421.a('node.bordercolor','rgba(0,0,0,1)');
- Node421.a('node.borderwidth', 0);
- Node421.a('node.background','' || 'rgba(0,0,0,0)');
- Node421.a('node.gradient','');
- Node421.a('node.gradientcolor','');
- Node421.a('node.text','0');
- Node421.a('node.textalign','left');
- Node421.a('node.textvAlign','middle');
- Node421.a('node.textrect', [Node421textStart, 0, Node421textWidth, Node421height]);
- Node421.a('node.color','rgba(0,0,0,1)');
- Node421.a('node.font',' '+ Node421fontSize + 'px "Arial"');
- Node421.a('node.textvisible',true);
- Node421.a('node.linefeed',false);
- if (false) {
- Node421.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node421.a('node.text') || '0';
- var color=Node421.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node421width,Node421height,13.3333*_ratio.ratioY,"left",color,' '+ Node421fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node421.a('node.underlinepoints',[Node421lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node421fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node421fontSize + 'px "Arial"').width + 6, (Node421height - Node421fontSize) * 0.5*_ratio.ratioY + Node421fontSize + 2 ]);
- Node421.a('node.underlinevisible',false);
- Node421.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node421);
- zoomNodeList.push({
- node: Node421,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node422 = new ht.Node();
- var Node422textStart, Node422textWidth, Node422lineStart, Node422align = 'left', Node422fontSize = 13.3333*_ratio.ratioY,Node422width = 29*_ratio.ratioX, Node422height = 16*_ratio.ratioY;
- (function () {
- if (Node422align === 'left') {
- Node422textStart = Node422fontSize * 0.2 > 2 ? Node422fontSize * 0.2 - 4 : Node422fontSize * 0.2 - 9;
- Node422textWidth = Node422width;
- Node422lineStart = 1;
- } else if (Node422align === 'right') {
- Node422textStart = 0;
- Node422textWidth =Node422fontSize <= 8 ? Node422width + Node422fontSize * 0.2 + 6 : Node422width - Node422fontSize * 0.2;
- Node422lineStart = (Node422width - (ht.Default.getTextSize('0', ' '+ Node422fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node422align === 'center') {
- Node422textStart = -3;
- Node422textWidth = Node422width;
- Node422lineStart = Node422width - ht.Default.getTextSize('0', ' '+ Node422fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node422.setImage(GD.getTextJSON(Node422width, Node422height, true, false, false, ' '+ Node422fontSize + 'px "Arial"'))
- Node422.setPosition(752*ratio.ratioX, 871*ratio.ratioY);
- Node422.setWidth(Node422width);
- Node422.setHeight(Node422height);
- Node422._nodeType = 'text';
- Node422._disallowEvert = true;
- Node422.setRotation(0*Math.PI/180);
- Node422.a('node.width', Node422width);
- Node422.a('node.height', Node422height);
- Node422.a('node.rect', [0, 0, Node422width, Node422height]);
- Node422.a('node.bordercolor','rgba(0,0,0,1)');
- Node422.a('node.borderwidth', 0);
- Node422.a('node.background','' || 'rgba(0,0,0,0)');
- Node422.a('node.gradient','');
- Node422.a('node.gradientcolor','');
- Node422.a('node.text','0');
- Node422.a('node.textalign','left');
- Node422.a('node.textvAlign','middle');
- Node422.a('node.textrect', [Node422textStart, 0, Node422textWidth, Node422height]);
- Node422.a('node.color','rgba(0,0,0,1)');
- Node422.a('node.font',' '+ Node422fontSize + 'px "Arial"');
- Node422.a('node.textvisible',true);
- Node422.a('node.linefeed',false);
- if (false) {
- Node422.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node422.a('node.text') || '0';
- var color=Node422.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node422width,Node422height,13.3333*_ratio.ratioY,"left",color,' '+ Node422fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node422.a('node.underlinepoints',[Node422lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node422fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node422fontSize + 'px "Arial"').width + 6, (Node422height - Node422fontSize) * 0.5*_ratio.ratioY + Node422fontSize + 2 ]);
- Node422.a('node.underlinevisible',false);
- Node422.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node422);
- zoomNodeList.push({
- node: Node422,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node423 = new ht.Node();
- var Node423textStart, Node423textWidth, Node423lineStart, Node423align = 'left', Node423fontSize = 13.3333*_ratio.ratioY,Node423width = 29*_ratio.ratioX, Node423height = 16*_ratio.ratioY;
- (function () {
- if (Node423align === 'left') {
- Node423textStart = Node423fontSize * 0.2 > 2 ? Node423fontSize * 0.2 - 4 : Node423fontSize * 0.2 - 9;
- Node423textWidth = Node423width;
- Node423lineStart = 1;
- } else if (Node423align === 'right') {
- Node423textStart = 0;
- Node423textWidth =Node423fontSize <= 8 ? Node423width + Node423fontSize * 0.2 + 6 : Node423width - Node423fontSize * 0.2;
- Node423lineStart = (Node423width - (ht.Default.getTextSize('0', ' '+ Node423fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node423align === 'center') {
- Node423textStart = -3;
- Node423textWidth = Node423width;
- Node423lineStart = Node423width - ht.Default.getTextSize('0', ' '+ Node423fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node423.setImage(GD.getTextJSON(Node423width, Node423height, true, false, false, ' '+ Node423fontSize + 'px "Arial"'))
- Node423.setPosition(1159*ratio.ratioX, 807*ratio.ratioY);
- Node423.setWidth(Node423width);
- Node423.setHeight(Node423height);
- Node423._nodeType = 'text';
- Node423._disallowEvert = true;
- Node423.setRotation(0*Math.PI/180);
- Node423.a('node.width', Node423width);
- Node423.a('node.height', Node423height);
- Node423.a('node.rect', [0, 0, Node423width, Node423height]);
- Node423.a('node.bordercolor','rgba(0,0,0,1)');
- Node423.a('node.borderwidth', 0);
- Node423.a('node.background','' || 'rgba(0,0,0,0)');
- Node423.a('node.gradient','');
- Node423.a('node.gradientcolor','');
- Node423.a('node.text','0');
- Node423.a('node.textalign','left');
- Node423.a('node.textvAlign','middle');
- Node423.a('node.textrect', [Node423textStart, 0, Node423textWidth, Node423height]);
- Node423.a('node.color','rgba(0,0,0,1)');
- Node423.a('node.font',' '+ Node423fontSize + 'px "Arial"');
- Node423.a('node.textvisible',true);
- Node423.a('node.linefeed',false);
- if (false) {
- Node423.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node423.a('node.text') || '0';
- var color=Node423.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node423width,Node423height,13.3333*_ratio.ratioY,"left",color,' '+ Node423fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node423.a('node.underlinepoints',[Node423lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node423fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node423fontSize + 'px "Arial"').width + 6, (Node423height - Node423fontSize) * 0.5*_ratio.ratioY + Node423fontSize + 2 ]);
- Node423.a('node.underlinevisible',false);
- Node423.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node423);
- zoomNodeList.push({
- node: Node423,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424 = new ht.Node();
- var Node424textStart, Node424textWidth, Node424lineStart, Node424align = 'left', Node424fontSize = 13.3333*_ratio.ratioY,Node424width = 29*_ratio.ratioX, Node424height = 16*_ratio.ratioY;
- (function () {
- if (Node424align === 'left') {
- Node424textStart = Node424fontSize * 0.2 > 2 ? Node424fontSize * 0.2 - 4 : Node424fontSize * 0.2 - 9;
- Node424textWidth = Node424width;
- Node424lineStart = 1;
- } else if (Node424align === 'right') {
- Node424textStart = 0;
- Node424textWidth =Node424fontSize <= 8 ? Node424width + Node424fontSize * 0.2 + 6 : Node424width - Node424fontSize * 0.2;
- Node424lineStart = (Node424width - (ht.Default.getTextSize('0', ' '+ Node424fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node424align === 'center') {
- Node424textStart = -3;
- Node424textWidth = Node424width;
- Node424lineStart = Node424width - ht.Default.getTextSize('0', ' '+ Node424fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node424.setImage(GD.getTextJSON(Node424width, Node424height, true, false, false, ' '+ Node424fontSize + 'px "Arial"'))
- Node424.setPosition(1159*ratio.ratioX, 830*ratio.ratioY);
- Node424.setWidth(Node424width);
- Node424.setHeight(Node424height);
- Node424._nodeType = 'text';
- Node424._disallowEvert = true;
- Node424.setRotation(0*Math.PI/180);
- Node424.a('node.width', Node424width);
- Node424.a('node.height', Node424height);
- Node424.a('node.rect', [0, 0, Node424width, Node424height]);
- Node424.a('node.bordercolor','rgba(0,0,0,1)');
- Node424.a('node.borderwidth', 0);
- Node424.a('node.background','' || 'rgba(0,0,0,0)');
- Node424.a('node.gradient','');
- Node424.a('node.gradientcolor','');
- Node424.a('node.text','0');
- Node424.a('node.textalign','left');
- Node424.a('node.textvAlign','middle');
- Node424.a('node.textrect', [Node424textStart, 0, Node424textWidth, Node424height]);
- Node424.a('node.color','rgba(0,0,0,1)');
- Node424.a('node.font',' '+ Node424fontSize + 'px "Arial"');
- Node424.a('node.textvisible',true);
- Node424.a('node.linefeed',false);
- if (false) {
- Node424.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424.a('node.text') || '0';
- var color=Node424.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424width,Node424height,13.3333*_ratio.ratioY,"left",color,' '+ Node424fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node424.a('node.underlinepoints',[Node424lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node424fontSize + 'px "Arial"').width + 6, (Node424height - Node424fontSize) * 0.5*_ratio.ratioY + Node424fontSize + 2 ]);
- Node424.a('node.underlinevisible',false);
- Node424.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424);
- zoomNodeList.push({
- node: Node424,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node425 = new ht.Node();
- var Node425textStart, Node425textWidth, Node425lineStart, Node425align = 'left', Node425fontSize = 13.3333*_ratio.ratioY,Node425width = 29*_ratio.ratioX, Node425height = 16*_ratio.ratioY;
- (function () {
- if (Node425align === 'left') {
- Node425textStart = Node425fontSize * 0.2 > 2 ? Node425fontSize * 0.2 - 4 : Node425fontSize * 0.2 - 9;
- Node425textWidth = Node425width;
- Node425lineStart = 1;
- } else if (Node425align === 'right') {
- Node425textStart = 0;
- Node425textWidth =Node425fontSize <= 8 ? Node425width + Node425fontSize * 0.2 + 6 : Node425width - Node425fontSize * 0.2;
- Node425lineStart = (Node425width - (ht.Default.getTextSize('0', ' '+ Node425fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node425align === 'center') {
- Node425textStart = -3;
- Node425textWidth = Node425width;
- Node425lineStart = Node425width - ht.Default.getTextSize('0', ' '+ Node425fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node425.setImage(GD.getTextJSON(Node425width, Node425height, true, false, false, ' '+ Node425fontSize + 'px "Arial"'))
- Node425.setPosition(1159*ratio.ratioX, 851*ratio.ratioY);
- Node425.setWidth(Node425width);
- Node425.setHeight(Node425height);
- Node425._nodeType = 'text';
- Node425._disallowEvert = true;
- Node425.setRotation(0*Math.PI/180);
- Node425.a('node.width', Node425width);
- Node425.a('node.height', Node425height);
- Node425.a('node.rect', [0, 0, Node425width, Node425height]);
- Node425.a('node.bordercolor','rgba(0,0,0,1)');
- Node425.a('node.borderwidth', 0);
- Node425.a('node.background','' || 'rgba(0,0,0,0)');
- Node425.a('node.gradient','');
- Node425.a('node.gradientcolor','');
- Node425.a('node.text','0');
- Node425.a('node.textalign','left');
- Node425.a('node.textvAlign','middle');
- Node425.a('node.textrect', [Node425textStart, 0, Node425textWidth, Node425height]);
- Node425.a('node.color','rgba(0,0,0,1)');
- Node425.a('node.font',' '+ Node425fontSize + 'px "Arial"');
- Node425.a('node.textvisible',true);
- Node425.a('node.linefeed',false);
- if (false) {
- Node425.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node425.a('node.text') || '0';
- var color=Node425.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node425width,Node425height,13.3333*_ratio.ratioY,"left",color,' '+ Node425fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node425.a('node.underlinepoints',[Node425lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node425fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node425fontSize + 'px "Arial"').width + 6, (Node425height - Node425fontSize) * 0.5*_ratio.ratioY + Node425fontSize + 2 ]);
- Node425.a('node.underlinevisible',false);
- Node425.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node425);
- zoomNodeList.push({
- node: Node425,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node426 = new ht.Node();
- var Node426textStart, Node426textWidth, Node426lineStart, Node426align = 'left', Node426fontSize = 13.3333*_ratio.ratioY,Node426width = 29*_ratio.ratioX, Node426height = 16*_ratio.ratioY;
- (function () {
- if (Node426align === 'left') {
- Node426textStart = Node426fontSize * 0.2 > 2 ? Node426fontSize * 0.2 - 4 : Node426fontSize * 0.2 - 9;
- Node426textWidth = Node426width;
- Node426lineStart = 1;
- } else if (Node426align === 'right') {
- Node426textStart = 0;
- Node426textWidth =Node426fontSize <= 8 ? Node426width + Node426fontSize * 0.2 + 6 : Node426width - Node426fontSize * 0.2;
- Node426lineStart = (Node426width - (ht.Default.getTextSize('0', ' '+ Node426fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node426align === 'center') {
- Node426textStart = -3;
- Node426textWidth = Node426width;
- Node426lineStart = Node426width - ht.Default.getTextSize('0', ' '+ Node426fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node426.setImage(GD.getTextJSON(Node426width, Node426height, true, false, false, ' '+ Node426fontSize + 'px "Arial"'))
- Node426.setPosition(1159*ratio.ratioX, 871*ratio.ratioY);
- Node426.setWidth(Node426width);
- Node426.setHeight(Node426height);
- Node426._nodeType = 'text';
- Node426._disallowEvert = true;
- Node426.setRotation(0*Math.PI/180);
- Node426.a('node.width', Node426width);
- Node426.a('node.height', Node426height);
- Node426.a('node.rect', [0, 0, Node426width, Node426height]);
- Node426.a('node.bordercolor','rgba(0,0,0,1)');
- Node426.a('node.borderwidth', 0);
- Node426.a('node.background','' || 'rgba(0,0,0,0)');
- Node426.a('node.gradient','');
- Node426.a('node.gradientcolor','');
- Node426.a('node.text','0');
- Node426.a('node.textalign','left');
- Node426.a('node.textvAlign','middle');
- Node426.a('node.textrect', [Node426textStart, 0, Node426textWidth, Node426height]);
- Node426.a('node.color','rgba(0,0,0,1)');
- Node426.a('node.font',' '+ Node426fontSize + 'px "Arial"');
- Node426.a('node.textvisible',true);
- Node426.a('node.linefeed',false);
- if (false) {
- Node426.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node426.a('node.text') || '0';
- var color=Node426.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node426width,Node426height,13.3333*_ratio.ratioY,"left",color,' '+ Node426fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node426.a('node.underlinepoints',[Node426lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node426fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node426fontSize + 'px "Arial"').width + 6, (Node426height - Node426fontSize) * 0.5*_ratio.ratioY + Node426fontSize + 2 ]);
- Node426.a('node.underlinevisible',false);
- Node426.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node426);
- zoomNodeList.push({
- node: Node426,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427 = new ht.Node();
- var Node427textStart, Node427textWidth, Node427lineStart, Node427align = 'left', Node427fontSize = 13.3333*_ratio.ratioY,Node427width = 29*_ratio.ratioX, Node427height = 16*_ratio.ratioY;
- (function () {
- if (Node427align === 'left') {
- Node427textStart = Node427fontSize * 0.2 > 2 ? Node427fontSize * 0.2 - 4 : Node427fontSize * 0.2 - 9;
- Node427textWidth = Node427width;
- Node427lineStart = 1;
- } else if (Node427align === 'right') {
- Node427textStart = 0;
- Node427textWidth =Node427fontSize <= 8 ? Node427width + Node427fontSize * 0.2 + 6 : Node427width - Node427fontSize * 0.2;
- Node427lineStart = (Node427width - (ht.Default.getTextSize('0', ' '+ Node427fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node427align === 'center') {
- Node427textStart = -3;
- Node427textWidth = Node427width;
- Node427lineStart = Node427width - ht.Default.getTextSize('0', ' '+ Node427fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node427.setImage(GD.getTextJSON(Node427width, Node427height, true, false, false, ' '+ Node427fontSize + 'px "Arial"'))
- Node427.setPosition(1339*ratio.ratioX, 807*ratio.ratioY);
- Node427.setWidth(Node427width);
- Node427.setHeight(Node427height);
- Node427._nodeType = 'text';
- Node427._disallowEvert = true;
- Node427.setRotation(0*Math.PI/180);
- Node427.a('node.width', Node427width);
- Node427.a('node.height', Node427height);
- Node427.a('node.rect', [0, 0, Node427width, Node427height]);
- Node427.a('node.bordercolor','rgba(0,0,0,1)');
- Node427.a('node.borderwidth', 0);
- Node427.a('node.background','' || 'rgba(0,0,0,0)');
- Node427.a('node.gradient','');
- Node427.a('node.gradientcolor','');
- Node427.a('node.text','0');
- Node427.a('node.textalign','left');
- Node427.a('node.textvAlign','middle');
- Node427.a('node.textrect', [Node427textStart, 0, Node427textWidth, Node427height]);
- Node427.a('node.color','rgba(0,0,0,1)');
- Node427.a('node.font',' '+ Node427fontSize + 'px "Arial"');
- Node427.a('node.textvisible',true);
- Node427.a('node.linefeed',false);
- if (false) {
- Node427.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427.a('node.text') || '0';
- var color=Node427.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427width,Node427height,13.3333*_ratio.ratioY,"left",color,' '+ Node427fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node427.a('node.underlinepoints',[Node427lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node427fontSize + 'px "Arial"').width + 6, (Node427height - Node427fontSize) * 0.5*_ratio.ratioY + Node427fontSize + 2 ]);
- Node427.a('node.underlinevisible',false);
- Node427.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427);
- zoomNodeList.push({
- node: Node427,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428 = new ht.Node();
- var Node428textStart, Node428textWidth, Node428lineStart, Node428align = 'left', Node428fontSize = 13.3333*_ratio.ratioY,Node428width = 29*_ratio.ratioX, Node428height = 16*_ratio.ratioY;
- (function () {
- if (Node428align === 'left') {
- Node428textStart = Node428fontSize * 0.2 > 2 ? Node428fontSize * 0.2 - 4 : Node428fontSize * 0.2 - 9;
- Node428textWidth = Node428width;
- Node428lineStart = 1;
- } else if (Node428align === 'right') {
- Node428textStart = 0;
- Node428textWidth =Node428fontSize <= 8 ? Node428width + Node428fontSize * 0.2 + 6 : Node428width - Node428fontSize * 0.2;
- Node428lineStart = (Node428width - (ht.Default.getTextSize('0', ' '+ Node428fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node428align === 'center') {
- Node428textStart = -3;
- Node428textWidth = Node428width;
- Node428lineStart = Node428width - ht.Default.getTextSize('0', ' '+ Node428fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node428.setImage(GD.getTextJSON(Node428width, Node428height, true, false, false, ' '+ Node428fontSize + 'px "Arial"'))
- Node428.setPosition(1339*ratio.ratioX, 830*ratio.ratioY);
- Node428.setWidth(Node428width);
- Node428.setHeight(Node428height);
- Node428._nodeType = 'text';
- Node428._disallowEvert = true;
- Node428.setRotation(0*Math.PI/180);
- Node428.a('node.width', Node428width);
- Node428.a('node.height', Node428height);
- Node428.a('node.rect', [0, 0, Node428width, Node428height]);
- Node428.a('node.bordercolor','rgba(0,0,0,1)');
- Node428.a('node.borderwidth', 0);
- Node428.a('node.background','' || 'rgba(0,0,0,0)');
- Node428.a('node.gradient','');
- Node428.a('node.gradientcolor','');
- Node428.a('node.text','0');
- Node428.a('node.textalign','left');
- Node428.a('node.textvAlign','middle');
- Node428.a('node.textrect', [Node428textStart, 0, Node428textWidth, Node428height]);
- Node428.a('node.color','rgba(0,0,0,1)');
- Node428.a('node.font',' '+ Node428fontSize + 'px "Arial"');
- Node428.a('node.textvisible',true);
- Node428.a('node.linefeed',false);
- if (false) {
- Node428.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428.a('node.text') || '0';
- var color=Node428.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428width,Node428height,13.3333*_ratio.ratioY,"left",color,' '+ Node428fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node428.a('node.underlinepoints',[Node428lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node428fontSize + 'px "Arial"').width + 6, (Node428height - Node428fontSize) * 0.5*_ratio.ratioY + Node428fontSize + 2 ]);
- Node428.a('node.underlinevisible',false);
- Node428.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428);
- zoomNodeList.push({
- node: Node428,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429 = new ht.Node();
- var Node429textStart, Node429textWidth, Node429lineStart, Node429align = 'left', Node429fontSize = 13.3333*_ratio.ratioY,Node429width = 29*_ratio.ratioX, Node429height = 16*_ratio.ratioY;
- (function () {
- if (Node429align === 'left') {
- Node429textStart = Node429fontSize * 0.2 > 2 ? Node429fontSize * 0.2 - 4 : Node429fontSize * 0.2 - 9;
- Node429textWidth = Node429width;
- Node429lineStart = 1;
- } else if (Node429align === 'right') {
- Node429textStart = 0;
- Node429textWidth =Node429fontSize <= 8 ? Node429width + Node429fontSize * 0.2 + 6 : Node429width - Node429fontSize * 0.2;
- Node429lineStart = (Node429width - (ht.Default.getTextSize('0', ' '+ Node429fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node429align === 'center') {
- Node429textStart = -3;
- Node429textWidth = Node429width;
- Node429lineStart = Node429width - ht.Default.getTextSize('0', ' '+ Node429fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node429.setImage(GD.getTextJSON(Node429width, Node429height, true, false, false, ' '+ Node429fontSize + 'px "Arial"'))
- Node429.setPosition(1339*ratio.ratioX, 851*ratio.ratioY);
- Node429.setWidth(Node429width);
- Node429.setHeight(Node429height);
- Node429._nodeType = 'text';
- Node429._disallowEvert = true;
- Node429.setRotation(0*Math.PI/180);
- Node429.a('node.width', Node429width);
- Node429.a('node.height', Node429height);
- Node429.a('node.rect', [0, 0, Node429width, Node429height]);
- Node429.a('node.bordercolor','rgba(0,0,0,1)');
- Node429.a('node.borderwidth', 0);
- Node429.a('node.background','' || 'rgba(0,0,0,0)');
- Node429.a('node.gradient','');
- Node429.a('node.gradientcolor','');
- Node429.a('node.text','0');
- Node429.a('node.textalign','left');
- Node429.a('node.textvAlign','middle');
- Node429.a('node.textrect', [Node429textStart, 0, Node429textWidth, Node429height]);
- Node429.a('node.color','rgba(0,0,0,1)');
- Node429.a('node.font',' '+ Node429fontSize + 'px "Arial"');
- Node429.a('node.textvisible',true);
- Node429.a('node.linefeed',false);
- if (false) {
- Node429.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429.a('node.text') || '0';
- var color=Node429.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429width,Node429height,13.3333*_ratio.ratioY,"left",color,' '+ Node429fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node429.a('node.underlinepoints',[Node429lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node429fontSize + 'px "Arial"').width + 6, (Node429height - Node429fontSize) * 0.5*_ratio.ratioY + Node429fontSize + 2 ]);
- Node429.a('node.underlinevisible',false);
- Node429.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429);
- zoomNodeList.push({
- node: Node429,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node430 = new ht.Node();
- var Node430textStart, Node430textWidth, Node430lineStart, Node430align = 'left', Node430fontSize = 13.3333*_ratio.ratioY,Node430width = 29*_ratio.ratioX, Node430height = 16*_ratio.ratioY;
- (function () {
- if (Node430align === 'left') {
- Node430textStart = Node430fontSize * 0.2 > 2 ? Node430fontSize * 0.2 - 4 : Node430fontSize * 0.2 - 9;
- Node430textWidth = Node430width;
- Node430lineStart = 1;
- } else if (Node430align === 'right') {
- Node430textStart = 0;
- Node430textWidth =Node430fontSize <= 8 ? Node430width + Node430fontSize * 0.2 + 6 : Node430width - Node430fontSize * 0.2;
- Node430lineStart = (Node430width - (ht.Default.getTextSize('0', ' '+ Node430fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node430align === 'center') {
- Node430textStart = -3;
- Node430textWidth = Node430width;
- Node430lineStart = Node430width - ht.Default.getTextSize('0', ' '+ Node430fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node430.setImage(GD.getTextJSON(Node430width, Node430height, true, false, false, ' '+ Node430fontSize + 'px "Arial"'))
- Node430.setPosition(1339*ratio.ratioX, 871*ratio.ratioY);
- Node430.setWidth(Node430width);
- Node430.setHeight(Node430height);
- Node430._nodeType = 'text';
- Node430._disallowEvert = true;
- Node430.setRotation(0*Math.PI/180);
- Node430.a('node.width', Node430width);
- Node430.a('node.height', Node430height);
- Node430.a('node.rect', [0, 0, Node430width, Node430height]);
- Node430.a('node.bordercolor','rgba(0,0,0,1)');
- Node430.a('node.borderwidth', 0);
- Node430.a('node.background','' || 'rgba(0,0,0,0)');
- Node430.a('node.gradient','');
- Node430.a('node.gradientcolor','');
- Node430.a('node.text','0');
- Node430.a('node.textalign','left');
- Node430.a('node.textvAlign','middle');
- Node430.a('node.textrect', [Node430textStart, 0, Node430textWidth, Node430height]);
- Node430.a('node.color','rgba(0,0,0,1)');
- Node430.a('node.font',' '+ Node430fontSize + 'px "Arial"');
- Node430.a('node.textvisible',true);
- Node430.a('node.linefeed',false);
- if (false) {
- Node430.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node430.a('node.text') || '0';
- var color=Node430.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node430width,Node430height,13.3333*_ratio.ratioY,"left",color,' '+ Node430fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node430.a('node.underlinepoints',[Node430lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node430fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node430fontSize + 'px "Arial"').width + 6, (Node430height - Node430fontSize) * 0.5*_ratio.ratioY + Node430fontSize + 2 ]);
- Node430.a('node.underlinevisible',false);
- Node430.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node430);
- zoomNodeList.push({
- node: Node430,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node431 = new ht.Node();
- var Node431textStart, Node431textWidth, Node431lineStart, Node431align = 'left', Node431fontSize = 13.3333*_ratio.ratioY,Node431width = 29*_ratio.ratioX, Node431height = 16*_ratio.ratioY;
- (function () {
- if (Node431align === 'left') {
- Node431textStart = Node431fontSize * 0.2 > 2 ? Node431fontSize * 0.2 - 4 : Node431fontSize * 0.2 - 9;
- Node431textWidth = Node431width;
- Node431lineStart = 1;
- } else if (Node431align === 'right') {
- Node431textStart = 0;
- Node431textWidth =Node431fontSize <= 8 ? Node431width + Node431fontSize * 0.2 + 6 : Node431width - Node431fontSize * 0.2;
- Node431lineStart = (Node431width - (ht.Default.getTextSize('0', ' '+ Node431fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node431align === 'center') {
- Node431textStart = -3;
- Node431textWidth = Node431width;
- Node431lineStart = Node431width - ht.Default.getTextSize('0', ' '+ Node431fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node431.setImage(GD.getTextJSON(Node431width, Node431height, true, false, false, ' '+ Node431fontSize + 'px "Arial"'))
- Node431.setPosition(1529*ratio.ratioX, 806*ratio.ratioY);
- Node431.setWidth(Node431width);
- Node431.setHeight(Node431height);
- Node431._nodeType = 'text';
- Node431._disallowEvert = true;
- Node431.setRotation(0*Math.PI/180);
- Node431.a('node.width', Node431width);
- Node431.a('node.height', Node431height);
- Node431.a('node.rect', [0, 0, Node431width, Node431height]);
- Node431.a('node.bordercolor','rgba(0,0,0,1)');
- Node431.a('node.borderwidth', 0);
- Node431.a('node.background','' || 'rgba(0,0,0,0)');
- Node431.a('node.gradient','');
- Node431.a('node.gradientcolor','');
- Node431.a('node.text','0');
- Node431.a('node.textalign','left');
- Node431.a('node.textvAlign','middle');
- Node431.a('node.textrect', [Node431textStart, 0, Node431textWidth, Node431height]);
- Node431.a('node.color','rgba(0,0,0,1)');
- Node431.a('node.font',' '+ Node431fontSize + 'px "Arial"');
- Node431.a('node.textvisible',true);
- Node431.a('node.linefeed',false);
- if (false) {
- Node431.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node431.a('node.text') || '0';
- var color=Node431.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node431width,Node431height,13.3333*_ratio.ratioY,"left",color,' '+ Node431fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node431.a('node.underlinepoints',[Node431lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node431fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node431fontSize + 'px "Arial"').width + 6, (Node431height - Node431fontSize) * 0.5*_ratio.ratioY + Node431fontSize + 2 ]);
- Node431.a('node.underlinevisible',false);
- Node431.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node431);
- zoomNodeList.push({
- node: Node431,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node432 = new ht.Node();
- var Node432textStart, Node432textWidth, Node432lineStart, Node432align = 'left', Node432fontSize = 13.3333*_ratio.ratioY,Node432width = 29*_ratio.ratioX, Node432height = 16*_ratio.ratioY;
- (function () {
- if (Node432align === 'left') {
- Node432textStart = Node432fontSize * 0.2 > 2 ? Node432fontSize * 0.2 - 4 : Node432fontSize * 0.2 - 9;
- Node432textWidth = Node432width;
- Node432lineStart = 1;
- } else if (Node432align === 'right') {
- Node432textStart = 0;
- Node432textWidth =Node432fontSize <= 8 ? Node432width + Node432fontSize * 0.2 + 6 : Node432width - Node432fontSize * 0.2;
- Node432lineStart = (Node432width - (ht.Default.getTextSize('0', ' '+ Node432fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node432align === 'center') {
- Node432textStart = -3;
- Node432textWidth = Node432width;
- Node432lineStart = Node432width - ht.Default.getTextSize('0', ' '+ Node432fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node432.setImage(GD.getTextJSON(Node432width, Node432height, true, false, false, ' '+ Node432fontSize + 'px "Arial"'))
- Node432.setPosition(1529*ratio.ratioX, 829*ratio.ratioY);
- Node432.setWidth(Node432width);
- Node432.setHeight(Node432height);
- Node432._nodeType = 'text';
- Node432._disallowEvert = true;
- Node432.setRotation(0*Math.PI/180);
- Node432.a('node.width', Node432width);
- Node432.a('node.height', Node432height);
- Node432.a('node.rect', [0, 0, Node432width, Node432height]);
- Node432.a('node.bordercolor','rgba(0,0,0,1)');
- Node432.a('node.borderwidth', 0);
- Node432.a('node.background','' || 'rgba(0,0,0,0)');
- Node432.a('node.gradient','');
- Node432.a('node.gradientcolor','');
- Node432.a('node.text','0');
- Node432.a('node.textalign','left');
- Node432.a('node.textvAlign','middle');
- Node432.a('node.textrect', [Node432textStart, 0, Node432textWidth, Node432height]);
- Node432.a('node.color','rgba(0,0,0,1)');
- Node432.a('node.font',' '+ Node432fontSize + 'px "Arial"');
- Node432.a('node.textvisible',true);
- Node432.a('node.linefeed',false);
- if (false) {
- Node432.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node432.a('node.text') || '0';
- var color=Node432.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node432width,Node432height,13.3333*_ratio.ratioY,"left",color,' '+ Node432fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node432.a('node.underlinepoints',[Node432lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node432fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node432fontSize + 'px "Arial"').width + 6, (Node432height - Node432fontSize) * 0.5*_ratio.ratioY + Node432fontSize + 2 ]);
- Node432.a('node.underlinevisible',false);
- Node432.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node432);
- zoomNodeList.push({
- node: Node432,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433 = new ht.Node();
- var Node433textStart, Node433textWidth, Node433lineStart, Node433align = 'left', Node433fontSize = 13.3333*_ratio.ratioY,Node433width = 29*_ratio.ratioX, Node433height = 16*_ratio.ratioY;
- (function () {
- if (Node433align === 'left') {
- Node433textStart = Node433fontSize * 0.2 > 2 ? Node433fontSize * 0.2 - 4 : Node433fontSize * 0.2 - 9;
- Node433textWidth = Node433width;
- Node433lineStart = 1;
- } else if (Node433align === 'right') {
- Node433textStart = 0;
- Node433textWidth =Node433fontSize <= 8 ? Node433width + Node433fontSize * 0.2 + 6 : Node433width - Node433fontSize * 0.2;
- Node433lineStart = (Node433width - (ht.Default.getTextSize('0', ' '+ Node433fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node433align === 'center') {
- Node433textStart = -3;
- Node433textWidth = Node433width;
- Node433lineStart = Node433width - ht.Default.getTextSize('0', ' '+ Node433fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node433.setImage(GD.getTextJSON(Node433width, Node433height, true, false, false, ' '+ Node433fontSize + 'px "Arial"'))
- Node433.setPosition(1529*ratio.ratioX, 850*ratio.ratioY);
- Node433.setWidth(Node433width);
- Node433.setHeight(Node433height);
- Node433._nodeType = 'text';
- Node433._disallowEvert = true;
- Node433.setRotation(0*Math.PI/180);
- Node433.a('node.width', Node433width);
- Node433.a('node.height', Node433height);
- Node433.a('node.rect', [0, 0, Node433width, Node433height]);
- Node433.a('node.bordercolor','rgba(0,0,0,1)');
- Node433.a('node.borderwidth', 0);
- Node433.a('node.background','' || 'rgba(0,0,0,0)');
- Node433.a('node.gradient','');
- Node433.a('node.gradientcolor','');
- Node433.a('node.text','0');
- Node433.a('node.textalign','left');
- Node433.a('node.textvAlign','middle');
- Node433.a('node.textrect', [Node433textStart, 0, Node433textWidth, Node433height]);
- Node433.a('node.color','rgba(0,0,0,1)');
- Node433.a('node.font',' '+ Node433fontSize + 'px "Arial"');
- Node433.a('node.textvisible',true);
- Node433.a('node.linefeed',false);
- if (false) {
- Node433.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433.a('node.text') || '0';
- var color=Node433.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433width,Node433height,13.3333*_ratio.ratioY,"left",color,' '+ Node433fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node433.a('node.underlinepoints',[Node433lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node433fontSize + 'px "Arial"').width + 6, (Node433height - Node433fontSize) * 0.5*_ratio.ratioY + Node433fontSize + 2 ]);
- Node433.a('node.underlinevisible',false);
- Node433.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433);
- zoomNodeList.push({
- node: Node433,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node434 = new ht.Node();
- var Node434textStart, Node434textWidth, Node434lineStart, Node434align = 'left', Node434fontSize = 13.3333*_ratio.ratioY,Node434width = 29*_ratio.ratioX, Node434height = 16*_ratio.ratioY;
- (function () {
- if (Node434align === 'left') {
- Node434textStart = Node434fontSize * 0.2 > 2 ? Node434fontSize * 0.2 - 4 : Node434fontSize * 0.2 - 9;
- Node434textWidth = Node434width;
- Node434lineStart = 1;
- } else if (Node434align === 'right') {
- Node434textStart = 0;
- Node434textWidth =Node434fontSize <= 8 ? Node434width + Node434fontSize * 0.2 + 6 : Node434width - Node434fontSize * 0.2;
- Node434lineStart = (Node434width - (ht.Default.getTextSize('0', ' '+ Node434fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node434align === 'center') {
- Node434textStart = -3;
- Node434textWidth = Node434width;
- Node434lineStart = Node434width - ht.Default.getTextSize('0', ' '+ Node434fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node434.setImage(GD.getTextJSON(Node434width, Node434height, true, false, false, ' '+ Node434fontSize + 'px "Arial"'))
- Node434.setPosition(1529*ratio.ratioX, 870*ratio.ratioY);
- Node434.setWidth(Node434width);
- Node434.setHeight(Node434height);
- Node434._nodeType = 'text';
- Node434._disallowEvert = true;
- Node434.setRotation(0*Math.PI/180);
- Node434.a('node.width', Node434width);
- Node434.a('node.height', Node434height);
- Node434.a('node.rect', [0, 0, Node434width, Node434height]);
- Node434.a('node.bordercolor','rgba(0,0,0,1)');
- Node434.a('node.borderwidth', 0);
- Node434.a('node.background','' || 'rgba(0,0,0,0)');
- Node434.a('node.gradient','');
- Node434.a('node.gradientcolor','');
- Node434.a('node.text','0');
- Node434.a('node.textalign','left');
- Node434.a('node.textvAlign','middle');
- Node434.a('node.textrect', [Node434textStart, 0, Node434textWidth, Node434height]);
- Node434.a('node.color','rgba(0,0,0,1)');
- Node434.a('node.font',' '+ Node434fontSize + 'px "Arial"');
- Node434.a('node.textvisible',true);
- Node434.a('node.linefeed',false);
- if (false) {
- Node434.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node434.a('node.text') || '0';
- var color=Node434.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node434width,Node434height,13.3333*_ratio.ratioY,"left",color,' '+ Node434fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node434.a('node.underlinepoints',[Node434lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node434fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node434fontSize + 'px "Arial"').width + 6, (Node434height - Node434fontSize) * 0.5*_ratio.ratioY + Node434fontSize + 2 ]);
- Node434.a('node.underlinevisible',false);
- Node434.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node434);
- zoomNodeList.push({
- node: Node434,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435 = new ht.Node();
- var Node435textStart, Node435textWidth, Node435lineStart, Node435align = 'left', Node435fontSize = 13.3333*_ratio.ratioY,Node435width = 29*_ratio.ratioX, Node435height = 16*_ratio.ratioY;
- (function () {
- if (Node435align === 'left') {
- Node435textStart = Node435fontSize * 0.2 > 2 ? Node435fontSize * 0.2 - 4 : Node435fontSize * 0.2 - 9;
- Node435textWidth = Node435width;
- Node435lineStart = 1;
- } else if (Node435align === 'right') {
- Node435textStart = 0;
- Node435textWidth =Node435fontSize <= 8 ? Node435width + Node435fontSize * 0.2 + 6 : Node435width - Node435fontSize * 0.2;
- Node435lineStart = (Node435width - (ht.Default.getTextSize('0', ' '+ Node435fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node435align === 'center') {
- Node435textStart = -3;
- Node435textWidth = Node435width;
- Node435lineStart = Node435width - ht.Default.getTextSize('0', ' '+ Node435fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node435.setImage(GD.getTextJSON(Node435width, Node435height, true, false, false, ' '+ Node435fontSize + 'px "Arial"'))
- Node435.setPosition(1703*ratio.ratioX, 806*ratio.ratioY);
- Node435.setWidth(Node435width);
- Node435.setHeight(Node435height);
- Node435._nodeType = 'text';
- Node435._disallowEvert = true;
- Node435.setRotation(0*Math.PI/180);
- Node435.a('node.width', Node435width);
- Node435.a('node.height', Node435height);
- Node435.a('node.rect', [0, 0, Node435width, Node435height]);
- Node435.a('node.bordercolor','rgba(0,0,0,1)');
- Node435.a('node.borderwidth', 0);
- Node435.a('node.background','' || 'rgba(0,0,0,0)');
- Node435.a('node.gradient','');
- Node435.a('node.gradientcolor','');
- Node435.a('node.text','0');
- Node435.a('node.textalign','left');
- Node435.a('node.textvAlign','middle');
- Node435.a('node.textrect', [Node435textStart, 0, Node435textWidth, Node435height]);
- Node435.a('node.color','rgba(0,0,0,1)');
- Node435.a('node.font',' '+ Node435fontSize + 'px "Arial"');
- Node435.a('node.textvisible',true);
- Node435.a('node.linefeed',false);
- if (false) {
- Node435.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435.a('node.text') || '0';
- var color=Node435.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435width,Node435height,13.3333*_ratio.ratioY,"left",color,' '+ Node435fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node435.a('node.underlinepoints',[Node435lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node435fontSize + 'px "Arial"').width + 6, (Node435height - Node435fontSize) * 0.5*_ratio.ratioY + Node435fontSize + 2 ]);
- Node435.a('node.underlinevisible',false);
- Node435.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435);
- zoomNodeList.push({
- node: Node435,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node436 = new ht.Node();
- var Node436textStart, Node436textWidth, Node436lineStart, Node436align = 'left', Node436fontSize = 13.3333*_ratio.ratioY,Node436width = 29*_ratio.ratioX, Node436height = 16*_ratio.ratioY;
- (function () {
- if (Node436align === 'left') {
- Node436textStart = Node436fontSize * 0.2 > 2 ? Node436fontSize * 0.2 - 4 : Node436fontSize * 0.2 - 9;
- Node436textWidth = Node436width;
- Node436lineStart = 1;
- } else if (Node436align === 'right') {
- Node436textStart = 0;
- Node436textWidth =Node436fontSize <= 8 ? Node436width + Node436fontSize * 0.2 + 6 : Node436width - Node436fontSize * 0.2;
- Node436lineStart = (Node436width - (ht.Default.getTextSize('0', ' '+ Node436fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node436align === 'center') {
- Node436textStart = -3;
- Node436textWidth = Node436width;
- Node436lineStart = Node436width - ht.Default.getTextSize('0', ' '+ Node436fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node436.setImage(GD.getTextJSON(Node436width, Node436height, true, false, false, ' '+ Node436fontSize + 'px "Arial"'))
- Node436.setPosition(1703*ratio.ratioX, 829*ratio.ratioY);
- Node436.setWidth(Node436width);
- Node436.setHeight(Node436height);
- Node436._nodeType = 'text';
- Node436._disallowEvert = true;
- Node436.setRotation(0*Math.PI/180);
- Node436.a('node.width', Node436width);
- Node436.a('node.height', Node436height);
- Node436.a('node.rect', [0, 0, Node436width, Node436height]);
- Node436.a('node.bordercolor','rgba(0,0,0,1)');
- Node436.a('node.borderwidth', 0);
- Node436.a('node.background','' || 'rgba(0,0,0,0)');
- Node436.a('node.gradient','');
- Node436.a('node.gradientcolor','');
- Node436.a('node.text','0');
- Node436.a('node.textalign','left');
- Node436.a('node.textvAlign','middle');
- Node436.a('node.textrect', [Node436textStart, 0, Node436textWidth, Node436height]);
- Node436.a('node.color','rgba(0,0,0,1)');
- Node436.a('node.font',' '+ Node436fontSize + 'px "Arial"');
- Node436.a('node.textvisible',true);
- Node436.a('node.linefeed',false);
- if (false) {
- Node436.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node436.a('node.text') || '0';
- var color=Node436.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node436width,Node436height,13.3333*_ratio.ratioY,"left",color,' '+ Node436fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node436.a('node.underlinepoints',[Node436lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node436fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node436fontSize + 'px "Arial"').width + 6, (Node436height - Node436fontSize) * 0.5*_ratio.ratioY + Node436fontSize + 2 ]);
- Node436.a('node.underlinevisible',false);
- Node436.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node436);
- zoomNodeList.push({
- node: Node436,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437 = new ht.Node();
- var Node437textStart, Node437textWidth, Node437lineStart, Node437align = 'left', Node437fontSize = 13.3333*_ratio.ratioY,Node437width = 29*_ratio.ratioX, Node437height = 16*_ratio.ratioY;
- (function () {
- if (Node437align === 'left') {
- Node437textStart = Node437fontSize * 0.2 > 2 ? Node437fontSize * 0.2 - 4 : Node437fontSize * 0.2 - 9;
- Node437textWidth = Node437width;
- Node437lineStart = 1;
- } else if (Node437align === 'right') {
- Node437textStart = 0;
- Node437textWidth =Node437fontSize <= 8 ? Node437width + Node437fontSize * 0.2 + 6 : Node437width - Node437fontSize * 0.2;
- Node437lineStart = (Node437width - (ht.Default.getTextSize('0', ' '+ Node437fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node437align === 'center') {
- Node437textStart = -3;
- Node437textWidth = Node437width;
- Node437lineStart = Node437width - ht.Default.getTextSize('0', ' '+ Node437fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node437.setImage(GD.getTextJSON(Node437width, Node437height, true, false, false, ' '+ Node437fontSize + 'px "Arial"'))
- Node437.setPosition(1703*ratio.ratioX, 850*ratio.ratioY);
- Node437.setWidth(Node437width);
- Node437.setHeight(Node437height);
- Node437._nodeType = 'text';
- Node437._disallowEvert = true;
- Node437.setRotation(0*Math.PI/180);
- Node437.a('node.width', Node437width);
- Node437.a('node.height', Node437height);
- Node437.a('node.rect', [0, 0, Node437width, Node437height]);
- Node437.a('node.bordercolor','rgba(0,0,0,1)');
- Node437.a('node.borderwidth', 0);
- Node437.a('node.background','' || 'rgba(0,0,0,0)');
- Node437.a('node.gradient','');
- Node437.a('node.gradientcolor','');
- Node437.a('node.text','0');
- Node437.a('node.textalign','left');
- Node437.a('node.textvAlign','middle');
- Node437.a('node.textrect', [Node437textStart, 0, Node437textWidth, Node437height]);
- Node437.a('node.color','rgba(0,0,0,1)');
- Node437.a('node.font',' '+ Node437fontSize + 'px "Arial"');
- Node437.a('node.textvisible',true);
- Node437.a('node.linefeed',false);
- if (false) {
- Node437.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437.a('node.text') || '0';
- var color=Node437.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437width,Node437height,13.3333*_ratio.ratioY,"left",color,' '+ Node437fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node437.a('node.underlinepoints',[Node437lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node437fontSize + 'px "Arial"').width + 6, (Node437height - Node437fontSize) * 0.5*_ratio.ratioY + Node437fontSize + 2 ]);
- Node437.a('node.underlinevisible',false);
- Node437.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437);
- zoomNodeList.push({
- node: Node437,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node438 = new ht.Node();
- var Node438textStart, Node438textWidth, Node438lineStart, Node438align = 'left', Node438fontSize = 13.3333*_ratio.ratioY,Node438width = 29*_ratio.ratioX, Node438height = 16*_ratio.ratioY;
- (function () {
- if (Node438align === 'left') {
- Node438textStart = Node438fontSize * 0.2 > 2 ? Node438fontSize * 0.2 - 4 : Node438fontSize * 0.2 - 9;
- Node438textWidth = Node438width;
- Node438lineStart = 1;
- } else if (Node438align === 'right') {
- Node438textStart = 0;
- Node438textWidth =Node438fontSize <= 8 ? Node438width + Node438fontSize * 0.2 + 6 : Node438width - Node438fontSize * 0.2;
- Node438lineStart = (Node438width - (ht.Default.getTextSize('0', ' '+ Node438fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node438align === 'center') {
- Node438textStart = -3;
- Node438textWidth = Node438width;
- Node438lineStart = Node438width - ht.Default.getTextSize('0', ' '+ Node438fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node438.setImage(GD.getTextJSON(Node438width, Node438height, true, false, false, ' '+ Node438fontSize + 'px "Arial"'))
- Node438.setPosition(1703*ratio.ratioX, 870*ratio.ratioY);
- Node438.setWidth(Node438width);
- Node438.setHeight(Node438height);
- Node438._nodeType = 'text';
- Node438._disallowEvert = true;
- Node438.setRotation(0*Math.PI/180);
- Node438.a('node.width', Node438width);
- Node438.a('node.height', Node438height);
- Node438.a('node.rect', [0, 0, Node438width, Node438height]);
- Node438.a('node.bordercolor','rgba(0,0,0,1)');
- Node438.a('node.borderwidth', 0);
- Node438.a('node.background','' || 'rgba(0,0,0,0)');
- Node438.a('node.gradient','');
- Node438.a('node.gradientcolor','');
- Node438.a('node.text','0');
- Node438.a('node.textalign','left');
- Node438.a('node.textvAlign','middle');
- Node438.a('node.textrect', [Node438textStart, 0, Node438textWidth, Node438height]);
- Node438.a('node.color','rgba(0,0,0,1)');
- Node438.a('node.font',' '+ Node438fontSize + 'px "Arial"');
- Node438.a('node.textvisible',true);
- Node438.a('node.linefeed',false);
- if (false) {
- Node438.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node438.a('node.text') || '0';
- var color=Node438.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node438width,Node438height,13.3333*_ratio.ratioY,"left",color,' '+ Node438fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node438.a('node.underlinepoints',[Node438lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node438fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node438fontSize + 'px "Arial"').width + 6, (Node438height - Node438fontSize) * 0.5*_ratio.ratioY + Node438fontSize + 2 ]);
- Node438.a('node.underlinevisible',false);
- Node438.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node438);
- zoomNodeList.push({
- node: Node438,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439type = 'rect';
- var Node439 = new ht.Node(),
- Node439BorderWidth = 0*2;
- if (Node439type === 'arc') {
- Node439BorderWidth *= 0;
- }
- Node439.setImage(GD.getRectJSON(90*_ratio.ratioX, 21*_ratio.ratioY, Node439type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439.setPosition(954*ratio.ratioX, 781*ratio.ratioY);
- Node439.setSize(90*_ratio.ratioX, 21*_ratio.ratioY);
- Node439.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439.a('node.width', 90*_ratio.ratioX);
- Node439.a('node.height', 21*_ratio.ratioY);
- Node439.a('node.type', Node439type);
- Node439.a('node.rect', [0, 0, 90*_ratio.ratioX, 21*_ratio.ratioY]);
- Node439.a('node.background', 'rgba(0,0,192,1)');
- Node439.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node439.a('node.gradient', '');
- Node439.a('node.borderwidth', Node439BorderWidth);
- Node439.a('node.color', 'rgba(0,0,0,0)');
- Node439.a('node.fillrect', [0,0,0,0]);
- Node439.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439.a('node.fillgradient', '');
- if (Node439type !== 'rect') {
- Node439.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439.a('node.arcTo', parseFloat('@arcTo@'));
- Node439.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439type === 'arc') {
- Node439.a('node.arcOval', true);
- }
- Node439.setRotation(0*Math.PI/180);
- Node439.borderWidth = Node439BorderWidth;
- Node439.borderFillwidth = Node439BorderWidth;
- dataModel.add(Node439);
- Node439._nodename = 'Node439'
- Node439._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node439, Node439.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node440 = new ht.Node();
- var Node440textStart, Node440textWidth, Node440lineStart, Node440align = 'left', Node440fontSize = 13.3333*_ratio.ratioY,Node440width = 69*_ratio.ratioX, Node440height = 30*_ratio.ratioY;
- (function () {
- if (Node440align === 'left') {
- Node440textStart = Node440fontSize * 0.2 > 2 ? Node440fontSize * 0.2 - 4 : Node440fontSize * 0.2 - 9;
- Node440textWidth = Node440width;
- Node440lineStart = 1;
- } else if (Node440align === 'right') {
- Node440textStart = 0;
- Node440textWidth =Node440fontSize <= 8 ? Node440width + Node440fontSize * 0.2 + 6 : Node440width - Node440fontSize * 0.2;
- Node440lineStart = (Node440width - (ht.Default.getTextSize('分段', ' '+ Node440fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node440align === 'center') {
- Node440textStart = -3;
- Node440textWidth = Node440width;
- Node440lineStart = Node440width - ht.Default.getTextSize('分段', ' '+ Node440fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node440.setImage(GD.getTextJSON(Node440width, Node440height, true, false, false, ' '+ Node440fontSize + 'px "微软雅黑"'))
- Node440.setPosition(973*ratio.ratioX, 781*ratio.ratioY);
- Node440.setWidth(Node440width);
- Node440.setHeight(Node440height);
- Node440._nodeType = 'text';
- Node440._disallowEvert = true;
- Node440.setRotation(0*Math.PI/180);
- Node440.a('node.width', Node440width);
- Node440.a('node.height', Node440height);
- Node440.a('node.rect', [0, 0, Node440width, Node440height]);
- Node440.a('node.bordercolor','rgba(255,255,255,1)');
- Node440.a('node.borderwidth', 0);
- Node440.a('node.background','' || 'rgba(0,0,0,0)');
- Node440.a('node.gradient','');
- Node440.a('node.gradientcolor','');
- Node440.a('node.text','分段');
- Node440.a('node.textalign','left');
- Node440.a('node.textvAlign','middle');
- Node440.a('node.textrect', [Node440textStart, 0, Node440textWidth, Node440height]);
- Node440.a('node.color','rgba(255,255,255,1)');
- Node440.a('node.font',' '+ Node440fontSize + 'px "微软雅黑"');
- Node440.a('node.textvisible',true);
- Node440.a('node.linefeed',false);
- if (false) {
- Node440.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node440.a('node.text') || '分段';
- var color=Node440.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node440width,Node440height,13.3333*_ratio.ratioY,"left",color,' '+ Node440fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node440.a('node.underlinepoints',[Node440lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node440fontSize + 2 , ht.Default.getTextSize('分段', ' '+ Node440fontSize + 'px "微软雅黑"').width + 6, (Node440height - Node440fontSize) * 0.5*_ratio.ratioY + Node440fontSize + 2 ]);
- Node440.a('node.underlinevisible',false);
- Node440.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node440);
- zoomNodeList.push({
- node: Node440,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441 = new ht.Node();
- var Node441textStart, Node441textWidth, Node441lineStart, Node441align = 'left', Node441fontSize = 13.3333*_ratio.ratioY,Node441width = 29*_ratio.ratioX, Node441height = 16*_ratio.ratioY;
- (function () {
- if (Node441align === 'left') {
- Node441textStart = Node441fontSize * 0.2 > 2 ? Node441fontSize * 0.2 - 4 : Node441fontSize * 0.2 - 9;
- Node441textWidth = Node441width;
- Node441lineStart = 1;
- } else if (Node441align === 'right') {
- Node441textStart = 0;
- Node441textWidth =Node441fontSize <= 8 ? Node441width + Node441fontSize * 0.2 + 6 : Node441width - Node441fontSize * 0.2;
- Node441lineStart = (Node441width - (ht.Default.getTextSize('0', ' '+ Node441fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node441align === 'center') {
- Node441textStart = -3;
- Node441textWidth = Node441width;
- Node441lineStart = Node441width - ht.Default.getTextSize('0', ' '+ Node441fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node441.setImage(GD.getTextJSON(Node441width, Node441height, true, false, false, ' '+ Node441fontSize + 'px "Arial"'))
- Node441.setPosition(960*ratio.ratioX, 807*ratio.ratioY);
- Node441.setWidth(Node441width);
- Node441.setHeight(Node441height);
- Node441._nodeType = 'text';
- Node441._disallowEvert = true;
- Node441.setRotation(0*Math.PI/180);
- Node441.a('node.width', Node441width);
- Node441.a('node.height', Node441height);
- Node441.a('node.rect', [0, 0, Node441width, Node441height]);
- Node441.a('node.bordercolor','rgba(0,0,0,1)');
- Node441.a('node.borderwidth', 0);
- Node441.a('node.background','' || 'rgba(0,0,0,0)');
- Node441.a('node.gradient','');
- Node441.a('node.gradientcolor','');
- Node441.a('node.text','0');
- Node441.a('node.textalign','left');
- Node441.a('node.textvAlign','middle');
- Node441.a('node.textrect', [Node441textStart, 0, Node441textWidth, Node441height]);
- Node441.a('node.color','rgba(0,0,0,1)');
- Node441.a('node.font',' '+ Node441fontSize + 'px "Arial"');
- Node441.a('node.textvisible',true);
- Node441.a('node.linefeed',false);
- if (false) {
- Node441.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441.a('node.text') || '0';
- var color=Node441.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node441width,Node441height,13.3333*_ratio.ratioY,"left",color,' '+ Node441fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node441.a('node.underlinepoints',[Node441lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node441fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node441fontSize + 'px "Arial"').width + 6, (Node441height - Node441fontSize) * 0.5*_ratio.ratioY + Node441fontSize + 2 ]);
- Node441.a('node.underlinevisible',false);
- Node441.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441);
- zoomNodeList.push({
- node: Node441,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node442 = new ht.Node();
- var Node442textStart, Node442textWidth, Node442lineStart, Node442align = 'left', Node442fontSize = 13.3333*_ratio.ratioY,Node442width = 29*_ratio.ratioX, Node442height = 16*_ratio.ratioY;
- (function () {
- if (Node442align === 'left') {
- Node442textStart = Node442fontSize * 0.2 > 2 ? Node442fontSize * 0.2 - 4 : Node442fontSize * 0.2 - 9;
- Node442textWidth = Node442width;
- Node442lineStart = 1;
- } else if (Node442align === 'right') {
- Node442textStart = 0;
- Node442textWidth =Node442fontSize <= 8 ? Node442width + Node442fontSize * 0.2 + 6 : Node442width - Node442fontSize * 0.2;
- Node442lineStart = (Node442width - (ht.Default.getTextSize('0', ' '+ Node442fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node442align === 'center') {
- Node442textStart = -3;
- Node442textWidth = Node442width;
- Node442lineStart = Node442width - ht.Default.getTextSize('0', ' '+ Node442fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node442.setImage(GD.getTextJSON(Node442width, Node442height, true, false, false, ' '+ Node442fontSize + 'px "Arial"'))
- Node442.setPosition(960*ratio.ratioX, 830*ratio.ratioY);
- Node442.setWidth(Node442width);
- Node442.setHeight(Node442height);
- Node442._nodeType = 'text';
- Node442._disallowEvert = true;
- Node442.setRotation(0*Math.PI/180);
- Node442.a('node.width', Node442width);
- Node442.a('node.height', Node442height);
- Node442.a('node.rect', [0, 0, Node442width, Node442height]);
- Node442.a('node.bordercolor','rgba(0,0,0,1)');
- Node442.a('node.borderwidth', 0);
- Node442.a('node.background','' || 'rgba(0,0,0,0)');
- Node442.a('node.gradient','');
- Node442.a('node.gradientcolor','');
- Node442.a('node.text','0');
- Node442.a('node.textalign','left');
- Node442.a('node.textvAlign','middle');
- Node442.a('node.textrect', [Node442textStart, 0, Node442textWidth, Node442height]);
- Node442.a('node.color','rgba(0,0,0,1)');
- Node442.a('node.font',' '+ Node442fontSize + 'px "Arial"');
- Node442.a('node.textvisible',true);
- Node442.a('node.linefeed',false);
- if (false) {
- Node442.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node442.a('node.text') || '0';
- var color=Node442.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node442width,Node442height,13.3333*_ratio.ratioY,"left",color,' '+ Node442fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node442.a('node.underlinepoints',[Node442lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node442fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node442fontSize + 'px "Arial"').width + 6, (Node442height - Node442fontSize) * 0.5*_ratio.ratioY + Node442fontSize + 2 ]);
- Node442.a('node.underlinevisible',false);
- Node442.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node442);
- zoomNodeList.push({
- node: Node442,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node443 = new ht.Node();
- var Node443textStart, Node443textWidth, Node443lineStart, Node443align = 'left', Node443fontSize = 13.3333*_ratio.ratioY,Node443width = 29*_ratio.ratioX, Node443height = 16*_ratio.ratioY;
- (function () {
- if (Node443align === 'left') {
- Node443textStart = Node443fontSize * 0.2 > 2 ? Node443fontSize * 0.2 - 4 : Node443fontSize * 0.2 - 9;
- Node443textWidth = Node443width;
- Node443lineStart = 1;
- } else if (Node443align === 'right') {
- Node443textStart = 0;
- Node443textWidth =Node443fontSize <= 8 ? Node443width + Node443fontSize * 0.2 + 6 : Node443width - Node443fontSize * 0.2;
- Node443lineStart = (Node443width - (ht.Default.getTextSize('0', ' '+ Node443fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node443align === 'center') {
- Node443textStart = -3;
- Node443textWidth = Node443width;
- Node443lineStart = Node443width - ht.Default.getTextSize('0', ' '+ Node443fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node443.setImage(GD.getTextJSON(Node443width, Node443height, true, false, false, ' '+ Node443fontSize + 'px "Arial"'))
- Node443.setPosition(960*ratio.ratioX, 851*ratio.ratioY);
- Node443.setWidth(Node443width);
- Node443.setHeight(Node443height);
- Node443._nodeType = 'text';
- Node443._disallowEvert = true;
- Node443.setRotation(0*Math.PI/180);
- Node443.a('node.width', Node443width);
- Node443.a('node.height', Node443height);
- Node443.a('node.rect', [0, 0, Node443width, Node443height]);
- Node443.a('node.bordercolor','rgba(0,0,0,1)');
- Node443.a('node.borderwidth', 0);
- Node443.a('node.background','' || 'rgba(0,0,0,0)');
- Node443.a('node.gradient','');
- Node443.a('node.gradientcolor','');
- Node443.a('node.text','0');
- Node443.a('node.textalign','left');
- Node443.a('node.textvAlign','middle');
- Node443.a('node.textrect', [Node443textStart, 0, Node443textWidth, Node443height]);
- Node443.a('node.color','rgba(0,0,0,1)');
- Node443.a('node.font',' '+ Node443fontSize + 'px "Arial"');
- Node443.a('node.textvisible',true);
- Node443.a('node.linefeed',false);
- if (false) {
- Node443.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node443.a('node.text') || '0';
- var color=Node443.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node443width,Node443height,13.3333*_ratio.ratioY,"left",color,' '+ Node443fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node443.a('node.underlinepoints',[Node443lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node443fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node443fontSize + 'px "Arial"').width + 6, (Node443height - Node443fontSize) * 0.5*_ratio.ratioY + Node443fontSize + 2 ]);
- Node443.a('node.underlinevisible',false);
- Node443.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node443);
- zoomNodeList.push({
- node: Node443,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444 = new ht.Node();
- var Node444textStart, Node444textWidth, Node444lineStart, Node444align = 'left', Node444fontSize = 13.3333*_ratio.ratioY,Node444width = 29*_ratio.ratioX, Node444height = 16*_ratio.ratioY;
- (function () {
- if (Node444align === 'left') {
- Node444textStart = Node444fontSize * 0.2 > 2 ? Node444fontSize * 0.2 - 4 : Node444fontSize * 0.2 - 9;
- Node444textWidth = Node444width;
- Node444lineStart = 1;
- } else if (Node444align === 'right') {
- Node444textStart = 0;
- Node444textWidth =Node444fontSize <= 8 ? Node444width + Node444fontSize * 0.2 + 6 : Node444width - Node444fontSize * 0.2;
- Node444lineStart = (Node444width - (ht.Default.getTextSize('0', ' '+ Node444fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node444align === 'center') {
- Node444textStart = -3;
- Node444textWidth = Node444width;
- Node444lineStart = Node444width - ht.Default.getTextSize('0', ' '+ Node444fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node444.setImage(GD.getTextJSON(Node444width, Node444height, true, false, false, ' '+ Node444fontSize + 'px "Arial"'))
- Node444.setPosition(960*ratio.ratioX, 871*ratio.ratioY);
- Node444.setWidth(Node444width);
- Node444.setHeight(Node444height);
- Node444._nodeType = 'text';
- Node444._disallowEvert = true;
- Node444.setRotation(0*Math.PI/180);
- Node444.a('node.width', Node444width);
- Node444.a('node.height', Node444height);
- Node444.a('node.rect', [0, 0, Node444width, Node444height]);
- Node444.a('node.bordercolor','rgba(0,0,0,1)');
- Node444.a('node.borderwidth', 0);
- Node444.a('node.background','' || 'rgba(0,0,0,0)');
- Node444.a('node.gradient','');
- Node444.a('node.gradientcolor','');
- Node444.a('node.text','0');
- Node444.a('node.textalign','left');
- Node444.a('node.textvAlign','middle');
- Node444.a('node.textrect', [Node444textStart, 0, Node444textWidth, Node444height]);
- Node444.a('node.color','rgba(0,0,0,1)');
- Node444.a('node.font',' '+ Node444fontSize + 'px "Arial"');
- Node444.a('node.textvisible',true);
- Node444.a('node.linefeed',false);
- if (false) {
- Node444.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444.a('node.text') || '0';
- var color=Node444.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444width,Node444height,13.3333*_ratio.ratioY,"left",color,' '+ Node444fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node444.a('node.underlinepoints',[Node444lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node444fontSize + 'px "Arial"').width + 6, (Node444height - Node444fontSize) * 0.5*_ratio.ratioY + Node444fontSize + 2 ]);
- Node444.a('node.underlinevisible',false);
- Node444.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444);
- zoomNodeList.push({
- node: Node444,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node445_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node445_0 = new ht.Node();
- Node445_0.setPosition(13*ratio.ratioX, 216*ratio.ratioY);
- Node445_0.setSize(27*ratioX, 101*ratioY);
- Node445_0.setImage('imgimage//left_menu_out0.png');
- Node445_0.setRotation(0*Math.PI/180);
- Node445_0._zoomBy = 'Default';
- Node445_0._nodeType = 'image';
- Node445_0._disallowEvert = true;
- dataModel.add(Node445_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node445_1 = new ht.Node();
- var Node445_1textStart, Node445_1textWidth, Node445_1lineStart, Node445_1align = 'left', Node445_1fontSize = 19.99995*_ratio.ratioY,Node445_1width = 23*_ratio.ratioX, Node445_1height = 76*_ratio.ratioY;
- (function () {
- if (Node445_1align === 'left') {
- Node445_1textStart = Node445_1fontSize * 0.2 > 2 ? Node445_1fontSize * 0.2 - 4 : Node445_1fontSize * 0.2 - 9;
- Node445_1textWidth = Node445_1width;
- Node445_1lineStart = 1;
- } else if (Node445_1align === 'right') {
- Node445_1textStart = 0;
- Node445_1textWidth =Node445_1fontSize <= 8 ? Node445_1width + Node445_1fontSize * 0.2 + 6 : Node445_1width - Node445_1fontSize * 0.2;
- Node445_1lineStart = (Node445_1width - (ht.Default.getTextSize('排布图', ' '+ Node445_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node445_1align === 'center') {
- Node445_1textStart = -3;
- Node445_1textWidth = Node445_1width;
- Node445_1lineStart = Node445_1width - ht.Default.getTextSize('排布图', ' '+ Node445_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node445_1.setImage(GD.getTextJSON(Node445_1width, Node445_1height, false, true, false, ' '+ Node445_1fontSize + 'px "Arial"'))
- Node445_1.setPosition(12*ratio.ratioX, 214*ratio.ratioY);
- Node445_1.setWidth(Node445_1width);
- Node445_1.setHeight(Node445_1height);
- Node445_1._nodeType = 'text';
- Node445_1._disallowEvert = true;
- Node445_1.setRotation(0*Math.PI/180);
- Node445_1.a('node.width', Node445_1width);
- Node445_1.a('node.height', Node445_1height);
- Node445_1.a('node.rect', [0, 0, Node445_1width, Node445_1height]);
- Node445_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node445_1.a('node.borderwidth', 0);
- Node445_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node445_1.a('node.gradient','');
- Node445_1.a('node.gradientcolor','');
- Node445_1.a('node.text','排布图');
- Node445_1.a('node.textalign','left');
- Node445_1.a('node.textvAlign','middle');
- Node445_1.a('node.textrect', [Node445_1textStart, 0, Node445_1textWidth, Node445_1height]);
- Node445_1.a('node.color','rgba(0,0,0,1)');
- Node445_1.a('node.font',' '+ Node445_1fontSize + 'px "Arial"');
- Node445_1.a('node.textvisible',false);
- Node445_1.a('node.linefeed',true);
- if (true) {
- Node445_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node445_1.a('node.text') || '排布图';
- var color=Node445_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node445_1width,Node445_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node445_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node445_1.a('node.underlinepoints',[Node445_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node445_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node445_1fontSize + 'px "Arial"').width + 6, (Node445_1height - Node445_1fontSize) * 0.5*_ratio.ratioY + Node445_1fontSize + 2 ]);
- Node445_1.a('node.underlinevisible',false);
- Node445_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node445_1);
- zoomNodeList.push({
- node: Node445_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node446_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');
- Node446_0 = new ht.Node();
- Node446_0.setPosition(13*ratio.ratioX, 316*ratio.ratioY);
- Node446_0.setSize(27*ratioX, 101*ratioY);
- Node446_0.setImage('imgimage//left_menu_out0.png');
- Node446_0.setRotation(0*Math.PI/180);
- Node446_0._zoomBy = 'Default';
- Node446_0._nodeType = 'image';
- Node446_0._disallowEvert = true;
- dataModel.add(Node446_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_1 = new ht.Node();
- var Node446_1textStart, Node446_1textWidth, Node446_1lineStart, Node446_1align = 'left', Node446_1fontSize = 18.66662*_ratio.ratioY,Node446_1width = 23*_ratio.ratioX, Node446_1height = 76*_ratio.ratioY;
- (function () {
- if (Node446_1align === 'left') {
- Node446_1textStart = Node446_1fontSize * 0.2 > 2 ? Node446_1fontSize * 0.2 - 4 : Node446_1fontSize * 0.2 - 9;
- Node446_1textWidth = Node446_1width;
- Node446_1lineStart = 1;
- } else if (Node446_1align === 'right') {
- Node446_1textStart = 0;
- Node446_1textWidth =Node446_1fontSize <= 8 ? Node446_1width + Node446_1fontSize * 0.2 + 6 : Node446_1width - Node446_1fontSize * 0.2;
- Node446_1lineStart = (Node446_1width - (ht.Default.getTextSize('总貌图', ' '+ Node446_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node446_1align === 'center') {
- Node446_1textStart = -3;
- Node446_1textWidth = Node446_1width;
- Node446_1lineStart = Node446_1width - ht.Default.getTextSize('总貌图', ' '+ Node446_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node446_1.setImage(GD.getTextJSON(Node446_1width, Node446_1height, false, true, false, ' '+ Node446_1fontSize + 'px "Arial"'))
- Node446_1.setPosition(12*ratio.ratioX, 314*ratio.ratioY);
- Node446_1.setWidth(Node446_1width);
- Node446_1.setHeight(Node446_1height);
- Node446_1._nodeType = 'text';
- Node446_1._disallowEvert = true;
- Node446_1.setRotation(0*Math.PI/180);
- Node446_1.a('node.width', Node446_1width);
- Node446_1.a('node.height', Node446_1height);
- Node446_1.a('node.rect', [0, 0, Node446_1width, Node446_1height]);
- Node446_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_1.a('node.borderwidth', 0);
- Node446_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_1.a('node.gradient','');
- Node446_1.a('node.gradientcolor','');
- Node446_1.a('node.text','总貌图');
- Node446_1.a('node.textalign','left');
- Node446_1.a('node.textvAlign','middle');
- Node446_1.a('node.textrect', [Node446_1textStart, 0, Node446_1textWidth, Node446_1height]);
- Node446_1.a('node.color','rgba(0,0,0,1)');
- Node446_1.a('node.font',' '+ Node446_1fontSize + 'px "Arial"');
- Node446_1.a('node.textvisible',false);
- Node446_1.a('node.linefeed',true);
- if (true) {
- Node446_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_1.a('node.text') || '总貌图';
- var color=Node446_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node446_1width,Node446_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node446_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node446_1.a('node.underlinepoints',[Node446_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node446_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node446_1fontSize + 'px "Arial"').width + 6, (Node446_1height - Node446_1fontSize) * 0.5*_ratio.ratioY + Node446_1fontSize + 2 ]);
- Node446_1.a('node.underlinevisible',false);
- Node446_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_1);
- zoomNodeList.push({
- node: Node446_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node447_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node447_0 = new ht.Node();
- Node447_0.setPosition(13*ratio.ratioX, 416*ratio.ratioY);
- Node447_0.setSize(27*ratioX, 101*ratioY);
- Node447_0.setImage('imgimage//left_menu_out0.png');
- Node447_0.setRotation(0*Math.PI/180);
- Node447_0._zoomBy = 'Default';
- Node447_0._nodeType = 'image';
- Node447_0._disallowEvert = true;
- dataModel.add(Node447_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node447_1 = new ht.Node();
- var Node447_1textStart, Node447_1textWidth, Node447_1lineStart, Node447_1align = 'left', Node447_1fontSize = 18.66662*_ratio.ratioY,Node447_1width = 23*_ratio.ratioX, Node447_1height = 76*_ratio.ratioY;
- (function () {
- if (Node447_1align === 'left') {
- Node447_1textStart = Node447_1fontSize * 0.2 > 2 ? Node447_1fontSize * 0.2 - 4 : Node447_1fontSize * 0.2 - 9;
- Node447_1textWidth = Node447_1width;
- Node447_1lineStart = 1;
- } else if (Node447_1align === 'right') {
- Node447_1textStart = 0;
- Node447_1textWidth =Node447_1fontSize <= 8 ? Node447_1width + Node447_1fontSize * 0.2 + 6 : Node447_1width - Node447_1fontSize * 0.2;
- Node447_1lineStart = (Node447_1width - (ht.Default.getTextSize('升压站', ' '+ Node447_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node447_1align === 'center') {
- Node447_1textStart = -3;
- Node447_1textWidth = Node447_1width;
- Node447_1lineStart = Node447_1width - ht.Default.getTextSize('升压站', ' '+ Node447_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node447_1.setImage(GD.getTextJSON(Node447_1width, Node447_1height, false, true, false, ' '+ Node447_1fontSize + 'px "Arial"'))
- Node447_1.setPosition(12*ratio.ratioX, 414*ratio.ratioY);
- Node447_1.setWidth(Node447_1width);
- Node447_1.setHeight(Node447_1height);
- Node447_1._nodeType = 'text';
- Node447_1._disallowEvert = true;
- Node447_1.setRotation(0*Math.PI/180);
- Node447_1.a('node.width', Node447_1width);
- Node447_1.a('node.height', Node447_1height);
- Node447_1.a('node.rect', [0, 0, Node447_1width, Node447_1height]);
- Node447_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node447_1.a('node.borderwidth', 0);
- Node447_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node447_1.a('node.gradient','');
- Node447_1.a('node.gradientcolor','');
- Node447_1.a('node.text','升压站');
- Node447_1.a('node.textalign','left');
- Node447_1.a('node.textvAlign','middle');
- Node447_1.a('node.textrect', [Node447_1textStart, 0, Node447_1textWidth, Node447_1height]);
- Node447_1.a('node.color','rgba(0,0,0,1)');
- Node447_1.a('node.font',' '+ Node447_1fontSize + 'px "Arial"');
- Node447_1.a('node.textvisible',false);
- Node447_1.a('node.linefeed',true);
- if (true) {
- Node447_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node447_1.a('node.text') || '升压站';
- var color=Node447_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node447_1width,Node447_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node447_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node447_1.a('node.underlinepoints',[Node447_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node447_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node447_1fontSize + 'px "Arial"').width + 6, (Node447_1height - Node447_1fontSize) * 0.5*_ratio.ratioY + Node447_1fontSize + 2 ]);
- Node447_1.a('node.underlinevisible',false);
- Node447_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node447_1);
- zoomNodeList.push({
- node: Node447_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node448_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');
- Node448_0 = new ht.Node();
- Node448_0.setPosition(13*ratio.ratioX, 616*ratio.ratioY);
- Node448_0.setSize(27*ratioX, 101*ratioY);
- Node448_0.setImage('imgimage//left_menu_out0.png');
- Node448_0.setRotation(0*Math.PI/180);
- Node448_0._zoomBy = 'Default';
- Node448_0._nodeType = 'image';
- Node448_0._disallowEvert = true;
- dataModel.add(Node448_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_1 = new ht.Node();
- var Node448_1textStart, Node448_1textWidth, Node448_1lineStart, Node448_1align = 'left', Node448_1fontSize = 18.66662*_ratio.ratioY,Node448_1width = 23*_ratio.ratioX, Node448_1height = 76*_ratio.ratioY;
- (function () {
- if (Node448_1align === 'left') {
- Node448_1textStart = Node448_1fontSize * 0.2 > 2 ? Node448_1fontSize * 0.2 - 4 : Node448_1fontSize * 0.2 - 9;
- Node448_1textWidth = Node448_1width;
- Node448_1lineStart = 1;
- } else if (Node448_1align === 'right') {
- Node448_1textStart = 0;
- Node448_1textWidth =Node448_1fontSize <= 8 ? Node448_1width + Node448_1fontSize * 0.2 + 6 : Node448_1width - Node448_1fontSize * 0.2;
- Node448_1lineStart = (Node448_1width - (ht.Default.getTextSize('风机信息', ' '+ Node448_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node448_1align === 'center') {
- Node448_1textStart = -3;
- Node448_1textWidth = Node448_1width;
- Node448_1lineStart = Node448_1width - ht.Default.getTextSize('风机信息', ' '+ Node448_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node448_1.setImage(GD.getTextJSON(Node448_1width, Node448_1height, false, true, false, ' '+ Node448_1fontSize + 'px "Arial"'))
- Node448_1.setPosition(12*ratio.ratioX, 614*ratio.ratioY);
- Node448_1.setWidth(Node448_1width);
- Node448_1.setHeight(Node448_1height);
- Node448_1._nodeType = 'text';
- Node448_1._disallowEvert = true;
- Node448_1.setRotation(0*Math.PI/180);
- Node448_1.a('node.width', Node448_1width);
- Node448_1.a('node.height', Node448_1height);
- Node448_1.a('node.rect', [0, 0, Node448_1width, Node448_1height]);
- Node448_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_1.a('node.borderwidth', 0);
- Node448_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_1.a('node.gradient','');
- Node448_1.a('node.gradientcolor','');
- Node448_1.a('node.text','风机信息');
- Node448_1.a('node.textalign','left');
- Node448_1.a('node.textvAlign','middle');
- Node448_1.a('node.textrect', [Node448_1textStart, 0, Node448_1textWidth, Node448_1height]);
- Node448_1.a('node.color','rgba(0,0,0,1)');
- Node448_1.a('node.font',' '+ Node448_1fontSize + 'px "Arial"');
- Node448_1.a('node.textvisible',false);
- Node448_1.a('node.linefeed',true);
- if (true) {
- Node448_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_1.a('node.text') || '风机信息';
- var color=Node448_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node448_1width,Node448_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node448_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node448_1.a('node.underlinepoints',[Node448_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node448_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node448_1fontSize + 'px "Arial"').width + 6, (Node448_1height - Node448_1fontSize) * 0.5*_ratio.ratioY + Node448_1fontSize + 2 ]);
- Node448_1.a('node.underlinevisible',false);
- Node448_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_1);
- zoomNodeList.push({
- node: Node448_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node449_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node449_0 = new ht.Node();
- Node449_0.setPosition(13*ratio.ratioX, 716*ratio.ratioY);
- Node449_0.setSize(27*ratioX, 101*ratioY);
- Node449_0.setImage('imgimage//left_menu_out0.png');
- Node449_0.setRotation(0*Math.PI/180);
- Node449_0._zoomBy = 'Default';
- Node449_0._nodeType = 'image';
- Node449_0._disallowEvert = true;
- dataModel.add(Node449_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_1 = new ht.Node();
- var Node449_1textStart, Node449_1textWidth, Node449_1lineStart, Node449_1align = 'left', Node449_1fontSize = 18.66662*_ratio.ratioY,Node449_1width = 23*_ratio.ratioX, Node449_1height = 76*_ratio.ratioY;
- (function () {
- if (Node449_1align === 'left') {
- Node449_1textStart = Node449_1fontSize * 0.2 > 2 ? Node449_1fontSize * 0.2 - 4 : Node449_1fontSize * 0.2 - 9;
- Node449_1textWidth = Node449_1width;
- Node449_1lineStart = 1;
- } else if (Node449_1align === 'right') {
- Node449_1textStart = 0;
- Node449_1textWidth =Node449_1fontSize <= 8 ? Node449_1width + Node449_1fontSize * 0.2 + 6 : Node449_1width - Node449_1fontSize * 0.2;
- Node449_1lineStart = (Node449_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node449_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node449_1align === 'center') {
- Node449_1textStart = -3;
- Node449_1textWidth = Node449_1width;
- Node449_1lineStart = Node449_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node449_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node449_1.setImage(GD.getTextJSON(Node449_1width, Node449_1height, false, true, false, ' '+ Node449_1fontSize + 'px "Arial"'))
- Node449_1.setPosition(12*ratio.ratioX, 714*ratio.ratioY);
- Node449_1.setWidth(Node449_1width);
- Node449_1.setHeight(Node449_1height);
- Node449_1._nodeType = 'text';
- Node449_1._disallowEvert = true;
- Node449_1.setRotation(0*Math.PI/180);
- Node449_1.a('node.width', Node449_1width);
- Node449_1.a('node.height', Node449_1height);
- Node449_1.a('node.rect', [0, 0, Node449_1width, Node449_1height]);
- Node449_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_1.a('node.borderwidth', 0);
- Node449_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_1.a('node.gradient','');
- Node449_1.a('node.gradientcolor','');
- Node449_1.a('node.text','风机矩阵');
- Node449_1.a('node.textalign','left');
- Node449_1.a('node.textvAlign','middle');
- Node449_1.a('node.textrect', [Node449_1textStart, 0, Node449_1textWidth, Node449_1height]);
- Node449_1.a('node.color','rgba(0,0,0,1)');
- Node449_1.a('node.font',' '+ Node449_1fontSize + 'px "Arial"');
- Node449_1.a('node.textvisible',false);
- Node449_1.a('node.linefeed',true);
- if (true) {
- Node449_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_1.a('node.text') || '风机矩阵';
- var color=Node449_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node449_1width,Node449_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node449_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node449_1.a('node.underlinepoints',[Node449_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node449_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node449_1fontSize + 'px "Arial"').width + 6, (Node449_1height - Node449_1fontSize) * 0.5*_ratio.ratioY + Node449_1fontSize + 2 ]);
- Node449_1.a('node.underlinevisible',false);
- Node449_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_1);
- zoomNodeList.push({
- node: Node449_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node450_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node450_0 = new ht.Node();
- Node450_0.setPosition(13*ratio.ratioX, 516*ratio.ratioY);
- Node450_0.setSize(27*ratioX, 101*ratioY);
- Node450_0.setImage('imgimage//left_menu_out0.png');
- Node450_0.setRotation(0*Math.PI/180);
- Node450_0._zoomBy = 'Default';
- Node450_0._nodeType = 'image';
- Node450_0._disallowEvert = true;
- dataModel.add(Node450_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_1 = new ht.Node();
- var Node450_1textStart, Node450_1textWidth, Node450_1lineStart, Node450_1align = 'left', Node450_1fontSize = 18.66662*_ratio.ratioY,Node450_1width = 23*_ratio.ratioX, Node450_1height = 76*_ratio.ratioY;
- (function () {
- if (Node450_1align === 'left') {
- Node450_1textStart = Node450_1fontSize * 0.2 > 2 ? Node450_1fontSize * 0.2 - 4 : Node450_1fontSize * 0.2 - 9;
- Node450_1textWidth = Node450_1width;
- Node450_1lineStart = 1;
- } else if (Node450_1align === 'right') {
- Node450_1textStart = 0;
- Node450_1textWidth =Node450_1fontSize <= 8 ? Node450_1width + Node450_1fontSize * 0.2 + 6 : Node450_1width - Node450_1fontSize * 0.2;
- Node450_1lineStart = (Node450_1width - (ht.Default.getTextSize('测风塔', ' '+ Node450_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node450_1align === 'center') {
- Node450_1textStart = -3;
- Node450_1textWidth = Node450_1width;
- Node450_1lineStart = Node450_1width - ht.Default.getTextSize('测风塔', ' '+ Node450_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node450_1.setImage(GD.getTextJSON(Node450_1width, Node450_1height, false, true, false, ' '+ Node450_1fontSize + 'px "Arial"'))
- Node450_1.setPosition(12*ratio.ratioX, 514*ratio.ratioY);
- Node450_1.setWidth(Node450_1width);
- Node450_1.setHeight(Node450_1height);
- Node450_1._nodeType = 'text';
- Node450_1._disallowEvert = true;
- Node450_1.setRotation(0*Math.PI/180);
- Node450_1.a('node.width', Node450_1width);
- Node450_1.a('node.height', Node450_1height);
- Node450_1.a('node.rect', [0, 0, Node450_1width, Node450_1height]);
- Node450_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_1.a('node.borderwidth', 0);
- Node450_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_1.a('node.gradient','');
- Node450_1.a('node.gradientcolor','');
- Node450_1.a('node.text','测风塔');
- Node450_1.a('node.textalign','left');
- Node450_1.a('node.textvAlign','middle');
- Node450_1.a('node.textrect', [Node450_1textStart, 0, Node450_1textWidth, Node450_1height]);
- Node450_1.a('node.color','rgba(0,0,0,1)');
- Node450_1.a('node.font',' '+ Node450_1fontSize + 'px "Arial"');
- Node450_1.a('node.textvisible',false);
- Node450_1.a('node.linefeed',true);
- if (true) {
- Node450_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_1.a('node.text') || '测风塔';
- var color=Node450_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node450_1width,Node450_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node450_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node450_1.a('node.underlinepoints',[Node450_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node450_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node450_1fontSize + 'px "Arial"').width + 6, (Node450_1height - Node450_1fontSize) * 0.5*_ratio.ratioY + Node450_1fontSize + 2 ]);
- Node450_1.a('node.underlinevisible',false);
- Node450_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_1);
- zoomNodeList.push({
- node: Node450_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node451_0;
- (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');
- Node451_0 = new ht.Node();
- Node451_0.setPosition(13*ratio.ratioX, 216*ratio.ratioY);
- Node451_0.setSize(27*ratioX, 101*ratioY);
- Node451_0.setImage('imgimage//left_menu_over0.png');
- Node451_0.setRotation(0*Math.PI/180);
- Node451_0._zoomBy = 'Default';
- Node451_0._nodeType = 'image';
- Node451_0._disallowEvert = true;
- dataModel.add(Node451_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node451_1 = new ht.Node();
- var Node451_1textStart, Node451_1textWidth, Node451_1lineStart, Node451_1align = 'left', Node451_1fontSize = 19.99995*_ratio.ratioY,Node451_1width = 23*_ratio.ratioX, Node451_1height = 76*_ratio.ratioY;
- (function () {
- if (Node451_1align === 'left') {
- Node451_1textStart = Node451_1fontSize * 0.2 > 2 ? Node451_1fontSize * 0.2 - 4 : Node451_1fontSize * 0.2 - 9;
- Node451_1textWidth = Node451_1width;
- Node451_1lineStart = 1;
- } else if (Node451_1align === 'right') {
- Node451_1textStart = 0;
- Node451_1textWidth =Node451_1fontSize <= 8 ? Node451_1width + Node451_1fontSize * 0.2 + 6 : Node451_1width - Node451_1fontSize * 0.2;
- Node451_1lineStart = (Node451_1width - (ht.Default.getTextSize('排布图', ' '+ Node451_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node451_1align === 'center') {
- Node451_1textStart = -3;
- Node451_1textWidth = Node451_1width;
- Node451_1lineStart = Node451_1width - ht.Default.getTextSize('排布图', ' '+ Node451_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node451_1.setImage(GD.getTextJSON(Node451_1width, Node451_1height, false, true, false, ' '+ Node451_1fontSize + 'px "Arial"'))
- Node451_1.setPosition(11*ratio.ratioX, 214*ratio.ratioY);
- Node451_1.setWidth(Node451_1width);
- Node451_1.setHeight(Node451_1height);
- Node451_1._nodeType = 'text';
- Node451_1._disallowEvert = true;
- Node451_1.setRotation(0*Math.PI/180);
- Node451_1.a('node.width', Node451_1width);
- Node451_1.a('node.height', Node451_1height);
- Node451_1.a('node.rect', [0, 0, Node451_1width, Node451_1height]);
- Node451_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node451_1.a('node.borderwidth', 0);
- Node451_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node451_1.a('node.gradient','');
- Node451_1.a('node.gradientcolor','');
- Node451_1.a('node.text','排布图');
- Node451_1.a('node.textalign','left');
- Node451_1.a('node.textvAlign','middle');
- Node451_1.a('node.textrect', [Node451_1textStart, 0, Node451_1textWidth, Node451_1height]);
- Node451_1.a('node.color','rgba(0,0,0,1)');
- Node451_1.a('node.font',' '+ Node451_1fontSize + 'px "Arial"');
- Node451_1.a('node.textvisible',false);
- Node451_1.a('node.linefeed',true);
- if (true) {
- Node451_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node451_1.a('node.text') || '排布图';
- var color=Node451_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node451_1width,Node451_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node451_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node451_1.a('node.underlinepoints',[Node451_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node451_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node451_1fontSize + 'px "Arial"').width + 6, (Node451_1height - Node451_1fontSize) * 0.5*_ratio.ratioY + Node451_1fontSize + 2 ]);
- Node451_1.a('node.underlinevisible',false);
- Node451_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node451_1);
- zoomNodeList.push({
- node: Node451_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node452_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');
- Node452_0 = new ht.Node();
- Node452_0.setPosition(13*ratio.ratioX, 316*ratio.ratioY);
- Node452_0.setSize(27*ratioX, 101*ratioY);
- Node452_0.setImage('imgimage//left_menu_over0.png');
- Node452_0.setRotation(0*Math.PI/180);
- Node452_0._zoomBy = 'Default';
- Node452_0._nodeType = 'image';
- Node452_0._disallowEvert = true;
- dataModel.add(Node452_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_1 = new ht.Node();
- var Node452_1textStart, Node452_1textWidth, Node452_1lineStart, Node452_1align = 'left', Node452_1fontSize = 18.66662*_ratio.ratioY,Node452_1width = 23*_ratio.ratioX, Node452_1height = 76*_ratio.ratioY;
- (function () {
- if (Node452_1align === 'left') {
- Node452_1textStart = Node452_1fontSize * 0.2 > 2 ? Node452_1fontSize * 0.2 - 4 : Node452_1fontSize * 0.2 - 9;
- Node452_1textWidth = Node452_1width;
- Node452_1lineStart = 1;
- } else if (Node452_1align === 'right') {
- Node452_1textStart = 0;
- Node452_1textWidth =Node452_1fontSize <= 8 ? Node452_1width + Node452_1fontSize * 0.2 + 6 : Node452_1width - Node452_1fontSize * 0.2;
- Node452_1lineStart = (Node452_1width - (ht.Default.getTextSize('总貌图', ' '+ Node452_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node452_1align === 'center') {
- Node452_1textStart = -3;
- Node452_1textWidth = Node452_1width;
- Node452_1lineStart = Node452_1width - ht.Default.getTextSize('总貌图', ' '+ Node452_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node452_1.setImage(GD.getTextJSON(Node452_1width, Node452_1height, false, true, false, ' '+ Node452_1fontSize + 'px "Arial"'))
- Node452_1.setPosition(12*ratio.ratioX, 314*ratio.ratioY);
- Node452_1.setWidth(Node452_1width);
- Node452_1.setHeight(Node452_1height);
- Node452_1._nodeType = 'text';
- Node452_1._disallowEvert = true;
- Node452_1.setRotation(0*Math.PI/180);
- Node452_1.a('node.width', Node452_1width);
- Node452_1.a('node.height', Node452_1height);
- Node452_1.a('node.rect', [0, 0, Node452_1width, Node452_1height]);
- Node452_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_1.a('node.borderwidth', 0);
- Node452_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_1.a('node.gradient','');
- Node452_1.a('node.gradientcolor','');
- Node452_1.a('node.text','总貌图');
- Node452_1.a('node.textalign','left');
- Node452_1.a('node.textvAlign','middle');
- Node452_1.a('node.textrect', [Node452_1textStart, 0, Node452_1textWidth, Node452_1height]);
- Node452_1.a('node.color','rgba(0,0,0,1)');
- Node452_1.a('node.font',' '+ Node452_1fontSize + 'px "Arial"');
- Node452_1.a('node.textvisible',false);
- Node452_1.a('node.linefeed',true);
- if (true) {
- Node452_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_1.a('node.text') || '总貌图';
- var color=Node452_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node452_1width,Node452_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node452_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node452_1.a('node.underlinepoints',[Node452_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node452_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node452_1fontSize + 'px "Arial"').width + 6, (Node452_1height - Node452_1fontSize) * 0.5*_ratio.ratioY + Node452_1fontSize + 2 ]);
- Node452_1.a('node.underlinevisible',false);
- Node452_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_1);
- zoomNodeList.push({
- node: Node452_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node453_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node453_0 = new ht.Node();
- Node453_0.setPosition(13*ratio.ratioX, 416*ratio.ratioY);
- Node453_0.setSize(27*ratioX, 101*ratioY);
- Node453_0.setImage('imgimage//left_menu_over0.png');
- Node453_0.setRotation(0*Math.PI/180);
- Node453_0._zoomBy = 'Default';
- Node453_0._nodeType = 'image';
- Node453_0._disallowEvert = true;
- dataModel.add(Node453_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node453_1 = new ht.Node();
- var Node453_1textStart, Node453_1textWidth, Node453_1lineStart, Node453_1align = 'left', Node453_1fontSize = 18.66662*_ratio.ratioY,Node453_1width = 23*_ratio.ratioX, Node453_1height = 76*_ratio.ratioY;
- (function () {
- if (Node453_1align === 'left') {
- Node453_1textStart = Node453_1fontSize * 0.2 > 2 ? Node453_1fontSize * 0.2 - 4 : Node453_1fontSize * 0.2 - 9;
- Node453_1textWidth = Node453_1width;
- Node453_1lineStart = 1;
- } else if (Node453_1align === 'right') {
- Node453_1textStart = 0;
- Node453_1textWidth =Node453_1fontSize <= 8 ? Node453_1width + Node453_1fontSize * 0.2 + 6 : Node453_1width - Node453_1fontSize * 0.2;
- Node453_1lineStart = (Node453_1width - (ht.Default.getTextSize('升压站', ' '+ Node453_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node453_1align === 'center') {
- Node453_1textStart = -3;
- Node453_1textWidth = Node453_1width;
- Node453_1lineStart = Node453_1width - ht.Default.getTextSize('升压站', ' '+ Node453_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node453_1.setImage(GD.getTextJSON(Node453_1width, Node453_1height, false, true, false, ' '+ Node453_1fontSize + 'px "Arial"'))
- Node453_1.setPosition(12*ratio.ratioX, 414*ratio.ratioY);
- Node453_1.setWidth(Node453_1width);
- Node453_1.setHeight(Node453_1height);
- Node453_1._nodeType = 'text';
- Node453_1._disallowEvert = true;
- Node453_1.setRotation(0*Math.PI/180);
- Node453_1.a('node.width', Node453_1width);
- Node453_1.a('node.height', Node453_1height);
- Node453_1.a('node.rect', [0, 0, Node453_1width, Node453_1height]);
- Node453_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node453_1.a('node.borderwidth', 0);
- Node453_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node453_1.a('node.gradient','');
- Node453_1.a('node.gradientcolor','');
- Node453_1.a('node.text','升压站');
- Node453_1.a('node.textalign','left');
- Node453_1.a('node.textvAlign','middle');
- Node453_1.a('node.textrect', [Node453_1textStart, 0, Node453_1textWidth, Node453_1height]);
- Node453_1.a('node.color','rgba(0,0,0,1)');
- Node453_1.a('node.font',' '+ Node453_1fontSize + 'px "Arial"');
- Node453_1.a('node.textvisible',false);
- Node453_1.a('node.linefeed',true);
- if (true) {
- Node453_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node453_1.a('node.text') || '升压站';
- var color=Node453_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node453_1width,Node453_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node453_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node453_1.a('node.underlinepoints',[Node453_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node453_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node453_1fontSize + 'px "Arial"').width + 6, (Node453_1height - Node453_1fontSize) * 0.5*_ratio.ratioY + Node453_1fontSize + 2 ]);
- Node453_1.a('node.underlinevisible',false);
- Node453_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node453_1);
- zoomNodeList.push({
- node: Node453_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node454_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');
- Node454_0 = new ht.Node();
- Node454_0.setPosition(13*ratio.ratioX, 716*ratio.ratioY);
- Node454_0.setSize(27*ratioX, 101*ratioY);
- Node454_0.setImage('imgimage//left_menu_over0.png');
- Node454_0.setRotation(0*Math.PI/180);
- Node454_0._zoomBy = 'Default';
- Node454_0._nodeType = 'image';
- Node454_0._disallowEvert = true;
- dataModel.add(Node454_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node454_1 = new ht.Node();
- var Node454_1textStart, Node454_1textWidth, Node454_1lineStart, Node454_1align = 'left', Node454_1fontSize = 18.66662*_ratio.ratioY,Node454_1width = 23*_ratio.ratioX, Node454_1height = 76*_ratio.ratioY;
- (function () {
- if (Node454_1align === 'left') {
- Node454_1textStart = Node454_1fontSize * 0.2 > 2 ? Node454_1fontSize * 0.2 - 4 : Node454_1fontSize * 0.2 - 9;
- Node454_1textWidth = Node454_1width;
- Node454_1lineStart = 1;
- } else if (Node454_1align === 'right') {
- Node454_1textStart = 0;
- Node454_1textWidth =Node454_1fontSize <= 8 ? Node454_1width + Node454_1fontSize * 0.2 + 6 : Node454_1width - Node454_1fontSize * 0.2;
- Node454_1lineStart = (Node454_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node454_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node454_1align === 'center') {
- Node454_1textStart = -3;
- Node454_1textWidth = Node454_1width;
- Node454_1lineStart = Node454_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node454_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node454_1.setImage(GD.getTextJSON(Node454_1width, Node454_1height, false, true, false, ' '+ Node454_1fontSize + 'px "Arial"'))
- Node454_1.setPosition(12*ratio.ratioX, 714*ratio.ratioY);
- Node454_1.setWidth(Node454_1width);
- Node454_1.setHeight(Node454_1height);
- Node454_1._nodeType = 'text';
- Node454_1._disallowEvert = true;
- Node454_1.setRotation(0*Math.PI/180);
- Node454_1.a('node.width', Node454_1width);
- Node454_1.a('node.height', Node454_1height);
- Node454_1.a('node.rect', [0, 0, Node454_1width, Node454_1height]);
- Node454_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node454_1.a('node.borderwidth', 0);
- Node454_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node454_1.a('node.gradient','');
- Node454_1.a('node.gradientcolor','');
- Node454_1.a('node.text','风机矩阵');
- Node454_1.a('node.textalign','left');
- Node454_1.a('node.textvAlign','middle');
- Node454_1.a('node.textrect', [Node454_1textStart, 0, Node454_1textWidth, Node454_1height]);
- Node454_1.a('node.color','rgba(0,0,0,1)');
- Node454_1.a('node.font',' '+ Node454_1fontSize + 'px "Arial"');
- Node454_1.a('node.textvisible',false);
- Node454_1.a('node.linefeed',true);
- if (true) {
- Node454_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node454_1.a('node.text') || '风机矩阵';
- var color=Node454_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node454_1width,Node454_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node454_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node454_1.a('node.underlinepoints',[Node454_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node454_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node454_1fontSize + 'px "Arial"').width + 6, (Node454_1height - Node454_1fontSize) * 0.5*_ratio.ratioY + Node454_1fontSize + 2 ]);
- Node454_1.a('node.underlinevisible',false);
- Node454_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node454_1);
- zoomNodeList.push({
- node: Node454_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node455_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');
- Node455_0 = new ht.Node();
- Node455_0.setPosition(13*ratio.ratioX, 616*ratio.ratioY);
- Node455_0.setSize(27*ratioX, 101*ratioY);
- Node455_0.setImage('imgimage//left_menu_over0.png');
- Node455_0.setRotation(0*Math.PI/180);
- Node455_0._zoomBy = 'Default';
- Node455_0._nodeType = 'image';
- Node455_0._disallowEvert = true;
- dataModel.add(Node455_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node455_1 = new ht.Node();
- var Node455_1textStart, Node455_1textWidth, Node455_1lineStart, Node455_1align = 'left', Node455_1fontSize = 18.66662*_ratio.ratioY,Node455_1width = 23*_ratio.ratioX, Node455_1height = 76*_ratio.ratioY;
- (function () {
- if (Node455_1align === 'left') {
- Node455_1textStart = Node455_1fontSize * 0.2 > 2 ? Node455_1fontSize * 0.2 - 4 : Node455_1fontSize * 0.2 - 9;
- Node455_1textWidth = Node455_1width;
- Node455_1lineStart = 1;
- } else if (Node455_1align === 'right') {
- Node455_1textStart = 0;
- Node455_1textWidth =Node455_1fontSize <= 8 ? Node455_1width + Node455_1fontSize * 0.2 + 6 : Node455_1width - Node455_1fontSize * 0.2;
- Node455_1lineStart = (Node455_1width - (ht.Default.getTextSize('风机信息', ' '+ Node455_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node455_1align === 'center') {
- Node455_1textStart = -3;
- Node455_1textWidth = Node455_1width;
- Node455_1lineStart = Node455_1width - ht.Default.getTextSize('风机信息', ' '+ Node455_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node455_1.setImage(GD.getTextJSON(Node455_1width, Node455_1height, false, true, false, ' '+ Node455_1fontSize + 'px "Arial"'))
- Node455_1.setPosition(12*ratio.ratioX, 614*ratio.ratioY);
- Node455_1.setWidth(Node455_1width);
- Node455_1.setHeight(Node455_1height);
- Node455_1._nodeType = 'text';
- Node455_1._disallowEvert = true;
- Node455_1.setRotation(0*Math.PI/180);
- Node455_1.a('node.width', Node455_1width);
- Node455_1.a('node.height', Node455_1height);
- Node455_1.a('node.rect', [0, 0, Node455_1width, Node455_1height]);
- Node455_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node455_1.a('node.borderwidth', 0);
- Node455_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node455_1.a('node.gradient','');
- Node455_1.a('node.gradientcolor','');
- Node455_1.a('node.text','风机信息');
- Node455_1.a('node.textalign','left');
- Node455_1.a('node.textvAlign','middle');
- Node455_1.a('node.textrect', [Node455_1textStart, 0, Node455_1textWidth, Node455_1height]);
- Node455_1.a('node.color','rgba(0,0,0,1)');
- Node455_1.a('node.font',' '+ Node455_1fontSize + 'px "Arial"');
- Node455_1.a('node.textvisible',false);
- Node455_1.a('node.linefeed',true);
- if (true) {
- Node455_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node455_1.a('node.text') || '风机信息';
- var color=Node455_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node455_1width,Node455_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node455_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node455_1.a('node.underlinepoints',[Node455_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node455_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node455_1fontSize + 'px "Arial"').width + 6, (Node455_1height - Node455_1fontSize) * 0.5*_ratio.ratioY + Node455_1fontSize + 2 ]);
- Node455_1.a('node.underlinevisible',false);
- Node455_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node455_1);
- zoomNodeList.push({
- node: Node455_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node456_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');
- Node456_0 = new ht.Node();
- Node456_0.setPosition(13*ratio.ratioX, 516*ratio.ratioY);
- Node456_0.setSize(27*ratioX, 101*ratioY);
- Node456_0.setImage('imgimage//left_menu_over0.png');
- Node456_0.setRotation(0*Math.PI/180);
- Node456_0._zoomBy = 'Default';
- Node456_0._nodeType = 'image';
- Node456_0._disallowEvert = true;
- dataModel.add(Node456_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node456_1 = new ht.Node();
- var Node456_1textStart, Node456_1textWidth, Node456_1lineStart, Node456_1align = 'left', Node456_1fontSize = 18.66662*_ratio.ratioY,Node456_1width = 23*_ratio.ratioX, Node456_1height = 76*_ratio.ratioY;
- (function () {
- if (Node456_1align === 'left') {
- Node456_1textStart = Node456_1fontSize * 0.2 > 2 ? Node456_1fontSize * 0.2 - 4 : Node456_1fontSize * 0.2 - 9;
- Node456_1textWidth = Node456_1width;
- Node456_1lineStart = 1;
- } else if (Node456_1align === 'right') {
- Node456_1textStart = 0;
- Node456_1textWidth =Node456_1fontSize <= 8 ? Node456_1width + Node456_1fontSize * 0.2 + 6 : Node456_1width - Node456_1fontSize * 0.2;
- Node456_1lineStart = (Node456_1width - (ht.Default.getTextSize('测风塔', ' '+ Node456_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node456_1align === 'center') {
- Node456_1textStart = -3;
- Node456_1textWidth = Node456_1width;
- Node456_1lineStart = Node456_1width - ht.Default.getTextSize('测风塔', ' '+ Node456_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node456_1.setImage(GD.getTextJSON(Node456_1width, Node456_1height, false, true, false, ' '+ Node456_1fontSize + 'px "Arial"'))
- Node456_1.setPosition(12*ratio.ratioX, 514*ratio.ratioY);
- Node456_1.setWidth(Node456_1width);
- Node456_1.setHeight(Node456_1height);
- Node456_1._nodeType = 'text';
- Node456_1._disallowEvert = true;
- Node456_1.setRotation(0*Math.PI/180);
- Node456_1.a('node.width', Node456_1width);
- Node456_1.a('node.height', Node456_1height);
- Node456_1.a('node.rect', [0, 0, Node456_1width, Node456_1height]);
- Node456_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node456_1.a('node.borderwidth', 0);
- Node456_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node456_1.a('node.gradient','');
- Node456_1.a('node.gradientcolor','');
- Node456_1.a('node.text','测风塔');
- Node456_1.a('node.textalign','left');
- Node456_1.a('node.textvAlign','middle');
- Node456_1.a('node.textrect', [Node456_1textStart, 0, Node456_1textWidth, Node456_1height]);
- Node456_1.a('node.color','rgba(0,0,0,1)');
- Node456_1.a('node.font',' '+ Node456_1fontSize + 'px "Arial"');
- Node456_1.a('node.textvisible',false);
- Node456_1.a('node.linefeed',true);
- if (true) {
- Node456_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node456_1.a('node.text') || '测风塔';
- var color=Node456_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node456_1width,Node456_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node456_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node456_1.a('node.underlinepoints',[Node456_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node456_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node456_1fontSize + 'px "Arial"').width + 6, (Node456_1height - Node456_1fontSize) * 0.5*_ratio.ratioY + Node456_1fontSize + 2 ]);
- Node456_1.a('node.underlinevisible',false);
- Node456_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node456_1);
- zoomNodeList.push({
- node: Node456_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_0 = new ht.Node();
- var Node457_0textStart, Node457_0textWidth, Node457_0lineStart, Node457_0align = 'center', Node457_0fontSize = 14.66663*_ratio.ratioY,Node457_0width = 67*_ratio.ratioX, Node457_0height = 26*_ratio.ratioY;
- (function () {
- if (Node457_0align === 'left') {
- Node457_0textStart = Node457_0fontSize * 0.2 > 2 ? Node457_0fontSize * 0.2 - 4 : Node457_0fontSize * 0.2 - 9;
- Node457_0textWidth = Node457_0width;
- Node457_0lineStart = 1;
- } else if (Node457_0align === 'right') {
- Node457_0textStart = 0;
- Node457_0textWidth =Node457_0fontSize <= 8 ? Node457_0width + Node457_0fontSize * 0.2 + 6 : Node457_0width - Node457_0fontSize * 0.2;
- Node457_0lineStart = (Node457_0width - (ht.Default.getTextSize('台', ' '+ Node457_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_0align === 'center') {
- Node457_0textStart = -3;
- Node457_0textWidth = Node457_0width;
- Node457_0lineStart = Node457_0width - ht.Default.getTextSize('台', ' '+ Node457_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_0.setImage(GD.getTextJSON(Node457_0width, Node457_0height, true, false, false, ' '+ Node457_0fontSize + 'px "Arial"'))
- Node457_0.setPosition(1862*ratio.ratioX, 81*ratio.ratioY);
- Node457_0.setWidth(Node457_0width);
- Node457_0.setHeight(Node457_0height);
- Node457_0._nodeType = 'text';
- Node457_0._disallowEvert = true;
- Node457_0.setRotation(0*Math.PI/180);
- Node457_0.a('node.width', Node457_0width);
- Node457_0.a('node.height', Node457_0height);
- Node457_0.a('node.rect', [0, 0, Node457_0width, Node457_0height]);
- Node457_0.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_0.a('node.borderwidth', 0);
- Node457_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_0.a('node.gradient','');
- Node457_0.a('node.gradientcolor','');
- Node457_0.a('node.text','台');
- Node457_0.a('node.textalign','center');
- Node457_0.a('node.textvAlign','middle');
- Node457_0.a('node.textrect', [Node457_0textStart, 0, Node457_0textWidth, Node457_0height]);
- Node457_0.a('node.color','rgba(105,105,105,1)');
- Node457_0.a('node.font',' '+ Node457_0fontSize + 'px "Arial"');
- Node457_0.a('node.textvisible',true);
- Node457_0.a('node.linefeed',false);
- if (false) {
- Node457_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_0.a('node.text') || '台';
- var color=Node457_0.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_0width,Node457_0height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_0.a('node.underlinepoints',[Node457_0lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_0fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_0fontSize + 'px "Arial"').width + 6, (Node457_0height - Node457_0fontSize) * 0.5*_ratio.ratioY + Node457_0fontSize + 2 ]);
- Node457_0.a('node.underlinevisible',false);
- Node457_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_0);
- zoomNodeList.push({
- node: Node457_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_1 = new ht.Node();
- var Node457_1textStart, Node457_1textWidth, Node457_1lineStart, Node457_1align = 'center', Node457_1fontSize = 14.66663*_ratio.ratioY,Node457_1width = 67*_ratio.ratioX, Node457_1height = 26*_ratio.ratioY;
- (function () {
- if (Node457_1align === 'left') {
- Node457_1textStart = Node457_1fontSize * 0.2 > 2 ? Node457_1fontSize * 0.2 - 4 : Node457_1fontSize * 0.2 - 9;
- Node457_1textWidth = Node457_1width;
- Node457_1lineStart = 1;
- } else if (Node457_1align === 'right') {
- Node457_1textStart = 0;
- Node457_1textWidth =Node457_1fontSize <= 8 ? Node457_1width + Node457_1fontSize * 0.2 + 6 : Node457_1width - Node457_1fontSize * 0.2;
- Node457_1lineStart = (Node457_1width - (ht.Default.getTextSize('台', ' '+ Node457_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_1align === 'center') {
- Node457_1textStart = -3;
- Node457_1textWidth = Node457_1width;
- Node457_1lineStart = Node457_1width - ht.Default.getTextSize('台', ' '+ Node457_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_1.setImage(GD.getTextJSON(Node457_1width, Node457_1height, true, false, false, ' '+ Node457_1fontSize + 'px "Arial"'))
- Node457_1.setPosition(1862*ratio.ratioX, 142*ratio.ratioY);
- Node457_1.setWidth(Node457_1width);
- Node457_1.setHeight(Node457_1height);
- Node457_1._nodeType = 'text';
- Node457_1._disallowEvert = true;
- Node457_1.setRotation(0*Math.PI/180);
- Node457_1.a('node.width', Node457_1width);
- Node457_1.a('node.height', Node457_1height);
- Node457_1.a('node.rect', [0, 0, Node457_1width, Node457_1height]);
- Node457_1.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_1.a('node.borderwidth', 0);
- Node457_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_1.a('node.gradient','');
- Node457_1.a('node.gradientcolor','');
- Node457_1.a('node.text','台');
- Node457_1.a('node.textalign','center');
- Node457_1.a('node.textvAlign','middle');
- Node457_1.a('node.textrect', [Node457_1textStart, 0, Node457_1textWidth, Node457_1height]);
- Node457_1.a('node.color','rgba(105,105,105,1)');
- Node457_1.a('node.font',' '+ Node457_1fontSize + 'px "Arial"');
- Node457_1.a('node.textvisible',true);
- Node457_1.a('node.linefeed',false);
- if (false) {
- Node457_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_1.a('node.text') || '台';
- var color=Node457_1.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_1width,Node457_1height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_1.a('node.underlinepoints',[Node457_1lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_1fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_1fontSize + 'px "Arial"').width + 6, (Node457_1height - Node457_1fontSize) * 0.5*_ratio.ratioY + Node457_1fontSize + 2 ]);
- Node457_1.a('node.underlinevisible',false);
- Node457_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_1);
- zoomNodeList.push({
- node: Node457_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_2type = 'rect';
- var Node457_2 = new ht.Node(),
- Node457_2BorderWidth = 0*2;
- if (Node457_2type === 'arc') {
- Node457_2BorderWidth *= 0;
- }
- Node457_2.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node457_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_2.setPosition(15*ratio.ratioX, 95*ratio.ratioY);
- Node457_2.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node457_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_2.a('node.width', 27*_ratio.ratioX);
- Node457_2.a('node.height', 121*_ratio.ratioY);
- Node457_2.a('node.type', Node457_2type);
- Node457_2.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node457_2.a('node.background', 'rgba(0,132,216,1)');
- Node457_2.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node457_2.a('node.gradient', '');
- Node457_2.a('node.borderwidth', Node457_2BorderWidth);
- Node457_2.a('node.color', 'rgba(0,0,255,0)');
- Node457_2.a('node.fillrect', [0,0,0,0]);
- Node457_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_2.a('node.fillgradient', '');
- if (Node457_2type !== 'rect') {
- Node457_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_2type === 'arc') {
- Node457_2.a('node.arcOval', true);
- }
- Node457_2.setRotation(0*Math.PI/180);
- Node457_2.borderWidth = Node457_2BorderWidth;
- Node457_2.borderFillwidth = Node457_2BorderWidth;
- dataModel.add(Node457_2);
- Node457_2._nodename = 'Node457_2'
- Node457_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_2, Node457_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_3 = new ht.Node();
- var Node457_3textStart, Node457_3textWidth, Node457_3lineStart, Node457_3align = 'left', Node457_3fontSize = 13.3333*_ratio.ratioY,Node457_3width = 53*_ratio.ratioX, Node457_3height = 30*_ratio.ratioY;
- (function () {
- if (Node457_3align === 'left') {
- Node457_3textStart = Node457_3fontSize * 0.2 > 2 ? Node457_3fontSize * 0.2 - 4 : Node457_3fontSize * 0.2 - 9;
- Node457_3textWidth = Node457_3width;
- Node457_3lineStart = 1;
- } else if (Node457_3align === 'right') {
- Node457_3textStart = 0;
- Node457_3textWidth =Node457_3fontSize <= 8 ? Node457_3width + Node457_3fontSize * 0.2 + 6 : Node457_3width - Node457_3fontSize * 0.2;
- Node457_3lineStart = (Node457_3width - (ht.Default.getTextSize('综', 'bold '+ Node457_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_3align === 'center') {
- Node457_3textStart = -3;
- Node457_3textWidth = Node457_3width;
- Node457_3lineStart = Node457_3width - ht.Default.getTextSize('综', 'bold '+ Node457_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_3.setImage(GD.getTextJSON(Node457_3width, Node457_3height, true, false, false, 'bold '+ Node457_3fontSize + 'px "Arial"'))
- Node457_3.setPosition(31*ratio.ratioX, 52*ratio.ratioY);
- Node457_3.setWidth(Node457_3width);
- Node457_3.setHeight(Node457_3height);
- Node457_3._nodeType = 'text';
- Node457_3._disallowEvert = true;
- Node457_3.setRotation(0*Math.PI/180);
- Node457_3.a('node.width', Node457_3width);
- Node457_3.a('node.height', Node457_3height);
- Node457_3.a('node.rect', [0, 0, Node457_3width, Node457_3height]);
- Node457_3.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_3.a('node.borderwidth', 0);
- Node457_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_3.a('node.gradient','');
- Node457_3.a('node.gradientcolor','');
- Node457_3.a('node.text','综');
- Node457_3.a('node.textalign','left');
- Node457_3.a('node.textvAlign','middle');
- Node457_3.a('node.textrect', [Node457_3textStart, 0, Node457_3textWidth, Node457_3height]);
- Node457_3.a('node.color','rgba(255,255,255,1)');
- Node457_3.a('node.font','bold '+ Node457_3fontSize + 'px "Arial"');
- Node457_3.a('node.textvisible',true);
- Node457_3.a('node.linefeed',false);
- if (false) {
- Node457_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_3.a('node.text') || '综';
- var color=Node457_3.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_3width,Node457_3height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_3.a('node.underlinepoints',[Node457_3lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node457_3fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node457_3fontSize + 'px "Arial"').width + 6, (Node457_3height - Node457_3fontSize) * 0.5*_ratio.ratioY + Node457_3fontSize + 2 ]);
- Node457_3.a('node.underlinevisible',false);
- Node457_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_3);
- zoomNodeList.push({
- node: Node457_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_4type = 'rect';
- var Node457_4 = new ht.Node(),
- Node457_4BorderWidth = 0*2;
- if (Node457_4type === 'arc') {
- Node457_4BorderWidth *= 0;
- }
- Node457_4.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node457_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_4.setPosition(107*ratio.ratioX, 98*ratio.ratioY);
- Node457_4.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node457_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_4.a('node.width', 156*_ratio.ratioX);
- Node457_4.a('node.height', 30*_ratio.ratioY);
- Node457_4.a('node.type', Node457_4type);
- Node457_4.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node457_4.a('node.background', 'rgba(73,192,209,1)');
- Node457_4.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node457_4.a('node.gradient', '');
- Node457_4.a('node.borderwidth', Node457_4BorderWidth);
- Node457_4.a('node.color', 'rgba(0,0,0,0)');
- Node457_4.a('node.fillrect', [0,0,0,0]);
- Node457_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_4.a('node.fillgradient', '');
- if (Node457_4type !== 'rect') {
- Node457_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_4type === 'arc') {
- Node457_4.a('node.arcOval', true);
- }
- Node457_4.setRotation(0*Math.PI/180);
- Node457_4.borderWidth = Node457_4BorderWidth;
- Node457_4.borderFillwidth = Node457_4BorderWidth;
- dataModel.add(Node457_4);
- Node457_4._nodename = 'Node457_4'
- Node457_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_4, Node457_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_5 = new ht.Node();
- var Node457_5textStart, Node457_5textWidth, Node457_5lineStart, Node457_5align = 'left', Node457_5fontSize = 14.66663*_ratio.ratioY,Node457_5width = 157*_ratio.ratioX, Node457_5height = 24*_ratio.ratioY;
- (function () {
- if (Node457_5align === 'left') {
- Node457_5textStart = Node457_5fontSize * 0.2 > 2 ? Node457_5fontSize * 0.2 - 4 : Node457_5fontSize * 0.2 - 9;
- Node457_5textWidth = Node457_5width;
- Node457_5lineStart = 1;
- } else if (Node457_5align === 'right') {
- Node457_5textStart = 0;
- Node457_5textWidth =Node457_5fontSize <= 8 ? Node457_5width + Node457_5fontSize * 0.2 + 6 : Node457_5width - Node457_5fontSize * 0.2;
- Node457_5lineStart = (Node457_5width - (ht.Default.getTextSize('安全天数', 'bold '+ Node457_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_5align === 'center') {
- Node457_5textStart = -3;
- Node457_5textWidth = Node457_5width;
- Node457_5lineStart = Node457_5width - ht.Default.getTextSize('安全天数', 'bold '+ Node457_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_5.setImage(GD.getTextJSON(Node457_5width, Node457_5height, true, false, false, 'bold '+ Node457_5fontSize + 'px "Arial"'))
- Node457_5.setPosition(147*ratio.ratioX, 98*ratio.ratioY);
- Node457_5.setWidth(Node457_5width);
- Node457_5.setHeight(Node457_5height);
- Node457_5._nodeType = 'text';
- Node457_5._disallowEvert = true;
- Node457_5.setRotation(0*Math.PI/180);
- Node457_5.a('node.width', Node457_5width);
- Node457_5.a('node.height', Node457_5height);
- Node457_5.a('node.rect', [0, 0, Node457_5width, Node457_5height]);
- Node457_5.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_5.a('node.borderwidth', 0);
- Node457_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_5.a('node.gradient','');
- Node457_5.a('node.gradientcolor','');
- Node457_5.a('node.text','安全天数');
- Node457_5.a('node.textalign','left');
- Node457_5.a('node.textvAlign','middle');
- Node457_5.a('node.textrect', [Node457_5textStart, 0, Node457_5textWidth, Node457_5height]);
- Node457_5.a('node.color','rgba(255,255,255,1)');
- Node457_5.a('node.font','bold '+ Node457_5fontSize + 'px "Arial"');
- Node457_5.a('node.textvisible',true);
- Node457_5.a('node.linefeed',false);
- if (false) {
- Node457_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_5.a('node.text') || '安全天数';
- var color=Node457_5.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_5width,Node457_5height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node457_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_5.a('node.underlinepoints',[Node457_5lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node457_5fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node457_5fontSize + 'px "Arial"').width + 6, (Node457_5height - Node457_5fontSize) * 0.5*_ratio.ratioY + Node457_5fontSize + 2 ]);
- Node457_5.a('node.underlinevisible',false);
- Node457_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_5);
- zoomNodeList.push({
- node: Node457_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_6type = 'rect';
- var Node457_6 = new ht.Node(),
- Node457_6BorderWidth = 0*2;
- if (Node457_6type === 'arc') {
- Node457_6BorderWidth *= 0;
- }
- Node457_6.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node457_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_6.setPosition(84*ratio.ratioX, 135*ratio.ratioY);
- Node457_6.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node457_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_6.a('node.width', 105*_ratio.ratioX);
- Node457_6.a('node.height', 48*_ratio.ratioY);
- Node457_6.a('node.type', Node457_6type);
- Node457_6.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node457_6.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_6.a('node.gradientcolor', '');
- Node457_6.a('node.gradient', '');
- Node457_6.a('node.borderwidth', Node457_6BorderWidth);
- Node457_6.a('node.color', 'rgba(0,0,0,0)');
- Node457_6.a('node.fillrect', [0,0,0,0]);
- Node457_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_6.a('node.fillgradient', '');
- if (Node457_6type !== 'rect') {
- Node457_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_6type === 'arc') {
- Node457_6.a('node.arcOval', true);
- }
- Node457_6.setRotation(0*Math.PI/180);
- Node457_6.borderWidth = Node457_6BorderWidth;
- Node457_6.borderFillwidth = Node457_6BorderWidth;
- dataModel.add(Node457_6);
- Node457_6._nodename = 'Node457_6'
- Node457_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_6, Node457_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_7 = new ht.Node();
- var Node457_7textStart, Node457_7textWidth, Node457_7lineStart, Node457_7align = 'right', Node457_7fontSize = 19.99995*_ratio.ratioY,Node457_7width = 59*_ratio.ratioX, Node457_7height = 24*_ratio.ratioY;
- (function () {
- if (Node457_7align === 'left') {
- Node457_7textStart = Node457_7fontSize * 0.2 > 2 ? Node457_7fontSize * 0.2 - 4 : Node457_7fontSize * 0.2 - 9;
- Node457_7textWidth = Node457_7width;
- Node457_7lineStart = 1;
- } else if (Node457_7align === 'right') {
- Node457_7textStart = 0;
- Node457_7textWidth =Node457_7fontSize <= 8 ? Node457_7width + Node457_7fontSize * 0.2 + 6 : Node457_7width - Node457_7fontSize * 0.2;
- Node457_7lineStart = (Node457_7width - (ht.Default.getTextSize('0', ' '+ Node457_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_7align === 'center') {
- Node457_7textStart = -3;
- Node457_7textWidth = Node457_7width;
- Node457_7lineStart = Node457_7width - ht.Default.getTextSize('0', ' '+ Node457_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_7.setImage(GD.getTextJSON(Node457_7width, Node457_7height, true, false, false, ' '+ Node457_7fontSize + 'px "Arial"'))
- Node457_7.setPosition(79*ratio.ratioX, 143*ratio.ratioY);
- Node457_7.setWidth(Node457_7width);
- Node457_7.setHeight(Node457_7height);
- Node457_7._nodeType = 'text';
- Node457_7._disallowEvert = true;
- Node457_7.setRotation(0*Math.PI/180);
- Node457_7.a('node.width', Node457_7width);
- Node457_7.a('node.height', Node457_7height);
- Node457_7.a('node.rect', [0, 0, Node457_7width, Node457_7height]);
- Node457_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_7.a('node.borderwidth', 0);
- Node457_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_7.a('node.gradient','');
- Node457_7.a('node.gradientcolor','');
- Node457_7.a('node.text','0');
- Node457_7.a('node.textalign','right');
- Node457_7.a('node.textvAlign','middle');
- Node457_7.a('node.textrect', [Node457_7textStart, 0, Node457_7textWidth, Node457_7height]);
- Node457_7.a('node.color','rgba(0,0,0,1)');
- Node457_7.a('node.font',' '+ Node457_7fontSize + 'px "Arial"');
- Node457_7.a('node.textvisible',true);
- Node457_7.a('node.linefeed',false);
- if (false) {
- Node457_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_7.a('node.text') || '0';
- var color=Node457_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node457_7width,Node457_7height,19.99995*_ratio.ratioY,"right",color,' '+ Node457_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_7.a('node.underlinepoints',[Node457_7lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node457_7fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_7fontSize + 'px "Arial"').width + 6, (Node457_7height - Node457_7fontSize) * 0.5*_ratio.ratioY + Node457_7fontSize + 2 ]);
- Node457_7.a('node.underlinevisible',false);
- Node457_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_7);
- zoomNodeList.push({
- node: Node457_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_8type = 'rect';
- var Node457_8 = new ht.Node(),
- Node457_8BorderWidth = 0*2;
- if (Node457_8type === 'arc') {
- Node457_8BorderWidth *= 0;
- }
- Node457_8.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node457_8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_8.setPosition(167*ratio.ratioX, 140*ratio.ratioY);
- Node457_8.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node457_8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_8.a('node.width', 31*_ratio.ratioX);
- Node457_8.a('node.height', 31*_ratio.ratioY);
- Node457_8.a('node.type', Node457_8type);
- Node457_8.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node457_8.a('node.background', 'rgba(225,102,38,1)');
- Node457_8.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node457_8.a('node.gradient', '');
- Node457_8.a('node.borderwidth', Node457_8BorderWidth);
- Node457_8.a('node.color', 'rgba(0,0,0,0)');
- Node457_8.a('node.fillrect', [0,0,0,0]);
- Node457_8.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_8.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_8.a('node.fillgradient', '');
- if (Node457_8type !== 'rect') {
- Node457_8.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_8.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_8.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_8type === 'arc') {
- Node457_8.a('node.arcOval', true);
- }
- Node457_8.setRotation(0*Math.PI/180);
- Node457_8.borderWidth = Node457_8BorderWidth;
- Node457_8.borderFillwidth = Node457_8BorderWidth;
- dataModel.add(Node457_8);
- Node457_8._nodename = 'Node457_8'
- Node457_8._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_8,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_8, Node457_8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_9 = new ht.Node();
- var Node457_9textStart, Node457_9textWidth, Node457_9lineStart, Node457_9align = 'left', Node457_9fontSize = 13.3333*_ratio.ratioY,Node457_9width = 27*_ratio.ratioX, Node457_9height = 16*_ratio.ratioY;
- (function () {
- if (Node457_9align === 'left') {
- Node457_9textStart = Node457_9fontSize * 0.2 > 2 ? Node457_9fontSize * 0.2 - 4 : Node457_9fontSize * 0.2 - 9;
- Node457_9textWidth = Node457_9width;
- Node457_9lineStart = 1;
- } else if (Node457_9align === 'right') {
- Node457_9textStart = 0;
- Node457_9textWidth =Node457_9fontSize <= 8 ? Node457_9width + Node457_9fontSize * 0.2 + 6 : Node457_9width - Node457_9fontSize * 0.2;
- Node457_9lineStart = (Node457_9width - (ht.Default.getTextSize('天', 'bold '+ Node457_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_9align === 'center') {
- Node457_9textStart = -3;
- Node457_9textWidth = Node457_9width;
- Node457_9lineStart = Node457_9width - ht.Default.getTextSize('天', 'bold '+ Node457_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_9.setImage(GD.getTextJSON(Node457_9width, Node457_9height, true, false, false, 'bold '+ Node457_9fontSize + 'px "Arial"'))
- Node457_9.setPosition(171*ratio.ratioX, 142*ratio.ratioY);
- Node457_9.setWidth(Node457_9width);
- Node457_9.setHeight(Node457_9height);
- Node457_9._nodeType = 'text';
- Node457_9._disallowEvert = true;
- Node457_9.setRotation(0*Math.PI/180);
- Node457_9.a('node.width', Node457_9width);
- Node457_9.a('node.height', Node457_9height);
- Node457_9.a('node.rect', [0, 0, Node457_9width, Node457_9height]);
- Node457_9.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_9.a('node.borderwidth', 0);
- Node457_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_9.a('node.gradient','');
- Node457_9.a('node.gradientcolor','');
- Node457_9.a('node.text','天');
- Node457_9.a('node.textalign','left');
- Node457_9.a('node.textvAlign','middle');
- Node457_9.a('node.textrect', [Node457_9textStart, 0, Node457_9textWidth, Node457_9height]);
- Node457_9.a('node.color','rgba(255,255,255,1)');
- Node457_9.a('node.font','bold '+ Node457_9fontSize + 'px "Arial"');
- Node457_9.a('node.textvisible',true);
- Node457_9.a('node.linefeed',false);
- if (false) {
- Node457_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_9.a('node.text') || '天';
- var color=Node457_9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_9width,Node457_9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_9.a('node.underlinepoints',[Node457_9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node457_9fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node457_9fontSize + 'px "Arial"').width + 6, (Node457_9height - Node457_9fontSize) * 0.5*_ratio.ratioY + Node457_9fontSize + 2 ]);
- Node457_9.a('node.underlinevisible',false);
- Node457_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_9);
- zoomNodeList.push({
- node: Node457_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_10 = new ht.Node();
- var Node457_10textStart, Node457_10textWidth, Node457_10lineStart, Node457_10align = 'center', Node457_10fontSize = 13.3333*_ratio.ratioY,Node457_10width = 97*_ratio.ratioX, Node457_10height = 25*_ratio.ratioY;
- (function () {
- if (Node457_10align === 'left') {
- Node457_10textStart = Node457_10fontSize * 0.2 > 2 ? Node457_10fontSize * 0.2 - 4 : Node457_10fontSize * 0.2 - 9;
- Node457_10textWidth = Node457_10width;
- Node457_10lineStart = 1;
- } else if (Node457_10align === 'right') {
- Node457_10textStart = 0;
- Node457_10textWidth =Node457_10fontSize <= 8 ? Node457_10width + Node457_10fontSize * 0.2 + 6 : Node457_10width - Node457_10fontSize * 0.2;
- Node457_10lineStart = (Node457_10width - (ht.Default.getTextSize('装机容量', ' '+ Node457_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_10align === 'center') {
- Node457_10textStart = -3;
- Node457_10textWidth = Node457_10width;
- Node457_10lineStart = Node457_10width - ht.Default.getTextSize('装机容量', ' '+ Node457_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_10.setImage(GD.getTextJSON(Node457_10width, Node457_10height, true, false, false, ' '+ Node457_10fontSize + 'px "Arial"'))
- Node457_10.setPosition(224*ratio.ratioX, 48*ratio.ratioY);
- Node457_10.setWidth(Node457_10width);
- Node457_10.setHeight(Node457_10height);
- Node457_10._nodeType = 'text';
- Node457_10._disallowEvert = true;
- Node457_10.setRotation(0*Math.PI/180);
- Node457_10.a('node.width', Node457_10width);
- Node457_10.a('node.height', Node457_10height);
- Node457_10.a('node.rect', [0, 0, Node457_10width, Node457_10height]);
- Node457_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_10.a('node.borderwidth', 0);
- Node457_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_10.a('node.gradient','');
- Node457_10.a('node.gradientcolor','');
- Node457_10.a('node.text','装机容量');
- Node457_10.a('node.textalign','center');
- Node457_10.a('node.textvAlign','middle');
- Node457_10.a('node.textrect', [Node457_10textStart, 0, Node457_10textWidth, Node457_10height]);
- Node457_10.a('node.color','rgba(0,0,0,1)');
- Node457_10.a('node.font',' '+ Node457_10fontSize + 'px "Arial"');
- Node457_10.a('node.textvisible',true);
- Node457_10.a('node.linefeed',false);
- if (false) {
- Node457_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_10.a('node.text') || '装机容量';
- var color=Node457_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_10width,Node457_10height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_10.a('node.underlinepoints',[Node457_10lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node457_10fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node457_10fontSize + 'px "Arial"').width + 6, (Node457_10height - Node457_10fontSize) * 0.5*_ratio.ratioY + Node457_10fontSize + 2 ]);
- Node457_10.a('node.underlinevisible',false);
- Node457_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_10);
- zoomNodeList.push({
- node: Node457_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_11 = new ht.Node();
- var Node457_11textStart, Node457_11textWidth, Node457_11lineStart, Node457_11align = 'left', Node457_11fontSize = 13.3333*_ratio.ratioY,Node457_11width = 53*_ratio.ratioX, Node457_11height = 30*_ratio.ratioY;
- (function () {
- if (Node457_11align === 'left') {
- Node457_11textStart = Node457_11fontSize * 0.2 > 2 ? Node457_11fontSize * 0.2 - 4 : Node457_11fontSize * 0.2 - 9;
- Node457_11textWidth = Node457_11width;
- Node457_11lineStart = 1;
- } else if (Node457_11align === 'right') {
- Node457_11textStart = 0;
- Node457_11textWidth =Node457_11fontSize <= 8 ? Node457_11width + Node457_11fontSize * 0.2 + 6 : Node457_11width - Node457_11fontSize * 0.2;
- Node457_11lineStart = (Node457_11width - (ht.Default.getTextSize('合', 'bold '+ Node457_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_11align === 'center') {
- Node457_11textStart = -3;
- Node457_11textWidth = Node457_11width;
- Node457_11lineStart = Node457_11width - ht.Default.getTextSize('合', 'bold '+ Node457_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_11.setImage(GD.getTextJSON(Node457_11width, Node457_11height, true, false, false, 'bold '+ Node457_11fontSize + 'px "Arial"'))
- Node457_11.setPosition(32*ratio.ratioX, 80*ratio.ratioY);
- Node457_11.setWidth(Node457_11width);
- Node457_11.setHeight(Node457_11height);
- Node457_11._nodeType = 'text';
- Node457_11._disallowEvert = true;
- Node457_11.setRotation(0*Math.PI/180);
- Node457_11.a('node.width', Node457_11width);
- Node457_11.a('node.height', Node457_11height);
- Node457_11.a('node.rect', [0, 0, Node457_11width, Node457_11height]);
- Node457_11.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_11.a('node.borderwidth', 0);
- Node457_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_11.a('node.gradient','');
- Node457_11.a('node.gradientcolor','');
- Node457_11.a('node.text','合');
- Node457_11.a('node.textalign','left');
- Node457_11.a('node.textvAlign','middle');
- Node457_11.a('node.textrect', [Node457_11textStart, 0, Node457_11textWidth, Node457_11height]);
- Node457_11.a('node.color','rgba(255,255,255,1)');
- Node457_11.a('node.font','bold '+ Node457_11fontSize + 'px "Arial"');
- Node457_11.a('node.textvisible',true);
- Node457_11.a('node.linefeed',false);
- if (false) {
- Node457_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_11.a('node.text') || '合';
- var color=Node457_11.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_11width,Node457_11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_11.a('node.underlinepoints',[Node457_11lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node457_11fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node457_11fontSize + 'px "Arial"').width + 6, (Node457_11height - Node457_11fontSize) * 0.5*_ratio.ratioY + Node457_11fontSize + 2 ]);
- Node457_11.a('node.underlinevisible',false);
- Node457_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_11);
- zoomNodeList.push({
- node: Node457_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_12 = new ht.Node();
- var Node457_12textStart, Node457_12textWidth, Node457_12lineStart, Node457_12align = 'left', Node457_12fontSize = 13.3333*_ratio.ratioY,Node457_12width = 23*_ratio.ratioX, Node457_12height = 30*_ratio.ratioY;
- (function () {
- if (Node457_12align === 'left') {
- Node457_12textStart = Node457_12fontSize * 0.2 > 2 ? Node457_12fontSize * 0.2 - 4 : Node457_12fontSize * 0.2 - 9;
- Node457_12textWidth = Node457_12width;
- Node457_12lineStart = 1;
- } else if (Node457_12align === 'right') {
- Node457_12textStart = 0;
- Node457_12textWidth =Node457_12fontSize <= 8 ? Node457_12width + Node457_12fontSize * 0.2 + 6 : Node457_12width - Node457_12fontSize * 0.2;
- Node457_12lineStart = (Node457_12width - (ht.Default.getTextSize('指', 'bold '+ Node457_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_12align === 'center') {
- Node457_12textStart = -3;
- Node457_12textWidth = Node457_12width;
- Node457_12lineStart = Node457_12width - ht.Default.getTextSize('指', 'bold '+ Node457_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_12.setImage(GD.getTextJSON(Node457_12width, Node457_12height, true, false, false, 'bold '+ Node457_12fontSize + 'px "Arial"'))
- Node457_12.setPosition(17*ratio.ratioX, 107*ratio.ratioY);
- Node457_12.setWidth(Node457_12width);
- Node457_12.setHeight(Node457_12height);
- Node457_12._nodeType = 'text';
- Node457_12._disallowEvert = true;
- Node457_12.setRotation(0*Math.PI/180);
- Node457_12.a('node.width', Node457_12width);
- Node457_12.a('node.height', Node457_12height);
- Node457_12.a('node.rect', [0, 0, Node457_12width, Node457_12height]);
- Node457_12.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_12.a('node.borderwidth', 0);
- Node457_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_12.a('node.gradient','');
- Node457_12.a('node.gradientcolor','');
- Node457_12.a('node.text','指');
- Node457_12.a('node.textalign','left');
- Node457_12.a('node.textvAlign','middle');
- Node457_12.a('node.textrect', [Node457_12textStart, 0, Node457_12textWidth, Node457_12height]);
- Node457_12.a('node.color','rgba(255,255,255,1)');
- Node457_12.a('node.font','bold '+ Node457_12fontSize + 'px "Arial"');
- Node457_12.a('node.textvisible',true);
- Node457_12.a('node.linefeed',false);
- if (false) {
- Node457_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_12.a('node.text') || '指';
- var color=Node457_12.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_12width,Node457_12height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_12.a('node.underlinepoints',[Node457_12lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node457_12fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node457_12fontSize + 'px "Arial"').width + 6, (Node457_12height - Node457_12fontSize) * 0.5*_ratio.ratioY + Node457_12fontSize + 2 ]);
- Node457_12.a('node.underlinevisible',false);
- Node457_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_12);
- zoomNodeList.push({
- node: Node457_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_13 = new ht.Node();
- var Node457_13textStart, Node457_13textWidth, Node457_13lineStart, Node457_13align = 'left', Node457_13fontSize = 13.3333*_ratio.ratioY,Node457_13width = 53*_ratio.ratioX, Node457_13height = 30*_ratio.ratioY;
- (function () {
- if (Node457_13align === 'left') {
- Node457_13textStart = Node457_13fontSize * 0.2 > 2 ? Node457_13fontSize * 0.2 - 4 : Node457_13fontSize * 0.2 - 9;
- Node457_13textWidth = Node457_13width;
- Node457_13lineStart = 1;
- } else if (Node457_13align === 'right') {
- Node457_13textStart = 0;
- Node457_13textWidth =Node457_13fontSize <= 8 ? Node457_13width + Node457_13fontSize * 0.2 + 6 : Node457_13width - Node457_13fontSize * 0.2;
- Node457_13lineStart = (Node457_13width - (ht.Default.getTextSize('标', 'bold '+ Node457_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_13align === 'center') {
- Node457_13textStart = -3;
- Node457_13textWidth = Node457_13width;
- Node457_13lineStart = Node457_13width - ht.Default.getTextSize('标', 'bold '+ Node457_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_13.setImage(GD.getTextJSON(Node457_13width, Node457_13height, true, false, false, 'bold '+ Node457_13fontSize + 'px "Arial"'))
- Node457_13.setPosition(32*ratio.ratioX, 137*ratio.ratioY);
- Node457_13.setWidth(Node457_13width);
- Node457_13.setHeight(Node457_13height);
- Node457_13._nodeType = 'text';
- Node457_13._disallowEvert = true;
- Node457_13.setRotation(0*Math.PI/180);
- Node457_13.a('node.width', Node457_13width);
- Node457_13.a('node.height', Node457_13height);
- Node457_13.a('node.rect', [0, 0, Node457_13width, Node457_13height]);
- Node457_13.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_13.a('node.borderwidth', 0);
- Node457_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_13.a('node.gradient','');
- Node457_13.a('node.gradientcolor','');
- Node457_13.a('node.text','标');
- Node457_13.a('node.textalign','left');
- Node457_13.a('node.textvAlign','middle');
- Node457_13.a('node.textrect', [Node457_13textStart, 0, Node457_13textWidth, Node457_13height]);
- Node457_13.a('node.color','rgba(255,255,255,1)');
- Node457_13.a('node.font','bold '+ Node457_13fontSize + 'px "Arial"');
- Node457_13.a('node.textvisible',true);
- Node457_13.a('node.linefeed',false);
- if (false) {
- Node457_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_13.a('node.text') || '标';
- var color=Node457_13.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_13width,Node457_13height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_13.a('node.underlinepoints',[Node457_13lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node457_13fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node457_13fontSize + 'px "Arial"').width + 6, (Node457_13height - Node457_13fontSize) * 0.5*_ratio.ratioY + Node457_13fontSize + 2 ]);
- Node457_13.a('node.underlinevisible',false);
- Node457_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_13);
- zoomNodeList.push({
- node: Node457_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_14;
- (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');
- Node457_14 = new ht.Node();
- Node457_14.setPosition(106*ratio.ratioX, 59*ratio.ratioY);
- Node457_14.setSize(155*ratioX, 45*ratioY);
- Node457_14.setImage('imgimage//喜欢的蓝色.png');
- Node457_14.setRotation(0*Math.PI/180);
- Node457_14._zoomBy = 'Default';
- Node457_14._nodeType = 'image';
- Node457_14._disallowEvert = true;
- dataModel.add(Node457_14);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_15 = new ht.Node();
- var Node457_15textStart, Node457_15textWidth, Node457_15lineStart, Node457_15align = 'left', Node457_15fontSize = 17.33329*_ratio.ratioY,Node457_15width = 143*_ratio.ratioX, Node457_15height = 49*_ratio.ratioY;
- (function () {
- if (Node457_15align === 'left') {
- Node457_15textStart = Node457_15fontSize * 0.2 > 2 ? Node457_15fontSize * 0.2 - 4 : Node457_15fontSize * 0.2 - 9;
- Node457_15textWidth = Node457_15width;
- Node457_15lineStart = 1;
- } else if (Node457_15align === 'right') {
- Node457_15textStart = 0;
- Node457_15textWidth =Node457_15fontSize <= 8 ? Node457_15width + Node457_15fontSize * 0.2 + 6 : Node457_15width - Node457_15fontSize * 0.2;
- Node457_15lineStart = (Node457_15width - (ht.Default.getTextSize('浑源峰岳电场', ' '+ Node457_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_15align === 'center') {
- Node457_15textStart = -3;
- Node457_15textWidth = Node457_15width;
- Node457_15lineStart = Node457_15width - ht.Default.getTextSize('浑源峰岳电场', ' '+ Node457_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_15.setImage(GD.getTextJSON(Node457_15width, Node457_15height, true, false, false, ' '+ Node457_15fontSize + 'px "Arial"'))
- Node457_15.setPosition(113*ratio.ratioX, 61*ratio.ratioY);
- Node457_15.setWidth(Node457_15width);
- Node457_15.setHeight(Node457_15height);
- Node457_15._nodeType = 'text';
- Node457_15._disallowEvert = true;
- Node457_15.setRotation(0*Math.PI/180);
- Node457_15.a('node.width', Node457_15width);
- Node457_15.a('node.height', Node457_15height);
- Node457_15.a('node.rect', [0, 0, Node457_15width, Node457_15height]);
- Node457_15.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_15.a('node.borderwidth', 0);
- Node457_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_15.a('node.gradient','');
- Node457_15.a('node.gradientcolor','');
- Node457_15.a('node.text','浑源峰岳电场');
- Node457_15.a('node.textalign','left');
- Node457_15.a('node.textvAlign','middle');
- Node457_15.a('node.textrect', [Node457_15textStart, 0, Node457_15textWidth, Node457_15height]);
- Node457_15.a('node.color','rgba(255,255,255,1)');
- Node457_15.a('node.font',' '+ Node457_15fontSize + 'px "Arial"');
- Node457_15.a('node.textvisible',true);
- Node457_15.a('node.linefeed',false);
- if (false) {
- Node457_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_15.a('node.text') || '浑源峰岳电场';
- var color=Node457_15.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node457_15width,Node457_15height,17.33329*_ratio.ratioY,"left",color,' '+ Node457_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_15.a('node.underlinepoints',[Node457_15lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node457_15fontSize + 2 , ht.Default.getTextSize('浑源峰岳电场', ' '+ Node457_15fontSize + 'px "Arial"').width + 6, (Node457_15height - Node457_15fontSize) * 0.5*_ratio.ratioY + Node457_15fontSize + 2 ]);
- Node457_15.a('node.underlinevisible',false);
- Node457_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_15);
- zoomNodeList.push({
- node: Node457_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_16 = new ht.Node();
- var Node457_16textStart, Node457_16textWidth, Node457_16lineStart, Node457_16align = 'left', Node457_16fontSize = 13.3333*_ratio.ratioY,Node457_16width = 47*_ratio.ratioX, Node457_16height = 38*_ratio.ratioY;
- (function () {
- if (Node457_16align === 'left') {
- Node457_16textStart = Node457_16fontSize * 0.2 > 2 ? Node457_16fontSize * 0.2 - 4 : Node457_16fontSize * 0.2 - 9;
- Node457_16textWidth = Node457_16width;
- Node457_16lineStart = 1;
- } else if (Node457_16align === 'right') {
- Node457_16textStart = 0;
- Node457_16textWidth =Node457_16fontSize <= 8 ? Node457_16width + Node457_16fontSize * 0.2 + 6 : Node457_16width - Node457_16fontSize * 0.2;
- Node457_16lineStart = (Node457_16width - (ht.Default.getTextSize('运行', 'bold '+ Node457_16fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_16align === 'center') {
- Node457_16textStart = -3;
- Node457_16textWidth = Node457_16width;
- Node457_16lineStart = Node457_16width - ht.Default.getTextSize('运行', 'bold '+ Node457_16fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_16.setImage(GD.getTextJSON(Node457_16width, Node457_16height, true, false, false, 'bold '+ Node457_16fontSize + 'px "Arial"'))
- Node457_16.setPosition(1508*ratio.ratioX, 48*ratio.ratioY);
- Node457_16.setWidth(Node457_16width);
- Node457_16.setHeight(Node457_16height);
- Node457_16._nodeType = 'text';
- Node457_16._disallowEvert = true;
- Node457_16.setRotation(0*Math.PI/180);
- Node457_16.a('node.width', Node457_16width);
- Node457_16.a('node.height', Node457_16height);
- Node457_16.a('node.rect', [0, 0, Node457_16width, Node457_16height]);
- Node457_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_16.a('node.borderwidth', 0);
- Node457_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_16.a('node.gradient','');
- Node457_16.a('node.gradientcolor','');
- Node457_16.a('node.text','运行');
- Node457_16.a('node.textalign','left');
- Node457_16.a('node.textvAlign','middle');
- Node457_16.a('node.textrect', [Node457_16textStart, 0, Node457_16textWidth, Node457_16height]);
- Node457_16.a('node.color','rgba(0,0,0,1)');
- Node457_16.a('node.font','bold '+ Node457_16fontSize + 'px "Arial"');
- Node457_16.a('node.textvisible',true);
- Node457_16.a('node.linefeed',false);
- if (false) {
- Node457_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_16.a('node.text') || '运行';
- var color=Node457_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_16width,Node457_16height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_16fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_16.a('node.underlinepoints',[Node457_16lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node457_16fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node457_16fontSize + 'px "Arial"').width + 6, (Node457_16height - Node457_16fontSize) * 0.5*_ratio.ratioY + Node457_16fontSize + 2 ]);
- Node457_16.a('node.underlinevisible',false);
- Node457_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_16);
- zoomNodeList.push({
- node: Node457_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_17 = new ht.Node();
- var Node457_17textStart, Node457_17textWidth, Node457_17lineStart, Node457_17align = 'left', Node457_17fontSize = 13.3333*_ratio.ratioY,Node457_17width = 47*_ratio.ratioX, Node457_17height = 38*_ratio.ratioY;
- (function () {
- if (Node457_17align === 'left') {
- Node457_17textStart = Node457_17fontSize * 0.2 > 2 ? Node457_17fontSize * 0.2 - 4 : Node457_17fontSize * 0.2 - 9;
- Node457_17textWidth = Node457_17width;
- Node457_17lineStart = 1;
- } else if (Node457_17align === 'right') {
- Node457_17textStart = 0;
- Node457_17textWidth =Node457_17fontSize <= 8 ? Node457_17width + Node457_17fontSize * 0.2 + 6 : Node457_17width - Node457_17fontSize * 0.2;
- Node457_17lineStart = (Node457_17width - (ht.Default.getTextSize('待机', 'bold '+ Node457_17fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_17align === 'center') {
- Node457_17textStart = -3;
- Node457_17textWidth = Node457_17width;
- Node457_17lineStart = Node457_17width - ht.Default.getTextSize('待机', 'bold '+ Node457_17fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_17.setImage(GD.getTextJSON(Node457_17width, Node457_17height, true, false, false, 'bold '+ Node457_17fontSize + 'px "Arial"'))
- Node457_17.setPosition(1646*ratio.ratioX, 48*ratio.ratioY);
- Node457_17.setWidth(Node457_17width);
- Node457_17.setHeight(Node457_17height);
- Node457_17._nodeType = 'text';
- Node457_17._disallowEvert = true;
- Node457_17.setRotation(0*Math.PI/180);
- Node457_17.a('node.width', Node457_17width);
- Node457_17.a('node.height', Node457_17height);
- Node457_17.a('node.rect', [0, 0, Node457_17width, Node457_17height]);
- Node457_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_17.a('node.borderwidth', 0);
- Node457_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_17.a('node.gradient','');
- Node457_17.a('node.gradientcolor','');
- Node457_17.a('node.text','待机');
- Node457_17.a('node.textalign','left');
- Node457_17.a('node.textvAlign','middle');
- Node457_17.a('node.textrect', [Node457_17textStart, 0, Node457_17textWidth, Node457_17height]);
- Node457_17.a('node.color','rgba(0,0,0,1)');
- Node457_17.a('node.font','bold '+ Node457_17fontSize + 'px "Arial"');
- Node457_17.a('node.textvisible',true);
- Node457_17.a('node.linefeed',false);
- if (false) {
- Node457_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_17.a('node.text') || '待机';
- var color=Node457_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_17width,Node457_17height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_17fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_17.a('node.underlinepoints',[Node457_17lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node457_17fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node457_17fontSize + 'px "Arial"').width + 6, (Node457_17height - Node457_17fontSize) * 0.5*_ratio.ratioY + Node457_17fontSize + 2 ]);
- Node457_17.a('node.underlinevisible',false);
- Node457_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_17);
- zoomNodeList.push({
- node: Node457_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_18 = new ht.Node();
- var Node457_18textStart, Node457_18textWidth, Node457_18lineStart, Node457_18align = 'left', Node457_18fontSize = 13.3333*_ratio.ratioY,Node457_18width = 47*_ratio.ratioX, Node457_18height = 38*_ratio.ratioY;
- (function () {
- if (Node457_18align === 'left') {
- Node457_18textStart = Node457_18fontSize * 0.2 > 2 ? Node457_18fontSize * 0.2 - 4 : Node457_18fontSize * 0.2 - 9;
- Node457_18textWidth = Node457_18width;
- Node457_18lineStart = 1;
- } else if (Node457_18align === 'right') {
- Node457_18textStart = 0;
- Node457_18textWidth =Node457_18fontSize <= 8 ? Node457_18width + Node457_18fontSize * 0.2 + 6 : Node457_18width - Node457_18fontSize * 0.2;
- Node457_18lineStart = (Node457_18width - (ht.Default.getTextSize('故障', 'bold '+ Node457_18fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_18align === 'center') {
- Node457_18textStart = -3;
- Node457_18textWidth = Node457_18width;
- Node457_18lineStart = Node457_18width - ht.Default.getTextSize('故障', 'bold '+ Node457_18fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_18.setImage(GD.getTextJSON(Node457_18width, Node457_18height, true, false, false, 'bold '+ Node457_18fontSize + 'px "Arial"'))
- Node457_18.setPosition(1784*ratio.ratioX, 48*ratio.ratioY);
- Node457_18.setWidth(Node457_18width);
- Node457_18.setHeight(Node457_18height);
- Node457_18._nodeType = 'text';
- Node457_18._disallowEvert = true;
- Node457_18.setRotation(0*Math.PI/180);
- Node457_18.a('node.width', Node457_18width);
- Node457_18.a('node.height', Node457_18height);
- Node457_18.a('node.rect', [0, 0, Node457_18width, Node457_18height]);
- Node457_18.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_18.a('node.borderwidth', 0);
- Node457_18.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_18.a('node.gradient','');
- Node457_18.a('node.gradientcolor','');
- Node457_18.a('node.text','故障');
- Node457_18.a('node.textalign','left');
- Node457_18.a('node.textvAlign','middle');
- Node457_18.a('node.textrect', [Node457_18textStart, 0, Node457_18textWidth, Node457_18height]);
- Node457_18.a('node.color','rgba(0,0,0,1)');
- Node457_18.a('node.font','bold '+ Node457_18fontSize + 'px "Arial"');
- Node457_18.a('node.textvisible',true);
- Node457_18.a('node.linefeed',false);
- if (false) {
- Node457_18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_18.a('node.text') || '故障';
- var color=Node457_18.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_18width,Node457_18height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_18.a('node.underlinepoints',[Node457_18lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node457_18fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node457_18fontSize + 'px "Arial"').width + 6, (Node457_18height - Node457_18fontSize) * 0.5*_ratio.ratioY + Node457_18fontSize + 2 ]);
- Node457_18.a('node.underlinevisible',false);
- Node457_18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_18);
- zoomNodeList.push({
- node: Node457_18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_19 = new ht.Node();
- var Node457_19textStart, Node457_19textWidth, Node457_19lineStart, Node457_19align = 'left', Node457_19fontSize = 13.3333*_ratio.ratioY,Node457_19width = 87*_ratio.ratioX, Node457_19height = 32*_ratio.ratioY;
- (function () {
- if (Node457_19align === 'left') {
- Node457_19textStart = Node457_19fontSize * 0.2 > 2 ? Node457_19fontSize * 0.2 - 4 : Node457_19fontSize * 0.2 - 9;
- Node457_19textWidth = Node457_19width;
- Node457_19lineStart = 1;
- } else if (Node457_19align === 'right') {
- Node457_19textStart = 0;
- Node457_19textWidth =Node457_19fontSize <= 8 ? Node457_19width + Node457_19fontSize * 0.2 + 6 : Node457_19width - Node457_19fontSize * 0.2;
- Node457_19lineStart = (Node457_19width - (ht.Default.getTextSize('上网电量', ' '+ Node457_19fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_19align === 'center') {
- Node457_19textStart = -3;
- Node457_19textWidth = Node457_19width;
- Node457_19lineStart = Node457_19width - ht.Default.getTextSize('上网电量', ' '+ Node457_19fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_19.setImage(GD.getTextJSON(Node457_19width, Node457_19height, true, false, false, ' '+ Node457_19fontSize + 'px "微软雅黑"'))
- Node457_19.setPosition(231*ratio.ratioX, 147*ratio.ratioY);
- Node457_19.setWidth(Node457_19width);
- Node457_19.setHeight(Node457_19height);
- Node457_19._nodeType = 'text';
- Node457_19._disallowEvert = true;
- Node457_19.setRotation(0*Math.PI/180);
- Node457_19.a('node.width', Node457_19width);
- Node457_19.a('node.height', Node457_19height);
- Node457_19.a('node.rect', [0, 0, Node457_19width, Node457_19height]);
- Node457_19.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_19.a('node.borderwidth', 0);
- Node457_19.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_19.a('node.gradient','');
- Node457_19.a('node.gradientcolor','');
- Node457_19.a('node.text','上网电量');
- Node457_19.a('node.textalign','left');
- Node457_19.a('node.textvAlign','middle');
- Node457_19.a('node.textrect', [Node457_19textStart, 0, Node457_19textWidth, Node457_19height]);
- Node457_19.a('node.color','rgba(0,0,0,1)');
- Node457_19.a('node.font',' '+ Node457_19fontSize + 'px "微软雅黑"');
- Node457_19.a('node.textvisible',true);
- Node457_19.a('node.linefeed',false);
- if (false) {
- Node457_19.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_19.a('node.text') || '上网电量';
- var color=Node457_19.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_19width,Node457_19height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_19fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_19.a('node.underlinepoints',[Node457_19lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node457_19fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node457_19fontSize + 'px "微软雅黑"').width + 6, (Node457_19height - Node457_19fontSize) * 0.5*_ratio.ratioY + Node457_19fontSize + 2 ]);
- Node457_19.a('node.underlinevisible',false);
- Node457_19.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_19);
- zoomNodeList.push({
- node: Node457_19,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_20 = new ht.Node();
- var Node457_20textStart, Node457_20textWidth, Node457_20lineStart, Node457_20align = 'center', Node457_20fontSize = 13.3333*_ratio.ratioY,Node457_20width = 113*_ratio.ratioX, Node457_20height = 32*_ratio.ratioY;
- (function () {
- if (Node457_20align === 'left') {
- Node457_20textStart = Node457_20fontSize * 0.2 > 2 ? Node457_20fontSize * 0.2 - 4 : Node457_20fontSize * 0.2 - 9;
- Node457_20textWidth = Node457_20width;
- Node457_20lineStart = 1;
- } else if (Node457_20align === 'right') {
- Node457_20textStart = 0;
- Node457_20textWidth =Node457_20fontSize <= 8 ? Node457_20width + Node457_20fontSize * 0.2 + 6 : Node457_20width - Node457_20fontSize * 0.2;
- Node457_20lineStart = (Node457_20width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node457_20fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_20align === 'center') {
- Node457_20textStart = -3;
- Node457_20textWidth = Node457_20width;
- Node457_20lineStart = Node457_20width - ht.Default.getTextSize('日性能损失电量', ' '+ Node457_20fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_20.setImage(GD.getTextJSON(Node457_20width, Node457_20height, true, false, false, ' '+ Node457_20fontSize + 'px "微软雅黑"'))
- Node457_20.setPosition(533*ratio.ratioX, 148*ratio.ratioY);
- Node457_20.setWidth(Node457_20width);
- Node457_20.setHeight(Node457_20height);
- Node457_20._nodeType = 'text';
- Node457_20._disallowEvert = true;
- Node457_20.setRotation(0*Math.PI/180);
- Node457_20.a('node.width', Node457_20width);
- Node457_20.a('node.height', Node457_20height);
- Node457_20.a('node.rect', [0, 0, Node457_20width, Node457_20height]);
- Node457_20.a('node.bordercolor','rgba(64,64,64,1)');
- Node457_20.a('node.borderwidth', 0);
- Node457_20.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node457_20.a('node.gradient','');
- Node457_20.a('node.gradientcolor','rgba(255,255,255,0)');
- Node457_20.a('node.text','日性能损失电量');
- Node457_20.a('node.textalign','center');
- Node457_20.a('node.textvAlign','middle');
- Node457_20.a('node.textrect', [Node457_20textStart, 0, Node457_20textWidth, Node457_20height]);
- Node457_20.a('node.color','rgba(64,64,64,1)');
- Node457_20.a('node.font',' '+ Node457_20fontSize + 'px "微软雅黑"');
- Node457_20.a('node.textvisible',true);
- Node457_20.a('node.linefeed',false);
- if (false) {
- Node457_20.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_20.a('node.text') || '日性能损失电量';
- var color=Node457_20.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_20width,Node457_20height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_20fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_20.a('node.underlinepoints',[Node457_20lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node457_20fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node457_20fontSize + 'px "微软雅黑"').width + 6, (Node457_20height - Node457_20fontSize) * 0.5*_ratio.ratioY + Node457_20fontSize + 2 ]);
- Node457_20.a('node.underlinevisible',false);
- Node457_20.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_20);
- zoomNodeList.push({
- node: Node457_20,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_21 = new ht.Node();
- var Node457_21textStart, Node457_21textWidth, Node457_21lineStart, Node457_21align = 'center', Node457_21fontSize = 13.3333*_ratio.ratioY,Node457_21width = 110*_ratio.ratioX, Node457_21height = 32*_ratio.ratioY;
- (function () {
- if (Node457_21align === 'left') {
- Node457_21textStart = Node457_21fontSize * 0.2 > 2 ? Node457_21fontSize * 0.2 - 4 : Node457_21fontSize * 0.2 - 9;
- Node457_21textWidth = Node457_21width;
- Node457_21lineStart = 1;
- } else if (Node457_21align === 'right') {
- Node457_21textStart = 0;
- Node457_21textWidth =Node457_21fontSize <= 8 ? Node457_21width + Node457_21fontSize * 0.2 + 6 : Node457_21width - Node457_21fontSize * 0.2;
- Node457_21lineStart = (Node457_21width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node457_21fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_21align === 'center') {
- Node457_21textStart = -3;
- Node457_21textWidth = Node457_21width;
- Node457_21lineStart = Node457_21width - ht.Default.getTextSize('月性能损失电量', ' '+ Node457_21fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_21.setImage(GD.getTextJSON(Node457_21width, Node457_21height, true, false, false, ' '+ Node457_21fontSize + 'px "微软雅黑"'))
- Node457_21.setPosition(812*ratio.ratioX, 148*ratio.ratioY);
- Node457_21.setWidth(Node457_21width);
- Node457_21.setHeight(Node457_21height);
- Node457_21._nodeType = 'text';
- Node457_21._disallowEvert = true;
- Node457_21.setRotation(0*Math.PI/180);
- Node457_21.a('node.width', Node457_21width);
- Node457_21.a('node.height', Node457_21height);
- Node457_21.a('node.rect', [0, 0, Node457_21width, Node457_21height]);
- Node457_21.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_21.a('node.borderwidth', 0);
- Node457_21.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_21.a('node.gradient','');
- Node457_21.a('node.gradientcolor','');
- Node457_21.a('node.text','月性能损失电量');
- Node457_21.a('node.textalign','center');
- Node457_21.a('node.textvAlign','middle');
- Node457_21.a('node.textrect', [Node457_21textStart, 0, Node457_21textWidth, Node457_21height]);
- Node457_21.a('node.color','rgba(0,0,0,1)');
- Node457_21.a('node.font',' '+ Node457_21fontSize + 'px "微软雅黑"');
- Node457_21.a('node.textvisible',true);
- Node457_21.a('node.linefeed',false);
- if (false) {
- Node457_21.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_21.a('node.text') || '月性能损失电量';
- var color=Node457_21.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_21width,Node457_21height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_21fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_21.a('node.underlinepoints',[Node457_21lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node457_21fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node457_21fontSize + 'px "微软雅黑"').width + 6, (Node457_21height - Node457_21fontSize) * 0.5*_ratio.ratioY + Node457_21fontSize + 2 ]);
- Node457_21.a('node.underlinevisible',false);
- Node457_21.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_21);
- zoomNodeList.push({
- node: Node457_21,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_22 = new ht.Node();
- var Node457_22textStart, Node457_22textWidth, Node457_22lineStart, Node457_22align = 'center', Node457_22fontSize = 13.3333*_ratio.ratioY,Node457_22width = 59*_ratio.ratioX, Node457_22height = 26*_ratio.ratioY;
- (function () {
- if (Node457_22align === 'left') {
- Node457_22textStart = Node457_22fontSize * 0.2 > 2 ? Node457_22fontSize * 0.2 - 4 : Node457_22fontSize * 0.2 - 9;
- Node457_22textWidth = Node457_22width;
- Node457_22lineStart = 1;
- } else if (Node457_22align === 'right') {
- Node457_22textStart = 0;
- Node457_22textWidth =Node457_22fontSize <= 8 ? Node457_22width + Node457_22fontSize * 0.2 + 6 : Node457_22width - Node457_22fontSize * 0.2;
- Node457_22lineStart = (Node457_22width - (ht.Default.getTextSize('万kWh', ' '+ Node457_22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_22align === 'center') {
- Node457_22textStart = -3;
- Node457_22textWidth = Node457_22width;
- Node457_22lineStart = Node457_22width - ht.Default.getTextSize('万kWh', ' '+ Node457_22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_22.setImage(GD.getTextJSON(Node457_22width, Node457_22height, true, false, false, ' '+ Node457_22fontSize + 'px "Arial"'))
- Node457_22.setPosition(999*ratio.ratioX, 148*ratio.ratioY);
- Node457_22.setWidth(Node457_22width);
- Node457_22.setHeight(Node457_22height);
- Node457_22._nodeType = 'text';
- Node457_22._disallowEvert = true;
- Node457_22.setRotation(0*Math.PI/180);
- Node457_22.a('node.width', Node457_22width);
- Node457_22.a('node.height', Node457_22height);
- Node457_22.a('node.rect', [0, 0, Node457_22width, Node457_22height]);
- Node457_22.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_22.a('node.borderwidth', 0);
- Node457_22.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_22.a('node.gradient','');
- Node457_22.a('node.gradientcolor','');
- Node457_22.a('node.text','万kWh');
- Node457_22.a('node.textalign','center');
- Node457_22.a('node.textvAlign','middle');
- Node457_22.a('node.textrect', [Node457_22textStart, 0, Node457_22textWidth, Node457_22height]);
- Node457_22.a('node.color','rgba(128,128,128,1)');
- Node457_22.a('node.font',' '+ Node457_22fontSize + 'px "Arial"');
- Node457_22.a('node.textvisible',true);
- Node457_22.a('node.linefeed',false);
- if (false) {
- Node457_22.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_22.a('node.text') || '万kWh';
- var color=Node457_22.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_22width,Node457_22height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_22fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_22.a('node.underlinepoints',[Node457_22lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_22fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_22fontSize + 'px "Arial"').width + 6, (Node457_22height - Node457_22fontSize) * 0.5*_ratio.ratioY + Node457_22fontSize + 2 ]);
- Node457_22.a('node.underlinevisible',false);
- Node457_22.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_22);
- zoomNodeList.push({
- node: Node457_22,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_23 = new ht.Node();
- var Node457_23textStart, Node457_23textWidth, Node457_23lineStart, Node457_23align = 'center', Node457_23fontSize = 13.3333*_ratio.ratioY,Node457_23width = 110*_ratio.ratioX, Node457_23height = 32*_ratio.ratioY;
- (function () {
- if (Node457_23align === 'left') {
- Node457_23textStart = Node457_23fontSize * 0.2 > 2 ? Node457_23fontSize * 0.2 - 4 : Node457_23fontSize * 0.2 - 9;
- Node457_23textWidth = Node457_23width;
- Node457_23lineStart = 1;
- } else if (Node457_23align === 'right') {
- Node457_23textStart = 0;
- Node457_23textWidth =Node457_23fontSize <= 8 ? Node457_23width + Node457_23fontSize * 0.2 + 6 : Node457_23width - Node457_23fontSize * 0.2;
- Node457_23lineStart = (Node457_23width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node457_23fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_23align === 'center') {
- Node457_23textStart = -3;
- Node457_23textWidth = Node457_23width;
- Node457_23lineStart = Node457_23width - ht.Default.getTextSize('年性能损失电量', ' '+ Node457_23fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_23.setImage(GD.getTextJSON(Node457_23width, Node457_23height, true, false, false, ' '+ Node457_23fontSize + 'px "微软雅黑"'))
- Node457_23.setPosition(1092*ratio.ratioX, 148*ratio.ratioY);
- Node457_23.setWidth(Node457_23width);
- Node457_23.setHeight(Node457_23height);
- Node457_23._nodeType = 'text';
- Node457_23._disallowEvert = true;
- Node457_23.setRotation(0*Math.PI/180);
- Node457_23.a('node.width', Node457_23width);
- Node457_23.a('node.height', Node457_23height);
- Node457_23.a('node.rect', [0, 0, Node457_23width, Node457_23height]);
- Node457_23.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_23.a('node.borderwidth', 0);
- Node457_23.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_23.a('node.gradient','');
- Node457_23.a('node.gradientcolor','');
- Node457_23.a('node.text','年性能损失电量');
- Node457_23.a('node.textalign','center');
- Node457_23.a('node.textvAlign','middle');
- Node457_23.a('node.textrect', [Node457_23textStart, 0, Node457_23textWidth, Node457_23height]);
- Node457_23.a('node.color','rgba(0,0,0,1)');
- Node457_23.a('node.font',' '+ Node457_23fontSize + 'px "微软雅黑"');
- Node457_23.a('node.textvisible',true);
- Node457_23.a('node.linefeed',false);
- if (false) {
- Node457_23.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_23.a('node.text') || '年性能损失电量';
- var color=Node457_23.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_23width,Node457_23height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_23fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_23.a('node.underlinepoints',[Node457_23lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node457_23fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node457_23fontSize + 'px "微软雅黑"').width + 6, (Node457_23height - Node457_23fontSize) * 0.5*_ratio.ratioY + Node457_23fontSize + 2 ]);
- Node457_23.a('node.underlinevisible',false);
- Node457_23.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_23);
- zoomNodeList.push({
- node: Node457_23,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_24 = new ht.Node();
- var Node457_24textStart, Node457_24textWidth, Node457_24lineStart, Node457_24align = 'center', Node457_24fontSize = 13.3333*_ratio.ratioY,Node457_24width = 59*_ratio.ratioX, Node457_24height = 26*_ratio.ratioY;
- (function () {
- if (Node457_24align === 'left') {
- Node457_24textStart = Node457_24fontSize * 0.2 > 2 ? Node457_24fontSize * 0.2 - 4 : Node457_24fontSize * 0.2 - 9;
- Node457_24textWidth = Node457_24width;
- Node457_24lineStart = 1;
- } else if (Node457_24align === 'right') {
- Node457_24textStart = 0;
- Node457_24textWidth =Node457_24fontSize <= 8 ? Node457_24width + Node457_24fontSize * 0.2 + 6 : Node457_24width - Node457_24fontSize * 0.2;
- Node457_24lineStart = (Node457_24width - (ht.Default.getTextSize('万kWh', ' '+ Node457_24fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_24align === 'center') {
- Node457_24textStart = -3;
- Node457_24textWidth = Node457_24width;
- Node457_24lineStart = Node457_24width - ht.Default.getTextSize('万kWh', ' '+ Node457_24fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_24.setImage(GD.getTextJSON(Node457_24width, Node457_24height, true, false, false, ' '+ Node457_24fontSize + 'px "Arial"'))
- Node457_24.setPosition(1279*ratio.ratioX, 148*ratio.ratioY);
- Node457_24.setWidth(Node457_24width);
- Node457_24.setHeight(Node457_24height);
- Node457_24._nodeType = 'text';
- Node457_24._disallowEvert = true;
- Node457_24.setRotation(0*Math.PI/180);
- Node457_24.a('node.width', Node457_24width);
- Node457_24.a('node.height', Node457_24height);
- Node457_24.a('node.rect', [0, 0, Node457_24width, Node457_24height]);
- Node457_24.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_24.a('node.borderwidth', 0);
- Node457_24.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_24.a('node.gradient','');
- Node457_24.a('node.gradientcolor','');
- Node457_24.a('node.text','万kWh');
- Node457_24.a('node.textalign','center');
- Node457_24.a('node.textvAlign','middle');
- Node457_24.a('node.textrect', [Node457_24textStart, 0, Node457_24textWidth, Node457_24height]);
- Node457_24.a('node.color','rgba(128,128,128,1)');
- Node457_24.a('node.font',' '+ Node457_24fontSize + 'px "Arial"');
- Node457_24.a('node.textvisible',true);
- Node457_24.a('node.linefeed',false);
- if (false) {
- Node457_24.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_24.a('node.text') || '万kWh';
- var color=Node457_24.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_24width,Node457_24height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_24fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_24.a('node.underlinepoints',[Node457_24lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_24fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_24fontSize + 'px "Arial"').width + 6, (Node457_24height - Node457_24fontSize) * 0.5*_ratio.ratioY + Node457_24fontSize + 2 ]);
- Node457_24.a('node.underlinevisible',false);
- Node457_24.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_24);
- zoomNodeList.push({
- node: Node457_24,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_25 = new ht.Node();
- var Node457_25textStart, Node457_25textWidth, Node457_25lineStart, Node457_25align = 'center', Node457_25fontSize = 13.3333*_ratio.ratioY,Node457_25width = 59*_ratio.ratioX, Node457_25height = 26*_ratio.ratioY;
- (function () {
- if (Node457_25align === 'left') {
- Node457_25textStart = Node457_25fontSize * 0.2 > 2 ? Node457_25fontSize * 0.2 - 4 : Node457_25fontSize * 0.2 - 9;
- Node457_25textWidth = Node457_25width;
- Node457_25lineStart = 1;
- } else if (Node457_25align === 'right') {
- Node457_25textStart = 0;
- Node457_25textWidth =Node457_25fontSize <= 8 ? Node457_25width + Node457_25fontSize * 0.2 + 6 : Node457_25width - Node457_25fontSize * 0.2;
- Node457_25lineStart = (Node457_25width - (ht.Default.getTextSize('万kWh', ' '+ Node457_25fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_25align === 'center') {
- Node457_25textStart = -3;
- Node457_25textWidth = Node457_25width;
- Node457_25lineStart = Node457_25width - ht.Default.getTextSize('万kWh', ' '+ Node457_25fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_25.setImage(GD.getTextJSON(Node457_25width, Node457_25height, true, false, false, ' '+ Node457_25fontSize + 'px "Arial"'))
- Node457_25.setPosition(435*ratio.ratioX, 148*ratio.ratioY);
- Node457_25.setWidth(Node457_25width);
- Node457_25.setHeight(Node457_25height);
- Node457_25._nodeType = 'text';
- Node457_25._disallowEvert = true;
- Node457_25.setRotation(0*Math.PI/180);
- Node457_25.a('node.width', Node457_25width);
- Node457_25.a('node.height', Node457_25height);
- Node457_25.a('node.rect', [0, 0, Node457_25width, Node457_25height]);
- Node457_25.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_25.a('node.borderwidth', 0);
- Node457_25.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_25.a('node.gradient','');
- Node457_25.a('node.gradientcolor','');
- Node457_25.a('node.text','万kWh');
- Node457_25.a('node.textalign','center');
- Node457_25.a('node.textvAlign','middle');
- Node457_25.a('node.textrect', [Node457_25textStart, 0, Node457_25textWidth, Node457_25height]);
- Node457_25.a('node.color','rgba(128,128,128,1)');
- Node457_25.a('node.font',' '+ Node457_25fontSize + 'px "Arial"');
- Node457_25.a('node.textvisible',true);
- Node457_25.a('node.linefeed',false);
- if (false) {
- Node457_25.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_25.a('node.text') || '万kWh';
- var color=Node457_25.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_25width,Node457_25height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_25fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_25.a('node.underlinepoints',[Node457_25lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_25fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_25fontSize + 'px "Arial"').width + 6, (Node457_25height - Node457_25fontSize) * 0.5*_ratio.ratioY + Node457_25fontSize + 2 ]);
- Node457_25.a('node.underlinevisible',false);
- Node457_25.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_25);
- zoomNodeList.push({
- node: Node457_25,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_26 = new ht.Node();
- var Node457_26textStart, Node457_26textWidth, Node457_26lineStart, Node457_26align = 'center', Node457_26fontSize = 13.3333*_ratio.ratioY,Node457_26width = 59*_ratio.ratioX, Node457_26height = 26*_ratio.ratioY;
- (function () {
- if (Node457_26align === 'left') {
- Node457_26textStart = Node457_26fontSize * 0.2 > 2 ? Node457_26fontSize * 0.2 - 4 : Node457_26fontSize * 0.2 - 9;
- Node457_26textWidth = Node457_26width;
- Node457_26lineStart = 1;
- } else if (Node457_26align === 'right') {
- Node457_26textStart = 0;
- Node457_26textWidth =Node457_26fontSize <= 8 ? Node457_26width + Node457_26fontSize * 0.2 + 6 : Node457_26width - Node457_26fontSize * 0.2;
- Node457_26lineStart = (Node457_26width - (ht.Default.getTextSize('万kWh', ' '+ Node457_26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_26align === 'center') {
- Node457_26textStart = -3;
- Node457_26textWidth = Node457_26width;
- Node457_26lineStart = Node457_26width - ht.Default.getTextSize('万kWh', ' '+ Node457_26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_26.setImage(GD.getTextJSON(Node457_26width, Node457_26height, true, false, false, ' '+ Node457_26fontSize + 'px "Arial"'))
- Node457_26.setPosition(719*ratio.ratioX, 148*ratio.ratioY);
- Node457_26.setWidth(Node457_26width);
- Node457_26.setHeight(Node457_26height);
- Node457_26._nodeType = 'text';
- Node457_26._disallowEvert = true;
- Node457_26.setRotation(0*Math.PI/180);
- Node457_26.a('node.width', Node457_26width);
- Node457_26.a('node.height', Node457_26height);
- Node457_26.a('node.rect', [0, 0, Node457_26width, Node457_26height]);
- Node457_26.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_26.a('node.borderwidth', 0);
- Node457_26.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_26.a('node.gradient','');
- Node457_26.a('node.gradientcolor','');
- Node457_26.a('node.text','万kWh');
- Node457_26.a('node.textalign','center');
- Node457_26.a('node.textvAlign','middle');
- Node457_26.a('node.textrect', [Node457_26textStart, 0, Node457_26textWidth, Node457_26height]);
- Node457_26.a('node.color','rgba(128,128,128,1)');
- Node457_26.a('node.font',' '+ Node457_26fontSize + 'px "Arial"');
- Node457_26.a('node.textvisible',true);
- Node457_26.a('node.linefeed',false);
- if (false) {
- Node457_26.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_26.a('node.text') || '万kWh';
- var color=Node457_26.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_26width,Node457_26height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_26fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_26.a('node.underlinepoints',[Node457_26lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_26fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_26fontSize + 'px "Arial"').width + 6, (Node457_26height - Node457_26fontSize) * 0.5*_ratio.ratioY + Node457_26fontSize + 2 ]);
- Node457_26.a('node.underlinevisible',false);
- Node457_26.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_26);
- zoomNodeList.push({
- node: Node457_26,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_27type = 'rect';
- var Node457_27 = new ht.Node(),
- Node457_27BorderWidth = 1*2;
- if (Node457_27type === 'arc') {
- Node457_27BorderWidth *= 1;
- }
- Node457_27.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node457_27type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_27.setPosition(1821*ratio.ratioX, 67*ratio.ratioY);
- Node457_27.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node457_27.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_27.a('node.width', 127*_ratio.ratioX);
- Node457_27.a('node.height', 60.81538*_ratio.ratioY);
- Node457_27.a('node.type', Node457_27type);
- Node457_27.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node457_27.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_27.a('node.gradientcolor', '');
- Node457_27.a('node.gradient', '');
- Node457_27.a('node.borderwidth', Node457_27BorderWidth);
- Node457_27.a('node.color', 'rgba(128,128,128,1)');
- Node457_27.a('node.fillrect', [0,0,0,0]);
- Node457_27.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_27.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_27.a('node.fillgradient', '');
- if (Node457_27type !== 'rect') {
- Node457_27.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_27.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_27.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_27type === 'arc') {
- Node457_27.a('node.arcOval', true);
- }
- Node457_27.setRotation(0*Math.PI/180);
- Node457_27.borderWidth = Node457_27BorderWidth;
- Node457_27.borderFillwidth = Node457_27BorderWidth;
- dataModel.add(Node457_27);
- Node457_27._nodename = 'Node457_27'
- Node457_27._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_27,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_27, Node457_27.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_28type = 'rect';
- var Node457_28 = new ht.Node(),
- Node457_28BorderWidth = 1*2;
- if (Node457_28type === 'arc') {
- Node457_28BorderWidth *= 1;
- }
- Node457_28.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node457_28type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_28.setPosition(1821*ratio.ratioX, 128*ratio.ratioY);
- Node457_28.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node457_28.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_28.a('node.width', 127*_ratio.ratioX);
- Node457_28.a('node.height', 60.81538*_ratio.ratioY);
- Node457_28.a('node.type', Node457_28type);
- Node457_28.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node457_28.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_28.a('node.gradientcolor', '');
- Node457_28.a('node.gradient', '');
- Node457_28.a('node.borderwidth', Node457_28BorderWidth);
- Node457_28.a('node.color', 'rgba(128,128,128,1)');
- Node457_28.a('node.fillrect', [0,0,0,0]);
- Node457_28.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_28.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_28.a('node.fillgradient', '');
- if (Node457_28type !== 'rect') {
- Node457_28.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_28.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_28.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_28type === 'arc') {
- Node457_28.a('node.arcOval', true);
- }
- Node457_28.setRotation(0*Math.PI/180);
- Node457_28.borderWidth = Node457_28BorderWidth;
- Node457_28.borderFillwidth = Node457_28BorderWidth;
- dataModel.add(Node457_28);
- Node457_28._nodename = 'Node457_28'
- Node457_28._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_28,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_28, Node457_28.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_29type = 'rect';
- var Node457_29 = new ht.Node(),
- Node457_29BorderWidth = 1*2;
- if (Node457_29type === 'arc') {
- Node457_29BorderWidth *= 1;
- }
- Node457_29.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node457_29type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_29.setPosition(1327*ratio.ratioX, 97*ratio.ratioY);
- Node457_29.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node457_29.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_29.a('node.width', 27*_ratio.ratioX);
- Node457_29.a('node.height', 121*_ratio.ratioY);
- Node457_29.a('node.type', Node457_29type);
- Node457_29.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node457_29.a('node.background', 'rgba(0,0,0,1)');
- Node457_29.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node457_29.a('node.gradient', '');
- Node457_29.a('node.borderwidth', Node457_29BorderWidth);
- Node457_29.a('node.color', 'rgba(0,0,255,1)');
- Node457_29.a('node.fillrect', [0,0,0,0]);
- Node457_29.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_29.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_29.a('node.fillgradient', '');
- if (Node457_29type !== 'rect') {
- Node457_29.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_29.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_29.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_29type === 'arc') {
- Node457_29.a('node.arcOval', true);
- }
- Node457_29.setRotation(0*Math.PI/180);
- Node457_29.borderWidth = Node457_29BorderWidth;
- Node457_29.borderFillwidth = Node457_29BorderWidth;
- dataModel.add(Node457_29);
- Node457_29._nodename = 'Node457_29'
- Node457_29._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_29,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_29, Node457_29.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_30 = new ht.Node();
- var Node457_30textStart, Node457_30textWidth, Node457_30lineStart, Node457_30align = 'left', Node457_30fontSize = 11.99997*_ratio.ratioY,Node457_30width = 53*_ratio.ratioX, Node457_30height = 20*_ratio.ratioY;
- (function () {
- if (Node457_30align === 'left') {
- Node457_30textStart = Node457_30fontSize * 0.2 > 2 ? Node457_30fontSize * 0.2 - 4 : Node457_30fontSize * 0.2 - 9;
- Node457_30textWidth = Node457_30width;
- Node457_30lineStart = 1;
- } else if (Node457_30align === 'right') {
- Node457_30textStart = 0;
- Node457_30textWidth =Node457_30fontSize <= 8 ? Node457_30width + Node457_30fontSize * 0.2 + 6 : Node457_30width - Node457_30fontSize * 0.2;
- Node457_30lineStart = (Node457_30width - (ht.Default.getTextSize('风', 'bold '+ Node457_30fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_30align === 'center') {
- Node457_30textStart = -3;
- Node457_30textWidth = Node457_30width;
- Node457_30lineStart = Node457_30width - ht.Default.getTextSize('风', 'bold '+ Node457_30fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_30.setImage(GD.getTextJSON(Node457_30width, Node457_30height, true, false, false, 'bold '+ Node457_30fontSize + 'px "Arial"'))
- Node457_30.setPosition(1344*ratio.ratioX, 63*ratio.ratioY);
- Node457_30.setWidth(Node457_30width);
- Node457_30.setHeight(Node457_30height);
- Node457_30._nodeType = 'text';
- Node457_30._disallowEvert = true;
- Node457_30.setRotation(0*Math.PI/180);
- Node457_30.a('node.width', Node457_30width);
- Node457_30.a('node.height', Node457_30height);
- Node457_30.a('node.rect', [0, 0, Node457_30width, Node457_30height]);
- Node457_30.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_30.a('node.borderwidth', 0);
- Node457_30.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_30.a('node.gradient','');
- Node457_30.a('node.gradientcolor','');
- Node457_30.a('node.text','风');
- Node457_30.a('node.textalign','left');
- Node457_30.a('node.textvAlign','middle');
- Node457_30.a('node.textrect', [Node457_30textStart, 0, Node457_30textWidth, Node457_30height]);
- Node457_30.a('node.color','rgba(255,255,255,1)');
- Node457_30.a('node.font','bold '+ Node457_30fontSize + 'px "Arial"');
- Node457_30.a('node.textvisible',true);
- Node457_30.a('node.linefeed',false);
- if (false) {
- Node457_30.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_30.a('node.text') || '风';
- var color=Node457_30.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node457_30width,Node457_30height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node457_30fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_30.a('node.underlinepoints',[Node457_30lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node457_30fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node457_30fontSize + 'px "Arial"').width + 6, (Node457_30height - Node457_30fontSize) * 0.5*_ratio.ratioY + Node457_30fontSize + 2 ]);
- Node457_30.a('node.underlinevisible',false);
- Node457_30.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_30);
- zoomNodeList.push({
- node: Node457_30,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_31type = 'rect';
- var Node457_31 = new ht.Node(),
- Node457_31BorderWidth = 1*2;
- if (Node457_31type === 'arc') {
- Node457_31BorderWidth *= 1;
- }
- Node457_31.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node457_31type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_31.setPosition(1406*ratio.ratioX, 97*ratio.ratioY);
- Node457_31.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node457_31.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_31.a('node.width', 130*_ratio.ratioX);
- Node457_31.a('node.height', 121*_ratio.ratioY);
- Node457_31.a('node.type', Node457_31type);
- Node457_31.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node457_31.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_31.a('node.gradientcolor', '');
- Node457_31.a('node.gradient', '');
- Node457_31.a('node.borderwidth', Node457_31BorderWidth);
- Node457_31.a('node.color', 'rgba(128,128,128,1)');
- Node457_31.a('node.fillrect', [0,0,0,0]);
- Node457_31.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_31.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_31.a('node.fillgradient', '');
- if (Node457_31type !== 'rect') {
- Node457_31.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_31.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_31.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_31type === 'arc') {
- Node457_31.a('node.arcOval', true);
- }
- Node457_31.setRotation(0*Math.PI/180);
- Node457_31.borderWidth = Node457_31BorderWidth;
- Node457_31.borderFillwidth = Node457_31BorderWidth;
- dataModel.add(Node457_31);
- Node457_31._nodename = 'Node457_31'
- Node457_31._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_31,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_31, Node457_31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_32 = new ht.Node();
- var Node457_32textStart, Node457_32textWidth, Node457_32lineStart, Node457_32align = 'left', Node457_32fontSize = 13.3333*_ratio.ratioY,Node457_32width = 59*_ratio.ratioX, Node457_32height = 25*_ratio.ratioY;
- (function () {
- if (Node457_32align === 'left') {
- Node457_32textStart = Node457_32fontSize * 0.2 > 2 ? Node457_32fontSize * 0.2 - 4 : Node457_32fontSize * 0.2 - 9;
- Node457_32textWidth = Node457_32width;
- Node457_32lineStart = 1;
- } else if (Node457_32align === 'right') {
- Node457_32textStart = 0;
- Node457_32textWidth =Node457_32fontSize <= 8 ? Node457_32width + Node457_32fontSize * 0.2 + 6 : Node457_32width - Node457_32fontSize * 0.2;
- Node457_32lineStart = (Node457_32width - (ht.Default.getTextSize('接入', ' '+ Node457_32fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_32align === 'center') {
- Node457_32textStart = -3;
- Node457_32textWidth = Node457_32width;
- Node457_32lineStart = Node457_32width - ht.Default.getTextSize('接入', ' '+ Node457_32fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_32.setImage(GD.getTextJSON(Node457_32width, Node457_32height, true, false, false, ' '+ Node457_32fontSize + 'px "Arial"'))
- Node457_32.setPosition(1375*ratio.ratioX, 51*ratio.ratioY);
- Node457_32.setWidth(Node457_32width);
- Node457_32.setHeight(Node457_32height);
- Node457_32._nodeType = 'text';
- Node457_32._disallowEvert = true;
- Node457_32.setRotation(0*Math.PI/180);
- Node457_32.a('node.width', Node457_32width);
- Node457_32.a('node.height', Node457_32height);
- Node457_32.a('node.rect', [0, 0, Node457_32width, Node457_32height]);
- Node457_32.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_32.a('node.borderwidth', 0);
- Node457_32.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_32.a('node.gradient','');
- Node457_32.a('node.gradientcolor','');
- Node457_32.a('node.text','接入');
- Node457_32.a('node.textalign','left');
- Node457_32.a('node.textvAlign','middle');
- Node457_32.a('node.textrect', [Node457_32textStart, 0, Node457_32textWidth, Node457_32height]);
- Node457_32.a('node.color','rgba(105,105,105,1)');
- Node457_32.a('node.font',' '+ Node457_32fontSize + 'px "Arial"');
- Node457_32.a('node.textvisible',true);
- Node457_32.a('node.linefeed',false);
- if (false) {
- Node457_32.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_32.a('node.text') || '接入';
- var color=Node457_32.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_32width,Node457_32height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_32fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_32.a('node.underlinepoints',[Node457_32lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node457_32fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node457_32fontSize + 'px "Arial"').width + 6, (Node457_32height - Node457_32fontSize) * 0.5*_ratio.ratioY + Node457_32fontSize + 2 ]);
- Node457_32.a('node.underlinevisible',false);
- Node457_32.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_32);
- zoomNodeList.push({
- node: Node457_32,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_33 = new ht.Node();
- var Node457_33textStart, Node457_33textWidth, Node457_33lineStart, Node457_33align = 'center', Node457_33fontSize = 26.6666*_ratio.ratioY,Node457_33width = 87*_ratio.ratioX, Node457_33height = 36*_ratio.ratioY;
- (function () {
- if (Node457_33align === 'left') {
- Node457_33textStart = Node457_33fontSize * 0.2 > 2 ? Node457_33fontSize * 0.2 - 4 : Node457_33fontSize * 0.2 - 9;
- Node457_33textWidth = Node457_33width;
- Node457_33lineStart = 1;
- } else if (Node457_33align === 'right') {
- Node457_33textStart = 0;
- Node457_33textWidth =Node457_33fontSize <= 8 ? Node457_33width + Node457_33fontSize * 0.2 + 6 : Node457_33width - Node457_33fontSize * 0.2;
- Node457_33lineStart = (Node457_33width - (ht.Default.getTextSize('0', ' '+ Node457_33fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_33align === 'center') {
- Node457_33textStart = -3;
- Node457_33textWidth = Node457_33width;
- Node457_33lineStart = Node457_33width - ht.Default.getTextSize('0', ' '+ Node457_33fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_33.setImage(GD.getTextJSON(Node457_33width, Node457_33height, true, false, false, ' '+ Node457_33fontSize + 'px "Arial"'))
- Node457_33.setPosition(1407*ratio.ratioX, 96*ratio.ratioY);
- Node457_33.setWidth(Node457_33width);
- Node457_33.setHeight(Node457_33height);
- Node457_33._nodeType = 'text';
- Node457_33._disallowEvert = true;
- Node457_33.setRotation(0*Math.PI/180);
- Node457_33.a('node.width', Node457_33width);
- Node457_33.a('node.height', Node457_33height);
- Node457_33.a('node.rect', [0, 0, Node457_33width, Node457_33height]);
- Node457_33.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_33.a('node.borderwidth', 0);
- Node457_33.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_33.a('node.gradient','');
- Node457_33.a('node.gradientcolor','');
- Node457_33.a('node.text','0');
- Node457_33.a('node.textalign','center');
- Node457_33.a('node.textvAlign','middle');
- Node457_33.a('node.textrect', [Node457_33textStart, 0, Node457_33textWidth, Node457_33height]);
- Node457_33.a('node.color','rgba(0,0,0,1)');
- Node457_33.a('node.font',' '+ Node457_33fontSize + 'px "Arial"');
- Node457_33.a('node.textvisible',true);
- Node457_33.a('node.linefeed',false);
- if (false) {
- Node457_33.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_33.a('node.text') || '0';
- var color=Node457_33.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node457_33width,Node457_33height,26.6666*_ratio.ratioY,"center",color,' '+ Node457_33fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_33.a('node.underlinepoints',[Node457_33lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node457_33fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_33fontSize + 'px "Arial"').width + 6, (Node457_33height - Node457_33fontSize) * 0.5*_ratio.ratioY + Node457_33fontSize + 2 ]);
- Node457_33.a('node.underlinevisible',false);
- Node457_33.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_33);
- zoomNodeList.push({
- node: Node457_33,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_34 = new ht.Node();
- var Node457_34textStart, Node457_34textWidth, Node457_34lineStart, Node457_34align = 'center', Node457_34fontSize = 14.66663*_ratio.ratioY,Node457_34width = 87*_ratio.ratioX, Node457_34height = 26*_ratio.ratioY;
- (function () {
- if (Node457_34align === 'left') {
- Node457_34textStart = Node457_34fontSize * 0.2 > 2 ? Node457_34fontSize * 0.2 - 4 : Node457_34fontSize * 0.2 - 9;
- Node457_34textWidth = Node457_34width;
- Node457_34lineStart = 1;
- } else if (Node457_34align === 'right') {
- Node457_34textStart = 0;
- Node457_34textWidth =Node457_34fontSize <= 8 ? Node457_34width + Node457_34fontSize * 0.2 + 6 : Node457_34width - Node457_34fontSize * 0.2;
- Node457_34lineStart = (Node457_34width - (ht.Default.getTextSize('台', ' '+ Node457_34fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_34align === 'center') {
- Node457_34textStart = -3;
- Node457_34textWidth = Node457_34width;
- Node457_34lineStart = Node457_34width - ht.Default.getTextSize('台', ' '+ Node457_34fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_34.setImage(GD.getTextJSON(Node457_34width, Node457_34height, true, false, false, ' '+ Node457_34fontSize + 'px "Arial"'))
- Node457_34.setPosition(1454*ratio.ratioX, 145*ratio.ratioY);
- Node457_34.setWidth(Node457_34width);
- Node457_34.setHeight(Node457_34height);
- Node457_34._nodeType = 'text';
- Node457_34._disallowEvert = true;
- Node457_34.setRotation(0*Math.PI/180);
- Node457_34.a('node.width', Node457_34width);
- Node457_34.a('node.height', Node457_34height);
- Node457_34.a('node.rect', [0, 0, Node457_34width, Node457_34height]);
- Node457_34.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_34.a('node.borderwidth', 0);
- Node457_34.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_34.a('node.gradient','');
- Node457_34.a('node.gradientcolor','');
- Node457_34.a('node.text','台');
- Node457_34.a('node.textalign','center');
- Node457_34.a('node.textvAlign','middle');
- Node457_34.a('node.textrect', [Node457_34textStart, 0, Node457_34textWidth, Node457_34height]);
- Node457_34.a('node.color','rgba(105,105,105,1)');
- Node457_34.a('node.font',' '+ Node457_34fontSize + 'px "Arial"');
- Node457_34.a('node.textvisible',true);
- Node457_34.a('node.linefeed',false);
- if (false) {
- Node457_34.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_34.a('node.text') || '台';
- var color=Node457_34.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_34width,Node457_34height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_34fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_34.a('node.underlinepoints',[Node457_34lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_34fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_34fontSize + 'px "Arial"').width + 6, (Node457_34height - Node457_34fontSize) * 0.5*_ratio.ratioY + Node457_34fontSize + 2 ]);
- Node457_34.a('node.underlinevisible',false);
- Node457_34.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_34);
- zoomNodeList.push({
- node: Node457_34,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_35 = new ht.Node();
- var Node457_35textStart, Node457_35textWidth, Node457_35lineStart, Node457_35align = 'center', Node457_35fontSize = 14.66663*_ratio.ratioY,Node457_35width = 67*_ratio.ratioX, Node457_35height = 26*_ratio.ratioY;
- (function () {
- if (Node457_35align === 'left') {
- Node457_35textStart = Node457_35fontSize * 0.2 > 2 ? Node457_35fontSize * 0.2 - 4 : Node457_35fontSize * 0.2 - 9;
- Node457_35textWidth = Node457_35width;
- Node457_35lineStart = 1;
- } else if (Node457_35align === 'right') {
- Node457_35textStart = 0;
- Node457_35textWidth =Node457_35fontSize <= 8 ? Node457_35width + Node457_35fontSize * 0.2 + 6 : Node457_35width - Node457_35fontSize * 0.2;
- Node457_35lineStart = (Node457_35width - (ht.Default.getTextSize('台', ' '+ Node457_35fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_35align === 'center') {
- Node457_35textStart = -3;
- Node457_35textWidth = Node457_35width;
- Node457_35lineStart = Node457_35width - ht.Default.getTextSize('台', ' '+ Node457_35fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_35.setImage(GD.getTextJSON(Node457_35width, Node457_35height, true, false, false, ' '+ Node457_35fontSize + 'px "Arial"'))
- Node457_35.setPosition(1587*ratio.ratioX, 143*ratio.ratioY);
- Node457_35.setWidth(Node457_35width);
- Node457_35.setHeight(Node457_35height);
- Node457_35._nodeType = 'text';
- Node457_35._disallowEvert = true;
- Node457_35.setRotation(0*Math.PI/180);
- Node457_35.a('node.width', Node457_35width);
- Node457_35.a('node.height', Node457_35height);
- Node457_35.a('node.rect', [0, 0, Node457_35width, Node457_35height]);
- Node457_35.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_35.a('node.borderwidth', 0);
- Node457_35.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_35.a('node.gradient','');
- Node457_35.a('node.gradientcolor','');
- Node457_35.a('node.text','台');
- Node457_35.a('node.textalign','center');
- Node457_35.a('node.textvAlign','middle');
- Node457_35.a('node.textrect', [Node457_35textStart, 0, Node457_35textWidth, Node457_35height]);
- Node457_35.a('node.color','rgba(105,105,105,1)');
- Node457_35.a('node.font',' '+ Node457_35fontSize + 'px "Arial"');
- Node457_35.a('node.textvisible',true);
- Node457_35.a('node.linefeed',false);
- if (false) {
- Node457_35.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_35.a('node.text') || '台';
- var color=Node457_35.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_35width,Node457_35height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_35fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_35.a('node.underlinepoints',[Node457_35lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_35fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_35fontSize + 'px "Arial"').width + 6, (Node457_35height - Node457_35fontSize) * 0.5*_ratio.ratioY + Node457_35fontSize + 2 ]);
- Node457_35.a('node.underlinevisible',false);
- Node457_35.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_35);
- zoomNodeList.push({
- node: Node457_35,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_36;
- (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');
- Node457_36 = new ht.Node();
- Node457_36.setPosition(1476*ratio.ratioX, 127*ratio.ratioY);
- Node457_36.setSize(9*ratioX, 60*ratioY);
- Node457_36.setImage('imgimage//page_list_box_left_orange.jpg');
- Node457_36.setRotation(0*Math.PI/180);
- Node457_36._zoomBy = 'Default';
- Node457_36._nodeType = 'image';
- Node457_36._disallowEvert = true;
- dataModel.add(Node457_36);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_37type = 'rect';
- var Node457_37 = new ht.Node(),
- Node457_37BorderWidth = 1*2;
- if (Node457_37type === 'arc') {
- Node457_37BorderWidth *= 1;
- }
- Node457_37.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node457_37type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_37.setPosition(1545*ratio.ratioX, 128*ratio.ratioY);
- Node457_37.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node457_37.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_37.a('node.width', 127*_ratio.ratioX);
- Node457_37.a('node.height', 60.81538*_ratio.ratioY);
- Node457_37.a('node.type', Node457_37type);
- Node457_37.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node457_37.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_37.a('node.gradientcolor', '');
- Node457_37.a('node.gradient', '');
- Node457_37.a('node.borderwidth', Node457_37BorderWidth);
- Node457_37.a('node.color', 'rgba(128,128,128,1)');
- Node457_37.a('node.fillrect', [0,0,0,0]);
- Node457_37.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_37.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_37.a('node.fillgradient', '');
- if (Node457_37type !== 'rect') {
- Node457_37.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_37.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_37.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_37type === 'arc') {
- Node457_37.a('node.arcOval', true);
- }
- Node457_37.setRotation(0*Math.PI/180);
- Node457_37.borderWidth = Node457_37BorderWidth;
- Node457_37.borderFillwidth = Node457_37BorderWidth;
- dataModel.add(Node457_37);
- Node457_37._nodename = 'Node457_37'
- Node457_37._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_37,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_37, Node457_37.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_38 = new ht.Node();
- var Node457_38textStart, Node457_38textWidth, Node457_38lineStart, Node457_38align = 'left', Node457_38fontSize = 13.3333*_ratio.ratioY,Node457_38width = 47*_ratio.ratioX, Node457_38height = 38*_ratio.ratioY;
- (function () {
- if (Node457_38align === 'left') {
- Node457_38textStart = Node457_38fontSize * 0.2 > 2 ? Node457_38fontSize * 0.2 - 4 : Node457_38fontSize * 0.2 - 9;
- Node457_38textWidth = Node457_38width;
- Node457_38lineStart = 1;
- } else if (Node457_38align === 'right') {
- Node457_38textStart = 0;
- Node457_38textWidth =Node457_38fontSize <= 8 ? Node457_38width + Node457_38fontSize * 0.2 + 6 : Node457_38width - Node457_38fontSize * 0.2;
- Node457_38lineStart = (Node457_38width - (ht.Default.getTextSize('维护', 'bold '+ Node457_38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_38align === 'center') {
- Node457_38textStart = -3;
- Node457_38textWidth = Node457_38width;
- Node457_38lineStart = Node457_38width - ht.Default.getTextSize('维护', 'bold '+ Node457_38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_38.setImage(GD.getTextJSON(Node457_38width, Node457_38height, true, false, false, 'bold '+ Node457_38fontSize + 'px "Arial"'))
- Node457_38.setPosition(1507*ratio.ratioX, 110*ratio.ratioY);
- Node457_38.setWidth(Node457_38width);
- Node457_38.setHeight(Node457_38height);
- Node457_38._nodeType = 'text';
- Node457_38._disallowEvert = true;
- Node457_38.setRotation(0*Math.PI/180);
- Node457_38.a('node.width', Node457_38width);
- Node457_38.a('node.height', Node457_38height);
- Node457_38.a('node.rect', [0, 0, Node457_38width, Node457_38height]);
- Node457_38.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_38.a('node.borderwidth', 0);
- Node457_38.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_38.a('node.gradient','');
- Node457_38.a('node.gradientcolor','');
- Node457_38.a('node.text','维护');
- Node457_38.a('node.textalign','left');
- Node457_38.a('node.textvAlign','middle');
- Node457_38.a('node.textrect', [Node457_38textStart, 0, Node457_38textWidth, Node457_38height]);
- Node457_38.a('node.color','rgba(0,0,0,1)');
- Node457_38.a('node.font','bold '+ Node457_38fontSize + 'px "Arial"');
- Node457_38.a('node.textvisible',true);
- Node457_38.a('node.linefeed',false);
- if (false) {
- Node457_38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_38.a('node.text') || '维护';
- var color=Node457_38.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_38width,Node457_38height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_38.a('node.underlinepoints',[Node457_38lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node457_38fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node457_38fontSize + 'px "Arial"').width + 6, (Node457_38height - Node457_38fontSize) * 0.5*_ratio.ratioY + Node457_38fontSize + 2 ]);
- Node457_38.a('node.underlinevisible',false);
- Node457_38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_38);
- zoomNodeList.push({
- node: Node457_38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_39 = new ht.Node();
- var Node457_39textStart, Node457_39textWidth, Node457_39lineStart, Node457_39align = 'left', Node457_39fontSize = 15.99996*_ratio.ratioY,Node457_39width = 29*_ratio.ratioX, Node457_39height = 25*_ratio.ratioY;
- (function () {
- if (Node457_39align === 'left') {
- Node457_39textStart = Node457_39fontSize * 0.2 > 2 ? Node457_39fontSize * 0.2 - 4 : Node457_39fontSize * 0.2 - 9;
- Node457_39textWidth = Node457_39width;
- Node457_39lineStart = 1;
- } else if (Node457_39align === 'right') {
- Node457_39textStart = 0;
- Node457_39textWidth =Node457_39fontSize <= 8 ? Node457_39width + Node457_39fontSize * 0.2 + 6 : Node457_39width - Node457_39fontSize * 0.2;
- Node457_39lineStart = (Node457_39width - (ht.Default.getTextSize('0', ' '+ Node457_39fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_39align === 'center') {
- Node457_39textStart = -3;
- Node457_39textWidth = Node457_39width;
- Node457_39lineStart = Node457_39width - ht.Default.getTextSize('0', ' '+ Node457_39fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_39.setImage(GD.getTextJSON(Node457_39width, Node457_39height, true, false, false, ' '+ Node457_39fontSize + 'px "Arial"'))
- Node457_39.setPosition(1508*ratio.ratioX, 142*ratio.ratioY);
- Node457_39.setWidth(Node457_39width);
- Node457_39.setHeight(Node457_39height);
- Node457_39._nodeType = 'text';
- Node457_39._disallowEvert = true;
- Node457_39.setRotation(0*Math.PI/180);
- Node457_39.a('node.width', Node457_39width);
- Node457_39.a('node.height', Node457_39height);
- Node457_39.a('node.rect', [0, 0, Node457_39width, Node457_39height]);
- Node457_39.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_39.a('node.borderwidth', 0);
- Node457_39.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_39.a('node.gradient','');
- Node457_39.a('node.gradientcolor','');
- Node457_39.a('node.text','0');
- Node457_39.a('node.textalign','left');
- Node457_39.a('node.textvAlign','middle');
- Node457_39.a('node.textrect', [Node457_39textStart, 0, Node457_39textWidth, Node457_39height]);
- Node457_39.a('node.color','rgba(0,0,0,1)');
- Node457_39.a('node.font',' '+ Node457_39fontSize + 'px "Arial"');
- Node457_39.a('node.textvisible',true);
- Node457_39.a('node.linefeed',false);
- if (false) {
- Node457_39.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_39.a('node.text') || '0';
- var color=Node457_39.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node457_39width,Node457_39height,15.99996*_ratio.ratioY,"left",color,' '+ Node457_39fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_39.a('node.underlinepoints',[Node457_39lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node457_39fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_39fontSize + 'px "Arial"').width + 6, (Node457_39height - Node457_39fontSize) * 0.5*_ratio.ratioY + Node457_39fontSize + 2 ]);
- Node457_39.a('node.underlinevisible',false);
- Node457_39.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_39);
- zoomNodeList.push({
- node: Node457_39,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_40 = new ht.Node();
- var Node457_40textStart, Node457_40textWidth, Node457_40lineStart, Node457_40align = 'center', Node457_40fontSize = 14.66663*_ratio.ratioY,Node457_40width = 67*_ratio.ratioX, Node457_40height = 26*_ratio.ratioY;
- (function () {
- if (Node457_40align === 'left') {
- Node457_40textStart = Node457_40fontSize * 0.2 > 2 ? Node457_40fontSize * 0.2 - 4 : Node457_40fontSize * 0.2 - 9;
- Node457_40textWidth = Node457_40width;
- Node457_40lineStart = 1;
- } else if (Node457_40align === 'right') {
- Node457_40textStart = 0;
- Node457_40textWidth =Node457_40fontSize <= 8 ? Node457_40width + Node457_40fontSize * 0.2 + 6 : Node457_40width - Node457_40fontSize * 0.2;
- Node457_40lineStart = (Node457_40width - (ht.Default.getTextSize('台', ' '+ Node457_40fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_40align === 'center') {
- Node457_40textStart = -3;
- Node457_40textWidth = Node457_40width;
- Node457_40lineStart = Node457_40width - ht.Default.getTextSize('台', ' '+ Node457_40fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_40.setImage(GD.getTextJSON(Node457_40width, Node457_40height, true, false, false, ' '+ Node457_40fontSize + 'px "Arial"'))
- Node457_40.setPosition(1725*ratio.ratioX, 83*ratio.ratioY);
- Node457_40.setWidth(Node457_40width);
- Node457_40.setHeight(Node457_40height);
- Node457_40._nodeType = 'text';
- Node457_40._disallowEvert = true;
- Node457_40.setRotation(0*Math.PI/180);
- Node457_40.a('node.width', Node457_40width);
- Node457_40.a('node.height', Node457_40height);
- Node457_40.a('node.rect', [0, 0, Node457_40width, Node457_40height]);
- Node457_40.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_40.a('node.borderwidth', 0);
- Node457_40.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_40.a('node.gradient','');
- Node457_40.a('node.gradientcolor','');
- Node457_40.a('node.text','台');
- Node457_40.a('node.textalign','center');
- Node457_40.a('node.textvAlign','middle');
- Node457_40.a('node.textrect', [Node457_40textStart, 0, Node457_40textWidth, Node457_40height]);
- Node457_40.a('node.color','rgba(105,105,105,1)');
- Node457_40.a('node.font',' '+ Node457_40fontSize + 'px "Arial"');
- Node457_40.a('node.textvisible',true);
- Node457_40.a('node.linefeed',false);
- if (false) {
- Node457_40.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_40.a('node.text') || '台';
- var color=Node457_40.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_40width,Node457_40height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_40fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_40.a('node.underlinepoints',[Node457_40lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_40fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_40fontSize + 'px "Arial"').width + 6, (Node457_40height - Node457_40fontSize) * 0.5*_ratio.ratioY + Node457_40fontSize + 2 ]);
- Node457_40.a('node.underlinevisible',false);
- Node457_40.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_40);
- zoomNodeList.push({
- node: Node457_40,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_41;
- (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');
- Node457_41 = new ht.Node();
- Node457_41.setPosition(1614*ratio.ratioX, 67*ratio.ratioY);
- Node457_41.setSize(9*ratioX, 60*ratioY);
- Node457_41.setImage('imgimage//page_list_box_left_green.jpg');
- Node457_41.setRotation(0*Math.PI/180);
- Node457_41._zoomBy = 'Default';
- Node457_41._nodeType = 'image';
- Node457_41._disallowEvert = true;
- dataModel.add(Node457_41);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_42type = 'rect';
- var Node457_42 = new ht.Node(),
- Node457_42BorderWidth = 1*2;
- if (Node457_42type === 'arc') {
- Node457_42BorderWidth *= 1;
- }
- Node457_42.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node457_42type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_42.setPosition(1683*ratio.ratioX, 67*ratio.ratioY);
- Node457_42.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node457_42.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_42.a('node.width', 127*_ratio.ratioX);
- Node457_42.a('node.height', 60.81538*_ratio.ratioY);
- Node457_42.a('node.type', Node457_42type);
- Node457_42.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node457_42.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_42.a('node.gradientcolor', '');
- Node457_42.a('node.gradient', '');
- Node457_42.a('node.borderwidth', Node457_42BorderWidth);
- Node457_42.a('node.color', 'rgba(128,128,128,1)');
- Node457_42.a('node.fillrect', [0,0,0,0]);
- Node457_42.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_42.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_42.a('node.fillgradient', '');
- if (Node457_42type !== 'rect') {
- Node457_42.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_42.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_42.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_42type === 'arc') {
- Node457_42.a('node.arcOval', true);
- }
- Node457_42.setRotation(0*Math.PI/180);
- Node457_42.borderWidth = Node457_42BorderWidth;
- Node457_42.borderFillwidth = Node457_42BorderWidth;
- dataModel.add(Node457_42);
- Node457_42._nodename = 'Node457_42'
- Node457_42._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_42,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_42, Node457_42.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_43 = new ht.Node();
- var Node457_43textStart, Node457_43textWidth, Node457_43lineStart, Node457_43align = 'left', Node457_43fontSize = 15.99996*_ratio.ratioY,Node457_43width = 29*_ratio.ratioX, Node457_43height = 25*_ratio.ratioY;
- (function () {
- if (Node457_43align === 'left') {
- Node457_43textStart = Node457_43fontSize * 0.2 > 2 ? Node457_43fontSize * 0.2 - 4 : Node457_43fontSize * 0.2 - 9;
- Node457_43textWidth = Node457_43width;
- Node457_43lineStart = 1;
- } else if (Node457_43align === 'right') {
- Node457_43textStart = 0;
- Node457_43textWidth =Node457_43fontSize <= 8 ? Node457_43width + Node457_43fontSize * 0.2 + 6 : Node457_43width - Node457_43fontSize * 0.2;
- Node457_43lineStart = (Node457_43width - (ht.Default.getTextSize('0', ' '+ Node457_43fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_43align === 'center') {
- Node457_43textStart = -3;
- Node457_43textWidth = Node457_43width;
- Node457_43lineStart = Node457_43width - ht.Default.getTextSize('0', ' '+ Node457_43fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_43.setImage(GD.getTextJSON(Node457_43width, Node457_43height, true, false, false, ' '+ Node457_43fontSize + 'px "Arial"'))
- Node457_43.setPosition(1646*ratio.ratioX, 82*ratio.ratioY);
- Node457_43.setWidth(Node457_43width);
- Node457_43.setHeight(Node457_43height);
- Node457_43._nodeType = 'text';
- Node457_43._disallowEvert = true;
- Node457_43.setRotation(0*Math.PI/180);
- Node457_43.a('node.width', Node457_43width);
- Node457_43.a('node.height', Node457_43height);
- Node457_43.a('node.rect', [0, 0, Node457_43width, Node457_43height]);
- Node457_43.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_43.a('node.borderwidth', 0);
- Node457_43.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_43.a('node.gradient','');
- Node457_43.a('node.gradientcolor','');
- Node457_43.a('node.text','0');
- Node457_43.a('node.textalign','left');
- Node457_43.a('node.textvAlign','middle');
- Node457_43.a('node.textrect', [Node457_43textStart, 0, Node457_43textWidth, Node457_43height]);
- Node457_43.a('node.color','rgba(0,0,0,1)');
- Node457_43.a('node.font',' '+ Node457_43fontSize + 'px "Arial"');
- Node457_43.a('node.textvisible',true);
- Node457_43.a('node.linefeed',false);
- if (false) {
- Node457_43.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_43.a('node.text') || '0';
- var color=Node457_43.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node457_43width,Node457_43height,15.99996*_ratio.ratioY,"left",color,' '+ Node457_43fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_43.a('node.underlinepoints',[Node457_43lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node457_43fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_43fontSize + 'px "Arial"').width + 6, (Node457_43height - Node457_43fontSize) * 0.5*_ratio.ratioY + Node457_43fontSize + 2 ]);
- Node457_43.a('node.underlinevisible',false);
- Node457_43.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_43);
- zoomNodeList.push({
- node: Node457_43,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_44 = new ht.Node();
- var Node457_44textStart, Node457_44textWidth, Node457_44lineStart, Node457_44align = 'center', Node457_44fontSize = 14.66663*_ratio.ratioY,Node457_44width = 67*_ratio.ratioX, Node457_44height = 26*_ratio.ratioY;
- (function () {
- if (Node457_44align === 'left') {
- Node457_44textStart = Node457_44fontSize * 0.2 > 2 ? Node457_44fontSize * 0.2 - 4 : Node457_44fontSize * 0.2 - 9;
- Node457_44textWidth = Node457_44width;
- Node457_44lineStart = 1;
- } else if (Node457_44align === 'right') {
- Node457_44textStart = 0;
- Node457_44textWidth =Node457_44fontSize <= 8 ? Node457_44width + Node457_44fontSize * 0.2 + 6 : Node457_44width - Node457_44fontSize * 0.2;
- Node457_44lineStart = (Node457_44width - (ht.Default.getTextSize('台', ' '+ Node457_44fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_44align === 'center') {
- Node457_44textStart = -3;
- Node457_44textWidth = Node457_44width;
- Node457_44lineStart = Node457_44width - ht.Default.getTextSize('台', ' '+ Node457_44fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_44.setImage(GD.getTextJSON(Node457_44width, Node457_44height, true, false, false, ' '+ Node457_44fontSize + 'px "Arial"'))
- Node457_44.setPosition(1725*ratio.ratioX, 144*ratio.ratioY);
- Node457_44.setWidth(Node457_44width);
- Node457_44.setHeight(Node457_44height);
- Node457_44._nodeType = 'text';
- Node457_44._disallowEvert = true;
- Node457_44.setRotation(0*Math.PI/180);
- Node457_44.a('node.width', Node457_44width);
- Node457_44.a('node.height', Node457_44height);
- Node457_44.a('node.rect', [0, 0, Node457_44width, Node457_44height]);
- Node457_44.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_44.a('node.borderwidth', 0);
- Node457_44.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_44.a('node.gradient','');
- Node457_44.a('node.gradientcolor','');
- Node457_44.a('node.text','台');
- Node457_44.a('node.textalign','center');
- Node457_44.a('node.textvAlign','middle');
- Node457_44.a('node.textrect', [Node457_44textStart, 0, Node457_44textWidth, Node457_44height]);
- Node457_44.a('node.color','rgba(105,105,105,1)');
- Node457_44.a('node.font',' '+ Node457_44fontSize + 'px "Arial"');
- Node457_44.a('node.textvisible',true);
- Node457_44.a('node.linefeed',false);
- if (false) {
- Node457_44.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_44.a('node.text') || '台';
- var color=Node457_44.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_44width,Node457_44height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_44fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_44.a('node.underlinepoints',[Node457_44lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_44fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_44fontSize + 'px "Arial"').width + 6, (Node457_44height - Node457_44fontSize) * 0.5*_ratio.ratioY + Node457_44fontSize + 2 ]);
- Node457_44.a('node.underlinevisible',false);
- Node457_44.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_44);
- zoomNodeList.push({
- node: Node457_44,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_45;
- (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');
- Node457_45 = new ht.Node();
- Node457_45.setPosition(1614*ratio.ratioX, 128*ratio.ratioY);
- Node457_45.setSize(9*ratioX, 60*ratioY);
- Node457_45.setImage('imgimage//page_list_box_left_pink.jpg');
- Node457_45.setRotation(0*Math.PI/180);
- Node457_45._zoomBy = 'Default';
- Node457_45._nodeType = 'image';
- Node457_45._disallowEvert = true;
- dataModel.add(Node457_45);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_46type = 'rect';
- var Node457_46 = new ht.Node(),
- Node457_46BorderWidth = 1*2;
- if (Node457_46type === 'arc') {
- Node457_46BorderWidth *= 1;
- }
- Node457_46.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node457_46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_46.setPosition(1683*ratio.ratioX, 128*ratio.ratioY);
- Node457_46.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node457_46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_46.a('node.width', 127*_ratio.ratioX);
- Node457_46.a('node.height', 60.81538*_ratio.ratioY);
- Node457_46.a('node.type', Node457_46type);
- Node457_46.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node457_46.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_46.a('node.gradientcolor', '');
- Node457_46.a('node.gradient', '');
- Node457_46.a('node.borderwidth', Node457_46BorderWidth);
- Node457_46.a('node.color', 'rgba(128,128,128,1)');
- Node457_46.a('node.fillrect', [0,0,0,0]);
- Node457_46.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_46.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_46.a('node.fillgradient', '');
- if (Node457_46type !== 'rect') {
- Node457_46.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_46.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_46.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_46type === 'arc') {
- Node457_46.a('node.arcOval', true);
- }
- Node457_46.setRotation(0*Math.PI/180);
- Node457_46.borderWidth = Node457_46BorderWidth;
- Node457_46.borderFillwidth = Node457_46BorderWidth;
- dataModel.add(Node457_46);
- Node457_46._nodename = 'Node457_46'
- Node457_46._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_46,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_46, Node457_46.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_47 = new ht.Node();
- var Node457_47textStart, Node457_47textWidth, Node457_47lineStart, Node457_47align = 'left', Node457_47fontSize = 13.3333*_ratio.ratioY,Node457_47width = 47*_ratio.ratioX, Node457_47height = 38*_ratio.ratioY;
- (function () {
- if (Node457_47align === 'left') {
- Node457_47textStart = Node457_47fontSize * 0.2 > 2 ? Node457_47fontSize * 0.2 - 4 : Node457_47fontSize * 0.2 - 9;
- Node457_47textWidth = Node457_47width;
- Node457_47lineStart = 1;
- } else if (Node457_47align === 'right') {
- Node457_47textStart = 0;
- Node457_47textWidth =Node457_47fontSize <= 8 ? Node457_47width + Node457_47fontSize * 0.2 + 6 : Node457_47width - Node457_47fontSize * 0.2;
- Node457_47lineStart = (Node457_47width - (ht.Default.getTextSize('限电', 'bold '+ Node457_47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_47align === 'center') {
- Node457_47textStart = -3;
- Node457_47textWidth = Node457_47width;
- Node457_47lineStart = Node457_47width - ht.Default.getTextSize('限电', 'bold '+ Node457_47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_47.setImage(GD.getTextJSON(Node457_47width, Node457_47height, true, false, false, 'bold '+ Node457_47fontSize + 'px "Arial"'))
- Node457_47.setPosition(1645*ratio.ratioX, 111*ratio.ratioY);
- Node457_47.setWidth(Node457_47width);
- Node457_47.setHeight(Node457_47height);
- Node457_47._nodeType = 'text';
- Node457_47._disallowEvert = true;
- Node457_47.setRotation(0*Math.PI/180);
- Node457_47.a('node.width', Node457_47width);
- Node457_47.a('node.height', Node457_47height);
- Node457_47.a('node.rect', [0, 0, Node457_47width, Node457_47height]);
- Node457_47.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_47.a('node.borderwidth', 0);
- Node457_47.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_47.a('node.gradient','');
- Node457_47.a('node.gradientcolor','');
- Node457_47.a('node.text','限电');
- Node457_47.a('node.textalign','left');
- Node457_47.a('node.textvAlign','middle');
- Node457_47.a('node.textrect', [Node457_47textStart, 0, Node457_47textWidth, Node457_47height]);
- Node457_47.a('node.color','rgba(0,0,0,1)');
- Node457_47.a('node.font','bold '+ Node457_47fontSize + 'px "Arial"');
- Node457_47.a('node.textvisible',true);
- Node457_47.a('node.linefeed',false);
- if (false) {
- Node457_47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_47.a('node.text') || '限电';
- var color=Node457_47.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_47width,Node457_47height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_47.a('node.underlinepoints',[Node457_47lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node457_47fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node457_47fontSize + 'px "Arial"').width + 6, (Node457_47height - Node457_47fontSize) * 0.5*_ratio.ratioY + Node457_47fontSize + 2 ]);
- Node457_47.a('node.underlinevisible',false);
- Node457_47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_47);
- zoomNodeList.push({
- node: Node457_47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_48 = new ht.Node();
- var Node457_48textStart, Node457_48textWidth, Node457_48lineStart, Node457_48align = 'left', Node457_48fontSize = 15.99996*_ratio.ratioY,Node457_48width = 29*_ratio.ratioX, Node457_48height = 25*_ratio.ratioY;
- (function () {
- if (Node457_48align === 'left') {
- Node457_48textStart = Node457_48fontSize * 0.2 > 2 ? Node457_48fontSize * 0.2 - 4 : Node457_48fontSize * 0.2 - 9;
- Node457_48textWidth = Node457_48width;
- Node457_48lineStart = 1;
- } else if (Node457_48align === 'right') {
- Node457_48textStart = 0;
- Node457_48textWidth =Node457_48fontSize <= 8 ? Node457_48width + Node457_48fontSize * 0.2 + 6 : Node457_48width - Node457_48fontSize * 0.2;
- Node457_48lineStart = (Node457_48width - (ht.Default.getTextSize('0', ' '+ Node457_48fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_48align === 'center') {
- Node457_48textStart = -3;
- Node457_48textWidth = Node457_48width;
- Node457_48lineStart = Node457_48width - ht.Default.getTextSize('0', ' '+ Node457_48fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_48.setImage(GD.getTextJSON(Node457_48width, Node457_48height, true, false, false, ' '+ Node457_48fontSize + 'px "Arial"'))
- Node457_48.setPosition(1646*ratio.ratioX, 143*ratio.ratioY);
- Node457_48.setWidth(Node457_48width);
- Node457_48.setHeight(Node457_48height);
- Node457_48._nodeType = 'text';
- Node457_48._disallowEvert = true;
- Node457_48.setRotation(0*Math.PI/180);
- Node457_48.a('node.width', Node457_48width);
- Node457_48.a('node.height', Node457_48height);
- Node457_48.a('node.rect', [0, 0, Node457_48width, Node457_48height]);
- Node457_48.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_48.a('node.borderwidth', 0);
- Node457_48.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_48.a('node.gradient','');
- Node457_48.a('node.gradientcolor','');
- Node457_48.a('node.text','0');
- Node457_48.a('node.textalign','left');
- Node457_48.a('node.textvAlign','middle');
- Node457_48.a('node.textrect', [Node457_48textStart, 0, Node457_48textWidth, Node457_48height]);
- Node457_48.a('node.color','rgba(0,0,0,1)');
- Node457_48.a('node.font',' '+ Node457_48fontSize + 'px "Arial"');
- Node457_48.a('node.textvisible',true);
- Node457_48.a('node.linefeed',false);
- if (false) {
- Node457_48.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_48.a('node.text') || '0';
- var color=Node457_48.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node457_48width,Node457_48height,15.99996*_ratio.ratioY,"left",color,' '+ Node457_48fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_48.a('node.underlinepoints',[Node457_48lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node457_48fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_48fontSize + 'px "Arial"').width + 6, (Node457_48height - Node457_48fontSize) * 0.5*_ratio.ratioY + Node457_48fontSize + 2 ]);
- Node457_48.a('node.underlinevisible',false);
- Node457_48.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_48);
- zoomNodeList.push({
- node: Node457_48,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_49type = 'rect';
- var Node457_49 = new ht.Node(),
- Node457_49BorderWidth = 1*2;
- if (Node457_49type === 'arc') {
- Node457_49BorderWidth *= 1;
- }
- Node457_49.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_49type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_49.setPosition(247*ratio.ratioX, 97*ratio.ratioY);
- Node457_49.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_49.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_49.a('node.width', 121*_ratio.ratioX);
- Node457_49.a('node.height', 24.33138*_ratio.ratioY);
- Node457_49.a('node.type', Node457_49type);
- Node457_49.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_49.a('node.background', 'rgba(240,240,240,1)');
- Node457_49.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_49.a('node.gradient', '');
- Node457_49.a('node.borderwidth', Node457_49BorderWidth);
- Node457_49.a('node.color', 'rgba(224,224,224,1)');
- Node457_49.a('node.fillrect', [0,0,0,0]);
- Node457_49.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_49.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_49.a('node.fillgradient', '');
- if (Node457_49type !== 'rect') {
- Node457_49.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_49.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_49.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_49type === 'arc') {
- Node457_49.a('node.arcOval', true);
- }
- Node457_49.setRotation(0*Math.PI/180);
- Node457_49.borderWidth = Node457_49BorderWidth;
- Node457_49.borderFillwidth = Node457_49BorderWidth;
- dataModel.add(Node457_49);
- Node457_49._nodename = 'Node457_49'
- Node457_49._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_49,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_49, Node457_49.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_50type = 'rect';
- var Node457_50 = new ht.Node(),
- Node457_50BorderWidth = 1*2;
- if (Node457_50type === 'arc') {
- Node457_50BorderWidth *= 1;
- }
- Node457_50.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_50type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_50.setPosition(247*ratio.ratioX, 73*ratio.ratioY);
- Node457_50.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_50.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_50.a('node.width', 121*_ratio.ratioX);
- Node457_50.a('node.height', 24.33138*_ratio.ratioY);
- Node457_50.a('node.type', Node457_50type);
- Node457_50.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_50.a('node.background', 'rgba(240,240,240,1)');
- Node457_50.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_50.a('node.gradient', '');
- Node457_50.a('node.borderwidth', Node457_50BorderWidth);
- Node457_50.a('node.color', 'rgba(224,224,224,1)');
- Node457_50.a('node.fillrect', [0,0,0,0]);
- Node457_50.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_50.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_50.a('node.fillgradient', '');
- if (Node457_50type !== 'rect') {
- Node457_50.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_50.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_50.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_50type === 'arc') {
- Node457_50.a('node.arcOval', true);
- }
- Node457_50.setRotation(0*Math.PI/180);
- Node457_50.borderWidth = Node457_50BorderWidth;
- Node457_50.borderFillwidth = Node457_50BorderWidth;
- dataModel.add(Node457_50);
- Node457_50._nodename = 'Node457_50'
- Node457_50._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_50,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_50, Node457_50.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_51type = 'rect';
- var Node457_51 = new ht.Node(),
- Node457_51BorderWidth = 1*2;
- if (Node457_51type === 'arc') {
- Node457_51BorderWidth *= 1;
- }
- Node457_51.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_51type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_51.setPosition(247*ratio.ratioX, 122*ratio.ratioY);
- Node457_51.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_51.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_51.a('node.width', 121*_ratio.ratioX);
- Node457_51.a('node.height', 24.33136*_ratio.ratioY);
- Node457_51.a('node.type', Node457_51type);
- Node457_51.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_51.a('node.background', 'rgba(240,240,240,1)');
- Node457_51.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_51.a('node.gradient', '');
- Node457_51.a('node.borderwidth', Node457_51BorderWidth);
- Node457_51.a('node.color', 'rgba(224,224,224,1)');
- Node457_51.a('node.fillrect', [0,0,0,0]);
- Node457_51.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_51.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_51.a('node.fillgradient', '');
- if (Node457_51type !== 'rect') {
- Node457_51.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_51.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_51.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_51type === 'arc') {
- Node457_51.a('node.arcOval', true);
- }
- Node457_51.setRotation(0*Math.PI/180);
- Node457_51.borderWidth = Node457_51BorderWidth;
- Node457_51.borderFillwidth = Node457_51BorderWidth;
- dataModel.add(Node457_51);
- Node457_51._nodename = 'Node457_51'
- Node457_51._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_51,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_51, Node457_51.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_52type = 'rect';
- var Node457_52 = new ht.Node(),
- Node457_52BorderWidth = 1*2;
- if (Node457_52type === 'arc') {
- Node457_52BorderWidth *= 1;
- }
- Node457_52.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_52.setPosition(247*ratio.ratioX, 49*ratio.ratioY);
- Node457_52.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_52.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_52.a('node.width', 121*_ratio.ratioX);
- Node457_52.a('node.height', 24.33136*_ratio.ratioY);
- Node457_52.a('node.type', Node457_52type);
- Node457_52.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_52.a('node.background', 'rgba(240,240,240,1)');
- Node457_52.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_52.a('node.gradient', '');
- Node457_52.a('node.borderwidth', Node457_52BorderWidth);
- Node457_52.a('node.color', 'rgba(224,224,224,1)');
- Node457_52.a('node.fillrect', [0,0,0,0]);
- Node457_52.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_52.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_52.a('node.fillgradient', '');
- if (Node457_52type !== 'rect') {
- Node457_52.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_52.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_52.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_52type === 'arc') {
- Node457_52.a('node.arcOval', true);
- }
- Node457_52.setRotation(0*Math.PI/180);
- Node457_52.borderWidth = Node457_52BorderWidth;
- Node457_52.borderFillwidth = Node457_52BorderWidth;
- dataModel.add(Node457_52);
- Node457_52._nodename = 'Node457_52'
- Node457_52._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_52,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_52, Node457_52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_53type = 'rect';
- var Node457_53 = new ht.Node(),
- Node457_53BorderWidth = 1*2;
- if (Node457_53type === 'arc') {
- Node457_53BorderWidth *= 1;
- }
- Node457_53.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_53type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_53.setPosition(247*ratio.ratioX, 146*ratio.ratioY);
- Node457_53.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_53.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_53.a('node.width', 121*_ratio.ratioX);
- Node457_53.a('node.height', 24.33138*_ratio.ratioY);
- Node457_53.a('node.type', Node457_53type);
- Node457_53.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_53.a('node.background', 'rgba(240,240,240,1)');
- Node457_53.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_53.a('node.gradient', '');
- Node457_53.a('node.borderwidth', Node457_53BorderWidth);
- Node457_53.a('node.color', 'rgba(224,224,224,1)');
- Node457_53.a('node.fillrect', [0,0,0,0]);
- Node457_53.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_53.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_53.a('node.fillgradient', '');
- if (Node457_53type !== 'rect') {
- Node457_53.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_53.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_53.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_53type === 'arc') {
- Node457_53.a('node.arcOval', true);
- }
- Node457_53.setRotation(0*Math.PI/180);
- Node457_53.borderWidth = Node457_53BorderWidth;
- Node457_53.borderFillwidth = Node457_53BorderWidth;
- dataModel.add(Node457_53);
- Node457_53._nodename = 'Node457_53'
- Node457_53._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_53,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_53, Node457_53.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_54 = new ht.Node();
- var Node457_54textStart, Node457_54textWidth, Node457_54lineStart, Node457_54align = 'left', Node457_54fontSize = 13.3333*_ratio.ratioY,Node457_54width = 61*_ratio.ratioX, Node457_54height = 26*_ratio.ratioY;
- (function () {
- if (Node457_54align === 'left') {
- Node457_54textStart = Node457_54fontSize * 0.2 > 2 ? Node457_54fontSize * 0.2 - 4 : Node457_54fontSize * 0.2 - 9;
- Node457_54textWidth = Node457_54width;
- Node457_54lineStart = 1;
- } else if (Node457_54align === 'right') {
- Node457_54textStart = 0;
- Node457_54textWidth =Node457_54fontSize <= 8 ? Node457_54width + Node457_54fontSize * 0.2 + 6 : Node457_54width - Node457_54fontSize * 0.2;
- Node457_54lineStart = (Node457_54width - (ht.Default.getTextSize('功率', ' '+ Node457_54fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_54align === 'center') {
- Node457_54textStart = -3;
- Node457_54textWidth = Node457_54width;
- Node457_54lineStart = Node457_54width - ht.Default.getTextSize('功率', ' '+ Node457_54fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_54.setImage(GD.getTextJSON(Node457_54width, Node457_54height, true, false, false, ' '+ Node457_54fontSize + 'px "微软雅黑"'))
- Node457_54.setPosition(221*ratio.ratioX, 75*ratio.ratioY);
- Node457_54.setWidth(Node457_54width);
- Node457_54.setHeight(Node457_54height);
- Node457_54._nodeType = 'text';
- Node457_54._disallowEvert = true;
- Node457_54.setRotation(0*Math.PI/180);
- Node457_54.a('node.width', Node457_54width);
- Node457_54.a('node.height', Node457_54height);
- Node457_54.a('node.rect', [0, 0, Node457_54width, Node457_54height]);
- Node457_54.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_54.a('node.borderwidth', 0);
- Node457_54.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_54.a('node.gradient','');
- Node457_54.a('node.gradientcolor','');
- Node457_54.a('node.text','功率');
- Node457_54.a('node.textalign','left');
- Node457_54.a('node.textvAlign','middle');
- Node457_54.a('node.textrect', [Node457_54textStart, 0, Node457_54textWidth, Node457_54height]);
- Node457_54.a('node.color','rgba(0,0,0,1)');
- Node457_54.a('node.font',' '+ Node457_54fontSize + 'px "微软雅黑"');
- Node457_54.a('node.textvisible',true);
- Node457_54.a('node.linefeed',false);
- if (false) {
- Node457_54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_54.a('node.text') || '功率';
- var color=Node457_54.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_54width,Node457_54height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_54fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_54.a('node.underlinepoints',[Node457_54lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_54fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node457_54fontSize + 'px "微软雅黑"').width + 6, (Node457_54height - Node457_54fontSize) * 0.5*_ratio.ratioY + Node457_54fontSize + 2 ]);
- Node457_54.a('node.underlinevisible',false);
- Node457_54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_54);
- zoomNodeList.push({
- node: Node457_54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_55 = new ht.Node();
- var Node457_55textStart, Node457_55textWidth, Node457_55lineStart, Node457_55align = 'left', Node457_55fontSize = 13.3333*_ratio.ratioY,Node457_55width = 61*_ratio.ratioX, Node457_55height = 26*_ratio.ratioY;
- (function () {
- if (Node457_55align === 'left') {
- Node457_55textStart = Node457_55fontSize * 0.2 > 2 ? Node457_55fontSize * 0.2 - 4 : Node457_55fontSize * 0.2 - 9;
- Node457_55textWidth = Node457_55width;
- Node457_55lineStart = 1;
- } else if (Node457_55align === 'right') {
- Node457_55textStart = 0;
- Node457_55textWidth =Node457_55fontSize <= 8 ? Node457_55width + Node457_55fontSize * 0.2 + 6 : Node457_55width - Node457_55fontSize * 0.2;
- Node457_55lineStart = (Node457_55width - (ht.Default.getTextSize('风速', ' '+ Node457_55fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_55align === 'center') {
- Node457_55textStart = -3;
- Node457_55textWidth = Node457_55width;
- Node457_55lineStart = Node457_55width - ht.Default.getTextSize('风速', ' '+ Node457_55fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_55.setImage(GD.getTextJSON(Node457_55width, Node457_55height, true, false, false, ' '+ Node457_55fontSize + 'px "微软雅黑"'))
- Node457_55.setPosition(221*ratio.ratioX, 99*ratio.ratioY);
- Node457_55.setWidth(Node457_55width);
- Node457_55.setHeight(Node457_55height);
- Node457_55._nodeType = 'text';
- Node457_55._disallowEvert = true;
- Node457_55.setRotation(0*Math.PI/180);
- Node457_55.a('node.width', Node457_55width);
- Node457_55.a('node.height', Node457_55height);
- Node457_55.a('node.rect', [0, 0, Node457_55width, Node457_55height]);
- Node457_55.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_55.a('node.borderwidth', 0);
- Node457_55.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_55.a('node.gradient','');
- Node457_55.a('node.gradientcolor','');
- Node457_55.a('node.text','风速');
- Node457_55.a('node.textalign','left');
- Node457_55.a('node.textvAlign','middle');
- Node457_55.a('node.textrect', [Node457_55textStart, 0, Node457_55textWidth, Node457_55height]);
- Node457_55.a('node.color','rgba(0,0,0,1)');
- Node457_55.a('node.font',' '+ Node457_55fontSize + 'px "微软雅黑"');
- Node457_55.a('node.textvisible',true);
- Node457_55.a('node.linefeed',false);
- if (false) {
- Node457_55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_55.a('node.text') || '风速';
- var color=Node457_55.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_55width,Node457_55height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_55fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_55.a('node.underlinepoints',[Node457_55lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_55fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node457_55fontSize + 'px "微软雅黑"').width + 6, (Node457_55height - Node457_55fontSize) * 0.5*_ratio.ratioY + Node457_55fontSize + 2 ]);
- Node457_55.a('node.underlinevisible',false);
- Node457_55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_55);
- zoomNodeList.push({
- node: Node457_55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_56 = new ht.Node();
- var Node457_56textStart, Node457_56textWidth, Node457_56lineStart, Node457_56align = 'left', Node457_56fontSize = 13.3333*_ratio.ratioY,Node457_56width = 77*_ratio.ratioX, Node457_56height = 26*_ratio.ratioY;
- (function () {
- if (Node457_56align === 'left') {
- Node457_56textStart = Node457_56fontSize * 0.2 > 2 ? Node457_56fontSize * 0.2 - 4 : Node457_56fontSize * 0.2 - 9;
- Node457_56textWidth = Node457_56width;
- Node457_56lineStart = 1;
- } else if (Node457_56align === 'right') {
- Node457_56textStart = 0;
- Node457_56textWidth =Node457_56fontSize <= 8 ? Node457_56width + Node457_56fontSize * 0.2 + 6 : Node457_56width - Node457_56fontSize * 0.2;
- Node457_56lineStart = (Node457_56width - (ht.Default.getTextSize('发电量', ' '+ Node457_56fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_56align === 'center') {
- Node457_56textStart = -3;
- Node457_56textWidth = Node457_56width;
- Node457_56lineStart = Node457_56width - ht.Default.getTextSize('发电量', ' '+ Node457_56fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_56.setImage(GD.getTextJSON(Node457_56width, Node457_56height, true, false, false, ' '+ Node457_56fontSize + 'px "微软雅黑"'))
- Node457_56.setPosition(227*ratio.ratioX, 124*ratio.ratioY);
- Node457_56.setWidth(Node457_56width);
- Node457_56.setHeight(Node457_56height);
- Node457_56._nodeType = 'text';
- Node457_56._disallowEvert = true;
- Node457_56.setRotation(0*Math.PI/180);
- Node457_56.a('node.width', Node457_56width);
- Node457_56.a('node.height', Node457_56height);
- Node457_56.a('node.rect', [0, 0, Node457_56width, Node457_56height]);
- Node457_56.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_56.a('node.borderwidth', 0);
- Node457_56.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_56.a('node.gradient','');
- Node457_56.a('node.gradientcolor','');
- Node457_56.a('node.text','发电量');
- Node457_56.a('node.textalign','left');
- Node457_56.a('node.textvAlign','middle');
- Node457_56.a('node.textrect', [Node457_56textStart, 0, Node457_56textWidth, Node457_56height]);
- Node457_56.a('node.color','rgba(0,0,0,1)');
- Node457_56.a('node.font',' '+ Node457_56fontSize + 'px "微软雅黑"');
- Node457_56.a('node.textvisible',true);
- Node457_56.a('node.linefeed',false);
- if (false) {
- Node457_56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_56.a('node.text') || '发电量';
- var color=Node457_56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_56width,Node457_56height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_56fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_56.a('node.underlinepoints',[Node457_56lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_56fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node457_56fontSize + 'px "微软雅黑"').width + 6, (Node457_56height - Node457_56fontSize) * 0.5*_ratio.ratioY + Node457_56fontSize + 2 ]);
- Node457_56.a('node.underlinevisible',false);
- Node457_56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_56);
- zoomNodeList.push({
- node: Node457_56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_57type = 'rect';
- var Node457_57 = new ht.Node(),
- Node457_57BorderWidth = 1*2;
- if (Node457_57type === 'arc') {
- Node457_57BorderWidth *= 1;
- }
- Node457_57.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_57type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_57.setPosition(531*ratio.ratioX, 97*ratio.ratioY);
- Node457_57.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_57.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_57.a('node.width', 121*_ratio.ratioX);
- Node457_57.a('node.height', 24.33138*_ratio.ratioY);
- Node457_57.a('node.type', Node457_57type);
- Node457_57.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_57.a('node.background', 'rgba(240,240,240,1)');
- Node457_57.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_57.a('node.gradient', '');
- Node457_57.a('node.borderwidth', Node457_57BorderWidth);
- Node457_57.a('node.color', 'rgba(224,224,224,1)');
- Node457_57.a('node.fillrect', [0,0,0,0]);
- Node457_57.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_57.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_57.a('node.fillgradient', '');
- if (Node457_57type !== 'rect') {
- Node457_57.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_57.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_57.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_57type === 'arc') {
- Node457_57.a('node.arcOval', true);
- }
- Node457_57.setRotation(0*Math.PI/180);
- Node457_57.borderWidth = Node457_57BorderWidth;
- Node457_57.borderFillwidth = Node457_57BorderWidth;
- dataModel.add(Node457_57);
- Node457_57._nodename = 'Node457_57'
- Node457_57._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_57,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_57, Node457_57.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_58type = 'rect';
- var Node457_58 = new ht.Node(),
- Node457_58BorderWidth = 1*2;
- if (Node457_58type === 'arc') {
- Node457_58BorderWidth *= 1;
- }
- Node457_58.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_58type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_58.setPosition(531*ratio.ratioX, 73*ratio.ratioY);
- Node457_58.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_58.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_58.a('node.width', 121*_ratio.ratioX);
- Node457_58.a('node.height', 24.33138*_ratio.ratioY);
- Node457_58.a('node.type', Node457_58type);
- Node457_58.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_58.a('node.background', 'rgba(240,240,240,1)');
- Node457_58.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_58.a('node.gradient', '');
- Node457_58.a('node.borderwidth', Node457_58BorderWidth);
- Node457_58.a('node.color', 'rgba(224,224,224,1)');
- Node457_58.a('node.fillrect', [0,0,0,0]);
- Node457_58.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_58.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_58.a('node.fillgradient', '');
- if (Node457_58type !== 'rect') {
- Node457_58.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_58.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_58.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_58type === 'arc') {
- Node457_58.a('node.arcOval', true);
- }
- Node457_58.setRotation(0*Math.PI/180);
- Node457_58.borderWidth = Node457_58BorderWidth;
- Node457_58.borderFillwidth = Node457_58BorderWidth;
- dataModel.add(Node457_58);
- Node457_58._nodename = 'Node457_58'
- Node457_58._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_58,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_58, Node457_58.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_59type = 'rect';
- var Node457_59 = new ht.Node(),
- Node457_59BorderWidth = 1*2;
- if (Node457_59type === 'arc') {
- Node457_59BorderWidth *= 1;
- }
- Node457_59.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_59type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_59.setPosition(531*ratio.ratioX, 122*ratio.ratioY);
- Node457_59.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_59.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_59.a('node.width', 121*_ratio.ratioX);
- Node457_59.a('node.height', 24.33136*_ratio.ratioY);
- Node457_59.a('node.type', Node457_59type);
- Node457_59.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_59.a('node.background', 'rgba(240,240,240,1)');
- Node457_59.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_59.a('node.gradient', '');
- Node457_59.a('node.borderwidth', Node457_59BorderWidth);
- Node457_59.a('node.color', 'rgba(224,224,224,1)');
- Node457_59.a('node.fillrect', [0,0,0,0]);
- Node457_59.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_59.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_59.a('node.fillgradient', '');
- if (Node457_59type !== 'rect') {
- Node457_59.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_59.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_59.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_59type === 'arc') {
- Node457_59.a('node.arcOval', true);
- }
- Node457_59.setRotation(0*Math.PI/180);
- Node457_59.borderWidth = Node457_59BorderWidth;
- Node457_59.borderFillwidth = Node457_59BorderWidth;
- dataModel.add(Node457_59);
- Node457_59._nodename = 'Node457_59'
- Node457_59._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_59,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_59, Node457_59.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_60type = 'rect';
- var Node457_60 = new ht.Node(),
- Node457_60BorderWidth = 1*2;
- if (Node457_60type === 'arc') {
- Node457_60BorderWidth *= 1;
- }
- Node457_60.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_60type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_60.setPosition(531*ratio.ratioX, 49*ratio.ratioY);
- Node457_60.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_60.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_60.a('node.width', 121*_ratio.ratioX);
- Node457_60.a('node.height', 24.33136*_ratio.ratioY);
- Node457_60.a('node.type', Node457_60type);
- Node457_60.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_60.a('node.background', 'rgba(240,240,240,1)');
- Node457_60.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_60.a('node.gradient', '');
- Node457_60.a('node.borderwidth', Node457_60BorderWidth);
- Node457_60.a('node.color', 'rgba(224,224,224,1)');
- Node457_60.a('node.fillrect', [0,0,0,0]);
- Node457_60.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_60.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_60.a('node.fillgradient', '');
- if (Node457_60type !== 'rect') {
- Node457_60.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_60.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_60.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_60type === 'arc') {
- Node457_60.a('node.arcOval', true);
- }
- Node457_60.setRotation(0*Math.PI/180);
- Node457_60.borderWidth = Node457_60BorderWidth;
- Node457_60.borderFillwidth = Node457_60BorderWidth;
- dataModel.add(Node457_60);
- Node457_60._nodename = 'Node457_60'
- Node457_60._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_60,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_60, Node457_60.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_61type = 'rect';
- var Node457_61 = new ht.Node(),
- Node457_61BorderWidth = 1*2;
- if (Node457_61type === 'arc') {
- Node457_61BorderWidth *= 1;
- }
- Node457_61.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_61type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_61.setPosition(531*ratio.ratioX, 146*ratio.ratioY);
- Node457_61.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_61.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_61.a('node.width', 121*_ratio.ratioX);
- Node457_61.a('node.height', 24.33138*_ratio.ratioY);
- Node457_61.a('node.type', Node457_61type);
- Node457_61.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_61.a('node.background', 'rgba(240,240,240,1)');
- Node457_61.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_61.a('node.gradient', '');
- Node457_61.a('node.borderwidth', Node457_61BorderWidth);
- Node457_61.a('node.color', 'rgba(224,224,224,1)');
- Node457_61.a('node.fillrect', [0,0,0,0]);
- Node457_61.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_61.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_61.a('node.fillgradient', '');
- if (Node457_61type !== 'rect') {
- Node457_61.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_61.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_61.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_61type === 'arc') {
- Node457_61.a('node.arcOval', true);
- }
- Node457_61.setRotation(0*Math.PI/180);
- Node457_61.borderWidth = Node457_61BorderWidth;
- Node457_61.borderFillwidth = Node457_61BorderWidth;
- dataModel.add(Node457_61);
- Node457_61._nodename = 'Node457_61'
- Node457_61._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_61,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_61, Node457_61.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_62 = new ht.Node();
- var Node457_62textStart, Node457_62textWidth, Node457_62lineStart, Node457_62align = 'center', Node457_62fontSize = 13.3333*_ratio.ratioY,Node457_62width = 113*_ratio.ratioX, Node457_62height = 26*_ratio.ratioY;
- (function () {
- if (Node457_62align === 'left') {
- Node457_62textStart = Node457_62fontSize * 0.2 > 2 ? Node457_62fontSize * 0.2 - 4 : Node457_62fontSize * 0.2 - 9;
- Node457_62textWidth = Node457_62width;
- Node457_62lineStart = 1;
- } else if (Node457_62align === 'right') {
- Node457_62textStart = 0;
- Node457_62textWidth =Node457_62fontSize <= 8 ? Node457_62width + Node457_62fontSize * 0.2 + 6 : Node457_62width - Node457_62fontSize * 0.2;
- Node457_62lineStart = (Node457_62width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node457_62fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_62align === 'center') {
- Node457_62textStart = -3;
- Node457_62textWidth = Node457_62width;
- Node457_62lineStart = Node457_62width - ht.Default.getTextSize('日维护损失电量', ' '+ Node457_62fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_62.setImage(GD.getTextJSON(Node457_62width, Node457_62height, true, false, false, ' '+ Node457_62fontSize + 'px "微软雅黑"'))
- Node457_62.setPosition(531*ratio.ratioX, 51*ratio.ratioY);
- Node457_62.setWidth(Node457_62width);
- Node457_62.setHeight(Node457_62height);
- Node457_62._nodeType = 'text';
- Node457_62._disallowEvert = true;
- Node457_62.setRotation(0*Math.PI/180);
- Node457_62.a('node.width', Node457_62width);
- Node457_62.a('node.height', Node457_62height);
- Node457_62.a('node.rect', [0, 0, Node457_62width, Node457_62height]);
- Node457_62.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_62.a('node.borderwidth', 0);
- Node457_62.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node457_62.a('node.gradient','');
- Node457_62.a('node.gradientcolor','rgba(255,255,255,0)');
- Node457_62.a('node.text','日维护损失电量');
- Node457_62.a('node.textalign','center');
- Node457_62.a('node.textvAlign','middle');
- Node457_62.a('node.textrect', [Node457_62textStart, 0, Node457_62textWidth, Node457_62height]);
- Node457_62.a('node.color','rgba(0,0,0,1)');
- Node457_62.a('node.font',' '+ Node457_62fontSize + 'px "微软雅黑"');
- Node457_62.a('node.textvisible',true);
- Node457_62.a('node.linefeed',false);
- if (false) {
- Node457_62.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_62.a('node.text') || '日维护损失电量';
- var color=Node457_62.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_62width,Node457_62height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_62fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_62.a('node.underlinepoints',[Node457_62lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_62fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node457_62fontSize + 'px "微软雅黑"').width + 6, (Node457_62height - Node457_62fontSize) * 0.5*_ratio.ratioY + Node457_62fontSize + 2 ]);
- Node457_62.a('node.underlinevisible',false);
- Node457_62.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_62);
- zoomNodeList.push({
- node: Node457_62,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_63 = new ht.Node();
- var Node457_63textStart, Node457_63textWidth, Node457_63lineStart, Node457_63align = 'center', Node457_63fontSize = 13.3333*_ratio.ratioY,Node457_63width = 113*_ratio.ratioX, Node457_63height = 26*_ratio.ratioY;
- (function () {
- if (Node457_63align === 'left') {
- Node457_63textStart = Node457_63fontSize * 0.2 > 2 ? Node457_63fontSize * 0.2 - 4 : Node457_63fontSize * 0.2 - 9;
- Node457_63textWidth = Node457_63width;
- Node457_63lineStart = 1;
- } else if (Node457_63align === 'right') {
- Node457_63textStart = 0;
- Node457_63textWidth =Node457_63fontSize <= 8 ? Node457_63width + Node457_63fontSize * 0.2 + 6 : Node457_63width - Node457_63fontSize * 0.2;
- Node457_63lineStart = (Node457_63width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node457_63fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_63align === 'center') {
- Node457_63textStart = -3;
- Node457_63textWidth = Node457_63width;
- Node457_63lineStart = Node457_63width - ht.Default.getTextSize('日故障损失电量', ' '+ Node457_63fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_63.setImage(GD.getTextJSON(Node457_63width, Node457_63height, true, false, false, ' '+ Node457_63fontSize + 'px "微软雅黑"'))
- Node457_63.setPosition(532*ratio.ratioX, 75*ratio.ratioY);
- Node457_63.setWidth(Node457_63width);
- Node457_63.setHeight(Node457_63height);
- Node457_63._nodeType = 'text';
- Node457_63._disallowEvert = true;
- Node457_63.setRotation(0*Math.PI/180);
- Node457_63.a('node.width', Node457_63width);
- Node457_63.a('node.height', Node457_63height);
- Node457_63.a('node.rect', [0, 0, Node457_63width, Node457_63height]);
- Node457_63.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_63.a('node.borderwidth', 0);
- Node457_63.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node457_63.a('node.gradient','');
- Node457_63.a('node.gradientcolor','rgba(255,255,255,0)');
- Node457_63.a('node.text','日故障损失电量');
- Node457_63.a('node.textalign','center');
- Node457_63.a('node.textvAlign','middle');
- Node457_63.a('node.textrect', [Node457_63textStart, 0, Node457_63textWidth, Node457_63height]);
- Node457_63.a('node.color','rgba(0,0,0,1)');
- Node457_63.a('node.font',' '+ Node457_63fontSize + 'px "微软雅黑"');
- Node457_63.a('node.textvisible',true);
- Node457_63.a('node.linefeed',false);
- if (false) {
- Node457_63.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_63.a('node.text') || '日故障损失电量';
- var color=Node457_63.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_63width,Node457_63height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_63fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_63.a('node.underlinepoints',[Node457_63lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_63fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node457_63fontSize + 'px "微软雅黑"').width + 6, (Node457_63height - Node457_63fontSize) * 0.5*_ratio.ratioY + Node457_63fontSize + 2 ]);
- Node457_63.a('node.underlinevisible',false);
- Node457_63.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_63);
- zoomNodeList.push({
- node: Node457_63,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_64 = new ht.Node();
- var Node457_64textStart, Node457_64textWidth, Node457_64lineStart, Node457_64align = 'center', Node457_64fontSize = 13.3333*_ratio.ratioY,Node457_64width = 113*_ratio.ratioX, Node457_64height = 26*_ratio.ratioY;
- (function () {
- if (Node457_64align === 'left') {
- Node457_64textStart = Node457_64fontSize * 0.2 > 2 ? Node457_64fontSize * 0.2 - 4 : Node457_64fontSize * 0.2 - 9;
- Node457_64textWidth = Node457_64width;
- Node457_64lineStart = 1;
- } else if (Node457_64align === 'right') {
- Node457_64textStart = 0;
- Node457_64textWidth =Node457_64fontSize <= 8 ? Node457_64width + Node457_64fontSize * 0.2 + 6 : Node457_64width - Node457_64fontSize * 0.2;
- Node457_64lineStart = (Node457_64width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node457_64fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_64align === 'center') {
- Node457_64textStart = -3;
- Node457_64textWidth = Node457_64width;
- Node457_64lineStart = Node457_64width - ht.Default.getTextSize('日限电损失电量', ' '+ Node457_64fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_64.setImage(GD.getTextJSON(Node457_64width, Node457_64height, true, false, false, ' '+ Node457_64fontSize + 'px "微软雅黑"'))
- Node457_64.setPosition(532*ratio.ratioX, 100*ratio.ratioY);
- Node457_64.setWidth(Node457_64width);
- Node457_64.setHeight(Node457_64height);
- Node457_64._nodeType = 'text';
- Node457_64._disallowEvert = true;
- Node457_64.setRotation(0*Math.PI/180);
- Node457_64.a('node.width', Node457_64width);
- Node457_64.a('node.height', Node457_64height);
- Node457_64.a('node.rect', [0, 0, Node457_64width, Node457_64height]);
- Node457_64.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_64.a('node.borderwidth', 0);
- Node457_64.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node457_64.a('node.gradient','');
- Node457_64.a('node.gradientcolor','rgba(255,255,255,0)');
- Node457_64.a('node.text','日限电损失电量');
- Node457_64.a('node.textalign','center');
- Node457_64.a('node.textvAlign','middle');
- Node457_64.a('node.textrect', [Node457_64textStart, 0, Node457_64textWidth, Node457_64height]);
- Node457_64.a('node.color','rgba(0,0,0,1)');
- Node457_64.a('node.font',' '+ Node457_64fontSize + 'px "微软雅黑"');
- Node457_64.a('node.textvisible',true);
- Node457_64.a('node.linefeed',false);
- if (false) {
- Node457_64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_64.a('node.text') || '日限电损失电量';
- var color=Node457_64.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_64width,Node457_64height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_64fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_64.a('node.underlinepoints',[Node457_64lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_64fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node457_64fontSize + 'px "微软雅黑"').width + 6, (Node457_64height - Node457_64fontSize) * 0.5*_ratio.ratioY + Node457_64fontSize + 2 ]);
- Node457_64.a('node.underlinevisible',false);
- Node457_64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_64);
- zoomNodeList.push({
- node: Node457_64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_65 = new ht.Node();
- var Node457_65textStart, Node457_65textWidth, Node457_65lineStart, Node457_65align = 'center', Node457_65fontSize = 13.3333*_ratio.ratioY,Node457_65width = 113*_ratio.ratioX, Node457_65height = 26*_ratio.ratioY;
- (function () {
- if (Node457_65align === 'left') {
- Node457_65textStart = Node457_65fontSize * 0.2 > 2 ? Node457_65fontSize * 0.2 - 4 : Node457_65fontSize * 0.2 - 9;
- Node457_65textWidth = Node457_65width;
- Node457_65lineStart = 1;
- } else if (Node457_65align === 'right') {
- Node457_65textStart = 0;
- Node457_65textWidth =Node457_65fontSize <= 8 ? Node457_65width + Node457_65fontSize * 0.2 + 6 : Node457_65width - Node457_65fontSize * 0.2;
- Node457_65lineStart = (Node457_65width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node457_65fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_65align === 'center') {
- Node457_65textStart = -3;
- Node457_65textWidth = Node457_65width;
- Node457_65lineStart = Node457_65width - ht.Default.getTextSize('日受累损失电量', ' '+ Node457_65fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_65.setImage(GD.getTextJSON(Node457_65width, Node457_65height, true, false, false, ' '+ Node457_65fontSize + 'px "微软雅黑"'))
- Node457_65.setPosition(532*ratio.ratioX, 124*ratio.ratioY);
- Node457_65.setWidth(Node457_65width);
- Node457_65.setHeight(Node457_65height);
- Node457_65._nodeType = 'text';
- Node457_65._disallowEvert = true;
- Node457_65.setRotation(0*Math.PI/180);
- Node457_65.a('node.width', Node457_65width);
- Node457_65.a('node.height', Node457_65height);
- Node457_65.a('node.rect', [0, 0, Node457_65width, Node457_65height]);
- Node457_65.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_65.a('node.borderwidth', 0);
- Node457_65.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node457_65.a('node.gradient','');
- Node457_65.a('node.gradientcolor','rgba(255,255,255,0)');
- Node457_65.a('node.text','日受累损失电量');
- Node457_65.a('node.textalign','center');
- Node457_65.a('node.textvAlign','middle');
- Node457_65.a('node.textrect', [Node457_65textStart, 0, Node457_65textWidth, Node457_65height]);
- Node457_65.a('node.color','rgba(0,0,0,1)');
- Node457_65.a('node.font',' '+ Node457_65fontSize + 'px "微软雅黑"');
- Node457_65.a('node.textvisible',true);
- Node457_65.a('node.linefeed',false);
- if (false) {
- Node457_65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_65.a('node.text') || '日受累损失电量';
- var color=Node457_65.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_65width,Node457_65height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_65fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_65.a('node.underlinepoints',[Node457_65lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_65fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node457_65fontSize + 'px "微软雅黑"').width + 6, (Node457_65height - Node457_65fontSize) * 0.5*_ratio.ratioY + Node457_65fontSize + 2 ]);
- Node457_65.a('node.underlinevisible',false);
- Node457_65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_65);
- zoomNodeList.push({
- node: Node457_65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_66type = 'rect';
- var Node457_66 = new ht.Node(),
- Node457_66BorderWidth = 1*2;
- if (Node457_66type === 'arc') {
- Node457_66BorderWidth *= 1;
- }
- Node457_66.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_66.setPosition(812*ratio.ratioX, 97*ratio.ratioY);
- Node457_66.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_66.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_66.a('node.width', 117*_ratio.ratioX);
- Node457_66.a('node.height', 24.33138*_ratio.ratioY);
- Node457_66.a('node.type', Node457_66type);
- Node457_66.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_66.a('node.background', 'rgba(240,240,240,1)');
- Node457_66.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_66.a('node.gradient', '');
- Node457_66.a('node.borderwidth', Node457_66BorderWidth);
- Node457_66.a('node.color', 'rgba(224,224,224,1)');
- Node457_66.a('node.fillrect', [0,0,0,0]);
- Node457_66.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_66.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_66.a('node.fillgradient', '');
- if (Node457_66type !== 'rect') {
- Node457_66.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_66.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_66.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_66type === 'arc') {
- Node457_66.a('node.arcOval', true);
- }
- Node457_66.setRotation(0*Math.PI/180);
- Node457_66.borderWidth = Node457_66BorderWidth;
- Node457_66.borderFillwidth = Node457_66BorderWidth;
- dataModel.add(Node457_66);
- Node457_66._nodename = 'Node457_66'
- Node457_66._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_66,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_66, Node457_66.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_67type = 'rect';
- var Node457_67 = new ht.Node(),
- Node457_67BorderWidth = 1*2;
- if (Node457_67type === 'arc') {
- Node457_67BorderWidth *= 1;
- }
- Node457_67.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_67type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_67.setPosition(812*ratio.ratioX, 73*ratio.ratioY);
- Node457_67.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_67.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_67.a('node.width', 117*_ratio.ratioX);
- Node457_67.a('node.height', 24.33138*_ratio.ratioY);
- Node457_67.a('node.type', Node457_67type);
- Node457_67.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_67.a('node.background', 'rgba(240,240,240,1)');
- Node457_67.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_67.a('node.gradient', '');
- Node457_67.a('node.borderwidth', Node457_67BorderWidth);
- Node457_67.a('node.color', 'rgba(224,224,224,1)');
- Node457_67.a('node.fillrect', [0,0,0,0]);
- Node457_67.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_67.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_67.a('node.fillgradient', '');
- if (Node457_67type !== 'rect') {
- Node457_67.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_67.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_67.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_67type === 'arc') {
- Node457_67.a('node.arcOval', true);
- }
- Node457_67.setRotation(0*Math.PI/180);
- Node457_67.borderWidth = Node457_67BorderWidth;
- Node457_67.borderFillwidth = Node457_67BorderWidth;
- dataModel.add(Node457_67);
- Node457_67._nodename = 'Node457_67'
- Node457_67._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_67,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_67, Node457_67.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_68type = 'rect';
- var Node457_68 = new ht.Node(),
- Node457_68BorderWidth = 1*2;
- if (Node457_68type === 'arc') {
- Node457_68BorderWidth *= 1;
- }
- Node457_68.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_68type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_68.setPosition(812*ratio.ratioX, 122*ratio.ratioY);
- Node457_68.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_68.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_68.a('node.width', 117*_ratio.ratioX);
- Node457_68.a('node.height', 24.33136*_ratio.ratioY);
- Node457_68.a('node.type', Node457_68type);
- Node457_68.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_68.a('node.background', 'rgba(240,240,240,1)');
- Node457_68.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_68.a('node.gradient', '');
- Node457_68.a('node.borderwidth', Node457_68BorderWidth);
- Node457_68.a('node.color', 'rgba(224,224,224,1)');
- Node457_68.a('node.fillrect', [0,0,0,0]);
- Node457_68.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_68.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_68.a('node.fillgradient', '');
- if (Node457_68type !== 'rect') {
- Node457_68.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_68.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_68.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_68type === 'arc') {
- Node457_68.a('node.arcOval', true);
- }
- Node457_68.setRotation(0*Math.PI/180);
- Node457_68.borderWidth = Node457_68BorderWidth;
- Node457_68.borderFillwidth = Node457_68BorderWidth;
- dataModel.add(Node457_68);
- Node457_68._nodename = 'Node457_68'
- Node457_68._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_68,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_68, Node457_68.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_69type = 'rect';
- var Node457_69 = new ht.Node(),
- Node457_69BorderWidth = 1*2;
- if (Node457_69type === 'arc') {
- Node457_69BorderWidth *= 1;
- }
- Node457_69.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_69type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_69.setPosition(812*ratio.ratioX, 49*ratio.ratioY);
- Node457_69.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_69.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_69.a('node.width', 117*_ratio.ratioX);
- Node457_69.a('node.height', 24.33136*_ratio.ratioY);
- Node457_69.a('node.type', Node457_69type);
- Node457_69.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_69.a('node.background', 'rgba(240,240,240,1)');
- Node457_69.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_69.a('node.gradient', '');
- Node457_69.a('node.borderwidth', Node457_69BorderWidth);
- Node457_69.a('node.color', 'rgba(224,224,224,1)');
- Node457_69.a('node.fillrect', [0,0,0,0]);
- Node457_69.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_69.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_69.a('node.fillgradient', '');
- if (Node457_69type !== 'rect') {
- Node457_69.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_69.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_69.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_69type === 'arc') {
- Node457_69.a('node.arcOval', true);
- }
- Node457_69.setRotation(0*Math.PI/180);
- Node457_69.borderWidth = Node457_69BorderWidth;
- Node457_69.borderFillwidth = Node457_69BorderWidth;
- dataModel.add(Node457_69);
- Node457_69._nodename = 'Node457_69'
- Node457_69._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_69,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_69, Node457_69.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_70type = 'rect';
- var Node457_70 = new ht.Node(),
- Node457_70BorderWidth = 1*2;
- if (Node457_70type === 'arc') {
- Node457_70BorderWidth *= 1;
- }
- Node457_70.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_70type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_70.setPosition(812*ratio.ratioX, 146*ratio.ratioY);
- Node457_70.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_70.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_70.a('node.width', 117*_ratio.ratioX);
- Node457_70.a('node.height', 24.33138*_ratio.ratioY);
- Node457_70.a('node.type', Node457_70type);
- Node457_70.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_70.a('node.background', 'rgba(240,240,240,1)');
- Node457_70.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_70.a('node.gradient', '');
- Node457_70.a('node.borderwidth', Node457_70BorderWidth);
- Node457_70.a('node.color', 'rgba(224,224,224,1)');
- Node457_70.a('node.fillrect', [0,0,0,0]);
- Node457_70.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_70.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_70.a('node.fillgradient', '');
- if (Node457_70type !== 'rect') {
- Node457_70.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_70.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_70.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_70type === 'arc') {
- Node457_70.a('node.arcOval', true);
- }
- Node457_70.setRotation(0*Math.PI/180);
- Node457_70.borderWidth = Node457_70BorderWidth;
- Node457_70.borderFillwidth = Node457_70BorderWidth;
- dataModel.add(Node457_70);
- Node457_70._nodename = 'Node457_70'
- Node457_70._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_70,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_70, Node457_70.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_71 = new ht.Node();
- var Node457_71textStart, Node457_71textWidth, Node457_71lineStart, Node457_71align = 'center', Node457_71fontSize = 13.3333*_ratio.ratioY,Node457_71width = 110*_ratio.ratioX, Node457_71height = 26*_ratio.ratioY;
- (function () {
- if (Node457_71align === 'left') {
- Node457_71textStart = Node457_71fontSize * 0.2 > 2 ? Node457_71fontSize * 0.2 - 4 : Node457_71fontSize * 0.2 - 9;
- Node457_71textWidth = Node457_71width;
- Node457_71lineStart = 1;
- } else if (Node457_71align === 'right') {
- Node457_71textStart = 0;
- Node457_71textWidth =Node457_71fontSize <= 8 ? Node457_71width + Node457_71fontSize * 0.2 + 6 : Node457_71width - Node457_71fontSize * 0.2;
- Node457_71lineStart = (Node457_71width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node457_71fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_71align === 'center') {
- Node457_71textStart = -3;
- Node457_71textWidth = Node457_71width;
- Node457_71lineStart = Node457_71width - ht.Default.getTextSize('月维护损失电量', ' '+ Node457_71fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_71.setImage(GD.getTextJSON(Node457_71width, Node457_71height, true, false, false, ' '+ Node457_71fontSize + 'px "微软雅黑"'))
- Node457_71.setPosition(812*ratio.ratioX, 51*ratio.ratioY);
- Node457_71.setWidth(Node457_71width);
- Node457_71.setHeight(Node457_71height);
- Node457_71._nodeType = 'text';
- Node457_71._disallowEvert = true;
- Node457_71.setRotation(0*Math.PI/180);
- Node457_71.a('node.width', Node457_71width);
- Node457_71.a('node.height', Node457_71height);
- Node457_71.a('node.rect', [0, 0, Node457_71width, Node457_71height]);
- Node457_71.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_71.a('node.borderwidth', 0);
- Node457_71.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_71.a('node.gradient','');
- Node457_71.a('node.gradientcolor','');
- Node457_71.a('node.text','月维护损失电量');
- Node457_71.a('node.textalign','center');
- Node457_71.a('node.textvAlign','middle');
- Node457_71.a('node.textrect', [Node457_71textStart, 0, Node457_71textWidth, Node457_71height]);
- Node457_71.a('node.color','rgba(0,0,0,1)');
- Node457_71.a('node.font',' '+ Node457_71fontSize + 'px "微软雅黑"');
- Node457_71.a('node.textvisible',true);
- Node457_71.a('node.linefeed',false);
- if (false) {
- Node457_71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_71.a('node.text') || '月维护损失电量';
- var color=Node457_71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_71width,Node457_71height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_71fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_71.a('node.underlinepoints',[Node457_71lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_71fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node457_71fontSize + 'px "微软雅黑"').width + 6, (Node457_71height - Node457_71fontSize) * 0.5*_ratio.ratioY + Node457_71fontSize + 2 ]);
- Node457_71.a('node.underlinevisible',false);
- Node457_71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_71);
- zoomNodeList.push({
- node: Node457_71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_72 = new ht.Node();
- var Node457_72textStart, Node457_72textWidth, Node457_72lineStart, Node457_72align = 'center', Node457_72fontSize = 13.3333*_ratio.ratioY,Node457_72width = 110*_ratio.ratioX, Node457_72height = 26*_ratio.ratioY;
- (function () {
- if (Node457_72align === 'left') {
- Node457_72textStart = Node457_72fontSize * 0.2 > 2 ? Node457_72fontSize * 0.2 - 4 : Node457_72fontSize * 0.2 - 9;
- Node457_72textWidth = Node457_72width;
- Node457_72lineStart = 1;
- } else if (Node457_72align === 'right') {
- Node457_72textStart = 0;
- Node457_72textWidth =Node457_72fontSize <= 8 ? Node457_72width + Node457_72fontSize * 0.2 + 6 : Node457_72width - Node457_72fontSize * 0.2;
- Node457_72lineStart = (Node457_72width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node457_72fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_72align === 'center') {
- Node457_72textStart = -3;
- Node457_72textWidth = Node457_72width;
- Node457_72lineStart = Node457_72width - ht.Default.getTextSize('月故障损失电量', ' '+ Node457_72fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_72.setImage(GD.getTextJSON(Node457_72width, Node457_72height, true, false, false, ' '+ Node457_72fontSize + 'px "微软雅黑"'))
- Node457_72.setPosition(812*ratio.ratioX, 75*ratio.ratioY);
- Node457_72.setWidth(Node457_72width);
- Node457_72.setHeight(Node457_72height);
- Node457_72._nodeType = 'text';
- Node457_72._disallowEvert = true;
- Node457_72.setRotation(0*Math.PI/180);
- Node457_72.a('node.width', Node457_72width);
- Node457_72.a('node.height', Node457_72height);
- Node457_72.a('node.rect', [0, 0, Node457_72width, Node457_72height]);
- Node457_72.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_72.a('node.borderwidth', 0);
- Node457_72.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_72.a('node.gradient','');
- Node457_72.a('node.gradientcolor','');
- Node457_72.a('node.text','月故障损失电量');
- Node457_72.a('node.textalign','center');
- Node457_72.a('node.textvAlign','middle');
- Node457_72.a('node.textrect', [Node457_72textStart, 0, Node457_72textWidth, Node457_72height]);
- Node457_72.a('node.color','rgba(0,0,0,1)');
- Node457_72.a('node.font',' '+ Node457_72fontSize + 'px "微软雅黑"');
- Node457_72.a('node.textvisible',true);
- Node457_72.a('node.linefeed',false);
- if (false) {
- Node457_72.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_72.a('node.text') || '月故障损失电量';
- var color=Node457_72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_72width,Node457_72height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_72fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_72.a('node.underlinepoints',[Node457_72lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_72fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node457_72fontSize + 'px "微软雅黑"').width + 6, (Node457_72height - Node457_72fontSize) * 0.5*_ratio.ratioY + Node457_72fontSize + 2 ]);
- Node457_72.a('node.underlinevisible',false);
- Node457_72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_72);
- zoomNodeList.push({
- node: Node457_72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_73 = new ht.Node();
- var Node457_73textStart, Node457_73textWidth, Node457_73lineStart, Node457_73align = 'center', Node457_73fontSize = 13.3333*_ratio.ratioY,Node457_73width = 110*_ratio.ratioX, Node457_73height = 26*_ratio.ratioY;
- (function () {
- if (Node457_73align === 'left') {
- Node457_73textStart = Node457_73fontSize * 0.2 > 2 ? Node457_73fontSize * 0.2 - 4 : Node457_73fontSize * 0.2 - 9;
- Node457_73textWidth = Node457_73width;
- Node457_73lineStart = 1;
- } else if (Node457_73align === 'right') {
- Node457_73textStart = 0;
- Node457_73textWidth =Node457_73fontSize <= 8 ? Node457_73width + Node457_73fontSize * 0.2 + 6 : Node457_73width - Node457_73fontSize * 0.2;
- Node457_73lineStart = (Node457_73width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node457_73fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_73align === 'center') {
- Node457_73textStart = -3;
- Node457_73textWidth = Node457_73width;
- Node457_73lineStart = Node457_73width - ht.Default.getTextSize('月限电损失电量', ' '+ Node457_73fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_73.setImage(GD.getTextJSON(Node457_73width, Node457_73height, true, false, false, ' '+ Node457_73fontSize + 'px "微软雅黑"'))
- Node457_73.setPosition(812*ratio.ratioX, 100*ratio.ratioY);
- Node457_73.setWidth(Node457_73width);
- Node457_73.setHeight(Node457_73height);
- Node457_73._nodeType = 'text';
- Node457_73._disallowEvert = true;
- Node457_73.setRotation(0*Math.PI/180);
- Node457_73.a('node.width', Node457_73width);
- Node457_73.a('node.height', Node457_73height);
- Node457_73.a('node.rect', [0, 0, Node457_73width, Node457_73height]);
- Node457_73.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_73.a('node.borderwidth', 0);
- Node457_73.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_73.a('node.gradient','');
- Node457_73.a('node.gradientcolor','');
- Node457_73.a('node.text','月限电损失电量');
- Node457_73.a('node.textalign','center');
- Node457_73.a('node.textvAlign','middle');
- Node457_73.a('node.textrect', [Node457_73textStart, 0, Node457_73textWidth, Node457_73height]);
- Node457_73.a('node.color','rgba(0,0,0,1)');
- Node457_73.a('node.font',' '+ Node457_73fontSize + 'px "微软雅黑"');
- Node457_73.a('node.textvisible',true);
- Node457_73.a('node.linefeed',false);
- if (false) {
- Node457_73.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_73.a('node.text') || '月限电损失电量';
- var color=Node457_73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_73width,Node457_73height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_73fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_73.a('node.underlinepoints',[Node457_73lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_73fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node457_73fontSize + 'px "微软雅黑"').width + 6, (Node457_73height - Node457_73fontSize) * 0.5*_ratio.ratioY + Node457_73fontSize + 2 ]);
- Node457_73.a('node.underlinevisible',false);
- Node457_73.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_73);
- zoomNodeList.push({
- node: Node457_73,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_74 = new ht.Node();
- var Node457_74textStart, Node457_74textWidth, Node457_74lineStart, Node457_74align = 'center', Node457_74fontSize = 13.3333*_ratio.ratioY,Node457_74width = 110*_ratio.ratioX, Node457_74height = 26*_ratio.ratioY;
- (function () {
- if (Node457_74align === 'left') {
- Node457_74textStart = Node457_74fontSize * 0.2 > 2 ? Node457_74fontSize * 0.2 - 4 : Node457_74fontSize * 0.2 - 9;
- Node457_74textWidth = Node457_74width;
- Node457_74lineStart = 1;
- } else if (Node457_74align === 'right') {
- Node457_74textStart = 0;
- Node457_74textWidth =Node457_74fontSize <= 8 ? Node457_74width + Node457_74fontSize * 0.2 + 6 : Node457_74width - Node457_74fontSize * 0.2;
- Node457_74lineStart = (Node457_74width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node457_74fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_74align === 'center') {
- Node457_74textStart = -3;
- Node457_74textWidth = Node457_74width;
- Node457_74lineStart = Node457_74width - ht.Default.getTextSize('月受累损失电量', ' '+ Node457_74fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_74.setImage(GD.getTextJSON(Node457_74width, Node457_74height, true, false, false, ' '+ Node457_74fontSize + 'px "微软雅黑"'))
- Node457_74.setPosition(812*ratio.ratioX, 124*ratio.ratioY);
- Node457_74.setWidth(Node457_74width);
- Node457_74.setHeight(Node457_74height);
- Node457_74._nodeType = 'text';
- Node457_74._disallowEvert = true;
- Node457_74.setRotation(0*Math.PI/180);
- Node457_74.a('node.width', Node457_74width);
- Node457_74.a('node.height', Node457_74height);
- Node457_74.a('node.rect', [0, 0, Node457_74width, Node457_74height]);
- Node457_74.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_74.a('node.borderwidth', 0);
- Node457_74.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_74.a('node.gradient','');
- Node457_74.a('node.gradientcolor','');
- Node457_74.a('node.text','月受累损失电量');
- Node457_74.a('node.textalign','center');
- Node457_74.a('node.textvAlign','middle');
- Node457_74.a('node.textrect', [Node457_74textStart, 0, Node457_74textWidth, Node457_74height]);
- Node457_74.a('node.color','rgba(0,0,0,1)');
- Node457_74.a('node.font',' '+ Node457_74fontSize + 'px "微软雅黑"');
- Node457_74.a('node.textvisible',true);
- Node457_74.a('node.linefeed',false);
- if (false) {
- Node457_74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_74.a('node.text') || '月受累损失电量';
- var color=Node457_74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_74width,Node457_74height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_74fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_74.a('node.underlinepoints',[Node457_74lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_74fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node457_74fontSize + 'px "微软雅黑"').width + 6, (Node457_74height - Node457_74fontSize) * 0.5*_ratio.ratioY + Node457_74fontSize + 2 ]);
- Node457_74.a('node.underlinevisible',false);
- Node457_74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_74);
- zoomNodeList.push({
- node: Node457_74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_75type = 'rect';
- var Node457_75 = new ht.Node(),
- Node457_75BorderWidth = 1*2;
- if (Node457_75type === 'arc') {
- Node457_75BorderWidth *= 1;
- }
- Node457_75.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_75type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_75.setPosition(918*ratio.ratioX, 49*ratio.ratioY);
- Node457_75.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_75.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_75.a('node.width', 95*_ratio.ratioX);
- Node457_75.a('node.height', 24.33136*_ratio.ratioY);
- Node457_75.a('node.type', Node457_75type);
- Node457_75.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_75.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_75.a('node.gradientcolor', '');
- Node457_75.a('node.gradient', '');
- Node457_75.a('node.borderwidth', Node457_75BorderWidth);
- Node457_75.a('node.color', 'rgba(224,224,224,1)');
- Node457_75.a('node.fillrect', [0,0,0,0]);
- Node457_75.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_75.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_75.a('node.fillgradient', '');
- if (Node457_75type !== 'rect') {
- Node457_75.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_75.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_75.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_75type === 'arc') {
- Node457_75.a('node.arcOval', true);
- }
- Node457_75.setRotation(0*Math.PI/180);
- Node457_75.borderWidth = Node457_75BorderWidth;
- Node457_75.borderFillwidth = Node457_75BorderWidth;
- dataModel.add(Node457_75);
- Node457_75._nodename = 'Node457_75'
- Node457_75._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_75,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_75, Node457_75.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_76type = 'rect';
- var Node457_76 = new ht.Node(),
- Node457_76BorderWidth = 1*2;
- if (Node457_76type === 'arc') {
- Node457_76BorderWidth *= 1;
- }
- Node457_76.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_76type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_76.setPosition(918*ratio.ratioX, 73*ratio.ratioY);
- Node457_76.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_76.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_76.a('node.width', 95*_ratio.ratioX);
- Node457_76.a('node.height', 24.33138*_ratio.ratioY);
- Node457_76.a('node.type', Node457_76type);
- Node457_76.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_76.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_76.a('node.gradientcolor', '');
- Node457_76.a('node.gradient', '');
- Node457_76.a('node.borderwidth', Node457_76BorderWidth);
- Node457_76.a('node.color', 'rgba(224,224,224,1)');
- Node457_76.a('node.fillrect', [0,0,0,0]);
- Node457_76.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_76.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_76.a('node.fillgradient', '');
- if (Node457_76type !== 'rect') {
- Node457_76.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_76.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_76.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_76type === 'arc') {
- Node457_76.a('node.arcOval', true);
- }
- Node457_76.setRotation(0*Math.PI/180);
- Node457_76.borderWidth = Node457_76BorderWidth;
- Node457_76.borderFillwidth = Node457_76BorderWidth;
- dataModel.add(Node457_76);
- Node457_76._nodename = 'Node457_76'
- Node457_76._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_76,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_76, Node457_76.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_77type = 'rect';
- var Node457_77 = new ht.Node(),
- Node457_77BorderWidth = 1*2;
- if (Node457_77type === 'arc') {
- Node457_77BorderWidth *= 1;
- }
- Node457_77.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_77type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_77.setPosition(918*ratio.ratioX, 97*ratio.ratioY);
- Node457_77.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_77.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_77.a('node.width', 95*_ratio.ratioX);
- Node457_77.a('node.height', 24.33138*_ratio.ratioY);
- Node457_77.a('node.type', Node457_77type);
- Node457_77.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_77.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_77.a('node.gradientcolor', '');
- Node457_77.a('node.gradient', '');
- Node457_77.a('node.borderwidth', Node457_77BorderWidth);
- Node457_77.a('node.color', 'rgba(224,224,224,1)');
- Node457_77.a('node.fillrect', [0,0,0,0]);
- Node457_77.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_77.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_77.a('node.fillgradient', '');
- if (Node457_77type !== 'rect') {
- Node457_77.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_77.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_77.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_77type === 'arc') {
- Node457_77.a('node.arcOval', true);
- }
- Node457_77.setRotation(0*Math.PI/180);
- Node457_77.borderWidth = Node457_77BorderWidth;
- Node457_77.borderFillwidth = Node457_77BorderWidth;
- dataModel.add(Node457_77);
- Node457_77._nodename = 'Node457_77'
- Node457_77._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_77,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_77, Node457_77.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_78type = 'rect';
- var Node457_78 = new ht.Node(),
- Node457_78BorderWidth = 1*2;
- if (Node457_78type === 'arc') {
- Node457_78BorderWidth *= 1;
- }
- Node457_78.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_78.setPosition(918*ratio.ratioX, 122*ratio.ratioY);
- Node457_78.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_78.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_78.a('node.width', 95*_ratio.ratioX);
- Node457_78.a('node.height', 24.33136*_ratio.ratioY);
- Node457_78.a('node.type', Node457_78type);
- Node457_78.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_78.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_78.a('node.gradientcolor', '');
- Node457_78.a('node.gradient', '');
- Node457_78.a('node.borderwidth', Node457_78BorderWidth);
- Node457_78.a('node.color', 'rgba(224,224,224,1)');
- Node457_78.a('node.fillrect', [0,0,0,0]);
- Node457_78.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_78.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_78.a('node.fillgradient', '');
- if (Node457_78type !== 'rect') {
- Node457_78.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_78.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_78.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_78type === 'arc') {
- Node457_78.a('node.arcOval', true);
- }
- Node457_78.setRotation(0*Math.PI/180);
- Node457_78.borderWidth = Node457_78BorderWidth;
- Node457_78.borderFillwidth = Node457_78BorderWidth;
- dataModel.add(Node457_78);
- Node457_78._nodename = 'Node457_78'
- Node457_78._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_78,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_78, Node457_78.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_79type = 'rect';
- var Node457_79 = new ht.Node(),
- Node457_79BorderWidth = 1*2;
- if (Node457_79type === 'arc') {
- Node457_79BorderWidth *= 1;
- }
- Node457_79.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33139*_ratio.ratioY, Node457_79type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_79.setPosition(918*ratio.ratioX, 146*ratio.ratioY);
- Node457_79.setSize(95*_ratio.ratioX, 24.33139*_ratio.ratioY);
- Node457_79.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_79.a('node.width', 95*_ratio.ratioX);
- Node457_79.a('node.height', 24.33139*_ratio.ratioY);
- Node457_79.a('node.type', Node457_79type);
- Node457_79.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33139*_ratio.ratioY]);
- Node457_79.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_79.a('node.gradientcolor', '');
- Node457_79.a('node.gradient', '');
- Node457_79.a('node.borderwidth', Node457_79BorderWidth);
- Node457_79.a('node.color', 'rgba(224,224,224,1)');
- Node457_79.a('node.fillrect', [0,0,0,0]);
- Node457_79.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_79.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_79.a('node.fillgradient', '');
- if (Node457_79type !== 'rect') {
- Node457_79.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_79.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_79.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_79type === 'arc') {
- Node457_79.a('node.arcOval', true);
- }
- Node457_79.setRotation(0*Math.PI/180);
- Node457_79.borderWidth = Node457_79BorderWidth;
- Node457_79.borderFillwidth = Node457_79BorderWidth;
- dataModel.add(Node457_79);
- Node457_79._nodename = 'Node457_79'
- Node457_79._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_79,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_79, Node457_79.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_80type = 'rect';
- var Node457_80 = new ht.Node(),
- Node457_80BorderWidth = 1*2;
- if (Node457_80type === 'arc') {
- Node457_80BorderWidth *= 1;
- }
- Node457_80.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_80type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_80.setPosition(998*ratio.ratioX, 49*ratio.ratioY);
- Node457_80.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_80.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_80.a('node.width', 65*_ratio.ratioX);
- Node457_80.a('node.height', 24.33136*_ratio.ratioY);
- Node457_80.a('node.type', Node457_80type);
- Node457_80.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_80.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_80.a('node.gradientcolor', '');
- Node457_80.a('node.gradient', '');
- Node457_80.a('node.borderwidth', Node457_80BorderWidth);
- Node457_80.a('node.color', 'rgba(224,224,224,1)');
- Node457_80.a('node.fillrect', [0,0,0,0]);
- Node457_80.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_80.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_80.a('node.fillgradient', '');
- if (Node457_80type !== 'rect') {
- Node457_80.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_80.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_80.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_80type === 'arc') {
- Node457_80.a('node.arcOval', true);
- }
- Node457_80.setRotation(0*Math.PI/180);
- Node457_80.borderWidth = Node457_80BorderWidth;
- Node457_80.borderFillwidth = Node457_80BorderWidth;
- dataModel.add(Node457_80);
- Node457_80._nodename = 'Node457_80'
- Node457_80._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_80,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_80, Node457_80.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_81 = new ht.Node();
- var Node457_81textStart, Node457_81textWidth, Node457_81lineStart, Node457_81align = 'center', Node457_81fontSize = 14.66663*_ratio.ratioY,Node457_81width = 59*_ratio.ratioX, Node457_81height = 26*_ratio.ratioY;
- (function () {
- if (Node457_81align === 'left') {
- Node457_81textStart = Node457_81fontSize * 0.2 > 2 ? Node457_81fontSize * 0.2 - 4 : Node457_81fontSize * 0.2 - 9;
- Node457_81textWidth = Node457_81width;
- Node457_81lineStart = 1;
- } else if (Node457_81align === 'right') {
- Node457_81textStart = 0;
- Node457_81textWidth =Node457_81fontSize <= 8 ? Node457_81width + Node457_81fontSize * 0.2 + 6 : Node457_81width - Node457_81fontSize * 0.2;
- Node457_81lineStart = (Node457_81width - (ht.Default.getTextSize('0', ' '+ Node457_81fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_81align === 'center') {
- Node457_81textStart = -3;
- Node457_81textWidth = Node457_81width;
- Node457_81lineStart = Node457_81width - ht.Default.getTextSize('0', ' '+ Node457_81fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_81.setImage(GD.getTextJSON(Node457_81width, Node457_81height, true, false, false, ' '+ Node457_81fontSize + 'px "Arial"'))
- Node457_81.setPosition(918*ratio.ratioX, 51*ratio.ratioY);
- Node457_81.setWidth(Node457_81width);
- Node457_81.setHeight(Node457_81height);
- Node457_81._nodeType = 'text';
- Node457_81._disallowEvert = true;
- Node457_81.setRotation(0*Math.PI/180);
- Node457_81.a('node.width', Node457_81width);
- Node457_81.a('node.height', Node457_81height);
- Node457_81.a('node.rect', [0, 0, Node457_81width, Node457_81height]);
- Node457_81.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_81.a('node.borderwidth', 0);
- Node457_81.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_81.a('node.gradient','');
- Node457_81.a('node.gradientcolor','');
- Node457_81.a('node.text','0');
- Node457_81.a('node.textalign','center');
- Node457_81.a('node.textvAlign','middle');
- Node457_81.a('node.textrect', [Node457_81textStart, 0, Node457_81textWidth, Node457_81height]);
- Node457_81.a('node.color','rgba(0,0,0,1)');
- Node457_81.a('node.font',' '+ Node457_81fontSize + 'px "Arial"');
- Node457_81.a('node.textvisible',true);
- Node457_81.a('node.linefeed',false);
- if (false) {
- Node457_81.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_81.a('node.text') || '0';
- var color=Node457_81.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_81width,Node457_81height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_81fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_81.a('node.underlinepoints',[Node457_81lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_81fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_81fontSize + 'px "Arial"').width + 6, (Node457_81height - Node457_81fontSize) * 0.5*_ratio.ratioY + Node457_81fontSize + 2 ]);
- Node457_81.a('node.underlinevisible',false);
- Node457_81.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_81);
- zoomNodeList.push({
- node: Node457_81,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_82 = new ht.Node();
- var Node457_82textStart, Node457_82textWidth, Node457_82lineStart, Node457_82align = 'center', Node457_82fontSize = 14.66663*_ratio.ratioY,Node457_82width = 59*_ratio.ratioX, Node457_82height = 26*_ratio.ratioY;
- (function () {
- if (Node457_82align === 'left') {
- Node457_82textStart = Node457_82fontSize * 0.2 > 2 ? Node457_82fontSize * 0.2 - 4 : Node457_82fontSize * 0.2 - 9;
- Node457_82textWidth = Node457_82width;
- Node457_82lineStart = 1;
- } else if (Node457_82align === 'right') {
- Node457_82textStart = 0;
- Node457_82textWidth =Node457_82fontSize <= 8 ? Node457_82width + Node457_82fontSize * 0.2 + 6 : Node457_82width - Node457_82fontSize * 0.2;
- Node457_82lineStart = (Node457_82width - (ht.Default.getTextSize('0', ' '+ Node457_82fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_82align === 'center') {
- Node457_82textStart = -3;
- Node457_82textWidth = Node457_82width;
- Node457_82lineStart = Node457_82width - ht.Default.getTextSize('0', ' '+ Node457_82fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_82.setImage(GD.getTextJSON(Node457_82width, Node457_82height, true, false, false, ' '+ Node457_82fontSize + 'px "Arial"'))
- Node457_82.setPosition(918*ratio.ratioX, 75*ratio.ratioY);
- Node457_82.setWidth(Node457_82width);
- Node457_82.setHeight(Node457_82height);
- Node457_82._nodeType = 'text';
- Node457_82._disallowEvert = true;
- Node457_82.setRotation(0*Math.PI/180);
- Node457_82.a('node.width', Node457_82width);
- Node457_82.a('node.height', Node457_82height);
- Node457_82.a('node.rect', [0, 0, Node457_82width, Node457_82height]);
- Node457_82.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_82.a('node.borderwidth', 0);
- Node457_82.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_82.a('node.gradient','');
- Node457_82.a('node.gradientcolor','');
- Node457_82.a('node.text','0');
- Node457_82.a('node.textalign','center');
- Node457_82.a('node.textvAlign','middle');
- Node457_82.a('node.textrect', [Node457_82textStart, 0, Node457_82textWidth, Node457_82height]);
- Node457_82.a('node.color','rgba(0,0,0,1)');
- Node457_82.a('node.font',' '+ Node457_82fontSize + 'px "Arial"');
- Node457_82.a('node.textvisible',true);
- Node457_82.a('node.linefeed',false);
- if (false) {
- Node457_82.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_82.a('node.text') || '0';
- var color=Node457_82.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_82width,Node457_82height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_82fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_82.a('node.underlinepoints',[Node457_82lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_82fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_82fontSize + 'px "Arial"').width + 6, (Node457_82height - Node457_82fontSize) * 0.5*_ratio.ratioY + Node457_82fontSize + 2 ]);
- Node457_82.a('node.underlinevisible',false);
- Node457_82.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_82);
- zoomNodeList.push({
- node: Node457_82,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_83 = new ht.Node();
- var Node457_83textStart, Node457_83textWidth, Node457_83lineStart, Node457_83align = 'center', Node457_83fontSize = 14.66663*_ratio.ratioY,Node457_83width = 59*_ratio.ratioX, Node457_83height = 26*_ratio.ratioY;
- (function () {
- if (Node457_83align === 'left') {
- Node457_83textStart = Node457_83fontSize * 0.2 > 2 ? Node457_83fontSize * 0.2 - 4 : Node457_83fontSize * 0.2 - 9;
- Node457_83textWidth = Node457_83width;
- Node457_83lineStart = 1;
- } else if (Node457_83align === 'right') {
- Node457_83textStart = 0;
- Node457_83textWidth =Node457_83fontSize <= 8 ? Node457_83width + Node457_83fontSize * 0.2 + 6 : Node457_83width - Node457_83fontSize * 0.2;
- Node457_83lineStart = (Node457_83width - (ht.Default.getTextSize('0', ' '+ Node457_83fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_83align === 'center') {
- Node457_83textStart = -3;
- Node457_83textWidth = Node457_83width;
- Node457_83lineStart = Node457_83width - ht.Default.getTextSize('0', ' '+ Node457_83fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_83.setImage(GD.getTextJSON(Node457_83width, Node457_83height, true, false, false, ' '+ Node457_83fontSize + 'px "Arial"'))
- Node457_83.setPosition(918*ratio.ratioX, 100*ratio.ratioY);
- Node457_83.setWidth(Node457_83width);
- Node457_83.setHeight(Node457_83height);
- Node457_83._nodeType = 'text';
- Node457_83._disallowEvert = true;
- Node457_83.setRotation(0*Math.PI/180);
- Node457_83.a('node.width', Node457_83width);
- Node457_83.a('node.height', Node457_83height);
- Node457_83.a('node.rect', [0, 0, Node457_83width, Node457_83height]);
- Node457_83.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_83.a('node.borderwidth', 0);
- Node457_83.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_83.a('node.gradient','');
- Node457_83.a('node.gradientcolor','');
- Node457_83.a('node.text','0');
- Node457_83.a('node.textalign','center');
- Node457_83.a('node.textvAlign','middle');
- Node457_83.a('node.textrect', [Node457_83textStart, 0, Node457_83textWidth, Node457_83height]);
- Node457_83.a('node.color','rgba(0,0,0,1)');
- Node457_83.a('node.font',' '+ Node457_83fontSize + 'px "Arial"');
- Node457_83.a('node.textvisible',true);
- Node457_83.a('node.linefeed',false);
- if (false) {
- Node457_83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_83.a('node.text') || '0';
- var color=Node457_83.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_83width,Node457_83height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_83fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_83.a('node.underlinepoints',[Node457_83lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_83fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_83fontSize + 'px "Arial"').width + 6, (Node457_83height - Node457_83fontSize) * 0.5*_ratio.ratioY + Node457_83fontSize + 2 ]);
- Node457_83.a('node.underlinevisible',false);
- Node457_83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_83);
- zoomNodeList.push({
- node: Node457_83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_84 = new ht.Node();
- var Node457_84textStart, Node457_84textWidth, Node457_84lineStart, Node457_84align = 'center', Node457_84fontSize = 14.66663*_ratio.ratioY,Node457_84width = 59*_ratio.ratioX, Node457_84height = 26*_ratio.ratioY;
- (function () {
- if (Node457_84align === 'left') {
- Node457_84textStart = Node457_84fontSize * 0.2 > 2 ? Node457_84fontSize * 0.2 - 4 : Node457_84fontSize * 0.2 - 9;
- Node457_84textWidth = Node457_84width;
- Node457_84lineStart = 1;
- } else if (Node457_84align === 'right') {
- Node457_84textStart = 0;
- Node457_84textWidth =Node457_84fontSize <= 8 ? Node457_84width + Node457_84fontSize * 0.2 + 6 : Node457_84width - Node457_84fontSize * 0.2;
- Node457_84lineStart = (Node457_84width - (ht.Default.getTextSize('0', ' '+ Node457_84fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_84align === 'center') {
- Node457_84textStart = -3;
- Node457_84textWidth = Node457_84width;
- Node457_84lineStart = Node457_84width - ht.Default.getTextSize('0', ' '+ Node457_84fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_84.setImage(GD.getTextJSON(Node457_84width, Node457_84height, true, false, false, ' '+ Node457_84fontSize + 'px "Arial"'))
- Node457_84.setPosition(918*ratio.ratioX, 123*ratio.ratioY);
- Node457_84.setWidth(Node457_84width);
- Node457_84.setHeight(Node457_84height);
- Node457_84._nodeType = 'text';
- Node457_84._disallowEvert = true;
- Node457_84.setRotation(0*Math.PI/180);
- Node457_84.a('node.width', Node457_84width);
- Node457_84.a('node.height', Node457_84height);
- Node457_84.a('node.rect', [0, 0, Node457_84width, Node457_84height]);
- Node457_84.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_84.a('node.borderwidth', 0);
- Node457_84.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_84.a('node.gradient','');
- Node457_84.a('node.gradientcolor','');
- Node457_84.a('node.text','0');
- Node457_84.a('node.textalign','center');
- Node457_84.a('node.textvAlign','middle');
- Node457_84.a('node.textrect', [Node457_84textStart, 0, Node457_84textWidth, Node457_84height]);
- Node457_84.a('node.color','rgba(0,0,0,1)');
- Node457_84.a('node.font',' '+ Node457_84fontSize + 'px "Arial"');
- Node457_84.a('node.textvisible',true);
- Node457_84.a('node.linefeed',false);
- if (false) {
- Node457_84.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_84.a('node.text') || '0';
- var color=Node457_84.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_84width,Node457_84height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_84fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_84.a('node.underlinepoints',[Node457_84lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_84fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_84fontSize + 'px "Arial"').width + 6, (Node457_84height - Node457_84fontSize) * 0.5*_ratio.ratioY + Node457_84fontSize + 2 ]);
- Node457_84.a('node.underlinevisible',false);
- Node457_84.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_84);
- zoomNodeList.push({
- node: Node457_84,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_85type = 'rect';
- var Node457_85 = new ht.Node(),
- Node457_85BorderWidth = 1*2;
- if (Node457_85type === 'arc') {
- Node457_85BorderWidth *= 1;
- }
- Node457_85.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_85type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_85.setPosition(998*ratio.ratioX, 73*ratio.ratioY);
- Node457_85.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_85.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_85.a('node.width', 65*_ratio.ratioX);
- Node457_85.a('node.height', 24.33138*_ratio.ratioY);
- Node457_85.a('node.type', Node457_85type);
- Node457_85.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_85.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_85.a('node.gradientcolor', '');
- Node457_85.a('node.gradient', '');
- Node457_85.a('node.borderwidth', Node457_85BorderWidth);
- Node457_85.a('node.color', 'rgba(224,224,224,1)');
- Node457_85.a('node.fillrect', [0,0,0,0]);
- Node457_85.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_85.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_85.a('node.fillgradient', '');
- if (Node457_85type !== 'rect') {
- Node457_85.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_85.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_85.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_85type === 'arc') {
- Node457_85.a('node.arcOval', true);
- }
- Node457_85.setRotation(0*Math.PI/180);
- Node457_85.borderWidth = Node457_85BorderWidth;
- Node457_85.borderFillwidth = Node457_85BorderWidth;
- dataModel.add(Node457_85);
- Node457_85._nodename = 'Node457_85'
- Node457_85._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_85,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_85, Node457_85.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_86type = 'rect';
- var Node457_86 = new ht.Node(),
- Node457_86BorderWidth = 1*2;
- if (Node457_86type === 'arc') {
- Node457_86BorderWidth *= 1;
- }
- Node457_86.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_86type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_86.setPosition(998*ratio.ratioX, 97*ratio.ratioY);
- Node457_86.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_86.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_86.a('node.width', 65*_ratio.ratioX);
- Node457_86.a('node.height', 24.33138*_ratio.ratioY);
- Node457_86.a('node.type', Node457_86type);
- Node457_86.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_86.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_86.a('node.gradientcolor', '');
- Node457_86.a('node.gradient', '');
- Node457_86.a('node.borderwidth', Node457_86BorderWidth);
- Node457_86.a('node.color', 'rgba(224,224,224,1)');
- Node457_86.a('node.fillrect', [0,0,0,0]);
- Node457_86.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_86.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_86.a('node.fillgradient', '');
- if (Node457_86type !== 'rect') {
- Node457_86.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_86.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_86.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_86type === 'arc') {
- Node457_86.a('node.arcOval', true);
- }
- Node457_86.setRotation(0*Math.PI/180);
- Node457_86.borderWidth = Node457_86BorderWidth;
- Node457_86.borderFillwidth = Node457_86BorderWidth;
- dataModel.add(Node457_86);
- Node457_86._nodename = 'Node457_86'
- Node457_86._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_86,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_86, Node457_86.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_87type = 'rect';
- var Node457_87 = new ht.Node(),
- Node457_87BorderWidth = 1*2;
- if (Node457_87type === 'arc') {
- Node457_87BorderWidth *= 1;
- }
- Node457_87.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_87.setPosition(998*ratio.ratioX, 122*ratio.ratioY);
- Node457_87.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_87.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_87.a('node.width', 65*_ratio.ratioX);
- Node457_87.a('node.height', 24.33136*_ratio.ratioY);
- Node457_87.a('node.type', Node457_87type);
- Node457_87.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_87.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_87.a('node.gradientcolor', '');
- Node457_87.a('node.gradient', '');
- Node457_87.a('node.borderwidth', Node457_87BorderWidth);
- Node457_87.a('node.color', 'rgba(224,224,224,1)');
- Node457_87.a('node.fillrect', [0,0,0,0]);
- Node457_87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_87.a('node.fillgradient', '');
- if (Node457_87type !== 'rect') {
- Node457_87.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_87.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_87type === 'arc') {
- Node457_87.a('node.arcOval', true);
- }
- Node457_87.setRotation(0*Math.PI/180);
- Node457_87.borderWidth = Node457_87BorderWidth;
- Node457_87.borderFillwidth = Node457_87BorderWidth;
- dataModel.add(Node457_87);
- Node457_87._nodename = 'Node457_87'
- Node457_87._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_87,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_87, Node457_87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_88type = 'rect';
- var Node457_88 = new ht.Node(),
- Node457_88BorderWidth = 1*2;
- if (Node457_88type === 'arc') {
- Node457_88BorderWidth *= 1;
- }
- Node457_88.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_88type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_88.setPosition(998*ratio.ratioX, 146*ratio.ratioY);
- Node457_88.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_88.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_88.a('node.width', 65*_ratio.ratioX);
- Node457_88.a('node.height', 24.33138*_ratio.ratioY);
- Node457_88.a('node.type', Node457_88type);
- Node457_88.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_88.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_88.a('node.gradientcolor', '');
- Node457_88.a('node.gradient', '');
- Node457_88.a('node.borderwidth', Node457_88BorderWidth);
- Node457_88.a('node.color', 'rgba(224,224,224,1)');
- Node457_88.a('node.fillrect', [0,0,0,0]);
- Node457_88.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_88.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_88.a('node.fillgradient', '');
- if (Node457_88type !== 'rect') {
- Node457_88.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_88.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_88.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_88type === 'arc') {
- Node457_88.a('node.arcOval', true);
- }
- Node457_88.setRotation(0*Math.PI/180);
- Node457_88.borderWidth = Node457_88BorderWidth;
- Node457_88.borderFillwidth = Node457_88BorderWidth;
- dataModel.add(Node457_88);
- Node457_88._nodename = 'Node457_88'
- Node457_88._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_88,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_88, Node457_88.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_89 = new ht.Node();
- var Node457_89textStart, Node457_89textWidth, Node457_89lineStart, Node457_89align = 'center', Node457_89fontSize = 13.3333*_ratio.ratioY,Node457_89width = 59*_ratio.ratioX, Node457_89height = 26*_ratio.ratioY;
- (function () {
- if (Node457_89align === 'left') {
- Node457_89textStart = Node457_89fontSize * 0.2 > 2 ? Node457_89fontSize * 0.2 - 4 : Node457_89fontSize * 0.2 - 9;
- Node457_89textWidth = Node457_89width;
- Node457_89lineStart = 1;
- } else if (Node457_89align === 'right') {
- Node457_89textStart = 0;
- Node457_89textWidth =Node457_89fontSize <= 8 ? Node457_89width + Node457_89fontSize * 0.2 + 6 : Node457_89width - Node457_89fontSize * 0.2;
- Node457_89lineStart = (Node457_89width - (ht.Default.getTextSize('万kWh', ' '+ Node457_89fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_89align === 'center') {
- Node457_89textStart = -3;
- Node457_89textWidth = Node457_89width;
- Node457_89lineStart = Node457_89width - ht.Default.getTextSize('万kWh', ' '+ Node457_89fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_89.setImage(GD.getTextJSON(Node457_89width, Node457_89height, true, false, false, ' '+ Node457_89fontSize + 'px "Arial"'))
- Node457_89.setPosition(999*ratio.ratioX, 51*ratio.ratioY);
- Node457_89.setWidth(Node457_89width);
- Node457_89.setHeight(Node457_89height);
- Node457_89._nodeType = 'text';
- Node457_89._disallowEvert = true;
- Node457_89.setRotation(0*Math.PI/180);
- Node457_89.a('node.width', Node457_89width);
- Node457_89.a('node.height', Node457_89height);
- Node457_89.a('node.rect', [0, 0, Node457_89width, Node457_89height]);
- Node457_89.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_89.a('node.borderwidth', 0);
- Node457_89.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_89.a('node.gradient','');
- Node457_89.a('node.gradientcolor','');
- Node457_89.a('node.text','万kWh');
- Node457_89.a('node.textalign','center');
- Node457_89.a('node.textvAlign','middle');
- Node457_89.a('node.textrect', [Node457_89textStart, 0, Node457_89textWidth, Node457_89height]);
- Node457_89.a('node.color','rgba(128,128,128,1)');
- Node457_89.a('node.font',' '+ Node457_89fontSize + 'px "Arial"');
- Node457_89.a('node.textvisible',true);
- Node457_89.a('node.linefeed',false);
- if (false) {
- Node457_89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_89.a('node.text') || '万kWh';
- var color=Node457_89.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_89width,Node457_89height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_89fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_89.a('node.underlinepoints',[Node457_89lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_89fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_89fontSize + 'px "Arial"').width + 6, (Node457_89height - Node457_89fontSize) * 0.5*_ratio.ratioY + Node457_89fontSize + 2 ]);
- Node457_89.a('node.underlinevisible',false);
- Node457_89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_89);
- zoomNodeList.push({
- node: Node457_89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_90 = new ht.Node();
- var Node457_90textStart, Node457_90textWidth, Node457_90lineStart, Node457_90align = 'center', Node457_90fontSize = 13.3333*_ratio.ratioY,Node457_90width = 59*_ratio.ratioX, Node457_90height = 26*_ratio.ratioY;
- (function () {
- if (Node457_90align === 'left') {
- Node457_90textStart = Node457_90fontSize * 0.2 > 2 ? Node457_90fontSize * 0.2 - 4 : Node457_90fontSize * 0.2 - 9;
- Node457_90textWidth = Node457_90width;
- Node457_90lineStart = 1;
- } else if (Node457_90align === 'right') {
- Node457_90textStart = 0;
- Node457_90textWidth =Node457_90fontSize <= 8 ? Node457_90width + Node457_90fontSize * 0.2 + 6 : Node457_90width - Node457_90fontSize * 0.2;
- Node457_90lineStart = (Node457_90width - (ht.Default.getTextSize('万kWh', ' '+ Node457_90fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_90align === 'center') {
- Node457_90textStart = -3;
- Node457_90textWidth = Node457_90width;
- Node457_90lineStart = Node457_90width - ht.Default.getTextSize('万kWh', ' '+ Node457_90fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_90.setImage(GD.getTextJSON(Node457_90width, Node457_90height, true, false, false, ' '+ Node457_90fontSize + 'px "Arial"'))
- Node457_90.setPosition(999*ratio.ratioX, 75*ratio.ratioY);
- Node457_90.setWidth(Node457_90width);
- Node457_90.setHeight(Node457_90height);
- Node457_90._nodeType = 'text';
- Node457_90._disallowEvert = true;
- Node457_90.setRotation(0*Math.PI/180);
- Node457_90.a('node.width', Node457_90width);
- Node457_90.a('node.height', Node457_90height);
- Node457_90.a('node.rect', [0, 0, Node457_90width, Node457_90height]);
- Node457_90.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_90.a('node.borderwidth', 0);
- Node457_90.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_90.a('node.gradient','');
- Node457_90.a('node.gradientcolor','');
- Node457_90.a('node.text','万kWh');
- Node457_90.a('node.textalign','center');
- Node457_90.a('node.textvAlign','middle');
- Node457_90.a('node.textrect', [Node457_90textStart, 0, Node457_90textWidth, Node457_90height]);
- Node457_90.a('node.color','rgba(128,128,128,1)');
- Node457_90.a('node.font',' '+ Node457_90fontSize + 'px "Arial"');
- Node457_90.a('node.textvisible',true);
- Node457_90.a('node.linefeed',false);
- if (false) {
- Node457_90.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_90.a('node.text') || '万kWh';
- var color=Node457_90.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_90width,Node457_90height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_90fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_90.a('node.underlinepoints',[Node457_90lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_90fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_90fontSize + 'px "Arial"').width + 6, (Node457_90height - Node457_90fontSize) * 0.5*_ratio.ratioY + Node457_90fontSize + 2 ]);
- Node457_90.a('node.underlinevisible',false);
- Node457_90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_90);
- zoomNodeList.push({
- node: Node457_90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_91 = new ht.Node();
- var Node457_91textStart, Node457_91textWidth, Node457_91lineStart, Node457_91align = 'center', Node457_91fontSize = 13.3333*_ratio.ratioY,Node457_91width = 59*_ratio.ratioX, Node457_91height = 26*_ratio.ratioY;
- (function () {
- if (Node457_91align === 'left') {
- Node457_91textStart = Node457_91fontSize * 0.2 > 2 ? Node457_91fontSize * 0.2 - 4 : Node457_91fontSize * 0.2 - 9;
- Node457_91textWidth = Node457_91width;
- Node457_91lineStart = 1;
- } else if (Node457_91align === 'right') {
- Node457_91textStart = 0;
- Node457_91textWidth =Node457_91fontSize <= 8 ? Node457_91width + Node457_91fontSize * 0.2 + 6 : Node457_91width - Node457_91fontSize * 0.2;
- Node457_91lineStart = (Node457_91width - (ht.Default.getTextSize('万kWh', ' '+ Node457_91fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_91align === 'center') {
- Node457_91textStart = -3;
- Node457_91textWidth = Node457_91width;
- Node457_91lineStart = Node457_91width - ht.Default.getTextSize('万kWh', ' '+ Node457_91fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_91.setImage(GD.getTextJSON(Node457_91width, Node457_91height, true, false, false, ' '+ Node457_91fontSize + 'px "Arial"'))
- Node457_91.setPosition(999*ratio.ratioX, 98*ratio.ratioY);
- Node457_91.setWidth(Node457_91width);
- Node457_91.setHeight(Node457_91height);
- Node457_91._nodeType = 'text';
- Node457_91._disallowEvert = true;
- Node457_91.setRotation(0*Math.PI/180);
- Node457_91.a('node.width', Node457_91width);
- Node457_91.a('node.height', Node457_91height);
- Node457_91.a('node.rect', [0, 0, Node457_91width, Node457_91height]);
- Node457_91.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_91.a('node.borderwidth', 0);
- Node457_91.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_91.a('node.gradient','');
- Node457_91.a('node.gradientcolor','');
- Node457_91.a('node.text','万kWh');
- Node457_91.a('node.textalign','center');
- Node457_91.a('node.textvAlign','middle');
- Node457_91.a('node.textrect', [Node457_91textStart, 0, Node457_91textWidth, Node457_91height]);
- Node457_91.a('node.color','rgba(128,128,128,1)');
- Node457_91.a('node.font',' '+ Node457_91fontSize + 'px "Arial"');
- Node457_91.a('node.textvisible',true);
- Node457_91.a('node.linefeed',false);
- if (false) {
- Node457_91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_91.a('node.text') || '万kWh';
- var color=Node457_91.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_91width,Node457_91height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_91fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_91.a('node.underlinepoints',[Node457_91lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_91fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_91fontSize + 'px "Arial"').width + 6, (Node457_91height - Node457_91fontSize) * 0.5*_ratio.ratioY + Node457_91fontSize + 2 ]);
- Node457_91.a('node.underlinevisible',false);
- Node457_91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_91);
- zoomNodeList.push({
- node: Node457_91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_92 = new ht.Node();
- var Node457_92textStart, Node457_92textWidth, Node457_92lineStart, Node457_92align = 'center', Node457_92fontSize = 13.3333*_ratio.ratioY,Node457_92width = 59*_ratio.ratioX, Node457_92height = 26*_ratio.ratioY;
- (function () {
- if (Node457_92align === 'left') {
- Node457_92textStart = Node457_92fontSize * 0.2 > 2 ? Node457_92fontSize * 0.2 - 4 : Node457_92fontSize * 0.2 - 9;
- Node457_92textWidth = Node457_92width;
- Node457_92lineStart = 1;
- } else if (Node457_92align === 'right') {
- Node457_92textStart = 0;
- Node457_92textWidth =Node457_92fontSize <= 8 ? Node457_92width + Node457_92fontSize * 0.2 + 6 : Node457_92width - Node457_92fontSize * 0.2;
- Node457_92lineStart = (Node457_92width - (ht.Default.getTextSize('万kWh', ' '+ Node457_92fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_92align === 'center') {
- Node457_92textStart = -3;
- Node457_92textWidth = Node457_92width;
- Node457_92lineStart = Node457_92width - ht.Default.getTextSize('万kWh', ' '+ Node457_92fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_92.setImage(GD.getTextJSON(Node457_92width, Node457_92height, true, false, false, ' '+ Node457_92fontSize + 'px "Arial"'))
- Node457_92.setPosition(999*ratio.ratioX, 124*ratio.ratioY);
- Node457_92.setWidth(Node457_92width);
- Node457_92.setHeight(Node457_92height);
- Node457_92._nodeType = 'text';
- Node457_92._disallowEvert = true;
- Node457_92.setRotation(0*Math.PI/180);
- Node457_92.a('node.width', Node457_92width);
- Node457_92.a('node.height', Node457_92height);
- Node457_92.a('node.rect', [0, 0, Node457_92width, Node457_92height]);
- Node457_92.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_92.a('node.borderwidth', 0);
- Node457_92.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_92.a('node.gradient','');
- Node457_92.a('node.gradientcolor','');
- Node457_92.a('node.text','万kWh');
- Node457_92.a('node.textalign','center');
- Node457_92.a('node.textvAlign','middle');
- Node457_92.a('node.textrect', [Node457_92textStart, 0, Node457_92textWidth, Node457_92height]);
- Node457_92.a('node.color','rgba(128,128,128,1)');
- Node457_92.a('node.font',' '+ Node457_92fontSize + 'px "Arial"');
- Node457_92.a('node.textvisible',true);
- Node457_92.a('node.linefeed',false);
- if (false) {
- Node457_92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_92.a('node.text') || '万kWh';
- var color=Node457_92.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_92width,Node457_92height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_92fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_92.a('node.underlinepoints',[Node457_92lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_92fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_92fontSize + 'px "Arial"').width + 6, (Node457_92height - Node457_92fontSize) * 0.5*_ratio.ratioY + Node457_92fontSize + 2 ]);
- Node457_92.a('node.underlinevisible',false);
- Node457_92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_92);
- zoomNodeList.push({
- node: Node457_92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_93type = 'rect';
- var Node457_93 = new ht.Node(),
- Node457_93BorderWidth = 1*2;
- if (Node457_93type === 'arc') {
- Node457_93BorderWidth *= 1;
- }
- Node457_93.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_93type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_93.setPosition(1092*ratio.ratioX, 97*ratio.ratioY);
- Node457_93.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_93.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_93.a('node.width', 117*_ratio.ratioX);
- Node457_93.a('node.height', 24.33138*_ratio.ratioY);
- Node457_93.a('node.type', Node457_93type);
- Node457_93.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_93.a('node.background', 'rgba(240,240,240,1)');
- Node457_93.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_93.a('node.gradient', '');
- Node457_93.a('node.borderwidth', Node457_93BorderWidth);
- Node457_93.a('node.color', 'rgba(224,224,224,1)');
- Node457_93.a('node.fillrect', [0,0,0,0]);
- Node457_93.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_93.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_93.a('node.fillgradient', '');
- if (Node457_93type !== 'rect') {
- Node457_93.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_93.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_93.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_93type === 'arc') {
- Node457_93.a('node.arcOval', true);
- }
- Node457_93.setRotation(0*Math.PI/180);
- Node457_93.borderWidth = Node457_93BorderWidth;
- Node457_93.borderFillwidth = Node457_93BorderWidth;
- dataModel.add(Node457_93);
- Node457_93._nodename = 'Node457_93'
- Node457_93._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_93,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_93, Node457_93.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_94type = 'rect';
- var Node457_94 = new ht.Node(),
- Node457_94BorderWidth = 1*2;
- if (Node457_94type === 'arc') {
- Node457_94BorderWidth *= 1;
- }
- Node457_94.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_94type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_94.setPosition(1092*ratio.ratioX, 73*ratio.ratioY);
- Node457_94.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_94.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_94.a('node.width', 117*_ratio.ratioX);
- Node457_94.a('node.height', 24.33138*_ratio.ratioY);
- Node457_94.a('node.type', Node457_94type);
- Node457_94.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_94.a('node.background', 'rgba(240,240,240,1)');
- Node457_94.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_94.a('node.gradient', '');
- Node457_94.a('node.borderwidth', Node457_94BorderWidth);
- Node457_94.a('node.color', 'rgba(224,224,224,1)');
- Node457_94.a('node.fillrect', [0,0,0,0]);
- Node457_94.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_94.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_94.a('node.fillgradient', '');
- if (Node457_94type !== 'rect') {
- Node457_94.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_94.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_94.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_94type === 'arc') {
- Node457_94.a('node.arcOval', true);
- }
- Node457_94.setRotation(0*Math.PI/180);
- Node457_94.borderWidth = Node457_94BorderWidth;
- Node457_94.borderFillwidth = Node457_94BorderWidth;
- dataModel.add(Node457_94);
- Node457_94._nodename = 'Node457_94'
- Node457_94._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_94,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_94, Node457_94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_95type = 'rect';
- var Node457_95 = new ht.Node(),
- Node457_95BorderWidth = 1*2;
- if (Node457_95type === 'arc') {
- Node457_95BorderWidth *= 1;
- }
- Node457_95.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_95.setPosition(1092*ratio.ratioX, 122*ratio.ratioY);
- Node457_95.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_95.a('node.width', 117*_ratio.ratioX);
- Node457_95.a('node.height', 24.33136*_ratio.ratioY);
- Node457_95.a('node.type', Node457_95type);
- Node457_95.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_95.a('node.background', 'rgba(240,240,240,1)');
- Node457_95.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_95.a('node.gradient', '');
- Node457_95.a('node.borderwidth', Node457_95BorderWidth);
- Node457_95.a('node.color', 'rgba(224,224,224,1)');
- Node457_95.a('node.fillrect', [0,0,0,0]);
- Node457_95.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_95.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_95.a('node.fillgradient', '');
- if (Node457_95type !== 'rect') {
- Node457_95.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_95.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_95.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_95type === 'arc') {
- Node457_95.a('node.arcOval', true);
- }
- Node457_95.setRotation(0*Math.PI/180);
- Node457_95.borderWidth = Node457_95BorderWidth;
- Node457_95.borderFillwidth = Node457_95BorderWidth;
- dataModel.add(Node457_95);
- Node457_95._nodename = 'Node457_95'
- Node457_95._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_95,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_95, Node457_95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_96type = 'rect';
- var Node457_96 = new ht.Node(),
- Node457_96BorderWidth = 1*2;
- if (Node457_96type === 'arc') {
- Node457_96BorderWidth *= 1;
- }
- Node457_96.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_96type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_96.setPosition(1092*ratio.ratioX, 49*ratio.ratioY);
- Node457_96.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_96.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_96.a('node.width', 117*_ratio.ratioX);
- Node457_96.a('node.height', 24.33136*_ratio.ratioY);
- Node457_96.a('node.type', Node457_96type);
- Node457_96.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_96.a('node.background', 'rgba(240,240,240,1)');
- Node457_96.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_96.a('node.gradient', '');
- Node457_96.a('node.borderwidth', Node457_96BorderWidth);
- Node457_96.a('node.color', 'rgba(224,224,224,1)');
- Node457_96.a('node.fillrect', [0,0,0,0]);
- Node457_96.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_96.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_96.a('node.fillgradient', '');
- if (Node457_96type !== 'rect') {
- Node457_96.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_96.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_96.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_96type === 'arc') {
- Node457_96.a('node.arcOval', true);
- }
- Node457_96.setRotation(0*Math.PI/180);
- Node457_96.borderWidth = Node457_96BorderWidth;
- Node457_96.borderFillwidth = Node457_96BorderWidth;
- dataModel.add(Node457_96);
- Node457_96._nodename = 'Node457_96'
- Node457_96._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_96,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_96, Node457_96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_97type = 'rect';
- var Node457_97 = new ht.Node(),
- Node457_97BorderWidth = 1*2;
- if (Node457_97type === 'arc') {
- Node457_97BorderWidth *= 1;
- }
- Node457_97.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_97.setPosition(1092*ratio.ratioX, 146*ratio.ratioY);
- Node457_97.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_97.a('node.width', 117*_ratio.ratioX);
- Node457_97.a('node.height', 24.33138*_ratio.ratioY);
- Node457_97.a('node.type', Node457_97type);
- Node457_97.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_97.a('node.background', 'rgba(240,240,240,1)');
- Node457_97.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node457_97.a('node.gradient', '');
- Node457_97.a('node.borderwidth', Node457_97BorderWidth);
- Node457_97.a('node.color', 'rgba(224,224,224,1)');
- Node457_97.a('node.fillrect', [0,0,0,0]);
- Node457_97.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_97.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_97.a('node.fillgradient', '');
- if (Node457_97type !== 'rect') {
- Node457_97.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_97.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_97.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_97type === 'arc') {
- Node457_97.a('node.arcOval', true);
- }
- Node457_97.setRotation(0*Math.PI/180);
- Node457_97.borderWidth = Node457_97BorderWidth;
- Node457_97.borderFillwidth = Node457_97BorderWidth;
- dataModel.add(Node457_97);
- Node457_97._nodename = 'Node457_97'
- Node457_97._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_97,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_97, Node457_97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_98 = new ht.Node();
- var Node457_98textStart, Node457_98textWidth, Node457_98lineStart, Node457_98align = 'center', Node457_98fontSize = 13.3333*_ratio.ratioY,Node457_98width = 110*_ratio.ratioX, Node457_98height = 26*_ratio.ratioY;
- (function () {
- if (Node457_98align === 'left') {
- Node457_98textStart = Node457_98fontSize * 0.2 > 2 ? Node457_98fontSize * 0.2 - 4 : Node457_98fontSize * 0.2 - 9;
- Node457_98textWidth = Node457_98width;
- Node457_98lineStart = 1;
- } else if (Node457_98align === 'right') {
- Node457_98textStart = 0;
- Node457_98textWidth =Node457_98fontSize <= 8 ? Node457_98width + Node457_98fontSize * 0.2 + 6 : Node457_98width - Node457_98fontSize * 0.2;
- Node457_98lineStart = (Node457_98width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node457_98fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_98align === 'center') {
- Node457_98textStart = -3;
- Node457_98textWidth = Node457_98width;
- Node457_98lineStart = Node457_98width - ht.Default.getTextSize('年维护损失电量', ' '+ Node457_98fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_98.setImage(GD.getTextJSON(Node457_98width, Node457_98height, true, false, false, ' '+ Node457_98fontSize + 'px "微软雅黑"'))
- Node457_98.setPosition(1092*ratio.ratioX, 51*ratio.ratioY);
- Node457_98.setWidth(Node457_98width);
- Node457_98.setHeight(Node457_98height);
- Node457_98._nodeType = 'text';
- Node457_98._disallowEvert = true;
- Node457_98.setRotation(0*Math.PI/180);
- Node457_98.a('node.width', Node457_98width);
- Node457_98.a('node.height', Node457_98height);
- Node457_98.a('node.rect', [0, 0, Node457_98width, Node457_98height]);
- Node457_98.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_98.a('node.borderwidth', 0);
- Node457_98.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_98.a('node.gradient','');
- Node457_98.a('node.gradientcolor','');
- Node457_98.a('node.text','年维护损失电量');
- Node457_98.a('node.textalign','center');
- Node457_98.a('node.textvAlign','middle');
- Node457_98.a('node.textrect', [Node457_98textStart, 0, Node457_98textWidth, Node457_98height]);
- Node457_98.a('node.color','rgba(0,0,0,1)');
- Node457_98.a('node.font',' '+ Node457_98fontSize + 'px "微软雅黑"');
- Node457_98.a('node.textvisible',true);
- Node457_98.a('node.linefeed',false);
- if (false) {
- Node457_98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_98.a('node.text') || '年维护损失电量';
- var color=Node457_98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_98width,Node457_98height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_98fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_98.a('node.underlinepoints',[Node457_98lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_98fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node457_98fontSize + 'px "微软雅黑"').width + 6, (Node457_98height - Node457_98fontSize) * 0.5*_ratio.ratioY + Node457_98fontSize + 2 ]);
- Node457_98.a('node.underlinevisible',false);
- Node457_98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_98);
- zoomNodeList.push({
- node: Node457_98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_99 = new ht.Node();
- var Node457_99textStart, Node457_99textWidth, Node457_99lineStart, Node457_99align = 'center', Node457_99fontSize = 13.3333*_ratio.ratioY,Node457_99width = 110*_ratio.ratioX, Node457_99height = 26*_ratio.ratioY;
- (function () {
- if (Node457_99align === 'left') {
- Node457_99textStart = Node457_99fontSize * 0.2 > 2 ? Node457_99fontSize * 0.2 - 4 : Node457_99fontSize * 0.2 - 9;
- Node457_99textWidth = Node457_99width;
- Node457_99lineStart = 1;
- } else if (Node457_99align === 'right') {
- Node457_99textStart = 0;
- Node457_99textWidth =Node457_99fontSize <= 8 ? Node457_99width + Node457_99fontSize * 0.2 + 6 : Node457_99width - Node457_99fontSize * 0.2;
- Node457_99lineStart = (Node457_99width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node457_99fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_99align === 'center') {
- Node457_99textStart = -3;
- Node457_99textWidth = Node457_99width;
- Node457_99lineStart = Node457_99width - ht.Default.getTextSize('年故障损失电量', ' '+ Node457_99fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_99.setImage(GD.getTextJSON(Node457_99width, Node457_99height, true, false, false, ' '+ Node457_99fontSize + 'px "微软雅黑"'))
- Node457_99.setPosition(1092*ratio.ratioX, 74*ratio.ratioY);
- Node457_99.setWidth(Node457_99width);
- Node457_99.setHeight(Node457_99height);
- Node457_99._nodeType = 'text';
- Node457_99._disallowEvert = true;
- Node457_99.setRotation(0*Math.PI/180);
- Node457_99.a('node.width', Node457_99width);
- Node457_99.a('node.height', Node457_99height);
- Node457_99.a('node.rect', [0, 0, Node457_99width, Node457_99height]);
- Node457_99.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_99.a('node.borderwidth', 0);
- Node457_99.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_99.a('node.gradient','');
- Node457_99.a('node.gradientcolor','');
- Node457_99.a('node.text','年故障损失电量');
- Node457_99.a('node.textalign','center');
- Node457_99.a('node.textvAlign','middle');
- Node457_99.a('node.textrect', [Node457_99textStart, 0, Node457_99textWidth, Node457_99height]);
- Node457_99.a('node.color','rgba(0,0,0,1)');
- Node457_99.a('node.font',' '+ Node457_99fontSize + 'px "微软雅黑"');
- Node457_99.a('node.textvisible',true);
- Node457_99.a('node.linefeed',false);
- if (false) {
- Node457_99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_99.a('node.text') || '年故障损失电量';
- var color=Node457_99.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_99width,Node457_99height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_99fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_99.a('node.underlinepoints',[Node457_99lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_99fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node457_99fontSize + 'px "微软雅黑"').width + 6, (Node457_99height - Node457_99fontSize) * 0.5*_ratio.ratioY + Node457_99fontSize + 2 ]);
- Node457_99.a('node.underlinevisible',false);
- Node457_99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_99);
- zoomNodeList.push({
- node: Node457_99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_100 = new ht.Node();
- var Node457_100textStart, Node457_100textWidth, Node457_100lineStart, Node457_100align = 'center', Node457_100fontSize = 13.3333*_ratio.ratioY,Node457_100width = 110*_ratio.ratioX, Node457_100height = 26*_ratio.ratioY;
- (function () {
- if (Node457_100align === 'left') {
- Node457_100textStart = Node457_100fontSize * 0.2 > 2 ? Node457_100fontSize * 0.2 - 4 : Node457_100fontSize * 0.2 - 9;
- Node457_100textWidth = Node457_100width;
- Node457_100lineStart = 1;
- } else if (Node457_100align === 'right') {
- Node457_100textStart = 0;
- Node457_100textWidth =Node457_100fontSize <= 8 ? Node457_100width + Node457_100fontSize * 0.2 + 6 : Node457_100width - Node457_100fontSize * 0.2;
- Node457_100lineStart = (Node457_100width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node457_100fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_100align === 'center') {
- Node457_100textStart = -3;
- Node457_100textWidth = Node457_100width;
- Node457_100lineStart = Node457_100width - ht.Default.getTextSize('年限电损失电量', ' '+ Node457_100fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_100.setImage(GD.getTextJSON(Node457_100width, Node457_100height, true, false, false, ' '+ Node457_100fontSize + 'px "微软雅黑"'))
- Node457_100.setPosition(1092*ratio.ratioX, 99*ratio.ratioY);
- Node457_100.setWidth(Node457_100width);
- Node457_100.setHeight(Node457_100height);
- Node457_100._nodeType = 'text';
- Node457_100._disallowEvert = true;
- Node457_100.setRotation(0*Math.PI/180);
- Node457_100.a('node.width', Node457_100width);
- Node457_100.a('node.height', Node457_100height);
- Node457_100.a('node.rect', [0, 0, Node457_100width, Node457_100height]);
- Node457_100.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_100.a('node.borderwidth', 0);
- Node457_100.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_100.a('node.gradient','');
- Node457_100.a('node.gradientcolor','');
- Node457_100.a('node.text','年限电损失电量');
- Node457_100.a('node.textalign','center');
- Node457_100.a('node.textvAlign','middle');
- Node457_100.a('node.textrect', [Node457_100textStart, 0, Node457_100textWidth, Node457_100height]);
- Node457_100.a('node.color','rgba(0,0,0,1)');
- Node457_100.a('node.font',' '+ Node457_100fontSize + 'px "微软雅黑"');
- Node457_100.a('node.textvisible',true);
- Node457_100.a('node.linefeed',false);
- if (false) {
- Node457_100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_100.a('node.text') || '年限电损失电量';
- var color=Node457_100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_100width,Node457_100height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_100fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_100.a('node.underlinepoints',[Node457_100lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_100fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node457_100fontSize + 'px "微软雅黑"').width + 6, (Node457_100height - Node457_100fontSize) * 0.5*_ratio.ratioY + Node457_100fontSize + 2 ]);
- Node457_100.a('node.underlinevisible',false);
- Node457_100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_100);
- zoomNodeList.push({
- node: Node457_100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_101 = new ht.Node();
- var Node457_101textStart, Node457_101textWidth, Node457_101lineStart, Node457_101align = 'center', Node457_101fontSize = 13.3333*_ratio.ratioY,Node457_101width = 110*_ratio.ratioX, Node457_101height = 26*_ratio.ratioY;
- (function () {
- if (Node457_101align === 'left') {
- Node457_101textStart = Node457_101fontSize * 0.2 > 2 ? Node457_101fontSize * 0.2 - 4 : Node457_101fontSize * 0.2 - 9;
- Node457_101textWidth = Node457_101width;
- Node457_101lineStart = 1;
- } else if (Node457_101align === 'right') {
- Node457_101textStart = 0;
- Node457_101textWidth =Node457_101fontSize <= 8 ? Node457_101width + Node457_101fontSize * 0.2 + 6 : Node457_101width - Node457_101fontSize * 0.2;
- Node457_101lineStart = (Node457_101width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node457_101fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_101align === 'center') {
- Node457_101textStart = -3;
- Node457_101textWidth = Node457_101width;
- Node457_101lineStart = Node457_101width - ht.Default.getTextSize('年受累损失电量', ' '+ Node457_101fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_101.setImage(GD.getTextJSON(Node457_101width, Node457_101height, true, false, false, ' '+ Node457_101fontSize + 'px "微软雅黑"'))
- Node457_101.setPosition(1092*ratio.ratioX, 124*ratio.ratioY);
- Node457_101.setWidth(Node457_101width);
- Node457_101.setHeight(Node457_101height);
- Node457_101._nodeType = 'text';
- Node457_101._disallowEvert = true;
- Node457_101.setRotation(0*Math.PI/180);
- Node457_101.a('node.width', Node457_101width);
- Node457_101.a('node.height', Node457_101height);
- Node457_101.a('node.rect', [0, 0, Node457_101width, Node457_101height]);
- Node457_101.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_101.a('node.borderwidth', 0);
- Node457_101.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_101.a('node.gradient','');
- Node457_101.a('node.gradientcolor','');
- Node457_101.a('node.text','年受累损失电量');
- Node457_101.a('node.textalign','center');
- Node457_101.a('node.textvAlign','middle');
- Node457_101.a('node.textrect', [Node457_101textStart, 0, Node457_101textWidth, Node457_101height]);
- Node457_101.a('node.color','rgba(0,0,0,1)');
- Node457_101.a('node.font',' '+ Node457_101fontSize + 'px "微软雅黑"');
- Node457_101.a('node.textvisible',true);
- Node457_101.a('node.linefeed',false);
- if (false) {
- Node457_101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_101.a('node.text') || '年受累损失电量';
- var color=Node457_101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_101width,Node457_101height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_101fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_101.a('node.underlinepoints',[Node457_101lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_101fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node457_101fontSize + 'px "微软雅黑"').width + 6, (Node457_101height - Node457_101fontSize) * 0.5*_ratio.ratioY + Node457_101fontSize + 2 ]);
- Node457_101.a('node.underlinevisible',false);
- Node457_101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_101);
- zoomNodeList.push({
- node: Node457_101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_102type = 'rect';
- var Node457_102 = new ht.Node(),
- Node457_102BorderWidth = 1*2;
- if (Node457_102type === 'arc') {
- Node457_102BorderWidth *= 1;
- }
- Node457_102.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_102type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_102.setPosition(1198*ratio.ratioX, 49*ratio.ratioY);
- Node457_102.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_102.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_102.a('node.width', 95*_ratio.ratioX);
- Node457_102.a('node.height', 24.33136*_ratio.ratioY);
- Node457_102.a('node.type', Node457_102type);
- Node457_102.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_102.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_102.a('node.gradientcolor', '');
- Node457_102.a('node.gradient', '');
- Node457_102.a('node.borderwidth', Node457_102BorderWidth);
- Node457_102.a('node.color', 'rgba(224,224,224,1)');
- Node457_102.a('node.fillrect', [0,0,0,0]);
- Node457_102.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_102.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_102.a('node.fillgradient', '');
- if (Node457_102type !== 'rect') {
- Node457_102.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_102.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_102.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_102type === 'arc') {
- Node457_102.a('node.arcOval', true);
- }
- Node457_102.setRotation(0*Math.PI/180);
- Node457_102.borderWidth = Node457_102BorderWidth;
- Node457_102.borderFillwidth = Node457_102BorderWidth;
- dataModel.add(Node457_102);
- Node457_102._nodename = 'Node457_102'
- Node457_102._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_102,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_102, Node457_102.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_103type = 'rect';
- var Node457_103 = new ht.Node(),
- Node457_103BorderWidth = 1*2;
- if (Node457_103type === 'arc') {
- Node457_103BorderWidth *= 1;
- }
- Node457_103.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_103type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_103.setPosition(1198*ratio.ratioX, 73*ratio.ratioY);
- Node457_103.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_103.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_103.a('node.width', 95*_ratio.ratioX);
- Node457_103.a('node.height', 24.33138*_ratio.ratioY);
- Node457_103.a('node.type', Node457_103type);
- Node457_103.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_103.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_103.a('node.gradientcolor', '');
- Node457_103.a('node.gradient', '');
- Node457_103.a('node.borderwidth', Node457_103BorderWidth);
- Node457_103.a('node.color', 'rgba(224,224,224,1)');
- Node457_103.a('node.fillrect', [0,0,0,0]);
- Node457_103.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_103.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_103.a('node.fillgradient', '');
- if (Node457_103type !== 'rect') {
- Node457_103.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_103.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_103.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_103type === 'arc') {
- Node457_103.a('node.arcOval', true);
- }
- Node457_103.setRotation(0*Math.PI/180);
- Node457_103.borderWidth = Node457_103BorderWidth;
- Node457_103.borderFillwidth = Node457_103BorderWidth;
- dataModel.add(Node457_103);
- Node457_103._nodename = 'Node457_103'
- Node457_103._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_103,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_103, Node457_103.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_104type = 'rect';
- var Node457_104 = new ht.Node(),
- Node457_104BorderWidth = 1*2;
- if (Node457_104type === 'arc') {
- Node457_104BorderWidth *= 1;
- }
- Node457_104.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_104type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_104.setPosition(1198*ratio.ratioX, 97*ratio.ratioY);
- Node457_104.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_104.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_104.a('node.width', 95*_ratio.ratioX);
- Node457_104.a('node.height', 24.33138*_ratio.ratioY);
- Node457_104.a('node.type', Node457_104type);
- Node457_104.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_104.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_104.a('node.gradientcolor', '');
- Node457_104.a('node.gradient', '');
- Node457_104.a('node.borderwidth', Node457_104BorderWidth);
- Node457_104.a('node.color', 'rgba(224,224,224,1)');
- Node457_104.a('node.fillrect', [0,0,0,0]);
- Node457_104.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_104.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_104.a('node.fillgradient', '');
- if (Node457_104type !== 'rect') {
- Node457_104.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_104.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_104.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_104type === 'arc') {
- Node457_104.a('node.arcOval', true);
- }
- Node457_104.setRotation(0*Math.PI/180);
- Node457_104.borderWidth = Node457_104BorderWidth;
- Node457_104.borderFillwidth = Node457_104BorderWidth;
- dataModel.add(Node457_104);
- Node457_104._nodename = 'Node457_104'
- Node457_104._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_104,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_104, Node457_104.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_105type = 'rect';
- var Node457_105 = new ht.Node(),
- Node457_105BorderWidth = 1*2;
- if (Node457_105type === 'arc') {
- Node457_105BorderWidth *= 1;
- }
- Node457_105.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_105type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_105.setPosition(1198*ratio.ratioX, 122*ratio.ratioY);
- Node457_105.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_105.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_105.a('node.width', 95*_ratio.ratioX);
- Node457_105.a('node.height', 24.33136*_ratio.ratioY);
- Node457_105.a('node.type', Node457_105type);
- Node457_105.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_105.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_105.a('node.gradientcolor', '');
- Node457_105.a('node.gradient', '');
- Node457_105.a('node.borderwidth', Node457_105BorderWidth);
- Node457_105.a('node.color', 'rgba(224,224,224,1)');
- Node457_105.a('node.fillrect', [0,0,0,0]);
- Node457_105.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_105.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_105.a('node.fillgradient', '');
- if (Node457_105type !== 'rect') {
- Node457_105.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_105.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_105.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_105type === 'arc') {
- Node457_105.a('node.arcOval', true);
- }
- Node457_105.setRotation(0*Math.PI/180);
- Node457_105.borderWidth = Node457_105BorderWidth;
- Node457_105.borderFillwidth = Node457_105BorderWidth;
- dataModel.add(Node457_105);
- Node457_105._nodename = 'Node457_105'
- Node457_105._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_105,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_105, Node457_105.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_106type = 'rect';
- var Node457_106 = new ht.Node(),
- Node457_106BorderWidth = 1*2;
- if (Node457_106type === 'arc') {
- Node457_106BorderWidth *= 1;
- }
- Node457_106.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33139*_ratio.ratioY, Node457_106type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_106.setPosition(1198*ratio.ratioX, 146*ratio.ratioY);
- Node457_106.setSize(95*_ratio.ratioX, 24.33139*_ratio.ratioY);
- Node457_106.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_106.a('node.width', 95*_ratio.ratioX);
- Node457_106.a('node.height', 24.33139*_ratio.ratioY);
- Node457_106.a('node.type', Node457_106type);
- Node457_106.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33139*_ratio.ratioY]);
- Node457_106.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_106.a('node.gradientcolor', '');
- Node457_106.a('node.gradient', '');
- Node457_106.a('node.borderwidth', Node457_106BorderWidth);
- Node457_106.a('node.color', 'rgba(224,224,224,1)');
- Node457_106.a('node.fillrect', [0,0,0,0]);
- Node457_106.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_106.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_106.a('node.fillgradient', '');
- if (Node457_106type !== 'rect') {
- Node457_106.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_106.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_106.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_106type === 'arc') {
- Node457_106.a('node.arcOval', true);
- }
- Node457_106.setRotation(0*Math.PI/180);
- Node457_106.borderWidth = Node457_106BorderWidth;
- Node457_106.borderFillwidth = Node457_106BorderWidth;
- dataModel.add(Node457_106);
- Node457_106._nodename = 'Node457_106'
- Node457_106._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_106,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_106, Node457_106.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_107type = 'rect';
- var Node457_107 = new ht.Node(),
- Node457_107BorderWidth = 1*2;
- if (Node457_107type === 'arc') {
- Node457_107BorderWidth *= 1;
- }
- Node457_107.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_107type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_107.setPosition(1278*ratio.ratioX, 49*ratio.ratioY);
- Node457_107.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_107.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_107.a('node.width', 65*_ratio.ratioX);
- Node457_107.a('node.height', 24.33136*_ratio.ratioY);
- Node457_107.a('node.type', Node457_107type);
- Node457_107.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_107.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_107.a('node.gradientcolor', '');
- Node457_107.a('node.gradient', '');
- Node457_107.a('node.borderwidth', Node457_107BorderWidth);
- Node457_107.a('node.color', 'rgba(224,224,224,1)');
- Node457_107.a('node.fillrect', [0,0,0,0]);
- Node457_107.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_107.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_107.a('node.fillgradient', '');
- if (Node457_107type !== 'rect') {
- Node457_107.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_107.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_107.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_107type === 'arc') {
- Node457_107.a('node.arcOval', true);
- }
- Node457_107.setRotation(0*Math.PI/180);
- Node457_107.borderWidth = Node457_107BorderWidth;
- Node457_107.borderFillwidth = Node457_107BorderWidth;
- dataModel.add(Node457_107);
- Node457_107._nodename = 'Node457_107'
- Node457_107._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_107,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_107, Node457_107.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_108 = new ht.Node();
- var Node457_108textStart, Node457_108textWidth, Node457_108lineStart, Node457_108align = 'center', Node457_108fontSize = 14.66663*_ratio.ratioY,Node457_108width = 59*_ratio.ratioX, Node457_108height = 26*_ratio.ratioY;
- (function () {
- if (Node457_108align === 'left') {
- Node457_108textStart = Node457_108fontSize * 0.2 > 2 ? Node457_108fontSize * 0.2 - 4 : Node457_108fontSize * 0.2 - 9;
- Node457_108textWidth = Node457_108width;
- Node457_108lineStart = 1;
- } else if (Node457_108align === 'right') {
- Node457_108textStart = 0;
- Node457_108textWidth =Node457_108fontSize <= 8 ? Node457_108width + Node457_108fontSize * 0.2 + 6 : Node457_108width - Node457_108fontSize * 0.2;
- Node457_108lineStart = (Node457_108width - (ht.Default.getTextSize('0', ' '+ Node457_108fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_108align === 'center') {
- Node457_108textStart = -3;
- Node457_108textWidth = Node457_108width;
- Node457_108lineStart = Node457_108width - ht.Default.getTextSize('0', ' '+ Node457_108fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_108.setImage(GD.getTextJSON(Node457_108width, Node457_108height, true, false, false, ' '+ Node457_108fontSize + 'px "Arial"'))
- Node457_108.setPosition(1198*ratio.ratioX, 51*ratio.ratioY);
- Node457_108.setWidth(Node457_108width);
- Node457_108.setHeight(Node457_108height);
- Node457_108._nodeType = 'text';
- Node457_108._disallowEvert = true;
- Node457_108.setRotation(0*Math.PI/180);
- Node457_108.a('node.width', Node457_108width);
- Node457_108.a('node.height', Node457_108height);
- Node457_108.a('node.rect', [0, 0, Node457_108width, Node457_108height]);
- Node457_108.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_108.a('node.borderwidth', 0);
- Node457_108.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_108.a('node.gradient','');
- Node457_108.a('node.gradientcolor','');
- Node457_108.a('node.text','0');
- Node457_108.a('node.textalign','center');
- Node457_108.a('node.textvAlign','middle');
- Node457_108.a('node.textrect', [Node457_108textStart, 0, Node457_108textWidth, Node457_108height]);
- Node457_108.a('node.color','rgba(0,0,0,1)');
- Node457_108.a('node.font',' '+ Node457_108fontSize + 'px "Arial"');
- Node457_108.a('node.textvisible',true);
- Node457_108.a('node.linefeed',false);
- if (false) {
- Node457_108.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_108.a('node.text') || '0';
- var color=Node457_108.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_108width,Node457_108height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_108fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_108.a('node.underlinepoints',[Node457_108lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_108fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_108fontSize + 'px "Arial"').width + 6, (Node457_108height - Node457_108fontSize) * 0.5*_ratio.ratioY + Node457_108fontSize + 2 ]);
- Node457_108.a('node.underlinevisible',false);
- Node457_108.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_108);
- zoomNodeList.push({
- node: Node457_108,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_109 = new ht.Node();
- var Node457_109textStart, Node457_109textWidth, Node457_109lineStart, Node457_109align = 'center', Node457_109fontSize = 14.66663*_ratio.ratioY,Node457_109width = 59*_ratio.ratioX, Node457_109height = 26*_ratio.ratioY;
- (function () {
- if (Node457_109align === 'left') {
- Node457_109textStart = Node457_109fontSize * 0.2 > 2 ? Node457_109fontSize * 0.2 - 4 : Node457_109fontSize * 0.2 - 9;
- Node457_109textWidth = Node457_109width;
- Node457_109lineStart = 1;
- } else if (Node457_109align === 'right') {
- Node457_109textStart = 0;
- Node457_109textWidth =Node457_109fontSize <= 8 ? Node457_109width + Node457_109fontSize * 0.2 + 6 : Node457_109width - Node457_109fontSize * 0.2;
- Node457_109lineStart = (Node457_109width - (ht.Default.getTextSize('0', ' '+ Node457_109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_109align === 'center') {
- Node457_109textStart = -3;
- Node457_109textWidth = Node457_109width;
- Node457_109lineStart = Node457_109width - ht.Default.getTextSize('0', ' '+ Node457_109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_109.setImage(GD.getTextJSON(Node457_109width, Node457_109height, true, false, false, ' '+ Node457_109fontSize + 'px "Arial"'))
- Node457_109.setPosition(1198*ratio.ratioX, 75*ratio.ratioY);
- Node457_109.setWidth(Node457_109width);
- Node457_109.setHeight(Node457_109height);
- Node457_109._nodeType = 'text';
- Node457_109._disallowEvert = true;
- Node457_109.setRotation(0*Math.PI/180);
- Node457_109.a('node.width', Node457_109width);
- Node457_109.a('node.height', Node457_109height);
- Node457_109.a('node.rect', [0, 0, Node457_109width, Node457_109height]);
- Node457_109.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_109.a('node.borderwidth', 0);
- Node457_109.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_109.a('node.gradient','');
- Node457_109.a('node.gradientcolor','');
- Node457_109.a('node.text','0');
- Node457_109.a('node.textalign','center');
- Node457_109.a('node.textvAlign','middle');
- Node457_109.a('node.textrect', [Node457_109textStart, 0, Node457_109textWidth, Node457_109height]);
- Node457_109.a('node.color','rgba(0,0,0,1)');
- Node457_109.a('node.font',' '+ Node457_109fontSize + 'px "Arial"');
- Node457_109.a('node.textvisible',true);
- Node457_109.a('node.linefeed',false);
- if (false) {
- Node457_109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_109.a('node.text') || '0';
- var color=Node457_109.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_109width,Node457_109height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_109fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_109.a('node.underlinepoints',[Node457_109lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_109fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_109fontSize + 'px "Arial"').width + 6, (Node457_109height - Node457_109fontSize) * 0.5*_ratio.ratioY + Node457_109fontSize + 2 ]);
- Node457_109.a('node.underlinevisible',false);
- Node457_109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_109);
- zoomNodeList.push({
- node: Node457_109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_110 = new ht.Node();
- var Node457_110textStart, Node457_110textWidth, Node457_110lineStart, Node457_110align = 'center', Node457_110fontSize = 14.66663*_ratio.ratioY,Node457_110width = 59*_ratio.ratioX, Node457_110height = 26*_ratio.ratioY;
- (function () {
- if (Node457_110align === 'left') {
- Node457_110textStart = Node457_110fontSize * 0.2 > 2 ? Node457_110fontSize * 0.2 - 4 : Node457_110fontSize * 0.2 - 9;
- Node457_110textWidth = Node457_110width;
- Node457_110lineStart = 1;
- } else if (Node457_110align === 'right') {
- Node457_110textStart = 0;
- Node457_110textWidth =Node457_110fontSize <= 8 ? Node457_110width + Node457_110fontSize * 0.2 + 6 : Node457_110width - Node457_110fontSize * 0.2;
- Node457_110lineStart = (Node457_110width - (ht.Default.getTextSize('0', ' '+ Node457_110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_110align === 'center') {
- Node457_110textStart = -3;
- Node457_110textWidth = Node457_110width;
- Node457_110lineStart = Node457_110width - ht.Default.getTextSize('0', ' '+ Node457_110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_110.setImage(GD.getTextJSON(Node457_110width, Node457_110height, true, false, false, ' '+ Node457_110fontSize + 'px "Arial"'))
- Node457_110.setPosition(1198*ratio.ratioX, 100*ratio.ratioY);
- Node457_110.setWidth(Node457_110width);
- Node457_110.setHeight(Node457_110height);
- Node457_110._nodeType = 'text';
- Node457_110._disallowEvert = true;
- Node457_110.setRotation(0*Math.PI/180);
- Node457_110.a('node.width', Node457_110width);
- Node457_110.a('node.height', Node457_110height);
- Node457_110.a('node.rect', [0, 0, Node457_110width, Node457_110height]);
- Node457_110.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_110.a('node.borderwidth', 0);
- Node457_110.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_110.a('node.gradient','');
- Node457_110.a('node.gradientcolor','');
- Node457_110.a('node.text','0');
- Node457_110.a('node.textalign','center');
- Node457_110.a('node.textvAlign','middle');
- Node457_110.a('node.textrect', [Node457_110textStart, 0, Node457_110textWidth, Node457_110height]);
- Node457_110.a('node.color','rgba(0,0,0,1)');
- Node457_110.a('node.font',' '+ Node457_110fontSize + 'px "Arial"');
- Node457_110.a('node.textvisible',true);
- Node457_110.a('node.linefeed',false);
- if (false) {
- Node457_110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_110.a('node.text') || '0';
- var color=Node457_110.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_110width,Node457_110height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_110.a('node.underlinepoints',[Node457_110lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_110fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_110fontSize + 'px "Arial"').width + 6, (Node457_110height - Node457_110fontSize) * 0.5*_ratio.ratioY + Node457_110fontSize + 2 ]);
- Node457_110.a('node.underlinevisible',false);
- Node457_110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_110);
- zoomNodeList.push({
- node: Node457_110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_111 = new ht.Node();
- var Node457_111textStart, Node457_111textWidth, Node457_111lineStart, Node457_111align = 'center', Node457_111fontSize = 14.66663*_ratio.ratioY,Node457_111width = 59*_ratio.ratioX, Node457_111height = 26*_ratio.ratioY;
- (function () {
- if (Node457_111align === 'left') {
- Node457_111textStart = Node457_111fontSize * 0.2 > 2 ? Node457_111fontSize * 0.2 - 4 : Node457_111fontSize * 0.2 - 9;
- Node457_111textWidth = Node457_111width;
- Node457_111lineStart = 1;
- } else if (Node457_111align === 'right') {
- Node457_111textStart = 0;
- Node457_111textWidth =Node457_111fontSize <= 8 ? Node457_111width + Node457_111fontSize * 0.2 + 6 : Node457_111width - Node457_111fontSize * 0.2;
- Node457_111lineStart = (Node457_111width - (ht.Default.getTextSize('0', ' '+ Node457_111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_111align === 'center') {
- Node457_111textStart = -3;
- Node457_111textWidth = Node457_111width;
- Node457_111lineStart = Node457_111width - ht.Default.getTextSize('0', ' '+ Node457_111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_111.setImage(GD.getTextJSON(Node457_111width, Node457_111height, true, false, false, ' '+ Node457_111fontSize + 'px "Arial"'))
- Node457_111.setPosition(1198*ratio.ratioX, 123*ratio.ratioY);
- Node457_111.setWidth(Node457_111width);
- Node457_111.setHeight(Node457_111height);
- Node457_111._nodeType = 'text';
- Node457_111._disallowEvert = true;
- Node457_111.setRotation(0*Math.PI/180);
- Node457_111.a('node.width', Node457_111width);
- Node457_111.a('node.height', Node457_111height);
- Node457_111.a('node.rect', [0, 0, Node457_111width, Node457_111height]);
- Node457_111.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_111.a('node.borderwidth', 0);
- Node457_111.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_111.a('node.gradient','');
- Node457_111.a('node.gradientcolor','');
- Node457_111.a('node.text','0');
- Node457_111.a('node.textalign','center');
- Node457_111.a('node.textvAlign','middle');
- Node457_111.a('node.textrect', [Node457_111textStart, 0, Node457_111textWidth, Node457_111height]);
- Node457_111.a('node.color','rgba(0,0,0,1)');
- Node457_111.a('node.font',' '+ Node457_111fontSize + 'px "Arial"');
- Node457_111.a('node.textvisible',true);
- Node457_111.a('node.linefeed',false);
- if (false) {
- Node457_111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_111.a('node.text') || '0';
- var color=Node457_111.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_111width,Node457_111height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_111.a('node.underlinepoints',[Node457_111lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_111fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_111fontSize + 'px "Arial"').width + 6, (Node457_111height - Node457_111fontSize) * 0.5*_ratio.ratioY + Node457_111fontSize + 2 ]);
- Node457_111.a('node.underlinevisible',false);
- Node457_111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_111);
- zoomNodeList.push({
- node: Node457_111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_112type = 'rect';
- var Node457_112 = new ht.Node(),
- Node457_112BorderWidth = 1*2;
- if (Node457_112type === 'arc') {
- Node457_112BorderWidth *= 1;
- }
- Node457_112.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_112type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_112.setPosition(1278*ratio.ratioX, 73*ratio.ratioY);
- Node457_112.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_112.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_112.a('node.width', 65*_ratio.ratioX);
- Node457_112.a('node.height', 24.33138*_ratio.ratioY);
- Node457_112.a('node.type', Node457_112type);
- Node457_112.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_112.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_112.a('node.gradientcolor', '');
- Node457_112.a('node.gradient', '');
- Node457_112.a('node.borderwidth', Node457_112BorderWidth);
- Node457_112.a('node.color', 'rgba(224,224,224,1)');
- Node457_112.a('node.fillrect', [0,0,0,0]);
- Node457_112.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_112.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_112.a('node.fillgradient', '');
- if (Node457_112type !== 'rect') {
- Node457_112.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_112.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_112.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_112type === 'arc') {
- Node457_112.a('node.arcOval', true);
- }
- Node457_112.setRotation(0*Math.PI/180);
- Node457_112.borderWidth = Node457_112BorderWidth;
- Node457_112.borderFillwidth = Node457_112BorderWidth;
- dataModel.add(Node457_112);
- Node457_112._nodename = 'Node457_112'
- Node457_112._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_112,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_112, Node457_112.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_113type = 'rect';
- var Node457_113 = new ht.Node(),
- Node457_113BorderWidth = 1*2;
- if (Node457_113type === 'arc') {
- Node457_113BorderWidth *= 1;
- }
- Node457_113.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_113type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_113.setPosition(1278*ratio.ratioX, 97*ratio.ratioY);
- Node457_113.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_113.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_113.a('node.width', 65*_ratio.ratioX);
- Node457_113.a('node.height', 24.33138*_ratio.ratioY);
- Node457_113.a('node.type', Node457_113type);
- Node457_113.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_113.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_113.a('node.gradientcolor', '');
- Node457_113.a('node.gradient', '');
- Node457_113.a('node.borderwidth', Node457_113BorderWidth);
- Node457_113.a('node.color', 'rgba(224,224,224,1)');
- Node457_113.a('node.fillrect', [0,0,0,0]);
- Node457_113.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_113.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_113.a('node.fillgradient', '');
- if (Node457_113type !== 'rect') {
- Node457_113.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_113.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_113.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_113type === 'arc') {
- Node457_113.a('node.arcOval', true);
- }
- Node457_113.setRotation(0*Math.PI/180);
- Node457_113.borderWidth = Node457_113BorderWidth;
- Node457_113.borderFillwidth = Node457_113BorderWidth;
- dataModel.add(Node457_113);
- Node457_113._nodename = 'Node457_113'
- Node457_113._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_113,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_113, Node457_113.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_114type = 'rect';
- var Node457_114 = new ht.Node(),
- Node457_114BorderWidth = 1*2;
- if (Node457_114type === 'arc') {
- Node457_114BorderWidth *= 1;
- }
- Node457_114.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_114.setPosition(1278*ratio.ratioX, 122*ratio.ratioY);
- Node457_114.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_114.a('node.width', 65*_ratio.ratioX);
- Node457_114.a('node.height', 24.33136*_ratio.ratioY);
- Node457_114.a('node.type', Node457_114type);
- Node457_114.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_114.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_114.a('node.gradientcolor', '');
- Node457_114.a('node.gradient', '');
- Node457_114.a('node.borderwidth', Node457_114BorderWidth);
- Node457_114.a('node.color', 'rgba(224,224,224,1)');
- Node457_114.a('node.fillrect', [0,0,0,0]);
- Node457_114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_114.a('node.fillgradient', '');
- if (Node457_114type !== 'rect') {
- Node457_114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_114.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_114type === 'arc') {
- Node457_114.a('node.arcOval', true);
- }
- Node457_114.setRotation(0*Math.PI/180);
- Node457_114.borderWidth = Node457_114BorderWidth;
- Node457_114.borderFillwidth = Node457_114BorderWidth;
- dataModel.add(Node457_114);
- Node457_114._nodename = 'Node457_114'
- Node457_114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_114, Node457_114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_115type = 'rect';
- var Node457_115 = new ht.Node(),
- Node457_115BorderWidth = 1*2;
- if (Node457_115type === 'arc') {
- Node457_115BorderWidth *= 1;
- }
- Node457_115.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_115.setPosition(1278*ratio.ratioX, 146*ratio.ratioY);
- Node457_115.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_115.a('node.width', 65*_ratio.ratioX);
- Node457_115.a('node.height', 24.33138*_ratio.ratioY);
- Node457_115.a('node.type', Node457_115type);
- Node457_115.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_115.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_115.a('node.gradientcolor', '');
- Node457_115.a('node.gradient', '');
- Node457_115.a('node.borderwidth', Node457_115BorderWidth);
- Node457_115.a('node.color', 'rgba(224,224,224,1)');
- Node457_115.a('node.fillrect', [0,0,0,0]);
- Node457_115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_115.a('node.fillgradient', '');
- if (Node457_115type !== 'rect') {
- Node457_115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_115.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_115type === 'arc') {
- Node457_115.a('node.arcOval', true);
- }
- Node457_115.setRotation(0*Math.PI/180);
- Node457_115.borderWidth = Node457_115BorderWidth;
- Node457_115.borderFillwidth = Node457_115BorderWidth;
- dataModel.add(Node457_115);
- Node457_115._nodename = 'Node457_115'
- Node457_115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_115, Node457_115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_116 = new ht.Node();
- var Node457_116textStart, Node457_116textWidth, Node457_116lineStart, Node457_116align = 'center', Node457_116fontSize = 13.3333*_ratio.ratioY,Node457_116width = 59*_ratio.ratioX, Node457_116height = 26*_ratio.ratioY;
- (function () {
- if (Node457_116align === 'left') {
- Node457_116textStart = Node457_116fontSize * 0.2 > 2 ? Node457_116fontSize * 0.2 - 4 : Node457_116fontSize * 0.2 - 9;
- Node457_116textWidth = Node457_116width;
- Node457_116lineStart = 1;
- } else if (Node457_116align === 'right') {
- Node457_116textStart = 0;
- Node457_116textWidth =Node457_116fontSize <= 8 ? Node457_116width + Node457_116fontSize * 0.2 + 6 : Node457_116width - Node457_116fontSize * 0.2;
- Node457_116lineStart = (Node457_116width - (ht.Default.getTextSize('万kWh', ' '+ Node457_116fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_116align === 'center') {
- Node457_116textStart = -3;
- Node457_116textWidth = Node457_116width;
- Node457_116lineStart = Node457_116width - ht.Default.getTextSize('万kWh', ' '+ Node457_116fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_116.setImage(GD.getTextJSON(Node457_116width, Node457_116height, true, false, false, ' '+ Node457_116fontSize + 'px "Arial"'))
- Node457_116.setPosition(1279*ratio.ratioX, 51*ratio.ratioY);
- Node457_116.setWidth(Node457_116width);
- Node457_116.setHeight(Node457_116height);
- Node457_116._nodeType = 'text';
- Node457_116._disallowEvert = true;
- Node457_116.setRotation(0*Math.PI/180);
- Node457_116.a('node.width', Node457_116width);
- Node457_116.a('node.height', Node457_116height);
- Node457_116.a('node.rect', [0, 0, Node457_116width, Node457_116height]);
- Node457_116.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_116.a('node.borderwidth', 0);
- Node457_116.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_116.a('node.gradient','');
- Node457_116.a('node.gradientcolor','');
- Node457_116.a('node.text','万kWh');
- Node457_116.a('node.textalign','center');
- Node457_116.a('node.textvAlign','middle');
- Node457_116.a('node.textrect', [Node457_116textStart, 0, Node457_116textWidth, Node457_116height]);
- Node457_116.a('node.color','rgba(128,128,128,1)');
- Node457_116.a('node.font',' '+ Node457_116fontSize + 'px "Arial"');
- Node457_116.a('node.textvisible',true);
- Node457_116.a('node.linefeed',false);
- if (false) {
- Node457_116.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_116.a('node.text') || '万kWh';
- var color=Node457_116.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_116width,Node457_116height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_116fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_116.a('node.underlinepoints',[Node457_116lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_116fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_116fontSize + 'px "Arial"').width + 6, (Node457_116height - Node457_116fontSize) * 0.5*_ratio.ratioY + Node457_116fontSize + 2 ]);
- Node457_116.a('node.underlinevisible',false);
- Node457_116.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_116);
- zoomNodeList.push({
- node: Node457_116,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_117 = new ht.Node();
- var Node457_117textStart, Node457_117textWidth, Node457_117lineStart, Node457_117align = 'center', Node457_117fontSize = 13.3333*_ratio.ratioY,Node457_117width = 59*_ratio.ratioX, Node457_117height = 26*_ratio.ratioY;
- (function () {
- if (Node457_117align === 'left') {
- Node457_117textStart = Node457_117fontSize * 0.2 > 2 ? Node457_117fontSize * 0.2 - 4 : Node457_117fontSize * 0.2 - 9;
- Node457_117textWidth = Node457_117width;
- Node457_117lineStart = 1;
- } else if (Node457_117align === 'right') {
- Node457_117textStart = 0;
- Node457_117textWidth =Node457_117fontSize <= 8 ? Node457_117width + Node457_117fontSize * 0.2 + 6 : Node457_117width - Node457_117fontSize * 0.2;
- Node457_117lineStart = (Node457_117width - (ht.Default.getTextSize('万kWh', ' '+ Node457_117fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_117align === 'center') {
- Node457_117textStart = -3;
- Node457_117textWidth = Node457_117width;
- Node457_117lineStart = Node457_117width - ht.Default.getTextSize('万kWh', ' '+ Node457_117fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_117.setImage(GD.getTextJSON(Node457_117width, Node457_117height, true, false, false, ' '+ Node457_117fontSize + 'px "Arial"'))
- Node457_117.setPosition(1279*ratio.ratioX, 75*ratio.ratioY);
- Node457_117.setWidth(Node457_117width);
- Node457_117.setHeight(Node457_117height);
- Node457_117._nodeType = 'text';
- Node457_117._disallowEvert = true;
- Node457_117.setRotation(0*Math.PI/180);
- Node457_117.a('node.width', Node457_117width);
- Node457_117.a('node.height', Node457_117height);
- Node457_117.a('node.rect', [0, 0, Node457_117width, Node457_117height]);
- Node457_117.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_117.a('node.borderwidth', 0);
- Node457_117.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_117.a('node.gradient','');
- Node457_117.a('node.gradientcolor','');
- Node457_117.a('node.text','万kWh');
- Node457_117.a('node.textalign','center');
- Node457_117.a('node.textvAlign','middle');
- Node457_117.a('node.textrect', [Node457_117textStart, 0, Node457_117textWidth, Node457_117height]);
- Node457_117.a('node.color','rgba(128,128,128,1)');
- Node457_117.a('node.font',' '+ Node457_117fontSize + 'px "Arial"');
- Node457_117.a('node.textvisible',true);
- Node457_117.a('node.linefeed',false);
- if (false) {
- Node457_117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_117.a('node.text') || '万kWh';
- var color=Node457_117.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_117width,Node457_117height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_117fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_117.a('node.underlinepoints',[Node457_117lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_117fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_117fontSize + 'px "Arial"').width + 6, (Node457_117height - Node457_117fontSize) * 0.5*_ratio.ratioY + Node457_117fontSize + 2 ]);
- Node457_117.a('node.underlinevisible',false);
- Node457_117.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_117);
- zoomNodeList.push({
- node: Node457_117,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_118 = new ht.Node();
- var Node457_118textStart, Node457_118textWidth, Node457_118lineStart, Node457_118align = 'center', Node457_118fontSize = 13.3333*_ratio.ratioY,Node457_118width = 59*_ratio.ratioX, Node457_118height = 26*_ratio.ratioY;
- (function () {
- if (Node457_118align === 'left') {
- Node457_118textStart = Node457_118fontSize * 0.2 > 2 ? Node457_118fontSize * 0.2 - 4 : Node457_118fontSize * 0.2 - 9;
- Node457_118textWidth = Node457_118width;
- Node457_118lineStart = 1;
- } else if (Node457_118align === 'right') {
- Node457_118textStart = 0;
- Node457_118textWidth =Node457_118fontSize <= 8 ? Node457_118width + Node457_118fontSize * 0.2 + 6 : Node457_118width - Node457_118fontSize * 0.2;
- Node457_118lineStart = (Node457_118width - (ht.Default.getTextSize('万kWh', ' '+ Node457_118fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_118align === 'center') {
- Node457_118textStart = -3;
- Node457_118textWidth = Node457_118width;
- Node457_118lineStart = Node457_118width - ht.Default.getTextSize('万kWh', ' '+ Node457_118fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_118.setImage(GD.getTextJSON(Node457_118width, Node457_118height, true, false, false, ' '+ Node457_118fontSize + 'px "Arial"'))
- Node457_118.setPosition(1279*ratio.ratioX, 98*ratio.ratioY);
- Node457_118.setWidth(Node457_118width);
- Node457_118.setHeight(Node457_118height);
- Node457_118._nodeType = 'text';
- Node457_118._disallowEvert = true;
- Node457_118.setRotation(0*Math.PI/180);
- Node457_118.a('node.width', Node457_118width);
- Node457_118.a('node.height', Node457_118height);
- Node457_118.a('node.rect', [0, 0, Node457_118width, Node457_118height]);
- Node457_118.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_118.a('node.borderwidth', 0);
- Node457_118.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_118.a('node.gradient','');
- Node457_118.a('node.gradientcolor','');
- Node457_118.a('node.text','万kWh');
- Node457_118.a('node.textalign','center');
- Node457_118.a('node.textvAlign','middle');
- Node457_118.a('node.textrect', [Node457_118textStart, 0, Node457_118textWidth, Node457_118height]);
- Node457_118.a('node.color','rgba(128,128,128,1)');
- Node457_118.a('node.font',' '+ Node457_118fontSize + 'px "Arial"');
- Node457_118.a('node.textvisible',true);
- Node457_118.a('node.linefeed',false);
- if (false) {
- Node457_118.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_118.a('node.text') || '万kWh';
- var color=Node457_118.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_118width,Node457_118height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_118fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_118.a('node.underlinepoints',[Node457_118lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_118fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_118fontSize + 'px "Arial"').width + 6, (Node457_118height - Node457_118fontSize) * 0.5*_ratio.ratioY + Node457_118fontSize + 2 ]);
- Node457_118.a('node.underlinevisible',false);
- Node457_118.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_118);
- zoomNodeList.push({
- node: Node457_118,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_119 = new ht.Node();
- var Node457_119textStart, Node457_119textWidth, Node457_119lineStart, Node457_119align = 'center', Node457_119fontSize = 13.3333*_ratio.ratioY,Node457_119width = 59*_ratio.ratioX, Node457_119height = 26*_ratio.ratioY;
- (function () {
- if (Node457_119align === 'left') {
- Node457_119textStart = Node457_119fontSize * 0.2 > 2 ? Node457_119fontSize * 0.2 - 4 : Node457_119fontSize * 0.2 - 9;
- Node457_119textWidth = Node457_119width;
- Node457_119lineStart = 1;
- } else if (Node457_119align === 'right') {
- Node457_119textStart = 0;
- Node457_119textWidth =Node457_119fontSize <= 8 ? Node457_119width + Node457_119fontSize * 0.2 + 6 : Node457_119width - Node457_119fontSize * 0.2;
- Node457_119lineStart = (Node457_119width - (ht.Default.getTextSize('万kWh', ' '+ Node457_119fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_119align === 'center') {
- Node457_119textStart = -3;
- Node457_119textWidth = Node457_119width;
- Node457_119lineStart = Node457_119width - ht.Default.getTextSize('万kWh', ' '+ Node457_119fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_119.setImage(GD.getTextJSON(Node457_119width, Node457_119height, true, false, false, ' '+ Node457_119fontSize + 'px "Arial"'))
- Node457_119.setPosition(1279*ratio.ratioX, 124*ratio.ratioY);
- Node457_119.setWidth(Node457_119width);
- Node457_119.setHeight(Node457_119height);
- Node457_119._nodeType = 'text';
- Node457_119._disallowEvert = true;
- Node457_119.setRotation(0*Math.PI/180);
- Node457_119.a('node.width', Node457_119width);
- Node457_119.a('node.height', Node457_119height);
- Node457_119.a('node.rect', [0, 0, Node457_119width, Node457_119height]);
- Node457_119.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_119.a('node.borderwidth', 0);
- Node457_119.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_119.a('node.gradient','');
- Node457_119.a('node.gradientcolor','');
- Node457_119.a('node.text','万kWh');
- Node457_119.a('node.textalign','center');
- Node457_119.a('node.textvAlign','middle');
- Node457_119.a('node.textrect', [Node457_119textStart, 0, Node457_119textWidth, Node457_119height]);
- Node457_119.a('node.color','rgba(128,128,128,1)');
- Node457_119.a('node.font',' '+ Node457_119fontSize + 'px "Arial"');
- Node457_119.a('node.textvisible',true);
- Node457_119.a('node.linefeed',false);
- if (false) {
- Node457_119.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_119.a('node.text') || '万kWh';
- var color=Node457_119.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_119width,Node457_119height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_119fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_119.a('node.underlinepoints',[Node457_119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_119fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_119fontSize + 'px "Arial"').width + 6, (Node457_119height - Node457_119fontSize) * 0.5*_ratio.ratioY + Node457_119fontSize + 2 ]);
- Node457_119.a('node.underlinevisible',false);
- Node457_119.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_119);
- zoomNodeList.push({
- node: Node457_119,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_120 = new ht.Node();
- var Node457_120textStart, Node457_120textWidth, Node457_120lineStart, Node457_120align = 'left', Node457_120fontSize = 13.3333*_ratio.ratioY,Node457_120width = 67*_ratio.ratioX, Node457_120height = 26*_ratio.ratioY;
- (function () {
- if (Node457_120align === 'left') {
- Node457_120textStart = Node457_120fontSize * 0.2 > 2 ? Node457_120fontSize * 0.2 - 4 : Node457_120fontSize * 0.2 - 9;
- Node457_120textWidth = Node457_120width;
- Node457_120lineStart = 1;
- } else if (Node457_120align === 'right') {
- Node457_120textStart = 0;
- Node457_120textWidth =Node457_120fontSize <= 8 ? Node457_120width + Node457_120fontSize * 0.2 + 6 : Node457_120width - Node457_120fontSize * 0.2;
- Node457_120lineStart = (Node457_120width - (ht.Default.getTextSize('装机容量', ' '+ Node457_120fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_120align === 'center') {
- Node457_120textStart = -3;
- Node457_120textWidth = Node457_120width;
- Node457_120lineStart = Node457_120width - ht.Default.getTextSize('装机容量', ' '+ Node457_120fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_120.setImage(GD.getTextJSON(Node457_120width, Node457_120height, true, false, false, ' '+ Node457_120fontSize + 'px "微软雅黑"'))
- Node457_120.setPosition(224*ratio.ratioX, 50*ratio.ratioY);
- Node457_120.setWidth(Node457_120width);
- Node457_120.setHeight(Node457_120height);
- Node457_120._nodeType = 'text';
- Node457_120._disallowEvert = true;
- Node457_120.setRotation(0*Math.PI/180);
- Node457_120.a('node.width', Node457_120width);
- Node457_120.a('node.height', Node457_120height);
- Node457_120.a('node.rect', [0, 0, Node457_120width, Node457_120height]);
- Node457_120.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_120.a('node.borderwidth', 0);
- Node457_120.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_120.a('node.gradient','');
- Node457_120.a('node.gradientcolor','');
- Node457_120.a('node.text','装机容量');
- Node457_120.a('node.textalign','left');
- Node457_120.a('node.textvAlign','middle');
- Node457_120.a('node.textrect', [Node457_120textStart, 0, Node457_120textWidth, Node457_120height]);
- Node457_120.a('node.color','rgba(0,0,0,1)');
- Node457_120.a('node.font',' '+ Node457_120fontSize + 'px "微软雅黑"');
- Node457_120.a('node.textvisible',true);
- Node457_120.a('node.linefeed',false);
- if (false) {
- Node457_120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_120.a('node.text') || '装机容量';
- var color=Node457_120.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_120width,Node457_120height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_120fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_120.a('node.underlinepoints',[Node457_120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_120fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node457_120fontSize + 'px "微软雅黑"').width + 6, (Node457_120height - Node457_120fontSize) * 0.5*_ratio.ratioY + Node457_120fontSize + 2 ]);
- Node457_120.a('node.underlinevisible',false);
- Node457_120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_120);
- zoomNodeList.push({
- node: Node457_120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_121type = 'rect';
- var Node457_121 = new ht.Node(),
- Node457_121BorderWidth = 1*2;
- if (Node457_121type === 'arc') {
- Node457_121BorderWidth *= 1;
- }
- Node457_121.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_121type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_121.setPosition(355*ratio.ratioX, 49*ratio.ratioY);
- Node457_121.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_121.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_121.a('node.width', 94*_ratio.ratioX);
- Node457_121.a('node.height', 24.33136*_ratio.ratioY);
- Node457_121.a('node.type', Node457_121type);
- Node457_121.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_121.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_121.a('node.gradientcolor', '');
- Node457_121.a('node.gradient', '');
- Node457_121.a('node.borderwidth', Node457_121BorderWidth);
- Node457_121.a('node.color', 'rgba(224,224,224,1)');
- Node457_121.a('node.fillrect', [0,0,0,0]);
- Node457_121.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_121.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_121.a('node.fillgradient', '');
- if (Node457_121type !== 'rect') {
- Node457_121.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_121.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_121.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_121type === 'arc') {
- Node457_121.a('node.arcOval', true);
- }
- Node457_121.setRotation(0*Math.PI/180);
- Node457_121.borderWidth = Node457_121BorderWidth;
- Node457_121.borderFillwidth = Node457_121BorderWidth;
- dataModel.add(Node457_121);
- Node457_121._nodename = 'Node457_121'
- Node457_121._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_121,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_121, Node457_121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_122type = 'rect';
- var Node457_122 = new ht.Node(),
- Node457_122BorderWidth = 1*2;
- if (Node457_122type === 'arc') {
- Node457_122BorderWidth *= 1;
- }
- Node457_122.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_122type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_122.setPosition(355*ratio.ratioX, 73*ratio.ratioY);
- Node457_122.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_122.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_122.a('node.width', 94*_ratio.ratioX);
- Node457_122.a('node.height', 24.33138*_ratio.ratioY);
- Node457_122.a('node.type', Node457_122type);
- Node457_122.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_122.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_122.a('node.gradientcolor', '');
- Node457_122.a('node.gradient', '');
- Node457_122.a('node.borderwidth', Node457_122BorderWidth);
- Node457_122.a('node.color', 'rgba(224,224,224,1)');
- Node457_122.a('node.fillrect', [0,0,0,0]);
- Node457_122.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_122.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_122.a('node.fillgradient', '');
- if (Node457_122type !== 'rect') {
- Node457_122.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_122.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_122.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_122type === 'arc') {
- Node457_122.a('node.arcOval', true);
- }
- Node457_122.setRotation(0*Math.PI/180);
- Node457_122.borderWidth = Node457_122BorderWidth;
- Node457_122.borderFillwidth = Node457_122BorderWidth;
- dataModel.add(Node457_122);
- Node457_122._nodename = 'Node457_122'
- Node457_122._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_122,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_122, Node457_122.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_123type = 'rect';
- var Node457_123 = new ht.Node(),
- Node457_123BorderWidth = 1*2;
- if (Node457_123type === 'arc') {
- Node457_123BorderWidth *= 1;
- }
- Node457_123.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_123.setPosition(355*ratio.ratioX, 97*ratio.ratioY);
- Node457_123.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_123.a('node.width', 94*_ratio.ratioX);
- Node457_123.a('node.height', 24.33138*_ratio.ratioY);
- Node457_123.a('node.type', Node457_123type);
- Node457_123.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_123.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_123.a('node.gradientcolor', '');
- Node457_123.a('node.gradient', '');
- Node457_123.a('node.borderwidth', Node457_123BorderWidth);
- Node457_123.a('node.color', 'rgba(224,224,224,1)');
- Node457_123.a('node.fillrect', [0,0,0,0]);
- Node457_123.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_123.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_123.a('node.fillgradient', '');
- if (Node457_123type !== 'rect') {
- Node457_123.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_123.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_123.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_123type === 'arc') {
- Node457_123.a('node.arcOval', true);
- }
- Node457_123.setRotation(0*Math.PI/180);
- Node457_123.borderWidth = Node457_123BorderWidth;
- Node457_123.borderFillwidth = Node457_123BorderWidth;
- dataModel.add(Node457_123);
- Node457_123._nodename = 'Node457_123'
- Node457_123._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_123,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_123, Node457_123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_124type = 'rect';
- var Node457_124 = new ht.Node(),
- Node457_124BorderWidth = 1*2;
- if (Node457_124type === 'arc') {
- Node457_124BorderWidth *= 1;
- }
- Node457_124.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_124.setPosition(355*ratio.ratioX, 122*ratio.ratioY);
- Node457_124.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_124.a('node.width', 94*_ratio.ratioX);
- Node457_124.a('node.height', 24.33136*_ratio.ratioY);
- Node457_124.a('node.type', Node457_124type);
- Node457_124.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_124.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_124.a('node.gradientcolor', '');
- Node457_124.a('node.gradient', '');
- Node457_124.a('node.borderwidth', Node457_124BorderWidth);
- Node457_124.a('node.color', 'rgba(224,224,224,1)');
- Node457_124.a('node.fillrect', [0,0,0,0]);
- Node457_124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_124.a('node.fillgradient', '');
- if (Node457_124type !== 'rect') {
- Node457_124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_124.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_124type === 'arc') {
- Node457_124.a('node.arcOval', true);
- }
- Node457_124.setRotation(0*Math.PI/180);
- Node457_124.borderWidth = Node457_124BorderWidth;
- Node457_124.borderFillwidth = Node457_124BorderWidth;
- dataModel.add(Node457_124);
- Node457_124._nodename = 'Node457_124'
- Node457_124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_124, Node457_124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_125type = 'rect';
- var Node457_125 = new ht.Node(),
- Node457_125BorderWidth = 1*2;
- if (Node457_125type === 'arc') {
- Node457_125BorderWidth *= 1;
- }
- Node457_125.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33139*_ratio.ratioY, Node457_125type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_125.setPosition(355*ratio.ratioX, 146*ratio.ratioY);
- Node457_125.setSize(94*_ratio.ratioX, 24.33139*_ratio.ratioY);
- Node457_125.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_125.a('node.width', 94*_ratio.ratioX);
- Node457_125.a('node.height', 24.33139*_ratio.ratioY);
- Node457_125.a('node.type', Node457_125type);
- Node457_125.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33139*_ratio.ratioY]);
- Node457_125.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_125.a('node.gradientcolor', '');
- Node457_125.a('node.gradient', '');
- Node457_125.a('node.borderwidth', Node457_125BorderWidth);
- Node457_125.a('node.color', 'rgba(224,224,224,1)');
- Node457_125.a('node.fillrect', [0,0,0,0]);
- Node457_125.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_125.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_125.a('node.fillgradient', '');
- if (Node457_125type !== 'rect') {
- Node457_125.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_125.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_125.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_125type === 'arc') {
- Node457_125.a('node.arcOval', true);
- }
- Node457_125.setRotation(0*Math.PI/180);
- Node457_125.borderWidth = Node457_125BorderWidth;
- Node457_125.borderFillwidth = Node457_125BorderWidth;
- dataModel.add(Node457_125);
- Node457_125._nodename = 'Node457_125'
- Node457_125._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_125,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_125, Node457_125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_126 = new ht.Node();
- var Node457_126textStart, Node457_126textWidth, Node457_126lineStart, Node457_126align = 'center', Node457_126fontSize = 13.3333*_ratio.ratioY,Node457_126width = 58*_ratio.ratioX, Node457_126height = 26*_ratio.ratioY;
- (function () {
- if (Node457_126align === 'left') {
- Node457_126textStart = Node457_126fontSize * 0.2 > 2 ? Node457_126fontSize * 0.2 - 4 : Node457_126fontSize * 0.2 - 9;
- Node457_126textWidth = Node457_126width;
- Node457_126lineStart = 1;
- } else if (Node457_126align === 'right') {
- Node457_126textStart = 0;
- Node457_126textWidth =Node457_126fontSize <= 8 ? Node457_126width + Node457_126fontSize * 0.2 + 6 : Node457_126width - Node457_126fontSize * 0.2;
- Node457_126lineStart = (Node457_126width - (ht.Default.getTextSize('0', ' '+ Node457_126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_126align === 'center') {
- Node457_126textStart = -3;
- Node457_126textWidth = Node457_126width;
- Node457_126lineStart = Node457_126width - ht.Default.getTextSize('0', ' '+ Node457_126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_126.setImage(GD.getTextJSON(Node457_126width, Node457_126height, true, false, false, ' '+ Node457_126fontSize + 'px "Arial"'))
- Node457_126.setPosition(355*ratio.ratioX, 51*ratio.ratioY);
- Node457_126.setWidth(Node457_126width);
- Node457_126.setHeight(Node457_126height);
- Node457_126._nodeType = 'text';
- Node457_126._disallowEvert = true;
- Node457_126.setRotation(0*Math.PI/180);
- Node457_126.a('node.width', Node457_126width);
- Node457_126.a('node.height', Node457_126height);
- Node457_126.a('node.rect', [0, 0, Node457_126width, Node457_126height]);
- Node457_126.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_126.a('node.borderwidth', 0);
- Node457_126.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_126.a('node.gradient','');
- Node457_126.a('node.gradientcolor','');
- Node457_126.a('node.text','0');
- Node457_126.a('node.textalign','center');
- Node457_126.a('node.textvAlign','middle');
- Node457_126.a('node.textrect', [Node457_126textStart, 0, Node457_126textWidth, Node457_126height]);
- Node457_126.a('node.color','rgba(0,0,0,1)');
- Node457_126.a('node.font',' '+ Node457_126fontSize + 'px "Arial"');
- Node457_126.a('node.textvisible',true);
- Node457_126.a('node.linefeed',false);
- if (false) {
- Node457_126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_126.a('node.text') || '0';
- var color=Node457_126.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_126width,Node457_126height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_126.a('node.underlinepoints',[Node457_126lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_126fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_126fontSize + 'px "Arial"').width + 6, (Node457_126height - Node457_126fontSize) * 0.5*_ratio.ratioY + Node457_126fontSize + 2 ]);
- Node457_126.a('node.underlinevisible',false);
- Node457_126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_126);
- zoomNodeList.push({
- node: Node457_126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_127 = new ht.Node();
- var Node457_127textStart, Node457_127textWidth, Node457_127lineStart, Node457_127align = 'center', Node457_127fontSize = 13.3333*_ratio.ratioY,Node457_127width = 58*_ratio.ratioX, Node457_127height = 26*_ratio.ratioY;
- (function () {
- if (Node457_127align === 'left') {
- Node457_127textStart = Node457_127fontSize * 0.2 > 2 ? Node457_127fontSize * 0.2 - 4 : Node457_127fontSize * 0.2 - 9;
- Node457_127textWidth = Node457_127width;
- Node457_127lineStart = 1;
- } else if (Node457_127align === 'right') {
- Node457_127textStart = 0;
- Node457_127textWidth =Node457_127fontSize <= 8 ? Node457_127width + Node457_127fontSize * 0.2 + 6 : Node457_127width - Node457_127fontSize * 0.2;
- Node457_127lineStart = (Node457_127width - (ht.Default.getTextSize('0', ' '+ Node457_127fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_127align === 'center') {
- Node457_127textStart = -3;
- Node457_127textWidth = Node457_127width;
- Node457_127lineStart = Node457_127width - ht.Default.getTextSize('0', ' '+ Node457_127fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_127.setImage(GD.getTextJSON(Node457_127width, Node457_127height, true, false, false, ' '+ Node457_127fontSize + 'px "Arial"'))
- Node457_127.setPosition(355*ratio.ratioX, 75*ratio.ratioY);
- Node457_127.setWidth(Node457_127width);
- Node457_127.setHeight(Node457_127height);
- Node457_127._nodeType = 'text';
- Node457_127._disallowEvert = true;
- Node457_127.setRotation(0*Math.PI/180);
- Node457_127.a('node.width', Node457_127width);
- Node457_127.a('node.height', Node457_127height);
- Node457_127.a('node.rect', [0, 0, Node457_127width, Node457_127height]);
- Node457_127.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_127.a('node.borderwidth', 0);
- Node457_127.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_127.a('node.gradient','');
- Node457_127.a('node.gradientcolor','');
- Node457_127.a('node.text','0');
- Node457_127.a('node.textalign','center');
- Node457_127.a('node.textvAlign','middle');
- Node457_127.a('node.textrect', [Node457_127textStart, 0, Node457_127textWidth, Node457_127height]);
- Node457_127.a('node.color','rgba(0,0,0,1)');
- Node457_127.a('node.font',' '+ Node457_127fontSize + 'px "Arial"');
- Node457_127.a('node.textvisible',true);
- Node457_127.a('node.linefeed',false);
- if (false) {
- Node457_127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_127.a('node.text') || '0';
- var color=Node457_127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_127width,Node457_127height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_127fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_127.a('node.underlinepoints',[Node457_127lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_127fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_127fontSize + 'px "Arial"').width + 6, (Node457_127height - Node457_127fontSize) * 0.5*_ratio.ratioY + Node457_127fontSize + 2 ]);
- Node457_127.a('node.underlinevisible',false);
- Node457_127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_127);
- zoomNodeList.push({
- node: Node457_127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_128 = new ht.Node();
- var Node457_128textStart, Node457_128textWidth, Node457_128lineStart, Node457_128align = 'center', Node457_128fontSize = 13.3333*_ratio.ratioY,Node457_128width = 58*_ratio.ratioX, Node457_128height = 26*_ratio.ratioY;
- (function () {
- if (Node457_128align === 'left') {
- Node457_128textStart = Node457_128fontSize * 0.2 > 2 ? Node457_128fontSize * 0.2 - 4 : Node457_128fontSize * 0.2 - 9;
- Node457_128textWidth = Node457_128width;
- Node457_128lineStart = 1;
- } else if (Node457_128align === 'right') {
- Node457_128textStart = 0;
- Node457_128textWidth =Node457_128fontSize <= 8 ? Node457_128width + Node457_128fontSize * 0.2 + 6 : Node457_128width - Node457_128fontSize * 0.2;
- Node457_128lineStart = (Node457_128width - (ht.Default.getTextSize('0', ' '+ Node457_128fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_128align === 'center') {
- Node457_128textStart = -3;
- Node457_128textWidth = Node457_128width;
- Node457_128lineStart = Node457_128width - ht.Default.getTextSize('0', ' '+ Node457_128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_128.setImage(GD.getTextJSON(Node457_128width, Node457_128height, true, false, false, ' '+ Node457_128fontSize + 'px "Arial"'))
- Node457_128.setPosition(355*ratio.ratioX, 100*ratio.ratioY);
- Node457_128.setWidth(Node457_128width);
- Node457_128.setHeight(Node457_128height);
- Node457_128._nodeType = 'text';
- Node457_128._disallowEvert = true;
- Node457_128.setRotation(0*Math.PI/180);
- Node457_128.a('node.width', Node457_128width);
- Node457_128.a('node.height', Node457_128height);
- Node457_128.a('node.rect', [0, 0, Node457_128width, Node457_128height]);
- Node457_128.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_128.a('node.borderwidth', 0);
- Node457_128.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_128.a('node.gradient','');
- Node457_128.a('node.gradientcolor','');
- Node457_128.a('node.text','0');
- Node457_128.a('node.textalign','center');
- Node457_128.a('node.textvAlign','middle');
- Node457_128.a('node.textrect', [Node457_128textStart, 0, Node457_128textWidth, Node457_128height]);
- Node457_128.a('node.color','rgba(0,0,0,1)');
- Node457_128.a('node.font',' '+ Node457_128fontSize + 'px "Arial"');
- Node457_128.a('node.textvisible',true);
- Node457_128.a('node.linefeed',false);
- if (false) {
- Node457_128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_128.a('node.text') || '0';
- var color=Node457_128.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_128width,Node457_128height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_128.a('node.underlinepoints',[Node457_128lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_128fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_128fontSize + 'px "Arial"').width + 6, (Node457_128height - Node457_128fontSize) * 0.5*_ratio.ratioY + Node457_128fontSize + 2 ]);
- Node457_128.a('node.underlinevisible',false);
- Node457_128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_128);
- zoomNodeList.push({
- node: Node457_128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_129 = new ht.Node();
- var Node457_129textStart, Node457_129textWidth, Node457_129lineStart, Node457_129align = 'center', Node457_129fontSize = 13.3333*_ratio.ratioY,Node457_129width = 58*_ratio.ratioX, Node457_129height = 26*_ratio.ratioY;
- (function () {
- if (Node457_129align === 'left') {
- Node457_129textStart = Node457_129fontSize * 0.2 > 2 ? Node457_129fontSize * 0.2 - 4 : Node457_129fontSize * 0.2 - 9;
- Node457_129textWidth = Node457_129width;
- Node457_129lineStart = 1;
- } else if (Node457_129align === 'right') {
- Node457_129textStart = 0;
- Node457_129textWidth =Node457_129fontSize <= 8 ? Node457_129width + Node457_129fontSize * 0.2 + 6 : Node457_129width - Node457_129fontSize * 0.2;
- Node457_129lineStart = (Node457_129width - (ht.Default.getTextSize('0', ' '+ Node457_129fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_129align === 'center') {
- Node457_129textStart = -3;
- Node457_129textWidth = Node457_129width;
- Node457_129lineStart = Node457_129width - ht.Default.getTextSize('0', ' '+ Node457_129fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_129.setImage(GD.getTextJSON(Node457_129width, Node457_129height, true, false, false, ' '+ Node457_129fontSize + 'px "Arial"'))
- Node457_129.setPosition(355*ratio.ratioX, 123*ratio.ratioY);
- Node457_129.setWidth(Node457_129width);
- Node457_129.setHeight(Node457_129height);
- Node457_129._nodeType = 'text';
- Node457_129._disallowEvert = true;
- Node457_129.setRotation(0*Math.PI/180);
- Node457_129.a('node.width', Node457_129width);
- Node457_129.a('node.height', Node457_129height);
- Node457_129.a('node.rect', [0, 0, Node457_129width, Node457_129height]);
- Node457_129.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_129.a('node.borderwidth', 0);
- Node457_129.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_129.a('node.gradient','');
- Node457_129.a('node.gradientcolor','');
- Node457_129.a('node.text','0');
- Node457_129.a('node.textalign','center');
- Node457_129.a('node.textvAlign','middle');
- Node457_129.a('node.textrect', [Node457_129textStart, 0, Node457_129textWidth, Node457_129height]);
- Node457_129.a('node.color','rgba(0,0,0,1)');
- Node457_129.a('node.font',' '+ Node457_129fontSize + 'px "Arial"');
- Node457_129.a('node.textvisible',true);
- Node457_129.a('node.linefeed',false);
- if (false) {
- Node457_129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_129.a('node.text') || '0';
- var color=Node457_129.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_129width,Node457_129height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_129fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_129.a('node.underlinepoints',[Node457_129lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_129fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_129fontSize + 'px "Arial"').width + 6, (Node457_129height - Node457_129fontSize) * 0.5*_ratio.ratioY + Node457_129fontSize + 2 ]);
- Node457_129.a('node.underlinevisible',false);
- Node457_129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_129);
- zoomNodeList.push({
- node: Node457_129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_130type = 'rect';
- var Node457_130 = new ht.Node(),
- Node457_130BorderWidth = 1*2;
- if (Node457_130type === 'arc') {
- Node457_130BorderWidth *= 1;
- }
- Node457_130.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_130type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_130.setPosition(434*ratio.ratioX, 49*ratio.ratioY);
- Node457_130.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_130.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_130.a('node.width', 65*_ratio.ratioX);
- Node457_130.a('node.height', 24.33136*_ratio.ratioY);
- Node457_130.a('node.type', Node457_130type);
- Node457_130.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_130.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_130.a('node.gradientcolor', '');
- Node457_130.a('node.gradient', '');
- Node457_130.a('node.borderwidth', Node457_130BorderWidth);
- Node457_130.a('node.color', 'rgba(224,224,224,1)');
- Node457_130.a('node.fillrect', [0,0,0,0]);
- Node457_130.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_130.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_130.a('node.fillgradient', '');
- if (Node457_130type !== 'rect') {
- Node457_130.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_130.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_130.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_130type === 'arc') {
- Node457_130.a('node.arcOval', true);
- }
- Node457_130.setRotation(0*Math.PI/180);
- Node457_130.borderWidth = Node457_130BorderWidth;
- Node457_130.borderFillwidth = Node457_130BorderWidth;
- dataModel.add(Node457_130);
- Node457_130._nodename = 'Node457_130'
- Node457_130._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_130,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_130, Node457_130.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_131type = 'rect';
- var Node457_131 = new ht.Node(),
- Node457_131BorderWidth = 1*2;
- if (Node457_131type === 'arc') {
- Node457_131BorderWidth *= 1;
- }
- Node457_131.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_131type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_131.setPosition(434*ratio.ratioX, 73*ratio.ratioY);
- Node457_131.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_131.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_131.a('node.width', 65*_ratio.ratioX);
- Node457_131.a('node.height', 24.33138*_ratio.ratioY);
- Node457_131.a('node.type', Node457_131type);
- Node457_131.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_131.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_131.a('node.gradientcolor', '');
- Node457_131.a('node.gradient', '');
- Node457_131.a('node.borderwidth', Node457_131BorderWidth);
- Node457_131.a('node.color', 'rgba(224,224,224,1)');
- Node457_131.a('node.fillrect', [0,0,0,0]);
- Node457_131.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_131.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_131.a('node.fillgradient', '');
- if (Node457_131type !== 'rect') {
- Node457_131.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_131.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_131.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_131type === 'arc') {
- Node457_131.a('node.arcOval', true);
- }
- Node457_131.setRotation(0*Math.PI/180);
- Node457_131.borderWidth = Node457_131BorderWidth;
- Node457_131.borderFillwidth = Node457_131BorderWidth;
- dataModel.add(Node457_131);
- Node457_131._nodename = 'Node457_131'
- Node457_131._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_131,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_131, Node457_131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_132type = 'rect';
- var Node457_132 = new ht.Node(),
- Node457_132BorderWidth = 1*2;
- if (Node457_132type === 'arc') {
- Node457_132BorderWidth *= 1;
- }
- Node457_132.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_132.setPosition(434*ratio.ratioX, 97*ratio.ratioY);
- Node457_132.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_132.a('node.width', 65*_ratio.ratioX);
- Node457_132.a('node.height', 24.33138*_ratio.ratioY);
- Node457_132.a('node.type', Node457_132type);
- Node457_132.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_132.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_132.a('node.gradientcolor', '');
- Node457_132.a('node.gradient', '');
- Node457_132.a('node.borderwidth', Node457_132BorderWidth);
- Node457_132.a('node.color', 'rgba(224,224,224,1)');
- Node457_132.a('node.fillrect', [0,0,0,0]);
- Node457_132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_132.a('node.fillgradient', '');
- if (Node457_132type !== 'rect') {
- Node457_132.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_132.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_132type === 'arc') {
- Node457_132.a('node.arcOval', true);
- }
- Node457_132.setRotation(0*Math.PI/180);
- Node457_132.borderWidth = Node457_132BorderWidth;
- Node457_132.borderFillwidth = Node457_132BorderWidth;
- dataModel.add(Node457_132);
- Node457_132._nodename = 'Node457_132'
- Node457_132._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_132,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_132, Node457_132.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_133type = 'rect';
- var Node457_133 = new ht.Node(),
- Node457_133BorderWidth = 1*2;
- if (Node457_133type === 'arc') {
- Node457_133BorderWidth *= 1;
- }
- Node457_133.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_133type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_133.setPosition(434*ratio.ratioX, 122*ratio.ratioY);
- Node457_133.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_133.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_133.a('node.width', 65*_ratio.ratioX);
- Node457_133.a('node.height', 24.33136*_ratio.ratioY);
- Node457_133.a('node.type', Node457_133type);
- Node457_133.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_133.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_133.a('node.gradientcolor', '');
- Node457_133.a('node.gradient', '');
- Node457_133.a('node.borderwidth', Node457_133BorderWidth);
- Node457_133.a('node.color', 'rgba(224,224,224,1)');
- Node457_133.a('node.fillrect', [0,0,0,0]);
- Node457_133.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_133.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_133.a('node.fillgradient', '');
- if (Node457_133type !== 'rect') {
- Node457_133.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_133.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_133.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_133type === 'arc') {
- Node457_133.a('node.arcOval', true);
- }
- Node457_133.setRotation(0*Math.PI/180);
- Node457_133.borderWidth = Node457_133BorderWidth;
- Node457_133.borderFillwidth = Node457_133BorderWidth;
- dataModel.add(Node457_133);
- Node457_133._nodename = 'Node457_133'
- Node457_133._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_133,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_133, Node457_133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_134type = 'rect';
- var Node457_134 = new ht.Node(),
- Node457_134BorderWidth = 1*2;
- if (Node457_134type === 'arc') {
- Node457_134BorderWidth *= 1;
- }
- Node457_134.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_134type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_134.setPosition(434*ratio.ratioX, 146*ratio.ratioY);
- Node457_134.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_134.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_134.a('node.width', 65*_ratio.ratioX);
- Node457_134.a('node.height', 24.33138*_ratio.ratioY);
- Node457_134.a('node.type', Node457_134type);
- Node457_134.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_134.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_134.a('node.gradientcolor', '');
- Node457_134.a('node.gradient', '');
- Node457_134.a('node.borderwidth', Node457_134BorderWidth);
- Node457_134.a('node.color', 'rgba(224,224,224,1)');
- Node457_134.a('node.fillrect', [0,0,0,0]);
- Node457_134.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_134.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_134.a('node.fillgradient', '');
- if (Node457_134type !== 'rect') {
- Node457_134.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_134.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_134.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_134type === 'arc') {
- Node457_134.a('node.arcOval', true);
- }
- Node457_134.setRotation(0*Math.PI/180);
- Node457_134.borderWidth = Node457_134BorderWidth;
- Node457_134.borderFillwidth = Node457_134BorderWidth;
- dataModel.add(Node457_134);
- Node457_134._nodename = 'Node457_134'
- Node457_134._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_134,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_134, Node457_134.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_135 = new ht.Node();
- var Node457_135textStart, Node457_135textWidth, Node457_135lineStart, Node457_135align = 'center', Node457_135fontSize = 13.3333*_ratio.ratioY,Node457_135width = 59*_ratio.ratioX, Node457_135height = 26*_ratio.ratioY;
- (function () {
- if (Node457_135align === 'left') {
- Node457_135textStart = Node457_135fontSize * 0.2 > 2 ? Node457_135fontSize * 0.2 - 4 : Node457_135fontSize * 0.2 - 9;
- Node457_135textWidth = Node457_135width;
- Node457_135lineStart = 1;
- } else if (Node457_135align === 'right') {
- Node457_135textStart = 0;
- Node457_135textWidth =Node457_135fontSize <= 8 ? Node457_135width + Node457_135fontSize * 0.2 + 6 : Node457_135width - Node457_135fontSize * 0.2;
- Node457_135lineStart = (Node457_135width - (ht.Default.getTextSize('万kW', ' '+ Node457_135fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_135align === 'center') {
- Node457_135textStart = -3;
- Node457_135textWidth = Node457_135width;
- Node457_135lineStart = Node457_135width - ht.Default.getTextSize('万kW', ' '+ Node457_135fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_135.setImage(GD.getTextJSON(Node457_135width, Node457_135height, true, false, false, ' '+ Node457_135fontSize + 'px "Arial"'))
- Node457_135.setPosition(435*ratio.ratioX, 51*ratio.ratioY);
- Node457_135.setWidth(Node457_135width);
- Node457_135.setHeight(Node457_135height);
- Node457_135._nodeType = 'text';
- Node457_135._disallowEvert = true;
- Node457_135.setRotation(0*Math.PI/180);
- Node457_135.a('node.width', Node457_135width);
- Node457_135.a('node.height', Node457_135height);
- Node457_135.a('node.rect', [0, 0, Node457_135width, Node457_135height]);
- Node457_135.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_135.a('node.borderwidth', 0);
- Node457_135.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_135.a('node.gradient','');
- Node457_135.a('node.gradientcolor','');
- Node457_135.a('node.text','万kW');
- Node457_135.a('node.textalign','center');
- Node457_135.a('node.textvAlign','middle');
- Node457_135.a('node.textrect', [Node457_135textStart, 0, Node457_135textWidth, Node457_135height]);
- Node457_135.a('node.color','rgba(128,128,128,1)');
- Node457_135.a('node.font',' '+ Node457_135fontSize + 'px "Arial"');
- Node457_135.a('node.textvisible',true);
- Node457_135.a('node.linefeed',false);
- if (false) {
- Node457_135.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_135.a('node.text') || '万kW';
- var color=Node457_135.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_135width,Node457_135height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_135fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_135.a('node.underlinepoints',[Node457_135lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_135fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node457_135fontSize + 'px "Arial"').width + 6, (Node457_135height - Node457_135fontSize) * 0.5*_ratio.ratioY + Node457_135fontSize + 2 ]);
- Node457_135.a('node.underlinevisible',false);
- Node457_135.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_135);
- zoomNodeList.push({
- node: Node457_135,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_136 = new ht.Node();
- var Node457_136textStart, Node457_136textWidth, Node457_136lineStart, Node457_136align = 'center', Node457_136fontSize = 13.3333*_ratio.ratioY,Node457_136width = 59*_ratio.ratioX, Node457_136height = 26*_ratio.ratioY;
- (function () {
- if (Node457_136align === 'left') {
- Node457_136textStart = Node457_136fontSize * 0.2 > 2 ? Node457_136fontSize * 0.2 - 4 : Node457_136fontSize * 0.2 - 9;
- Node457_136textWidth = Node457_136width;
- Node457_136lineStart = 1;
- } else if (Node457_136align === 'right') {
- Node457_136textStart = 0;
- Node457_136textWidth =Node457_136fontSize <= 8 ? Node457_136width + Node457_136fontSize * 0.2 + 6 : Node457_136width - Node457_136fontSize * 0.2;
- Node457_136lineStart = (Node457_136width - (ht.Default.getTextSize('MW', ' '+ Node457_136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_136align === 'center') {
- Node457_136textStart = -3;
- Node457_136textWidth = Node457_136width;
- Node457_136lineStart = Node457_136width - ht.Default.getTextSize('MW', ' '+ Node457_136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_136.setImage(GD.getTextJSON(Node457_136width, Node457_136height, true, false, false, ' '+ Node457_136fontSize + 'px "Arial"'))
- Node457_136.setPosition(435*ratio.ratioX, 75*ratio.ratioY);
- Node457_136.setWidth(Node457_136width);
- Node457_136.setHeight(Node457_136height);
- Node457_136._nodeType = 'text';
- Node457_136._disallowEvert = true;
- Node457_136.setRotation(0*Math.PI/180);
- Node457_136.a('node.width', Node457_136width);
- Node457_136.a('node.height', Node457_136height);
- Node457_136.a('node.rect', [0, 0, Node457_136width, Node457_136height]);
- Node457_136.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_136.a('node.borderwidth', 0);
- Node457_136.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_136.a('node.gradient','');
- Node457_136.a('node.gradientcolor','');
- Node457_136.a('node.text','MW');
- Node457_136.a('node.textalign','center');
- Node457_136.a('node.textvAlign','middle');
- Node457_136.a('node.textrect', [Node457_136textStart, 0, Node457_136textWidth, Node457_136height]);
- Node457_136.a('node.color','rgba(128,128,128,1)');
- Node457_136.a('node.font',' '+ Node457_136fontSize + 'px "Arial"');
- Node457_136.a('node.textvisible',true);
- Node457_136.a('node.linefeed',false);
- if (false) {
- Node457_136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_136.a('node.text') || 'MW';
- var color=Node457_136.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_136width,Node457_136height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_136.a('node.underlinepoints',[Node457_136lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_136fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node457_136fontSize + 'px "Arial"').width + 6, (Node457_136height - Node457_136fontSize) * 0.5*_ratio.ratioY + Node457_136fontSize + 2 ]);
- Node457_136.a('node.underlinevisible',false);
- Node457_136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_136);
- zoomNodeList.push({
- node: Node457_136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_137 = new ht.Node();
- var Node457_137textStart, Node457_137textWidth, Node457_137lineStart, Node457_137align = 'center', Node457_137fontSize = 13.3333*_ratio.ratioY,Node457_137width = 59*_ratio.ratioX, Node457_137height = 26*_ratio.ratioY;
- (function () {
- if (Node457_137align === 'left') {
- Node457_137textStart = Node457_137fontSize * 0.2 > 2 ? Node457_137fontSize * 0.2 - 4 : Node457_137fontSize * 0.2 - 9;
- Node457_137textWidth = Node457_137width;
- Node457_137lineStart = 1;
- } else if (Node457_137align === 'right') {
- Node457_137textStart = 0;
- Node457_137textWidth =Node457_137fontSize <= 8 ? Node457_137width + Node457_137fontSize * 0.2 + 6 : Node457_137width - Node457_137fontSize * 0.2;
- Node457_137lineStart = (Node457_137width - (ht.Default.getTextSize('m/s', ' '+ Node457_137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_137align === 'center') {
- Node457_137textStart = -3;
- Node457_137textWidth = Node457_137width;
- Node457_137lineStart = Node457_137width - ht.Default.getTextSize('m/s', ' '+ Node457_137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_137.setImage(GD.getTextJSON(Node457_137width, Node457_137height, true, false, false, ' '+ Node457_137fontSize + 'px "Arial"'))
- Node457_137.setPosition(435*ratio.ratioX, 98*ratio.ratioY);
- Node457_137.setWidth(Node457_137width);
- Node457_137.setHeight(Node457_137height);
- Node457_137._nodeType = 'text';
- Node457_137._disallowEvert = true;
- Node457_137.setRotation(0*Math.PI/180);
- Node457_137.a('node.width', Node457_137width);
- Node457_137.a('node.height', Node457_137height);
- Node457_137.a('node.rect', [0, 0, Node457_137width, Node457_137height]);
- Node457_137.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_137.a('node.borderwidth', 0);
- Node457_137.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_137.a('node.gradient','');
- Node457_137.a('node.gradientcolor','');
- Node457_137.a('node.text','m/s');
- Node457_137.a('node.textalign','center');
- Node457_137.a('node.textvAlign','middle');
- Node457_137.a('node.textrect', [Node457_137textStart, 0, Node457_137textWidth, Node457_137height]);
- Node457_137.a('node.color','rgba(128,128,128,1)');
- Node457_137.a('node.font',' '+ Node457_137fontSize + 'px "Arial"');
- Node457_137.a('node.textvisible',true);
- Node457_137.a('node.linefeed',false);
- if (false) {
- Node457_137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_137.a('node.text') || 'm/s';
- var color=Node457_137.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_137width,Node457_137height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_137.a('node.underlinepoints',[Node457_137lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_137fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node457_137fontSize + 'px "Arial"').width + 6, (Node457_137height - Node457_137fontSize) * 0.5*_ratio.ratioY + Node457_137fontSize + 2 ]);
- Node457_137.a('node.underlinevisible',false);
- Node457_137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_137);
- zoomNodeList.push({
- node: Node457_137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_138 = new ht.Node();
- var Node457_138textStart, Node457_138textWidth, Node457_138lineStart, Node457_138align = 'center', Node457_138fontSize = 13.3333*_ratio.ratioY,Node457_138width = 59*_ratio.ratioX, Node457_138height = 26*_ratio.ratioY;
- (function () {
- if (Node457_138align === 'left') {
- Node457_138textStart = Node457_138fontSize * 0.2 > 2 ? Node457_138fontSize * 0.2 - 4 : Node457_138fontSize * 0.2 - 9;
- Node457_138textWidth = Node457_138width;
- Node457_138lineStart = 1;
- } else if (Node457_138align === 'right') {
- Node457_138textStart = 0;
- Node457_138textWidth =Node457_138fontSize <= 8 ? Node457_138width + Node457_138fontSize * 0.2 + 6 : Node457_138width - Node457_138fontSize * 0.2;
- Node457_138lineStart = (Node457_138width - (ht.Default.getTextSize('万kWh', ' '+ Node457_138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_138align === 'center') {
- Node457_138textStart = -3;
- Node457_138textWidth = Node457_138width;
- Node457_138lineStart = Node457_138width - ht.Default.getTextSize('万kWh', ' '+ Node457_138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_138.setImage(GD.getTextJSON(Node457_138width, Node457_138height, true, false, false, ' '+ Node457_138fontSize + 'px "Arial"'))
- Node457_138.setPosition(435*ratio.ratioX, 124*ratio.ratioY);
- Node457_138.setWidth(Node457_138width);
- Node457_138.setHeight(Node457_138height);
- Node457_138._nodeType = 'text';
- Node457_138._disallowEvert = true;
- Node457_138.setRotation(0*Math.PI/180);
- Node457_138.a('node.width', Node457_138width);
- Node457_138.a('node.height', Node457_138height);
- Node457_138.a('node.rect', [0, 0, Node457_138width, Node457_138height]);
- Node457_138.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_138.a('node.borderwidth', 0);
- Node457_138.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_138.a('node.gradient','');
- Node457_138.a('node.gradientcolor','');
- Node457_138.a('node.text','万kWh');
- Node457_138.a('node.textalign','center');
- Node457_138.a('node.textvAlign','middle');
- Node457_138.a('node.textrect', [Node457_138textStart, 0, Node457_138textWidth, Node457_138height]);
- Node457_138.a('node.color','rgba(128,128,128,1)');
- Node457_138.a('node.font',' '+ Node457_138fontSize + 'px "Arial"');
- Node457_138.a('node.textvisible',true);
- Node457_138.a('node.linefeed',false);
- if (false) {
- Node457_138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_138.a('node.text') || '万kWh';
- var color=Node457_138.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_138width,Node457_138height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_138.a('node.underlinepoints',[Node457_138lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_138fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_138fontSize + 'px "Arial"').width + 6, (Node457_138height - Node457_138fontSize) * 0.5*_ratio.ratioY + Node457_138fontSize + 2 ]);
- Node457_138.a('node.underlinevisible',false);
- Node457_138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_138);
- zoomNodeList.push({
- node: Node457_138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_139type = 'rect';
- var Node457_139 = new ht.Node(),
- Node457_139BorderWidth = 1*2;
- if (Node457_139type === 'arc') {
- Node457_139BorderWidth *= 1;
- }
- Node457_139.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_139type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_139.setPosition(639*ratio.ratioX, 49*ratio.ratioY);
- Node457_139.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_139.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_139.a('node.width', 94*_ratio.ratioX);
- Node457_139.a('node.height', 24.33136*_ratio.ratioY);
- Node457_139.a('node.type', Node457_139type);
- Node457_139.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_139.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_139.a('node.gradientcolor', '');
- Node457_139.a('node.gradient', '');
- Node457_139.a('node.borderwidth', Node457_139BorderWidth);
- Node457_139.a('node.color', 'rgba(224,224,224,1)');
- Node457_139.a('node.fillrect', [0,0,0,0]);
- Node457_139.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_139.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_139.a('node.fillgradient', '');
- if (Node457_139type !== 'rect') {
- Node457_139.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_139.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_139.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_139type === 'arc') {
- Node457_139.a('node.arcOval', true);
- }
- Node457_139.setRotation(0*Math.PI/180);
- Node457_139.borderWidth = Node457_139BorderWidth;
- Node457_139.borderFillwidth = Node457_139BorderWidth;
- dataModel.add(Node457_139);
- Node457_139._nodename = 'Node457_139'
- Node457_139._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_139,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_139, Node457_139.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_140type = 'rect';
- var Node457_140 = new ht.Node(),
- Node457_140BorderWidth = 1*2;
- if (Node457_140type === 'arc') {
- Node457_140BorderWidth *= 1;
- }
- Node457_140.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_140type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_140.setPosition(639*ratio.ratioX, 73*ratio.ratioY);
- Node457_140.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_140.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_140.a('node.width', 94*_ratio.ratioX);
- Node457_140.a('node.height', 24.33138*_ratio.ratioY);
- Node457_140.a('node.type', Node457_140type);
- Node457_140.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_140.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_140.a('node.gradientcolor', '');
- Node457_140.a('node.gradient', '');
- Node457_140.a('node.borderwidth', Node457_140BorderWidth);
- Node457_140.a('node.color', 'rgba(224,224,224,1)');
- Node457_140.a('node.fillrect', [0,0,0,0]);
- Node457_140.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_140.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_140.a('node.fillgradient', '');
- if (Node457_140type !== 'rect') {
- Node457_140.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_140.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_140.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_140type === 'arc') {
- Node457_140.a('node.arcOval', true);
- }
- Node457_140.setRotation(0*Math.PI/180);
- Node457_140.borderWidth = Node457_140BorderWidth;
- Node457_140.borderFillwidth = Node457_140BorderWidth;
- dataModel.add(Node457_140);
- Node457_140._nodename = 'Node457_140'
- Node457_140._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_140,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_140, Node457_140.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_141type = 'rect';
- var Node457_141 = new ht.Node(),
- Node457_141BorderWidth = 1*2;
- if (Node457_141type === 'arc') {
- Node457_141BorderWidth *= 1;
- }
- Node457_141.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_141type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_141.setPosition(639*ratio.ratioX, 97*ratio.ratioY);
- Node457_141.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_141.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_141.a('node.width', 94*_ratio.ratioX);
- Node457_141.a('node.height', 24.33138*_ratio.ratioY);
- Node457_141.a('node.type', Node457_141type);
- Node457_141.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_141.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_141.a('node.gradientcolor', '');
- Node457_141.a('node.gradient', '');
- Node457_141.a('node.borderwidth', Node457_141BorderWidth);
- Node457_141.a('node.color', 'rgba(224,224,224,1)');
- Node457_141.a('node.fillrect', [0,0,0,0]);
- Node457_141.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_141.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_141.a('node.fillgradient', '');
- if (Node457_141type !== 'rect') {
- Node457_141.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_141.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_141.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_141type === 'arc') {
- Node457_141.a('node.arcOval', true);
- }
- Node457_141.setRotation(0*Math.PI/180);
- Node457_141.borderWidth = Node457_141BorderWidth;
- Node457_141.borderFillwidth = Node457_141BorderWidth;
- dataModel.add(Node457_141);
- Node457_141._nodename = 'Node457_141'
- Node457_141._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_141,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_141, Node457_141.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_142type = 'rect';
- var Node457_142 = new ht.Node(),
- Node457_142BorderWidth = 1*2;
- if (Node457_142type === 'arc') {
- Node457_142BorderWidth *= 1;
- }
- Node457_142.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_142type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_142.setPosition(639*ratio.ratioX, 122*ratio.ratioY);
- Node457_142.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_142.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_142.a('node.width', 94*_ratio.ratioX);
- Node457_142.a('node.height', 24.33136*_ratio.ratioY);
- Node457_142.a('node.type', Node457_142type);
- Node457_142.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_142.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_142.a('node.gradientcolor', '');
- Node457_142.a('node.gradient', '');
- Node457_142.a('node.borderwidth', Node457_142BorderWidth);
- Node457_142.a('node.color', 'rgba(224,224,224,1)');
- Node457_142.a('node.fillrect', [0,0,0,0]);
- Node457_142.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_142.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_142.a('node.fillgradient', '');
- if (Node457_142type !== 'rect') {
- Node457_142.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_142.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_142.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_142type === 'arc') {
- Node457_142.a('node.arcOval', true);
- }
- Node457_142.setRotation(0*Math.PI/180);
- Node457_142.borderWidth = Node457_142BorderWidth;
- Node457_142.borderFillwidth = Node457_142BorderWidth;
- dataModel.add(Node457_142);
- Node457_142._nodename = 'Node457_142'
- Node457_142._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_142,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_142, Node457_142.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_143type = 'rect';
- var Node457_143 = new ht.Node(),
- Node457_143BorderWidth = 1*2;
- if (Node457_143type === 'arc') {
- Node457_143BorderWidth *= 1;
- }
- Node457_143.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33139*_ratio.ratioY, Node457_143type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_143.setPosition(639*ratio.ratioX, 146*ratio.ratioY);
- Node457_143.setSize(94*_ratio.ratioX, 24.33139*_ratio.ratioY);
- Node457_143.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_143.a('node.width', 94*_ratio.ratioX);
- Node457_143.a('node.height', 24.33139*_ratio.ratioY);
- Node457_143.a('node.type', Node457_143type);
- Node457_143.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33139*_ratio.ratioY]);
- Node457_143.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_143.a('node.gradientcolor', '');
- Node457_143.a('node.gradient', '');
- Node457_143.a('node.borderwidth', Node457_143BorderWidth);
- Node457_143.a('node.color', 'rgba(224,224,224,1)');
- Node457_143.a('node.fillrect', [0,0,0,0]);
- Node457_143.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_143.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_143.a('node.fillgradient', '');
- if (Node457_143type !== 'rect') {
- Node457_143.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_143.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_143.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_143type === 'arc') {
- Node457_143.a('node.arcOval', true);
- }
- Node457_143.setRotation(0*Math.PI/180);
- Node457_143.borderWidth = Node457_143BorderWidth;
- Node457_143.borderFillwidth = Node457_143BorderWidth;
- dataModel.add(Node457_143);
- Node457_143._nodename = 'Node457_143'
- Node457_143._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_143,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_143, Node457_143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_144 = new ht.Node();
- var Node457_144textStart, Node457_144textWidth, Node457_144lineStart, Node457_144align = 'center', Node457_144fontSize = 13.3333*_ratio.ratioY,Node457_144width = 58*_ratio.ratioX, Node457_144height = 26*_ratio.ratioY;
- (function () {
- if (Node457_144align === 'left') {
- Node457_144textStart = Node457_144fontSize * 0.2 > 2 ? Node457_144fontSize * 0.2 - 4 : Node457_144fontSize * 0.2 - 9;
- Node457_144textWidth = Node457_144width;
- Node457_144lineStart = 1;
- } else if (Node457_144align === 'right') {
- Node457_144textStart = 0;
- Node457_144textWidth =Node457_144fontSize <= 8 ? Node457_144width + Node457_144fontSize * 0.2 + 6 : Node457_144width - Node457_144fontSize * 0.2;
- Node457_144lineStart = (Node457_144width - (ht.Default.getTextSize('0', ' '+ Node457_144fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_144align === 'center') {
- Node457_144textStart = -3;
- Node457_144textWidth = Node457_144width;
- Node457_144lineStart = Node457_144width - ht.Default.getTextSize('0', ' '+ Node457_144fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_144.setImage(GD.getTextJSON(Node457_144width, Node457_144height, true, false, false, ' '+ Node457_144fontSize + 'px "Arial"'))
- Node457_144.setPosition(639*ratio.ratioX, 51*ratio.ratioY);
- Node457_144.setWidth(Node457_144width);
- Node457_144.setHeight(Node457_144height);
- Node457_144._nodeType = 'text';
- Node457_144._disallowEvert = true;
- Node457_144.setRotation(0*Math.PI/180);
- Node457_144.a('node.width', Node457_144width);
- Node457_144.a('node.height', Node457_144height);
- Node457_144.a('node.rect', [0, 0, Node457_144width, Node457_144height]);
- Node457_144.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_144.a('node.borderwidth', 0);
- Node457_144.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_144.a('node.gradient','');
- Node457_144.a('node.gradientcolor','');
- Node457_144.a('node.text','0');
- Node457_144.a('node.textalign','center');
- Node457_144.a('node.textvAlign','middle');
- Node457_144.a('node.textrect', [Node457_144textStart, 0, Node457_144textWidth, Node457_144height]);
- Node457_144.a('node.color','rgba(0,0,0,1)');
- Node457_144.a('node.font',' '+ Node457_144fontSize + 'px "Arial"');
- Node457_144.a('node.textvisible',true);
- Node457_144.a('node.linefeed',false);
- if (false) {
- Node457_144.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_144.a('node.text') || '0';
- var color=Node457_144.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_144width,Node457_144height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_144fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_144.a('node.underlinepoints',[Node457_144lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_144fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_144fontSize + 'px "Arial"').width + 6, (Node457_144height - Node457_144fontSize) * 0.5*_ratio.ratioY + Node457_144fontSize + 2 ]);
- Node457_144.a('node.underlinevisible',false);
- Node457_144.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_144);
- zoomNodeList.push({
- node: Node457_144,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_145 = new ht.Node();
- var Node457_145textStart, Node457_145textWidth, Node457_145lineStart, Node457_145align = 'center', Node457_145fontSize = 13.3333*_ratio.ratioY,Node457_145width = 58*_ratio.ratioX, Node457_145height = 26*_ratio.ratioY;
- (function () {
- if (Node457_145align === 'left') {
- Node457_145textStart = Node457_145fontSize * 0.2 > 2 ? Node457_145fontSize * 0.2 - 4 : Node457_145fontSize * 0.2 - 9;
- Node457_145textWidth = Node457_145width;
- Node457_145lineStart = 1;
- } else if (Node457_145align === 'right') {
- Node457_145textStart = 0;
- Node457_145textWidth =Node457_145fontSize <= 8 ? Node457_145width + Node457_145fontSize * 0.2 + 6 : Node457_145width - Node457_145fontSize * 0.2;
- Node457_145lineStart = (Node457_145width - (ht.Default.getTextSize('0', ' '+ Node457_145fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_145align === 'center') {
- Node457_145textStart = -3;
- Node457_145textWidth = Node457_145width;
- Node457_145lineStart = Node457_145width - ht.Default.getTextSize('0', ' '+ Node457_145fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_145.setImage(GD.getTextJSON(Node457_145width, Node457_145height, true, false, false, ' '+ Node457_145fontSize + 'px "Arial"'))
- Node457_145.setPosition(639*ratio.ratioX, 75*ratio.ratioY);
- Node457_145.setWidth(Node457_145width);
- Node457_145.setHeight(Node457_145height);
- Node457_145._nodeType = 'text';
- Node457_145._disallowEvert = true;
- Node457_145.setRotation(0*Math.PI/180);
- Node457_145.a('node.width', Node457_145width);
- Node457_145.a('node.height', Node457_145height);
- Node457_145.a('node.rect', [0, 0, Node457_145width, Node457_145height]);
- Node457_145.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_145.a('node.borderwidth', 0);
- Node457_145.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_145.a('node.gradient','');
- Node457_145.a('node.gradientcolor','');
- Node457_145.a('node.text','0');
- Node457_145.a('node.textalign','center');
- Node457_145.a('node.textvAlign','middle');
- Node457_145.a('node.textrect', [Node457_145textStart, 0, Node457_145textWidth, Node457_145height]);
- Node457_145.a('node.color','rgba(0,0,0,1)');
- Node457_145.a('node.font',' '+ Node457_145fontSize + 'px "Arial"');
- Node457_145.a('node.textvisible',true);
- Node457_145.a('node.linefeed',false);
- if (false) {
- Node457_145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_145.a('node.text') || '0';
- var color=Node457_145.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_145width,Node457_145height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_145fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_145.a('node.underlinepoints',[Node457_145lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_145fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_145fontSize + 'px "Arial"').width + 6, (Node457_145height - Node457_145fontSize) * 0.5*_ratio.ratioY + Node457_145fontSize + 2 ]);
- Node457_145.a('node.underlinevisible',false);
- Node457_145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_145);
- zoomNodeList.push({
- node: Node457_145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_146 = new ht.Node();
- var Node457_146textStart, Node457_146textWidth, Node457_146lineStart, Node457_146align = 'center', Node457_146fontSize = 13.3333*_ratio.ratioY,Node457_146width = 58*_ratio.ratioX, Node457_146height = 26*_ratio.ratioY;
- (function () {
- if (Node457_146align === 'left') {
- Node457_146textStart = Node457_146fontSize * 0.2 > 2 ? Node457_146fontSize * 0.2 - 4 : Node457_146fontSize * 0.2 - 9;
- Node457_146textWidth = Node457_146width;
- Node457_146lineStart = 1;
- } else if (Node457_146align === 'right') {
- Node457_146textStart = 0;
- Node457_146textWidth =Node457_146fontSize <= 8 ? Node457_146width + Node457_146fontSize * 0.2 + 6 : Node457_146width - Node457_146fontSize * 0.2;
- Node457_146lineStart = (Node457_146width - (ht.Default.getTextSize('0', ' '+ Node457_146fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_146align === 'center') {
- Node457_146textStart = -3;
- Node457_146textWidth = Node457_146width;
- Node457_146lineStart = Node457_146width - ht.Default.getTextSize('0', ' '+ Node457_146fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_146.setImage(GD.getTextJSON(Node457_146width, Node457_146height, true, false, false, ' '+ Node457_146fontSize + 'px "Arial"'))
- Node457_146.setPosition(639*ratio.ratioX, 100*ratio.ratioY);
- Node457_146.setWidth(Node457_146width);
- Node457_146.setHeight(Node457_146height);
- Node457_146._nodeType = 'text';
- Node457_146._disallowEvert = true;
- Node457_146.setRotation(0*Math.PI/180);
- Node457_146.a('node.width', Node457_146width);
- Node457_146.a('node.height', Node457_146height);
- Node457_146.a('node.rect', [0, 0, Node457_146width, Node457_146height]);
- Node457_146.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_146.a('node.borderwidth', 0);
- Node457_146.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_146.a('node.gradient','');
- Node457_146.a('node.gradientcolor','');
- Node457_146.a('node.text','0');
- Node457_146.a('node.textalign','center');
- Node457_146.a('node.textvAlign','middle');
- Node457_146.a('node.textrect', [Node457_146textStart, 0, Node457_146textWidth, Node457_146height]);
- Node457_146.a('node.color','rgba(0,0,0,1)');
- Node457_146.a('node.font',' '+ Node457_146fontSize + 'px "Arial"');
- Node457_146.a('node.textvisible',true);
- Node457_146.a('node.linefeed',false);
- if (false) {
- Node457_146.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_146.a('node.text') || '0';
- var color=Node457_146.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_146width,Node457_146height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_146fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_146.a('node.underlinepoints',[Node457_146lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_146fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_146fontSize + 'px "Arial"').width + 6, (Node457_146height - Node457_146fontSize) * 0.5*_ratio.ratioY + Node457_146fontSize + 2 ]);
- Node457_146.a('node.underlinevisible',false);
- Node457_146.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_146);
- zoomNodeList.push({
- node: Node457_146,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_147 = new ht.Node();
- var Node457_147textStart, Node457_147textWidth, Node457_147lineStart, Node457_147align = 'center', Node457_147fontSize = 13.3333*_ratio.ratioY,Node457_147width = 58*_ratio.ratioX, Node457_147height = 26*_ratio.ratioY;
- (function () {
- if (Node457_147align === 'left') {
- Node457_147textStart = Node457_147fontSize * 0.2 > 2 ? Node457_147fontSize * 0.2 - 4 : Node457_147fontSize * 0.2 - 9;
- Node457_147textWidth = Node457_147width;
- Node457_147lineStart = 1;
- } else if (Node457_147align === 'right') {
- Node457_147textStart = 0;
- Node457_147textWidth =Node457_147fontSize <= 8 ? Node457_147width + Node457_147fontSize * 0.2 + 6 : Node457_147width - Node457_147fontSize * 0.2;
- Node457_147lineStart = (Node457_147width - (ht.Default.getTextSize('0', ' '+ Node457_147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_147align === 'center') {
- Node457_147textStart = -3;
- Node457_147textWidth = Node457_147width;
- Node457_147lineStart = Node457_147width - ht.Default.getTextSize('0', ' '+ Node457_147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_147.setImage(GD.getTextJSON(Node457_147width, Node457_147height, true, false, false, ' '+ Node457_147fontSize + 'px "Arial"'))
- Node457_147.setPosition(639*ratio.ratioX, 123*ratio.ratioY);
- Node457_147.setWidth(Node457_147width);
- Node457_147.setHeight(Node457_147height);
- Node457_147._nodeType = 'text';
- Node457_147._disallowEvert = true;
- Node457_147.setRotation(0*Math.PI/180);
- Node457_147.a('node.width', Node457_147width);
- Node457_147.a('node.height', Node457_147height);
- Node457_147.a('node.rect', [0, 0, Node457_147width, Node457_147height]);
- Node457_147.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_147.a('node.borderwidth', 0);
- Node457_147.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_147.a('node.gradient','');
- Node457_147.a('node.gradientcolor','');
- Node457_147.a('node.text','0');
- Node457_147.a('node.textalign','center');
- Node457_147.a('node.textvAlign','middle');
- Node457_147.a('node.textrect', [Node457_147textStart, 0, Node457_147textWidth, Node457_147height]);
- Node457_147.a('node.color','rgba(0,0,0,1)');
- Node457_147.a('node.font',' '+ Node457_147fontSize + 'px "Arial"');
- Node457_147.a('node.textvisible',true);
- Node457_147.a('node.linefeed',false);
- if (false) {
- Node457_147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_147.a('node.text') || '0';
- var color=Node457_147.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_147width,Node457_147height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_147.a('node.underlinepoints',[Node457_147lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_147fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_147fontSize + 'px "Arial"').width + 6, (Node457_147height - Node457_147fontSize) * 0.5*_ratio.ratioY + Node457_147fontSize + 2 ]);
- Node457_147.a('node.underlinevisible',false);
- Node457_147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_147);
- zoomNodeList.push({
- node: Node457_147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_148type = 'rect';
- var Node457_148 = new ht.Node(),
- Node457_148BorderWidth = 1*2;
- if (Node457_148type === 'arc') {
- Node457_148BorderWidth *= 1;
- }
- Node457_148.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_148type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_148.setPosition(718*ratio.ratioX, 49*ratio.ratioY);
- Node457_148.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_148.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_148.a('node.width', 65*_ratio.ratioX);
- Node457_148.a('node.height', 24.33136*_ratio.ratioY);
- Node457_148.a('node.type', Node457_148type);
- Node457_148.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_148.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_148.a('node.gradientcolor', '');
- Node457_148.a('node.gradient', '');
- Node457_148.a('node.borderwidth', Node457_148BorderWidth);
- Node457_148.a('node.color', 'rgba(224,224,224,1)');
- Node457_148.a('node.fillrect', [0,0,0,0]);
- Node457_148.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_148.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_148.a('node.fillgradient', '');
- if (Node457_148type !== 'rect') {
- Node457_148.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_148.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_148.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_148type === 'arc') {
- Node457_148.a('node.arcOval', true);
- }
- Node457_148.setRotation(0*Math.PI/180);
- Node457_148.borderWidth = Node457_148BorderWidth;
- Node457_148.borderFillwidth = Node457_148BorderWidth;
- dataModel.add(Node457_148);
- Node457_148._nodename = 'Node457_148'
- Node457_148._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_148,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_148, Node457_148.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_149type = 'rect';
- var Node457_149 = new ht.Node(),
- Node457_149BorderWidth = 1*2;
- if (Node457_149type === 'arc') {
- Node457_149BorderWidth *= 1;
- }
- Node457_149.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_149type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_149.setPosition(718*ratio.ratioX, 73*ratio.ratioY);
- Node457_149.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_149.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_149.a('node.width', 65*_ratio.ratioX);
- Node457_149.a('node.height', 24.33138*_ratio.ratioY);
- Node457_149.a('node.type', Node457_149type);
- Node457_149.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_149.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_149.a('node.gradientcolor', '');
- Node457_149.a('node.gradient', '');
- Node457_149.a('node.borderwidth', Node457_149BorderWidth);
- Node457_149.a('node.color', 'rgba(224,224,224,1)');
- Node457_149.a('node.fillrect', [0,0,0,0]);
- Node457_149.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_149.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_149.a('node.fillgradient', '');
- if (Node457_149type !== 'rect') {
- Node457_149.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_149.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_149.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_149type === 'arc') {
- Node457_149.a('node.arcOval', true);
- }
- Node457_149.setRotation(0*Math.PI/180);
- Node457_149.borderWidth = Node457_149BorderWidth;
- Node457_149.borderFillwidth = Node457_149BorderWidth;
- dataModel.add(Node457_149);
- Node457_149._nodename = 'Node457_149'
- Node457_149._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_149,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_149, Node457_149.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_150type = 'rect';
- var Node457_150 = new ht.Node(),
- Node457_150BorderWidth = 1*2;
- if (Node457_150type === 'arc') {
- Node457_150BorderWidth *= 1;
- }
- Node457_150.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_150type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_150.setPosition(718*ratio.ratioX, 97*ratio.ratioY);
- Node457_150.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_150.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_150.a('node.width', 65*_ratio.ratioX);
- Node457_150.a('node.height', 24.33138*_ratio.ratioY);
- Node457_150.a('node.type', Node457_150type);
- Node457_150.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_150.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_150.a('node.gradientcolor', '');
- Node457_150.a('node.gradient', '');
- Node457_150.a('node.borderwidth', Node457_150BorderWidth);
- Node457_150.a('node.color', 'rgba(224,224,224,1)');
- Node457_150.a('node.fillrect', [0,0,0,0]);
- Node457_150.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_150.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_150.a('node.fillgradient', '');
- if (Node457_150type !== 'rect') {
- Node457_150.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_150.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_150.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_150type === 'arc') {
- Node457_150.a('node.arcOval', true);
- }
- Node457_150.setRotation(0*Math.PI/180);
- Node457_150.borderWidth = Node457_150BorderWidth;
- Node457_150.borderFillwidth = Node457_150BorderWidth;
- dataModel.add(Node457_150);
- Node457_150._nodename = 'Node457_150'
- Node457_150._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_150,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_150, Node457_150.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_151type = 'rect';
- var Node457_151 = new ht.Node(),
- Node457_151BorderWidth = 1*2;
- if (Node457_151type === 'arc') {
- Node457_151BorderWidth *= 1;
- }
- Node457_151.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node457_151type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_151.setPosition(718*ratio.ratioX, 122*ratio.ratioY);
- Node457_151.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node457_151.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_151.a('node.width', 65*_ratio.ratioX);
- Node457_151.a('node.height', 24.33136*_ratio.ratioY);
- Node457_151.a('node.type', Node457_151type);
- Node457_151.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node457_151.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_151.a('node.gradientcolor', '');
- Node457_151.a('node.gradient', '');
- Node457_151.a('node.borderwidth', Node457_151BorderWidth);
- Node457_151.a('node.color', 'rgba(224,224,224,1)');
- Node457_151.a('node.fillrect', [0,0,0,0]);
- Node457_151.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_151.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_151.a('node.fillgradient', '');
- if (Node457_151type !== 'rect') {
- Node457_151.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_151.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_151.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_151type === 'arc') {
- Node457_151.a('node.arcOval', true);
- }
- Node457_151.setRotation(0*Math.PI/180);
- Node457_151.borderWidth = Node457_151BorderWidth;
- Node457_151.borderFillwidth = Node457_151BorderWidth;
- dataModel.add(Node457_151);
- Node457_151._nodename = 'Node457_151'
- Node457_151._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_151,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_151, Node457_151.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_152type = 'rect';
- var Node457_152 = new ht.Node(),
- Node457_152BorderWidth = 1*2;
- if (Node457_152type === 'arc') {
- Node457_152BorderWidth *= 1;
- }
- Node457_152.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node457_152type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_152.setPosition(718*ratio.ratioX, 146*ratio.ratioY);
- Node457_152.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node457_152.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_152.a('node.width', 65*_ratio.ratioX);
- Node457_152.a('node.height', 24.33138*_ratio.ratioY);
- Node457_152.a('node.type', Node457_152type);
- Node457_152.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node457_152.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_152.a('node.gradientcolor', '');
- Node457_152.a('node.gradient', '');
- Node457_152.a('node.borderwidth', Node457_152BorderWidth);
- Node457_152.a('node.color', 'rgba(224,224,224,1)');
- Node457_152.a('node.fillrect', [0,0,0,0]);
- Node457_152.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_152.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_152.a('node.fillgradient', '');
- if (Node457_152type !== 'rect') {
- Node457_152.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_152.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_152.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_152type === 'arc') {
- Node457_152.a('node.arcOval', true);
- }
- Node457_152.setRotation(0*Math.PI/180);
- Node457_152.borderWidth = Node457_152BorderWidth;
- Node457_152.borderFillwidth = Node457_152BorderWidth;
- dataModel.add(Node457_152);
- Node457_152._nodename = 'Node457_152'
- Node457_152._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_152,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_152, Node457_152.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_153 = new ht.Node();
- var Node457_153textStart, Node457_153textWidth, Node457_153lineStart, Node457_153align = 'center', Node457_153fontSize = 13.3333*_ratio.ratioY,Node457_153width = 59*_ratio.ratioX, Node457_153height = 26*_ratio.ratioY;
- (function () {
- if (Node457_153align === 'left') {
- Node457_153textStart = Node457_153fontSize * 0.2 > 2 ? Node457_153fontSize * 0.2 - 4 : Node457_153fontSize * 0.2 - 9;
- Node457_153textWidth = Node457_153width;
- Node457_153lineStart = 1;
- } else if (Node457_153align === 'right') {
- Node457_153textStart = 0;
- Node457_153textWidth =Node457_153fontSize <= 8 ? Node457_153width + Node457_153fontSize * 0.2 + 6 : Node457_153width - Node457_153fontSize * 0.2;
- Node457_153lineStart = (Node457_153width - (ht.Default.getTextSize('万kWh', ' '+ Node457_153fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_153align === 'center') {
- Node457_153textStart = -3;
- Node457_153textWidth = Node457_153width;
- Node457_153lineStart = Node457_153width - ht.Default.getTextSize('万kWh', ' '+ Node457_153fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_153.setImage(GD.getTextJSON(Node457_153width, Node457_153height, true, false, false, ' '+ Node457_153fontSize + 'px "Arial"'))
- Node457_153.setPosition(719*ratio.ratioX, 51*ratio.ratioY);
- Node457_153.setWidth(Node457_153width);
- Node457_153.setHeight(Node457_153height);
- Node457_153._nodeType = 'text';
- Node457_153._disallowEvert = true;
- Node457_153.setRotation(0*Math.PI/180);
- Node457_153.a('node.width', Node457_153width);
- Node457_153.a('node.height', Node457_153height);
- Node457_153.a('node.rect', [0, 0, Node457_153width, Node457_153height]);
- Node457_153.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_153.a('node.borderwidth', 0);
- Node457_153.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_153.a('node.gradient','');
- Node457_153.a('node.gradientcolor','');
- Node457_153.a('node.text','万kWh');
- Node457_153.a('node.textalign','center');
- Node457_153.a('node.textvAlign','middle');
- Node457_153.a('node.textrect', [Node457_153textStart, 0, Node457_153textWidth, Node457_153height]);
- Node457_153.a('node.color','rgba(128,128,128,1)');
- Node457_153.a('node.font',' '+ Node457_153fontSize + 'px "Arial"');
- Node457_153.a('node.textvisible',true);
- Node457_153.a('node.linefeed',false);
- if (false) {
- Node457_153.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_153.a('node.text') || '万kWh';
- var color=Node457_153.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_153width,Node457_153height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_153fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_153.a('node.underlinepoints',[Node457_153lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_153fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_153fontSize + 'px "Arial"').width + 6, (Node457_153height - Node457_153fontSize) * 0.5*_ratio.ratioY + Node457_153fontSize + 2 ]);
- Node457_153.a('node.underlinevisible',false);
- Node457_153.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_153);
- zoomNodeList.push({
- node: Node457_153,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_154 = new ht.Node();
- var Node457_154textStart, Node457_154textWidth, Node457_154lineStart, Node457_154align = 'center', Node457_154fontSize = 13.3333*_ratio.ratioY,Node457_154width = 59*_ratio.ratioX, Node457_154height = 26*_ratio.ratioY;
- (function () {
- if (Node457_154align === 'left') {
- Node457_154textStart = Node457_154fontSize * 0.2 > 2 ? Node457_154fontSize * 0.2 - 4 : Node457_154fontSize * 0.2 - 9;
- Node457_154textWidth = Node457_154width;
- Node457_154lineStart = 1;
- } else if (Node457_154align === 'right') {
- Node457_154textStart = 0;
- Node457_154textWidth =Node457_154fontSize <= 8 ? Node457_154width + Node457_154fontSize * 0.2 + 6 : Node457_154width - Node457_154fontSize * 0.2;
- Node457_154lineStart = (Node457_154width - (ht.Default.getTextSize('万kWh', ' '+ Node457_154fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_154align === 'center') {
- Node457_154textStart = -3;
- Node457_154textWidth = Node457_154width;
- Node457_154lineStart = Node457_154width - ht.Default.getTextSize('万kWh', ' '+ Node457_154fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_154.setImage(GD.getTextJSON(Node457_154width, Node457_154height, true, false, false, ' '+ Node457_154fontSize + 'px "Arial"'))
- Node457_154.setPosition(719*ratio.ratioX, 75*ratio.ratioY);
- Node457_154.setWidth(Node457_154width);
- Node457_154.setHeight(Node457_154height);
- Node457_154._nodeType = 'text';
- Node457_154._disallowEvert = true;
- Node457_154.setRotation(0*Math.PI/180);
- Node457_154.a('node.width', Node457_154width);
- Node457_154.a('node.height', Node457_154height);
- Node457_154.a('node.rect', [0, 0, Node457_154width, Node457_154height]);
- Node457_154.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_154.a('node.borderwidth', 0);
- Node457_154.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_154.a('node.gradient','');
- Node457_154.a('node.gradientcolor','');
- Node457_154.a('node.text','万kWh');
- Node457_154.a('node.textalign','center');
- Node457_154.a('node.textvAlign','middle');
- Node457_154.a('node.textrect', [Node457_154textStart, 0, Node457_154textWidth, Node457_154height]);
- Node457_154.a('node.color','rgba(128,128,128,1)');
- Node457_154.a('node.font',' '+ Node457_154fontSize + 'px "Arial"');
- Node457_154.a('node.textvisible',true);
- Node457_154.a('node.linefeed',false);
- if (false) {
- Node457_154.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_154.a('node.text') || '万kWh';
- var color=Node457_154.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_154width,Node457_154height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_154fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_154.a('node.underlinepoints',[Node457_154lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_154fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_154fontSize + 'px "Arial"').width + 6, (Node457_154height - Node457_154fontSize) * 0.5*_ratio.ratioY + Node457_154fontSize + 2 ]);
- Node457_154.a('node.underlinevisible',false);
- Node457_154.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_154);
- zoomNodeList.push({
- node: Node457_154,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_155 = new ht.Node();
- var Node457_155textStart, Node457_155textWidth, Node457_155lineStart, Node457_155align = 'center', Node457_155fontSize = 13.3333*_ratio.ratioY,Node457_155width = 59*_ratio.ratioX, Node457_155height = 26*_ratio.ratioY;
- (function () {
- if (Node457_155align === 'left') {
- Node457_155textStart = Node457_155fontSize * 0.2 > 2 ? Node457_155fontSize * 0.2 - 4 : Node457_155fontSize * 0.2 - 9;
- Node457_155textWidth = Node457_155width;
- Node457_155lineStart = 1;
- } else if (Node457_155align === 'right') {
- Node457_155textStart = 0;
- Node457_155textWidth =Node457_155fontSize <= 8 ? Node457_155width + Node457_155fontSize * 0.2 + 6 : Node457_155width - Node457_155fontSize * 0.2;
- Node457_155lineStart = (Node457_155width - (ht.Default.getTextSize('万kWh', ' '+ Node457_155fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_155align === 'center') {
- Node457_155textStart = -3;
- Node457_155textWidth = Node457_155width;
- Node457_155lineStart = Node457_155width - ht.Default.getTextSize('万kWh', ' '+ Node457_155fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_155.setImage(GD.getTextJSON(Node457_155width, Node457_155height, true, false, false, ' '+ Node457_155fontSize + 'px "Arial"'))
- Node457_155.setPosition(719*ratio.ratioX, 98*ratio.ratioY);
- Node457_155.setWidth(Node457_155width);
- Node457_155.setHeight(Node457_155height);
- Node457_155._nodeType = 'text';
- Node457_155._disallowEvert = true;
- Node457_155.setRotation(0*Math.PI/180);
- Node457_155.a('node.width', Node457_155width);
- Node457_155.a('node.height', Node457_155height);
- Node457_155.a('node.rect', [0, 0, Node457_155width, Node457_155height]);
- Node457_155.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_155.a('node.borderwidth', 0);
- Node457_155.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_155.a('node.gradient','');
- Node457_155.a('node.gradientcolor','');
- Node457_155.a('node.text','万kWh');
- Node457_155.a('node.textalign','center');
- Node457_155.a('node.textvAlign','middle');
- Node457_155.a('node.textrect', [Node457_155textStart, 0, Node457_155textWidth, Node457_155height]);
- Node457_155.a('node.color','rgba(128,128,128,1)');
- Node457_155.a('node.font',' '+ Node457_155fontSize + 'px "Arial"');
- Node457_155.a('node.textvisible',true);
- Node457_155.a('node.linefeed',false);
- if (false) {
- Node457_155.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_155.a('node.text') || '万kWh';
- var color=Node457_155.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_155width,Node457_155height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_155fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_155.a('node.underlinepoints',[Node457_155lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_155fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_155fontSize + 'px "Arial"').width + 6, (Node457_155height - Node457_155fontSize) * 0.5*_ratio.ratioY + Node457_155fontSize + 2 ]);
- Node457_155.a('node.underlinevisible',false);
- Node457_155.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_155);
- zoomNodeList.push({
- node: Node457_155,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_156 = new ht.Node();
- var Node457_156textStart, Node457_156textWidth, Node457_156lineStart, Node457_156align = 'center', Node457_156fontSize = 13.3333*_ratio.ratioY,Node457_156width = 59*_ratio.ratioX, Node457_156height = 26*_ratio.ratioY;
- (function () {
- if (Node457_156align === 'left') {
- Node457_156textStart = Node457_156fontSize * 0.2 > 2 ? Node457_156fontSize * 0.2 - 4 : Node457_156fontSize * 0.2 - 9;
- Node457_156textWidth = Node457_156width;
- Node457_156lineStart = 1;
- } else if (Node457_156align === 'right') {
- Node457_156textStart = 0;
- Node457_156textWidth =Node457_156fontSize <= 8 ? Node457_156width + Node457_156fontSize * 0.2 + 6 : Node457_156width - Node457_156fontSize * 0.2;
- Node457_156lineStart = (Node457_156width - (ht.Default.getTextSize('万kWh', ' '+ Node457_156fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_156align === 'center') {
- Node457_156textStart = -3;
- Node457_156textWidth = Node457_156width;
- Node457_156lineStart = Node457_156width - ht.Default.getTextSize('万kWh', ' '+ Node457_156fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_156.setImage(GD.getTextJSON(Node457_156width, Node457_156height, true, false, false, ' '+ Node457_156fontSize + 'px "Arial"'))
- Node457_156.setPosition(719*ratio.ratioX, 124*ratio.ratioY);
- Node457_156.setWidth(Node457_156width);
- Node457_156.setHeight(Node457_156height);
- Node457_156._nodeType = 'text';
- Node457_156._disallowEvert = true;
- Node457_156.setRotation(0*Math.PI/180);
- Node457_156.a('node.width', Node457_156width);
- Node457_156.a('node.height', Node457_156height);
- Node457_156.a('node.rect', [0, 0, Node457_156width, Node457_156height]);
- Node457_156.a('node.bordercolor','rgba(128,128,128,1)');
- Node457_156.a('node.borderwidth', 0);
- Node457_156.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_156.a('node.gradient','');
- Node457_156.a('node.gradientcolor','');
- Node457_156.a('node.text','万kWh');
- Node457_156.a('node.textalign','center');
- Node457_156.a('node.textvAlign','middle');
- Node457_156.a('node.textrect', [Node457_156textStart, 0, Node457_156textWidth, Node457_156height]);
- Node457_156.a('node.color','rgba(128,128,128,1)');
- Node457_156.a('node.font',' '+ Node457_156fontSize + 'px "Arial"');
- Node457_156.a('node.textvisible',true);
- Node457_156.a('node.linefeed',false);
- if (false) {
- Node457_156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_156.a('node.text') || '万kWh';
- var color=Node457_156.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_156width,Node457_156height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_156fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_156.a('node.underlinepoints',[Node457_156lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_156fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node457_156fontSize + 'px "Arial"').width + 6, (Node457_156height - Node457_156fontSize) * 0.5*_ratio.ratioY + Node457_156fontSize + 2 ]);
- Node457_156.a('node.underlinevisible',false);
- Node457_156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_156);
- zoomNodeList.push({
- node: Node457_156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_157 = new ht.Node();
- var Node457_157textStart, Node457_157textWidth, Node457_157lineStart, Node457_157align = 'left', Node457_157fontSize = 11.99997*_ratio.ratioY,Node457_157width = 53*_ratio.ratioX, Node457_157height = 20*_ratio.ratioY;
- (function () {
- if (Node457_157align === 'left') {
- Node457_157textStart = Node457_157fontSize * 0.2 > 2 ? Node457_157fontSize * 0.2 - 4 : Node457_157fontSize * 0.2 - 9;
- Node457_157textWidth = Node457_157width;
- Node457_157lineStart = 1;
- } else if (Node457_157align === 'right') {
- Node457_157textStart = 0;
- Node457_157textWidth =Node457_157fontSize <= 8 ? Node457_157width + Node457_157fontSize * 0.2 + 6 : Node457_157width - Node457_157fontSize * 0.2;
- Node457_157lineStart = (Node457_157width - (ht.Default.getTextSize('机', 'bold '+ Node457_157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_157align === 'center') {
- Node457_157textStart = -3;
- Node457_157textWidth = Node457_157width;
- Node457_157lineStart = Node457_157width - ht.Default.getTextSize('机', 'bold '+ Node457_157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_157.setImage(GD.getTextJSON(Node457_157width, Node457_157height, true, false, false, 'bold '+ Node457_157fontSize + 'px "Arial"'))
- Node457_157.setPosition(1344*ratio.ratioX, 85*ratio.ratioY);
- Node457_157.setWidth(Node457_157width);
- Node457_157.setHeight(Node457_157height);
- Node457_157._nodeType = 'text';
- Node457_157._disallowEvert = true;
- Node457_157.setRotation(0*Math.PI/180);
- Node457_157.a('node.width', Node457_157width);
- Node457_157.a('node.height', Node457_157height);
- Node457_157.a('node.rect', [0, 0, Node457_157width, Node457_157height]);
- Node457_157.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_157.a('node.borderwidth', 0);
- Node457_157.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_157.a('node.gradient','');
- Node457_157.a('node.gradientcolor','');
- Node457_157.a('node.text','机');
- Node457_157.a('node.textalign','left');
- Node457_157.a('node.textvAlign','middle');
- Node457_157.a('node.textrect', [Node457_157textStart, 0, Node457_157textWidth, Node457_157height]);
- Node457_157.a('node.color','rgba(255,255,255,1)');
- Node457_157.a('node.font','bold '+ Node457_157fontSize + 'px "Arial"');
- Node457_157.a('node.textvisible',true);
- Node457_157.a('node.linefeed',false);
- if (false) {
- Node457_157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_157.a('node.text') || '机';
- var color=Node457_157.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node457_157width,Node457_157height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node457_157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_157.a('node.underlinepoints',[Node457_157lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node457_157fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node457_157fontSize + 'px "Arial"').width + 6, (Node457_157height - Node457_157fontSize) * 0.5*_ratio.ratioY + Node457_157fontSize + 2 ]);
- Node457_157.a('node.underlinevisible',false);
- Node457_157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_157);
- zoomNodeList.push({
- node: Node457_157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_158 = new ht.Node();
- var Node457_158textStart, Node457_158textWidth, Node457_158lineStart, Node457_158align = 'left', Node457_158fontSize = 11.99997*_ratio.ratioY,Node457_158width = 53*_ratio.ratioX, Node457_158height = 20*_ratio.ratioY;
- (function () {
- if (Node457_158align === 'left') {
- Node457_158textStart = Node457_158fontSize * 0.2 > 2 ? Node457_158fontSize * 0.2 - 4 : Node457_158fontSize * 0.2 - 9;
- Node457_158textWidth = Node457_158width;
- Node457_158lineStart = 1;
- } else if (Node457_158align === 'right') {
- Node457_158textStart = 0;
- Node457_158textWidth =Node457_158fontSize <= 8 ? Node457_158width + Node457_158fontSize * 0.2 + 6 : Node457_158width - Node457_158fontSize * 0.2;
- Node457_158lineStart = (Node457_158width - (ht.Default.getTextSize('状', 'bold '+ Node457_158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_158align === 'center') {
- Node457_158textStart = -3;
- Node457_158textWidth = Node457_158width;
- Node457_158lineStart = Node457_158width - ht.Default.getTextSize('状', 'bold '+ Node457_158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_158.setImage(GD.getTextJSON(Node457_158width, Node457_158height, true, false, false, 'bold '+ Node457_158fontSize + 'px "Arial"'))
- Node457_158.setPosition(1344*ratio.ratioX, 108*ratio.ratioY);
- Node457_158.setWidth(Node457_158width);
- Node457_158.setHeight(Node457_158height);
- Node457_158._nodeType = 'text';
- Node457_158._disallowEvert = true;
- Node457_158.setRotation(0*Math.PI/180);
- Node457_158.a('node.width', Node457_158width);
- Node457_158.a('node.height', Node457_158height);
- Node457_158.a('node.rect', [0, 0, Node457_158width, Node457_158height]);
- Node457_158.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_158.a('node.borderwidth', 0);
- Node457_158.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_158.a('node.gradient','');
- Node457_158.a('node.gradientcolor','');
- Node457_158.a('node.text','状');
- Node457_158.a('node.textalign','left');
- Node457_158.a('node.textvAlign','middle');
- Node457_158.a('node.textrect', [Node457_158textStart, 0, Node457_158textWidth, Node457_158height]);
- Node457_158.a('node.color','rgba(255,255,255,1)');
- Node457_158.a('node.font','bold '+ Node457_158fontSize + 'px "Arial"');
- Node457_158.a('node.textvisible',true);
- Node457_158.a('node.linefeed',false);
- if (false) {
- Node457_158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_158.a('node.text') || '状';
- var color=Node457_158.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node457_158width,Node457_158height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node457_158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_158.a('node.underlinepoints',[Node457_158lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node457_158fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node457_158fontSize + 'px "Arial"').width + 6, (Node457_158height - Node457_158fontSize) * 0.5*_ratio.ratioY + Node457_158fontSize + 2 ]);
- Node457_158.a('node.underlinevisible',false);
- Node457_158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_158);
- zoomNodeList.push({
- node: Node457_158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_159 = new ht.Node();
- var Node457_159textStart, Node457_159textWidth, Node457_159lineStart, Node457_159align = 'left', Node457_159fontSize = 11.99997*_ratio.ratioY,Node457_159width = 53*_ratio.ratioX, Node457_159height = 20*_ratio.ratioY;
- (function () {
- if (Node457_159align === 'left') {
- Node457_159textStart = Node457_159fontSize * 0.2 > 2 ? Node457_159fontSize * 0.2 - 4 : Node457_159fontSize * 0.2 - 9;
- Node457_159textWidth = Node457_159width;
- Node457_159lineStart = 1;
- } else if (Node457_159align === 'right') {
- Node457_159textStart = 0;
- Node457_159textWidth =Node457_159fontSize <= 8 ? Node457_159width + Node457_159fontSize * 0.2 + 6 : Node457_159width - Node457_159fontSize * 0.2;
- Node457_159lineStart = (Node457_159width - (ht.Default.getTextSize('态', 'bold '+ Node457_159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_159align === 'center') {
- Node457_159textStart = -3;
- Node457_159textWidth = Node457_159width;
- Node457_159lineStart = Node457_159width - ht.Default.getTextSize('态', 'bold '+ Node457_159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_159.setImage(GD.getTextJSON(Node457_159width, Node457_159height, true, false, false, 'bold '+ Node457_159fontSize + 'px "Arial"'))
- Node457_159.setPosition(1344*ratio.ratioX, 130*ratio.ratioY);
- Node457_159.setWidth(Node457_159width);
- Node457_159.setHeight(Node457_159height);
- Node457_159._nodeType = 'text';
- Node457_159._disallowEvert = true;
- Node457_159.setRotation(0*Math.PI/180);
- Node457_159.a('node.width', Node457_159width);
- Node457_159.a('node.height', Node457_159height);
- Node457_159.a('node.rect', [0, 0, Node457_159width, Node457_159height]);
- Node457_159.a('node.bordercolor','rgba(255,255,255,1)');
- Node457_159.a('node.borderwidth', 0);
- Node457_159.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_159.a('node.gradient','');
- Node457_159.a('node.gradientcolor','');
- Node457_159.a('node.text','态');
- Node457_159.a('node.textalign','left');
- Node457_159.a('node.textvAlign','middle');
- Node457_159.a('node.textrect', [Node457_159textStart, 0, Node457_159textWidth, Node457_159height]);
- Node457_159.a('node.color','rgba(255,255,255,1)');
- Node457_159.a('node.font','bold '+ Node457_159fontSize + 'px "Arial"');
- Node457_159.a('node.textvisible',true);
- Node457_159.a('node.linefeed',false);
- if (false) {
- Node457_159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_159.a('node.text') || '态';
- var color=Node457_159.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node457_159width,Node457_159height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node457_159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_159.a('node.underlinepoints',[Node457_159lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node457_159fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node457_159fontSize + 'px "Arial"').width + 6, (Node457_159height - Node457_159fontSize) * 0.5*_ratio.ratioY + Node457_159fontSize + 2 ]);
- Node457_159.a('node.underlinevisible',false);
- Node457_159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_159);
- zoomNodeList.push({
- node: Node457_159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_160 = new ht.Node();
- var Node457_160textStart, Node457_160textWidth, Node457_160lineStart, Node457_160align = 'center', Node457_160fontSize = 14.66663*_ratio.ratioY,Node457_160width = 67*_ratio.ratioX, Node457_160height = 26*_ratio.ratioY;
- (function () {
- if (Node457_160align === 'left') {
- Node457_160textStart = Node457_160fontSize * 0.2 > 2 ? Node457_160fontSize * 0.2 - 4 : Node457_160fontSize * 0.2 - 9;
- Node457_160textWidth = Node457_160width;
- Node457_160lineStart = 1;
- } else if (Node457_160align === 'right') {
- Node457_160textStart = 0;
- Node457_160textWidth =Node457_160fontSize <= 8 ? Node457_160width + Node457_160fontSize * 0.2 + 6 : Node457_160width - Node457_160fontSize * 0.2;
- Node457_160lineStart = (Node457_160width - (ht.Default.getTextSize('台', ' '+ Node457_160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_160align === 'center') {
- Node457_160textStart = -3;
- Node457_160textWidth = Node457_160width;
- Node457_160lineStart = Node457_160width - ht.Default.getTextSize('台', ' '+ Node457_160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_160.setImage(GD.getTextJSON(Node457_160width, Node457_160height, true, false, false, ' '+ Node457_160fontSize + 'px "Arial"'))
- Node457_160.setPosition(1587*ratio.ratioX, 83*ratio.ratioY);
- Node457_160.setWidth(Node457_160width);
- Node457_160.setHeight(Node457_160height);
- Node457_160._nodeType = 'text';
- Node457_160._disallowEvert = true;
- Node457_160.setRotation(0*Math.PI/180);
- Node457_160.a('node.width', Node457_160width);
- Node457_160.a('node.height', Node457_160height);
- Node457_160.a('node.rect', [0, 0, Node457_160width, Node457_160height]);
- Node457_160.a('node.bordercolor','rgba(105,105,105,1)');
- Node457_160.a('node.borderwidth', 0);
- Node457_160.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_160.a('node.gradient','');
- Node457_160.a('node.gradientcolor','');
- Node457_160.a('node.text','台');
- Node457_160.a('node.textalign','center');
- Node457_160.a('node.textvAlign','middle');
- Node457_160.a('node.textrect', [Node457_160textStart, 0, Node457_160textWidth, Node457_160height]);
- Node457_160.a('node.color','rgba(105,105,105,1)');
- Node457_160.a('node.font',' '+ Node457_160fontSize + 'px "Arial"');
- Node457_160.a('node.textvisible',true);
- Node457_160.a('node.linefeed',false);
- if (false) {
- Node457_160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_160.a('node.text') || '台';
- var color=Node457_160.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_160width,Node457_160height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_160.a('node.underlinepoints',[Node457_160lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_160fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457_160fontSize + 'px "Arial"').width + 6, (Node457_160height - Node457_160fontSize) * 0.5*_ratio.ratioY + Node457_160fontSize + 2 ]);
- Node457_160.a('node.underlinevisible',false);
- Node457_160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_160);
- zoomNodeList.push({
- node: Node457_160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_161;
- (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');
- Node457_161 = new ht.Node();
- Node457_161.setPosition(1476*ratio.ratioX, 67*ratio.ratioY);
- Node457_161.setSize(9*ratioX, 60*ratioY);
- Node457_161.setImage('imgimage//page_list_box_left_blue.jpg');
- Node457_161.setRotation(0*Math.PI/180);
- Node457_161._zoomBy = 'Default';
- Node457_161._nodeType = 'image';
- Node457_161._disallowEvert = true;
- dataModel.add(Node457_161);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_162type = 'rect';
- var Node457_162 = new ht.Node(),
- Node457_162BorderWidth = 1*2;
- if (Node457_162type === 'arc') {
- Node457_162BorderWidth *= 1;
- }
- Node457_162.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node457_162type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node457_162.setPosition(1545*ratio.ratioX, 67*ratio.ratioY);
- Node457_162.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node457_162.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node457_162.a('node.width', 127*_ratio.ratioX);
- Node457_162.a('node.height', 60.81538*_ratio.ratioY);
- Node457_162.a('node.type', Node457_162type);
- Node457_162.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node457_162.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node457_162.a('node.gradientcolor', '');
- Node457_162.a('node.gradient', '');
- Node457_162.a('node.borderwidth', Node457_162BorderWidth);
- Node457_162.a('node.color', 'rgba(128,128,128,1)');
- Node457_162.a('node.fillrect', [0,0,0,0]);
- Node457_162.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node457_162.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node457_162.a('node.fillgradient', '');
- if (Node457_162type !== 'rect') {
- Node457_162.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node457_162.a('node.arcTo', parseFloat('@arcTo@'));
- Node457_162.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node457_162type === 'arc') {
- Node457_162.a('node.arcOval', true);
- }
- Node457_162.setRotation(0*Math.PI/180);
- Node457_162.borderWidth = Node457_162BorderWidth;
- Node457_162.borderFillwidth = Node457_162BorderWidth;
- dataModel.add(Node457_162);
- Node457_162._nodename = 'Node457_162'
- Node457_162._nodeType = 'rect';
- zoomNodeList.push({
- node: Node457_162,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node457_162, Node457_162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_163 = new ht.Node();
- var Node457_163textStart, Node457_163textWidth, Node457_163lineStart, Node457_163align = 'left', Node457_163fontSize = 15.99996*_ratio.ratioY,Node457_163width = 29*_ratio.ratioX, Node457_163height = 25*_ratio.ratioY;
- (function () {
- if (Node457_163align === 'left') {
- Node457_163textStart = Node457_163fontSize * 0.2 > 2 ? Node457_163fontSize * 0.2 - 4 : Node457_163fontSize * 0.2 - 9;
- Node457_163textWidth = Node457_163width;
- Node457_163lineStart = 1;
- } else if (Node457_163align === 'right') {
- Node457_163textStart = 0;
- Node457_163textWidth =Node457_163fontSize <= 8 ? Node457_163width + Node457_163fontSize * 0.2 + 6 : Node457_163width - Node457_163fontSize * 0.2;
- Node457_163lineStart = (Node457_163width - (ht.Default.getTextSize('0', ' '+ Node457_163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_163align === 'center') {
- Node457_163textStart = -3;
- Node457_163textWidth = Node457_163width;
- Node457_163lineStart = Node457_163width - ht.Default.getTextSize('0', ' '+ Node457_163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_163.setImage(GD.getTextJSON(Node457_163width, Node457_163height, true, false, false, ' '+ Node457_163fontSize + 'px "Arial"'))
- Node457_163.setPosition(1508*ratio.ratioX, 82*ratio.ratioY);
- Node457_163.setWidth(Node457_163width);
- Node457_163.setHeight(Node457_163height);
- Node457_163._nodeType = 'text';
- Node457_163._disallowEvert = true;
- Node457_163.setRotation(0*Math.PI/180);
- Node457_163.a('node.width', Node457_163width);
- Node457_163.a('node.height', Node457_163height);
- Node457_163.a('node.rect', [0, 0, Node457_163width, Node457_163height]);
- Node457_163.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_163.a('node.borderwidth', 0);
- Node457_163.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_163.a('node.gradient','');
- Node457_163.a('node.gradientcolor','');
- Node457_163.a('node.text','0');
- Node457_163.a('node.textalign','left');
- Node457_163.a('node.textvAlign','middle');
- Node457_163.a('node.textrect', [Node457_163textStart, 0, Node457_163textWidth, Node457_163height]);
- Node457_163.a('node.color','rgba(0,0,0,1)');
- Node457_163.a('node.font',' '+ Node457_163fontSize + 'px "Arial"');
- Node457_163.a('node.textvisible',true);
- Node457_163.a('node.linefeed',false);
- if (false) {
- Node457_163.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_163.a('node.text') || '0';
- var color=Node457_163.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node457_163width,Node457_163height,15.99996*_ratio.ratioY,"left",color,' '+ Node457_163fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_163.a('node.underlinepoints',[Node457_163lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node457_163fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_163fontSize + 'px "Arial"').width + 6, (Node457_163height - Node457_163fontSize) * 0.5*_ratio.ratioY + Node457_163fontSize + 2 ]);
- Node457_163.a('node.underlinevisible',false);
- Node457_163.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_163);
- zoomNodeList.push({
- node: Node457_163,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_164;
- (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');
- Node457_164 = new ht.Node();
- Node457_164.setPosition(1752*ratio.ratioX, 67*ratio.ratioY);
- Node457_164.setSize(9*ratioX, 60*ratioY);
- Node457_164.setImage('imgimage//page_list_box_left_red.jpg');
- Node457_164.setRotation(0*Math.PI/180);
- Node457_164._zoomBy = 'Default';
- Node457_164._nodeType = 'image';
- Node457_164._disallowEvert = true;
- dataModel.add(Node457_164);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_165 = new ht.Node();
- var Node457_165textStart, Node457_165textWidth, Node457_165lineStart, Node457_165align = 'left', Node457_165fontSize = 15.99996*_ratio.ratioY,Node457_165width = 29*_ratio.ratioX, Node457_165height = 25*_ratio.ratioY;
- (function () {
- if (Node457_165align === 'left') {
- Node457_165textStart = Node457_165fontSize * 0.2 > 2 ? Node457_165fontSize * 0.2 - 4 : Node457_165fontSize * 0.2 - 9;
- Node457_165textWidth = Node457_165width;
- Node457_165lineStart = 1;
- } else if (Node457_165align === 'right') {
- Node457_165textStart = 0;
- Node457_165textWidth =Node457_165fontSize <= 8 ? Node457_165width + Node457_165fontSize * 0.2 + 6 : Node457_165width - Node457_165fontSize * 0.2;
- Node457_165lineStart = (Node457_165width - (ht.Default.getTextSize('0', ' '+ Node457_165fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_165align === 'center') {
- Node457_165textStart = -3;
- Node457_165textWidth = Node457_165width;
- Node457_165lineStart = Node457_165width - ht.Default.getTextSize('0', ' '+ Node457_165fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_165.setImage(GD.getTextJSON(Node457_165width, Node457_165height, true, false, false, ' '+ Node457_165fontSize + 'px "Arial"'))
- Node457_165.setPosition(1784*ratio.ratioX, 82*ratio.ratioY);
- Node457_165.setWidth(Node457_165width);
- Node457_165.setHeight(Node457_165height);
- Node457_165._nodeType = 'text';
- Node457_165._disallowEvert = true;
- Node457_165.setRotation(0*Math.PI/180);
- Node457_165.a('node.width', Node457_165width);
- Node457_165.a('node.height', Node457_165height);
- Node457_165.a('node.rect', [0, 0, Node457_165width, Node457_165height]);
- Node457_165.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_165.a('node.borderwidth', 0);
- Node457_165.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_165.a('node.gradient','');
- Node457_165.a('node.gradientcolor','');
- Node457_165.a('node.text','0');
- Node457_165.a('node.textalign','left');
- Node457_165.a('node.textvAlign','middle');
- Node457_165.a('node.textrect', [Node457_165textStart, 0, Node457_165textWidth, Node457_165height]);
- Node457_165.a('node.color','rgba(0,0,0,1)');
- Node457_165.a('node.font',' '+ Node457_165fontSize + 'px "Arial"');
- Node457_165.a('node.textvisible',true);
- Node457_165.a('node.linefeed',false);
- if (false) {
- Node457_165.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_165.a('node.text') || '0';
- var color=Node457_165.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node457_165width,Node457_165height,15.99996*_ratio.ratioY,"left",color,' '+ Node457_165fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_165.a('node.underlinepoints',[Node457_165lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node457_165fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_165fontSize + 'px "Arial"').width + 6, (Node457_165height - Node457_165fontSize) * 0.5*_ratio.ratioY + Node457_165fontSize + 2 ]);
- Node457_165.a('node.underlinevisible',false);
- Node457_165.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_165);
- zoomNodeList.push({
- node: Node457_165,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node457_166;
- (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');
- Node457_166 = new ht.Node();
- Node457_166.setPosition(1752*ratio.ratioX, 128*ratio.ratioY);
- Node457_166.setSize(9*ratioX, 60*ratioY);
- Node457_166.setImage('imgimage//page_list_box_left_black.jpg');
- Node457_166.setRotation(0*Math.PI/180);
- Node457_166._zoomBy = 'Default';
- Node457_166._nodeType = 'image';
- Node457_166._disallowEvert = true;
- dataModel.add(Node457_166);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_167 = new ht.Node();
- var Node457_167textStart, Node457_167textWidth, Node457_167lineStart, Node457_167align = 'left', Node457_167fontSize = 13.3333*_ratio.ratioY,Node457_167width = 47*_ratio.ratioX, Node457_167height = 38*_ratio.ratioY;
- (function () {
- if (Node457_167align === 'left') {
- Node457_167textStart = Node457_167fontSize * 0.2 > 2 ? Node457_167fontSize * 0.2 - 4 : Node457_167fontSize * 0.2 - 9;
- Node457_167textWidth = Node457_167width;
- Node457_167lineStart = 1;
- } else if (Node457_167align === 'right') {
- Node457_167textStart = 0;
- Node457_167textWidth =Node457_167fontSize <= 8 ? Node457_167width + Node457_167fontSize * 0.2 + 6 : Node457_167width - Node457_167fontSize * 0.2;
- Node457_167lineStart = (Node457_167width - (ht.Default.getTextSize('离线', 'bold '+ Node457_167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_167align === 'center') {
- Node457_167textStart = -3;
- Node457_167textWidth = Node457_167width;
- Node457_167lineStart = Node457_167width - ht.Default.getTextSize('离线', 'bold '+ Node457_167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_167.setImage(GD.getTextJSON(Node457_167width, Node457_167height, true, false, false, 'bold '+ Node457_167fontSize + 'px "Arial"'))
- Node457_167.setPosition(1783*ratio.ratioX, 111*ratio.ratioY);
- Node457_167.setWidth(Node457_167width);
- Node457_167.setHeight(Node457_167height);
- Node457_167._nodeType = 'text';
- Node457_167._disallowEvert = true;
- Node457_167.setRotation(0*Math.PI/180);
- Node457_167.a('node.width', Node457_167width);
- Node457_167.a('node.height', Node457_167height);
- Node457_167.a('node.rect', [0, 0, Node457_167width, Node457_167height]);
- Node457_167.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_167.a('node.borderwidth', 0);
- Node457_167.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_167.a('node.gradient','');
- Node457_167.a('node.gradientcolor','');
- Node457_167.a('node.text','离线');
- Node457_167.a('node.textalign','left');
- Node457_167.a('node.textvAlign','middle');
- Node457_167.a('node.textrect', [Node457_167textStart, 0, Node457_167textWidth, Node457_167height]);
- Node457_167.a('node.color','rgba(0,0,0,1)');
- Node457_167.a('node.font','bold '+ Node457_167fontSize + 'px "Arial"');
- Node457_167.a('node.textvisible',true);
- Node457_167.a('node.linefeed',false);
- if (false) {
- Node457_167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_167.a('node.text') || '离线';
- var color=Node457_167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_167width,Node457_167height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node457_167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_167.a('node.underlinepoints',[Node457_167lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node457_167fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node457_167fontSize + 'px "Arial"').width + 6, (Node457_167height - Node457_167fontSize) * 0.5*_ratio.ratioY + Node457_167fontSize + 2 ]);
- Node457_167.a('node.underlinevisible',false);
- Node457_167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_167);
- zoomNodeList.push({
- node: Node457_167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_168 = new ht.Node();
- var Node457_168textStart, Node457_168textWidth, Node457_168lineStart, Node457_168align = 'left', Node457_168fontSize = 15.99996*_ratio.ratioY,Node457_168width = 29*_ratio.ratioX, Node457_168height = 25*_ratio.ratioY;
- (function () {
- if (Node457_168align === 'left') {
- Node457_168textStart = Node457_168fontSize * 0.2 > 2 ? Node457_168fontSize * 0.2 - 4 : Node457_168fontSize * 0.2 - 9;
- Node457_168textWidth = Node457_168width;
- Node457_168lineStart = 1;
- } else if (Node457_168align === 'right') {
- Node457_168textStart = 0;
- Node457_168textWidth =Node457_168fontSize <= 8 ? Node457_168width + Node457_168fontSize * 0.2 + 6 : Node457_168width - Node457_168fontSize * 0.2;
- Node457_168lineStart = (Node457_168width - (ht.Default.getTextSize('0', ' '+ Node457_168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_168align === 'center') {
- Node457_168textStart = -3;
- Node457_168textWidth = Node457_168width;
- Node457_168lineStart = Node457_168width - ht.Default.getTextSize('0', ' '+ Node457_168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_168.setImage(GD.getTextJSON(Node457_168width, Node457_168height, true, false, false, ' '+ Node457_168fontSize + 'px "Arial"'))
- Node457_168.setPosition(1784*ratio.ratioX, 143*ratio.ratioY);
- Node457_168.setWidth(Node457_168width);
- Node457_168.setHeight(Node457_168height);
- Node457_168._nodeType = 'text';
- Node457_168._disallowEvert = true;
- Node457_168.setRotation(0*Math.PI/180);
- Node457_168.a('node.width', Node457_168width);
- Node457_168.a('node.height', Node457_168height);
- Node457_168.a('node.rect', [0, 0, Node457_168width, Node457_168height]);
- Node457_168.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_168.a('node.borderwidth', 0);
- Node457_168.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_168.a('node.gradient','');
- Node457_168.a('node.gradientcolor','');
- Node457_168.a('node.text','0');
- Node457_168.a('node.textalign','left');
- Node457_168.a('node.textvAlign','middle');
- Node457_168.a('node.textrect', [Node457_168textStart, 0, Node457_168textWidth, Node457_168height]);
- Node457_168.a('node.color','rgba(0,0,0,1)');
- Node457_168.a('node.font',' '+ Node457_168fontSize + 'px "Arial"');
- Node457_168.a('node.textvisible',true);
- Node457_168.a('node.linefeed',false);
- if (false) {
- Node457_168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_168.a('node.text') || '0';
- var color=Node457_168.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node457_168width,Node457_168height,15.99996*_ratio.ratioY,"left",color,' '+ Node457_168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_168.a('node.underlinepoints',[Node457_168lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node457_168fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_168fontSize + 'px "Arial"').width + 6, (Node457_168height - Node457_168fontSize) * 0.5*_ratio.ratioY + Node457_168fontSize + 2 ]);
- Node457_168.a('node.underlinevisible',false);
- Node457_168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_168);
- zoomNodeList.push({
- node: Node457_168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_169 = new ht.Node();
- var Node457_169textStart, Node457_169textWidth, Node457_169lineStart, Node457_169align = 'left', Node457_169fontSize = 13.3333*_ratio.ratioY,Node457_169width = 77*_ratio.ratioX, Node457_169height = 26*_ratio.ratioY;
- (function () {
- if (Node457_169align === 'left') {
- Node457_169textStart = Node457_169fontSize * 0.2 > 2 ? Node457_169fontSize * 0.2 - 4 : Node457_169fontSize * 0.2 - 9;
- Node457_169textWidth = Node457_169width;
- Node457_169lineStart = 1;
- } else if (Node457_169align === 'right') {
- Node457_169textStart = 0;
- Node457_169textWidth =Node457_169fontSize <= 8 ? Node457_169width + Node457_169fontSize * 0.2 + 6 : Node457_169width - Node457_169fontSize * 0.2;
- Node457_169lineStart = (Node457_169width - (ht.Default.getTextSize('上网电量', ' '+ Node457_169fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_169align === 'center') {
- Node457_169textStart = -3;
- Node457_169textWidth = Node457_169width;
- Node457_169lineStart = Node457_169width - ht.Default.getTextSize('上网电量', ' '+ Node457_169fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_169.setImage(GD.getTextJSON(Node457_169width, Node457_169height, true, false, false, ' '+ Node457_169fontSize + 'px "微软雅黑"'))
- Node457_169.setPosition(226*ratio.ratioX, 148*ratio.ratioY);
- Node457_169.setWidth(Node457_169width);
- Node457_169.setHeight(Node457_169height);
- Node457_169._nodeType = 'text';
- Node457_169._disallowEvert = true;
- Node457_169.setRotation(0*Math.PI/180);
- Node457_169.a('node.width', Node457_169width);
- Node457_169.a('node.height', Node457_169height);
- Node457_169.a('node.rect', [0, 0, Node457_169width, Node457_169height]);
- Node457_169.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_169.a('node.borderwidth', 0);
- Node457_169.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_169.a('node.gradient','');
- Node457_169.a('node.gradientcolor','');
- Node457_169.a('node.text','上网电量');
- Node457_169.a('node.textalign','left');
- Node457_169.a('node.textvAlign','middle');
- Node457_169.a('node.textrect', [Node457_169textStart, 0, Node457_169textWidth, Node457_169height]);
- Node457_169.a('node.color','rgba(0,0,0,1)');
- Node457_169.a('node.font',' '+ Node457_169fontSize + 'px "微软雅黑"');
- Node457_169.a('node.textvisible',true);
- Node457_169.a('node.linefeed',false);
- if (false) {
- Node457_169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_169.a('node.text') || '上网电量';
- var color=Node457_169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_169width,Node457_169height,13.3333*_ratio.ratioY,"left",color,' '+ Node457_169fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_169.a('node.underlinepoints',[Node457_169lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_169fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node457_169fontSize + 'px "微软雅黑"').width + 6, (Node457_169height - Node457_169fontSize) * 0.5*_ratio.ratioY + Node457_169fontSize + 2 ]);
- Node457_169.a('node.underlinevisible',false);
- Node457_169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_169);
- zoomNodeList.push({
- node: Node457_169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_170 = new ht.Node();
- var Node457_170textStart, Node457_170textWidth, Node457_170lineStart, Node457_170align = 'center', Node457_170fontSize = 13.3333*_ratio.ratioY,Node457_170width = 113*_ratio.ratioX, Node457_170height = 26*_ratio.ratioY;
- (function () {
- if (Node457_170align === 'left') {
- Node457_170textStart = Node457_170fontSize * 0.2 > 2 ? Node457_170fontSize * 0.2 - 4 : Node457_170fontSize * 0.2 - 9;
- Node457_170textWidth = Node457_170width;
- Node457_170lineStart = 1;
- } else if (Node457_170align === 'right') {
- Node457_170textStart = 0;
- Node457_170textWidth =Node457_170fontSize <= 8 ? Node457_170width + Node457_170fontSize * 0.2 + 6 : Node457_170width - Node457_170fontSize * 0.2;
- Node457_170lineStart = (Node457_170width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node457_170fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_170align === 'center') {
- Node457_170textStart = -3;
- Node457_170textWidth = Node457_170width;
- Node457_170lineStart = Node457_170width - ht.Default.getTextSize('日性能损失电量', ' '+ Node457_170fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_170.setImage(GD.getTextJSON(Node457_170width, Node457_170height, true, false, false, ' '+ Node457_170fontSize + 'px "微软雅黑"'))
- Node457_170.setPosition(533*ratio.ratioX, 148*ratio.ratioY);
- Node457_170.setWidth(Node457_170width);
- Node457_170.setHeight(Node457_170height);
- Node457_170._nodeType = 'text';
- Node457_170._disallowEvert = true;
- Node457_170.setRotation(0*Math.PI/180);
- Node457_170.a('node.width', Node457_170width);
- Node457_170.a('node.height', Node457_170height);
- Node457_170.a('node.rect', [0, 0, Node457_170width, Node457_170height]);
- Node457_170.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_170.a('node.borderwidth', 0);
- Node457_170.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node457_170.a('node.gradient','');
- Node457_170.a('node.gradientcolor','rgba(255,255,255,0)');
- Node457_170.a('node.text','日性能损失电量');
- Node457_170.a('node.textalign','center');
- Node457_170.a('node.textvAlign','middle');
- Node457_170.a('node.textrect', [Node457_170textStart, 0, Node457_170textWidth, Node457_170height]);
- Node457_170.a('node.color','rgba(0,0,0,1)');
- Node457_170.a('node.font',' '+ Node457_170fontSize + 'px "微软雅黑"');
- Node457_170.a('node.textvisible',true);
- Node457_170.a('node.linefeed',false);
- if (false) {
- Node457_170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_170.a('node.text') || '日性能损失电量';
- var color=Node457_170.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_170width,Node457_170height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_170fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_170.a('node.underlinepoints',[Node457_170lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_170fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node457_170fontSize + 'px "微软雅黑"').width + 6, (Node457_170height - Node457_170fontSize) * 0.5*_ratio.ratioY + Node457_170fontSize + 2 ]);
- Node457_170.a('node.underlinevisible',false);
- Node457_170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_170);
- zoomNodeList.push({
- node: Node457_170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_171 = new ht.Node();
- var Node457_171textStart, Node457_171textWidth, Node457_171lineStart, Node457_171align = 'center', Node457_171fontSize = 13.3333*_ratio.ratioY,Node457_171width = 110*_ratio.ratioX, Node457_171height = 26*_ratio.ratioY;
- (function () {
- if (Node457_171align === 'left') {
- Node457_171textStart = Node457_171fontSize * 0.2 > 2 ? Node457_171fontSize * 0.2 - 4 : Node457_171fontSize * 0.2 - 9;
- Node457_171textWidth = Node457_171width;
- Node457_171lineStart = 1;
- } else if (Node457_171align === 'right') {
- Node457_171textStart = 0;
- Node457_171textWidth =Node457_171fontSize <= 8 ? Node457_171width + Node457_171fontSize * 0.2 + 6 : Node457_171width - Node457_171fontSize * 0.2;
- Node457_171lineStart = (Node457_171width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node457_171fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_171align === 'center') {
- Node457_171textStart = -3;
- Node457_171textWidth = Node457_171width;
- Node457_171lineStart = Node457_171width - ht.Default.getTextSize('月性能损失电量', ' '+ Node457_171fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_171.setImage(GD.getTextJSON(Node457_171width, Node457_171height, true, false, false, ' '+ Node457_171fontSize + 'px "微软雅黑"'))
- Node457_171.setPosition(812*ratio.ratioX, 148*ratio.ratioY);
- Node457_171.setWidth(Node457_171width);
- Node457_171.setHeight(Node457_171height);
- Node457_171._nodeType = 'text';
- Node457_171._disallowEvert = true;
- Node457_171.setRotation(0*Math.PI/180);
- Node457_171.a('node.width', Node457_171width);
- Node457_171.a('node.height', Node457_171height);
- Node457_171.a('node.rect', [0, 0, Node457_171width, Node457_171height]);
- Node457_171.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_171.a('node.borderwidth', 0);
- Node457_171.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_171.a('node.gradient','');
- Node457_171.a('node.gradientcolor','');
- Node457_171.a('node.text','月性能损失电量');
- Node457_171.a('node.textalign','center');
- Node457_171.a('node.textvAlign','middle');
- Node457_171.a('node.textrect', [Node457_171textStart, 0, Node457_171textWidth, Node457_171height]);
- Node457_171.a('node.color','rgba(0,0,0,1)');
- Node457_171.a('node.font',' '+ Node457_171fontSize + 'px "微软雅黑"');
- Node457_171.a('node.textvisible',true);
- Node457_171.a('node.linefeed',false);
- if (false) {
- Node457_171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_171.a('node.text') || '月性能损失电量';
- var color=Node457_171.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_171width,Node457_171height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_171fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_171.a('node.underlinepoints',[Node457_171lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_171fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node457_171fontSize + 'px "微软雅黑"').width + 6, (Node457_171height - Node457_171fontSize) * 0.5*_ratio.ratioY + Node457_171fontSize + 2 ]);
- Node457_171.a('node.underlinevisible',false);
- Node457_171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_171);
- zoomNodeList.push({
- node: Node457_171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_172 = new ht.Node();
- var Node457_172textStart, Node457_172textWidth, Node457_172lineStart, Node457_172align = 'center', Node457_172fontSize = 13.3333*_ratio.ratioY,Node457_172width = 110*_ratio.ratioX, Node457_172height = 26*_ratio.ratioY;
- (function () {
- if (Node457_172align === 'left') {
- Node457_172textStart = Node457_172fontSize * 0.2 > 2 ? Node457_172fontSize * 0.2 - 4 : Node457_172fontSize * 0.2 - 9;
- Node457_172textWidth = Node457_172width;
- Node457_172lineStart = 1;
- } else if (Node457_172align === 'right') {
- Node457_172textStart = 0;
- Node457_172textWidth =Node457_172fontSize <= 8 ? Node457_172width + Node457_172fontSize * 0.2 + 6 : Node457_172width - Node457_172fontSize * 0.2;
- Node457_172lineStart = (Node457_172width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node457_172fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node457_172align === 'center') {
- Node457_172textStart = -3;
- Node457_172textWidth = Node457_172width;
- Node457_172lineStart = Node457_172width - ht.Default.getTextSize('年性能损失电量', ' '+ Node457_172fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node457_172.setImage(GD.getTextJSON(Node457_172width, Node457_172height, true, false, false, ' '+ Node457_172fontSize + 'px "微软雅黑"'))
- Node457_172.setPosition(1092*ratio.ratioX, 147*ratio.ratioY);
- Node457_172.setWidth(Node457_172width);
- Node457_172.setHeight(Node457_172height);
- Node457_172._nodeType = 'text';
- Node457_172._disallowEvert = true;
- Node457_172.setRotation(0*Math.PI/180);
- Node457_172.a('node.width', Node457_172width);
- Node457_172.a('node.height', Node457_172height);
- Node457_172.a('node.rect', [0, 0, Node457_172width, Node457_172height]);
- Node457_172.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_172.a('node.borderwidth', 0);
- Node457_172.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_172.a('node.gradient','');
- Node457_172.a('node.gradientcolor','');
- Node457_172.a('node.text','年性能损失电量');
- Node457_172.a('node.textalign','center');
- Node457_172.a('node.textvAlign','middle');
- Node457_172.a('node.textrect', [Node457_172textStart, 0, Node457_172textWidth, Node457_172height]);
- Node457_172.a('node.color','rgba(0,0,0,1)');
- Node457_172.a('node.font',' '+ Node457_172fontSize + 'px "微软雅黑"');
- Node457_172.a('node.textvisible',true);
- Node457_172.a('node.linefeed',false);
- if (false) {
- Node457_172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_172.a('node.text') || '年性能损失电量';
- var color=Node457_172.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_172width,Node457_172height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_172fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node457_172.a('node.underlinepoints',[Node457_172lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_172fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node457_172fontSize + 'px "微软雅黑"').width + 6, (Node457_172height - Node457_172fontSize) * 0.5*_ratio.ratioY + Node457_172fontSize + 2 ]);
- Node457_172.a('node.underlinevisible',false);
- Node457_172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_172);
- zoomNodeList.push({
- node: Node457_172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_173 = new ht.Node();
- var Node457_173textStart, Node457_173textWidth, Node457_173lineStart, Node457_173align = 'center', Node457_173fontSize = 13.3333*_ratio.ratioY,Node457_173width = 58*_ratio.ratioX, Node457_173height = 26*_ratio.ratioY;
- (function () {
- if (Node457_173align === 'left') {
- Node457_173textStart = Node457_173fontSize * 0.2 > 2 ? Node457_173fontSize * 0.2 - 4 : Node457_173fontSize * 0.2 - 9;
- Node457_173textWidth = Node457_173width;
- Node457_173lineStart = 1;
- } else if (Node457_173align === 'right') {
- Node457_173textStart = 0;
- Node457_173textWidth =Node457_173fontSize <= 8 ? Node457_173width + Node457_173fontSize * 0.2 + 6 : Node457_173width - Node457_173fontSize * 0.2;
- Node457_173lineStart = (Node457_173width - (ht.Default.getTextSize('0', ' '+ Node457_173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_173align === 'center') {
- Node457_173textStart = -3;
- Node457_173textWidth = Node457_173width;
- Node457_173lineStart = Node457_173width - ht.Default.getTextSize('0', ' '+ Node457_173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_173.setImage(GD.getTextJSON(Node457_173width, Node457_173height, true, false, false, ' '+ Node457_173fontSize + 'px "Arial"'))
- Node457_173.setPosition(355*ratio.ratioX, 147*ratio.ratioY);
- Node457_173.setWidth(Node457_173width);
- Node457_173.setHeight(Node457_173height);
- Node457_173._nodeType = 'text';
- Node457_173._disallowEvert = true;
- Node457_173.setRotation(0*Math.PI/180);
- Node457_173.a('node.width', Node457_173width);
- Node457_173.a('node.height', Node457_173height);
- Node457_173.a('node.rect', [0, 0, Node457_173width, Node457_173height]);
- Node457_173.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_173.a('node.borderwidth', 0);
- Node457_173.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_173.a('node.gradient','');
- Node457_173.a('node.gradientcolor','');
- Node457_173.a('node.text','0');
- Node457_173.a('node.textalign','center');
- Node457_173.a('node.textvAlign','middle');
- Node457_173.a('node.textrect', [Node457_173textStart, 0, Node457_173textWidth, Node457_173height]);
- Node457_173.a('node.color','rgba(0,0,0,1)');
- Node457_173.a('node.font',' '+ Node457_173fontSize + 'px "Arial"');
- Node457_173.a('node.textvisible',true);
- Node457_173.a('node.linefeed',false);
- if (false) {
- Node457_173.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_173.a('node.text') || '0';
- var color=Node457_173.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_173width,Node457_173height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_173fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_173.a('node.underlinepoints',[Node457_173lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_173fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_173fontSize + 'px "Arial"').width + 6, (Node457_173height - Node457_173fontSize) * 0.5*_ratio.ratioY + Node457_173fontSize + 2 ]);
- Node457_173.a('node.underlinevisible',false);
- Node457_173.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_173);
- zoomNodeList.push({
- node: Node457_173,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_174 = new ht.Node();
- var Node457_174textStart, Node457_174textWidth, Node457_174lineStart, Node457_174align = 'center', Node457_174fontSize = 13.3333*_ratio.ratioY,Node457_174width = 58*_ratio.ratioX, Node457_174height = 26*_ratio.ratioY;
- (function () {
- if (Node457_174align === 'left') {
- Node457_174textStart = Node457_174fontSize * 0.2 > 2 ? Node457_174fontSize * 0.2 - 4 : Node457_174fontSize * 0.2 - 9;
- Node457_174textWidth = Node457_174width;
- Node457_174lineStart = 1;
- } else if (Node457_174align === 'right') {
- Node457_174textStart = 0;
- Node457_174textWidth =Node457_174fontSize <= 8 ? Node457_174width + Node457_174fontSize * 0.2 + 6 : Node457_174width - Node457_174fontSize * 0.2;
- Node457_174lineStart = (Node457_174width - (ht.Default.getTextSize('0', ' '+ Node457_174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_174align === 'center') {
- Node457_174textStart = -3;
- Node457_174textWidth = Node457_174width;
- Node457_174lineStart = Node457_174width - ht.Default.getTextSize('0', ' '+ Node457_174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_174.setImage(GD.getTextJSON(Node457_174width, Node457_174height, true, false, false, ' '+ Node457_174fontSize + 'px "Arial"'))
- Node457_174.setPosition(639*ratio.ratioX, 147*ratio.ratioY);
- Node457_174.setWidth(Node457_174width);
- Node457_174.setHeight(Node457_174height);
- Node457_174._nodeType = 'text';
- Node457_174._disallowEvert = true;
- Node457_174.setRotation(0*Math.PI/180);
- Node457_174.a('node.width', Node457_174width);
- Node457_174.a('node.height', Node457_174height);
- Node457_174.a('node.rect', [0, 0, Node457_174width, Node457_174height]);
- Node457_174.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_174.a('node.borderwidth', 0);
- Node457_174.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_174.a('node.gradient','');
- Node457_174.a('node.gradientcolor','');
- Node457_174.a('node.text','0');
- Node457_174.a('node.textalign','center');
- Node457_174.a('node.textvAlign','middle');
- Node457_174.a('node.textrect', [Node457_174textStart, 0, Node457_174textWidth, Node457_174height]);
- Node457_174.a('node.color','rgba(0,0,0,1)');
- Node457_174.a('node.font',' '+ Node457_174fontSize + 'px "Arial"');
- Node457_174.a('node.textvisible',true);
- Node457_174.a('node.linefeed',false);
- if (false) {
- Node457_174.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_174.a('node.text') || '0';
- var color=Node457_174.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457_174width,Node457_174height,13.3333*_ratio.ratioY,"center",color,' '+ Node457_174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_174.a('node.underlinepoints',[Node457_174lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node457_174fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_174fontSize + 'px "Arial"').width + 6, (Node457_174height - Node457_174fontSize) * 0.5*_ratio.ratioY + Node457_174fontSize + 2 ]);
- Node457_174.a('node.underlinevisible',false);
- Node457_174.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_174);
- zoomNodeList.push({
- node: Node457_174,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_175 = new ht.Node();
- var Node457_175textStart, Node457_175textWidth, Node457_175lineStart, Node457_175align = 'center', Node457_175fontSize = 14.66663*_ratio.ratioY,Node457_175width = 59*_ratio.ratioX, Node457_175height = 26*_ratio.ratioY;
- (function () {
- if (Node457_175align === 'left') {
- Node457_175textStart = Node457_175fontSize * 0.2 > 2 ? Node457_175fontSize * 0.2 - 4 : Node457_175fontSize * 0.2 - 9;
- Node457_175textWidth = Node457_175width;
- Node457_175lineStart = 1;
- } else if (Node457_175align === 'right') {
- Node457_175textStart = 0;
- Node457_175textWidth =Node457_175fontSize <= 8 ? Node457_175width + Node457_175fontSize * 0.2 + 6 : Node457_175width - Node457_175fontSize * 0.2;
- Node457_175lineStart = (Node457_175width - (ht.Default.getTextSize('0', ' '+ Node457_175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_175align === 'center') {
- Node457_175textStart = -3;
- Node457_175textWidth = Node457_175width;
- Node457_175lineStart = Node457_175width - ht.Default.getTextSize('0', ' '+ Node457_175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_175.setImage(GD.getTextJSON(Node457_175width, Node457_175height, true, false, false, ' '+ Node457_175fontSize + 'px "Arial"'))
- Node457_175.setPosition(918*ratio.ratioX, 147*ratio.ratioY);
- Node457_175.setWidth(Node457_175width);
- Node457_175.setHeight(Node457_175height);
- Node457_175._nodeType = 'text';
- Node457_175._disallowEvert = true;
- Node457_175.setRotation(0*Math.PI/180);
- Node457_175.a('node.width', Node457_175width);
- Node457_175.a('node.height', Node457_175height);
- Node457_175.a('node.rect', [0, 0, Node457_175width, Node457_175height]);
- Node457_175.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_175.a('node.borderwidth', 0);
- Node457_175.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_175.a('node.gradient','');
- Node457_175.a('node.gradientcolor','');
- Node457_175.a('node.text','0');
- Node457_175.a('node.textalign','center');
- Node457_175.a('node.textvAlign','middle');
- Node457_175.a('node.textrect', [Node457_175textStart, 0, Node457_175textWidth, Node457_175height]);
- Node457_175.a('node.color','rgba(0,0,0,1)');
- Node457_175.a('node.font',' '+ Node457_175fontSize + 'px "Arial"');
- Node457_175.a('node.textvisible',true);
- Node457_175.a('node.linefeed',false);
- if (false) {
- Node457_175.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_175.a('node.text') || '0';
- var color=Node457_175.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_175width,Node457_175height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_175.a('node.underlinepoints',[Node457_175lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_175fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_175fontSize + 'px "Arial"').width + 6, (Node457_175height - Node457_175fontSize) * 0.5*_ratio.ratioY + Node457_175fontSize + 2 ]);
- Node457_175.a('node.underlinevisible',false);
- Node457_175.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_175);
- zoomNodeList.push({
- node: Node457_175,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457_176 = new ht.Node();
- var Node457_176textStart, Node457_176textWidth, Node457_176lineStart, Node457_176align = 'center', Node457_176fontSize = 14.66663*_ratio.ratioY,Node457_176width = 59*_ratio.ratioX, Node457_176height = 26*_ratio.ratioY;
- (function () {
- if (Node457_176align === 'left') {
- Node457_176textStart = Node457_176fontSize * 0.2 > 2 ? Node457_176fontSize * 0.2 - 4 : Node457_176fontSize * 0.2 - 9;
- Node457_176textWidth = Node457_176width;
- Node457_176lineStart = 1;
- } else if (Node457_176align === 'right') {
- Node457_176textStart = 0;
- Node457_176textWidth =Node457_176fontSize <= 8 ? Node457_176width + Node457_176fontSize * 0.2 + 6 : Node457_176width - Node457_176fontSize * 0.2;
- Node457_176lineStart = (Node457_176width - (ht.Default.getTextSize('0', ' '+ Node457_176fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457_176align === 'center') {
- Node457_176textStart = -3;
- Node457_176textWidth = Node457_176width;
- Node457_176lineStart = Node457_176width - ht.Default.getTextSize('0', ' '+ Node457_176fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457_176.setImage(GD.getTextJSON(Node457_176width, Node457_176height, true, false, false, ' '+ Node457_176fontSize + 'px "Arial"'))
- Node457_176.setPosition(1198*ratio.ratioX, 147*ratio.ratioY);
- Node457_176.setWidth(Node457_176width);
- Node457_176.setHeight(Node457_176height);
- Node457_176._nodeType = 'text';
- Node457_176._disallowEvert = true;
- Node457_176.setRotation(0*Math.PI/180);
- Node457_176.a('node.width', Node457_176width);
- Node457_176.a('node.height', Node457_176height);
- Node457_176.a('node.rect', [0, 0, Node457_176width, Node457_176height]);
- Node457_176.a('node.bordercolor','rgba(0,0,0,1)');
- Node457_176.a('node.borderwidth', 0);
- Node457_176.a('node.background','' || 'rgba(0,0,0,0)');
- Node457_176.a('node.gradient','');
- Node457_176.a('node.gradientcolor','');
- Node457_176.a('node.text','0');
- Node457_176.a('node.textalign','center');
- Node457_176.a('node.textvAlign','middle');
- Node457_176.a('node.textrect', [Node457_176textStart, 0, Node457_176textWidth, Node457_176height]);
- Node457_176.a('node.color','rgba(0,0,0,1)');
- Node457_176.a('node.font',' '+ Node457_176fontSize + 'px "Arial"');
- Node457_176.a('node.textvisible',true);
- Node457_176.a('node.linefeed',false);
- if (false) {
- Node457_176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457_176.a('node.text') || '0';
- var color=Node457_176.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457_176width,Node457_176height,14.66663*_ratio.ratioY,"center",color,' '+ Node457_176fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457_176.a('node.underlinepoints',[Node457_176lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457_176fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node457_176fontSize + 'px "Arial"').width + 6, (Node457_176height - Node457_176fontSize) * 0.5*_ratio.ratioY + Node457_176fontSize + 2 ]);
- Node457_176.a('node.underlinevisible',false);
- Node457_176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457_176);
- zoomNodeList.push({
- node: Node457_176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node457_177 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 55*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 Node457_178 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 55*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 Node457_179 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 165*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 Node457_180 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 165*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 Node457_181 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 275*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 Node457_182 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 275*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 Node457_183 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 384*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 Node457_184 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 384*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 Node457_185 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 495*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 Node457_186 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 495*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 Node457_187 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 605*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 Node457_188 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 605*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 Node457_189 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 715*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 Node457_190 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 715*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 Node457_191 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 825*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 Node457_192 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 825*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'anniu':PageBackground_anniu,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'F':PageBackground_F,'E':PageBackground_E,'AA':PageBackground_AA,'BB':PageBackground_BB,'CC':PageBackground_CC,}});
- if(typeof(Node180.borderWidth)!="undefined"){setDashStyle(Node180,"Node180",'NoDash',Node180.borderWidth);}
- if(typeof(Node188.borderWidth)!="undefined"){setDashStyle(Node188,"Node188",'NoDash',Node188.borderWidth);}
- if(typeof(Node201.borderWidth)!="undefined"){setDashStyle(Node201,"Node201",'NoDash',Node201.borderWidth);}
- if(typeof(Node211.borderWidth)!="undefined"){setDashStyle(Node211,"Node211",'NoDash',Node211.borderWidth);}
- if(typeof(Node220.borderWidth)!="undefined"){setDashStyle(Node220,"Node220",'NoDash',Node220.borderWidth);}
- if(typeof(Node228.borderWidth)!="undefined"){setDashStyle(Node228,"Node228",'NoDash',Node228.borderWidth);}
- if(typeof(Node236.borderWidth)!="undefined"){setDashStyle(Node236,"Node236",'NoDash',Node236.borderWidth);}
- if(typeof(Node244.borderWidth)!="undefined"){setDashStyle(Node244,"Node244",'NoDash',Node244.borderWidth);}
- if(typeof(Node253.borderWidth)!="undefined"){setDashStyle(Node253,"Node253",'NoDash',Node253.borderWidth);}
- ;(typeof Node255 != "undefined") && (Node255.localDynamicVar = function ( ) {return {'xianshi':Node255_xianshi,}});
- ;(typeof Node256 != "undefined") && (Node256.localDynamicVar = function ( ) {return {'xianshi':Node256_xianshi,}});
- ;(typeof Node257 != "undefined") && (Node257.localDynamicVar = function ( ) {return {'xianshi':Node257_xianshi,}});
- ;(typeof Node258 != "undefined") && (Node258.localDynamicVar = function ( ) {return {'xianshi':Node258_xianshi,}});
- ;(typeof Node259 != "undefined") && (Node259.localDynamicVar = function ( ) {return {'xianshi':Node259_xianshi,}});
- ;(typeof Node260 != "undefined") && (Node260.localDynamicVar = function ( ) {return {'xianshi':Node260_xianshi,}});
- ;(typeof Node261 != "undefined") && (Node261.localDynamicVar = function ( ) {return {'xianshi':Node261_xianshi,}});
- ;(typeof Node262 != "undefined") && (Node262.localDynamicVar = function ( ) {return {'xianshi':Node262_xianshi,}});
- ;(typeof Node263 != "undefined") && (Node263.localDynamicVar = function ( ) {return {'xianshi':Node263_xianshi,}});
- ;(typeof Node264 != "undefined") && (Node264.localDynamicVar = function ( ) {return {'xianshi':Node264_xianshi,}});
- ;(typeof Node265 != "undefined") && (Node265.localDynamicVar = function ( ) {return {'xianshi1':Node265_xianshi1,}});
- ;(typeof Node266 != "undefined") && (Node266.localDynamicVar = function ( ) {return {'xianshi1':Node266_xianshi1,}});
- ;(typeof Node267 != "undefined") && (Node267.localDynamicVar = function ( ) {return {'xianshi1':Node267_xianshi1,}});
- ;(typeof Node268 != "undefined") && (Node268.localDynamicVar = function ( ) {return {'xianshi1':Node268_xianshi1,}});
- ;(typeof Node269 != "undefined") && (Node269.localDynamicVar = function ( ) {return {'xianshi1':Node269_xianshi1,}});
- ;(typeof Node270 != "undefined") && (Node270.localDynamicVar = function ( ) {return {'xianshi1':Node270_xianshi1,}});
- ;(typeof Node271 != "undefined") && (Node271.localDynamicVar = function ( ) {return {'xianshi1':Node271_xianshi1,}});
- ;(typeof Node272 != "undefined") && (Node272.localDynamicVar = function ( ) {return {'xianshi1':Node272_xianshi1,}});
- ;(typeof Node273 != "undefined") && (Node273.localDynamicVar = function ( ) {return {'xianshi1':Node273_xianshi1,}});
- ;(typeof Node274 != "undefined") && (Node274.localDynamicVar = function ( ) {return {'xianshi1':Node274_xianshi1,}});
- ;(typeof Node275 != "undefined") && (Node275.localDynamicVar = function ( ) {return {'xianshi1':Node275_xianshi1,}});
- ;(typeof Node276 != "undefined") && (Node276.localDynamicVar = function ( ) {return {'xianshi1':Node276_xianshi1,}});
- ;(typeof Node277 != "undefined") && (Node277.localDynamicVar = function ( ) {return {'xianshi1':Node277_xianshi1,}});
- ;(typeof Node278 != "undefined") && (Node278.localDynamicVar = function ( ) {return {'xianshi1':Node278_xianshi1,}});
- ;(typeof Node279 != "undefined") && (Node279.localDynamicVar = function ( ) {return {'xianshi1':Node279_xianshi1,}});
- ;(typeof Node280 != "undefined") && (Node280.localDynamicVar = function ( ) {return {'xianshi1':Node280_xianshi1,}});
- ;(typeof Node281 != "undefined") && (Node281.localDynamicVar = function ( ) {return {'xianshi1':Node281_xianshi1,}});
- ;(typeof Node282 != "undefined") && (Node282.localDynamicVar = function ( ) {return {'xianshi1':Node282_xianshi1,}});
- ;(typeof Node283 != "undefined") && (Node283.localDynamicVar = function ( ) {return {'xianshi2':Node283_xianshi2,}});
- ;(typeof Node284 != "undefined") && (Node284.localDynamicVar = function ( ) {return {'xianshi2':Node284_xianshi2,}});
- ;(typeof Node285 != "undefined") && (Node285.localDynamicVar = function ( ) {return {'xianshi2':Node285_xianshi2,}});
- ;(typeof Node286 != "undefined") && (Node286.localDynamicVar = function ( ) {return {'xianshi2':Node286_xianshi2,}});
- ;(typeof Node287 != "undefined") && (Node287.localDynamicVar = function ( ) {return {'xianshi2':Node287_xianshi2,}});
- ;(typeof Node288 != "undefined") && (Node288.localDynamicVar = function ( ) {return {'xianshi2':Node288_xianshi2,}});
- ;(typeof Node289 != "undefined") && (Node289.localDynamicVar = function ( ) {return {'xianshi2':Node289_xianshi2,}});
- ;(typeof Node290 != "undefined") && (Node290.localDynamicVar = function ( ) {return {'xianshi2':Node290_xianshi2,}});
- ;(typeof Node291 != "undefined") && (Node291.localDynamicVar = function ( ) {return {'xianshi2':Node291_xianshi2,}});
- ;(typeof Node292 != "undefined") && (Node292.localDynamicVar = function ( ) {return {'xianshi2':Node292_xianshi2,}});
- ;(typeof Node293 != "undefined") && (Node293.localDynamicVar = function ( ) {return {'xianshi2':Node293_xianshi2,}});
- ;(typeof Node294 != "undefined") && (Node294.localDynamicVar = function ( ) {return {'xianshi2':Node294_xianshi2,}});
- ;(typeof Node295 != "undefined") && (Node295.localDynamicVar = function ( ) {return {'xianshi2':Node295_xianshi2,}});
- ;(typeof Node296 != "undefined") && (Node296.localDynamicVar = function ( ) {return {'xianshi2':Node296_xianshi2,}});
- ;(typeof Node297 != "undefined") && (Node297.localDynamicVar = function ( ) {return {'xianshi2':Node297_xianshi2,}});
- ;(typeof Node298 != "undefined") && (Node298.localDynamicVar = function ( ) {return {'xianshi2':Node298_xianshi2,}});
- ;(typeof Node299 != "undefined") && (Node299.localDynamicVar = function ( ) {return {'xianshi4':Node299_xianshi4,}});
- ;(typeof Node300 != "undefined") && (Node300.localDynamicVar = function ( ) {return {'xianshi4':Node300_xianshi4,}});
- ;(typeof Node301 != "undefined") && (Node301.localDynamicVar = function ( ) {return {'xianshi4':Node301_xianshi4,}});
- ;(typeof Node302 != "undefined") && (Node302.localDynamicVar = function ( ) {return {'xianshi4':Node302_xianshi4,}});
- ;(typeof Node303 != "undefined") && (Node303.localDynamicVar = function ( ) {return {'xianshi4':Node303_xianshi4,}});
- ;(typeof Node304 != "undefined") && (Node304.localDynamicVar = function ( ) {return {'xianshi4':Node304_xianshi4,}});
- ;(typeof Node305 != "undefined") && (Node305.localDynamicVar = function ( ) {return {'xianshi4':Node305_xianshi4,}});
- ;(typeof Node306 != "undefined") && (Node306.localDynamicVar = function ( ) {return {'xianshi4':Node306_xianshi4,}});
- ;(typeof Node307 != "undefined") && (Node307.localDynamicVar = function ( ) {return {'xianshi4':Node307_xianshi4,}});
- ;(typeof Node321 != "undefined") && (Node321.localDynamicVar = function ( ) {return {'xianshi4':Node321_xianshi4,}});
- ;(typeof Node322 != "undefined") && (Node322.localDynamicVar = function ( ) {return {'xianshi4':Node322_xianshi4,}});
- ;(typeof Node323 != "undefined") && (Node323.localDynamicVar = function ( ) {return {'xianshi4':Node323_xianshi4,}});
- ;(typeof Node324 != "undefined") && (Node324.localDynamicVar = function ( ) {return {'xianshi4':Node324_xianshi4,}});
- ;(typeof Node325 != "undefined") && (Node325.localDynamicVar = function ( ) {return {'xianshi4':Node325_xianshi4,}});
- ;(typeof Node326 != "undefined") && (Node326.localDynamicVar = function ( ) {return {'xianshi4':Node326_xianshi4,}});
- ;(typeof Node327 != "undefined") && (Node327.localDynamicVar = function ( ) {return {'xianshi4':Node327_xianshi4,}});
- ;(typeof Node328 != "undefined") && (Node328.localDynamicVar = function ( ) {return {'xianshi4':Node328_xianshi4,}});
- ;(typeof Node329 != "undefined") && (Node329.localDynamicVar = function ( ) {return {'xianshi4':Node329_xianshi4,}});
- ;(typeof Node342 != "undefined") && (Node342.localDynamicVar = function ( ) {return {'xianshi4':Node342_xianshi4,}});
- ;(typeof Node343 != "undefined") && (Node343.localDynamicVar = function ( ) {return {'xianshi4':Node343_xianshi4,}});
- ;(typeof Node344 != "undefined") && (Node344.localDynamicVar = function ( ) {return {'xianshi4':Node344_xianshi4,}});
- ;(typeof Node345 != "undefined") && (Node345.localDynamicVar = function ( ) {return {'xianshi4':Node345_xianshi4,}});
- ;(typeof Node346 != "undefined") && (Node346.localDynamicVar = function ( ) {return {'xianshi4':Node346_xianshi4,}});
- ;(typeof Node347 != "undefined") && (Node347.localDynamicVar = function ( ) {return {'xianshi4':Node347_xianshi4,}});
- ;(typeof Node348 != "undefined") && (Node348.localDynamicVar = function ( ) {return {'xianshi4':Node348_xianshi4,}});
- ;(typeof Node349 != "undefined") && (Node349.localDynamicVar = function ( ) {return {'xianshi4':Node349_xianshi4,}});
- ;(typeof Node350 != "undefined") && (Node350.localDynamicVar = function ( ) {return {'xianshi4':Node350_xianshi4,}});
- ;(typeof Node353 != "undefined") && (Node353.localDynamicVar = function ( ) {return {'xianshi4':Node353_xianshi4,}});
- ;(typeof Node362 != "undefined") && (Node362.localDynamicVar = function ( ) {return {'xianshi2':Node362_xianshi2,}});
- if(typeof(Node439.borderWidth)!="undefined"){setDashStyle(Node439,"Node439",'NoDash',Node439.borderWidth);}
- if(typeof(Node457_2.borderWidth)!="undefined"){setDashStyle(Node457_2,"Node457_2",'NoDash',Node457_2.borderWidth);}
- if(typeof(Node457_4.borderWidth)!="undefined"){setDashStyle(Node457_4,"Node457_4",'NoDash',Node457_4.borderWidth);}
- if(typeof(Node457_6.borderWidth)!="undefined"){setDashStyle(Node457_6,"Node457_6",'NoDash',Node457_6.borderWidth);}
- if(typeof(Node457_8.borderWidth)!="undefined"){setDashStyle(Node457_8,"Node457_8",'NoDash',Node457_8.borderWidth);}
- if((0 )){Node457_177.s('2d.visible',true);}else{Node457_177.s('2d.visible',false);}
- if((0 )){Node457_179.s('2d.visible',true);}else{Node457_179.s('2d.visible',false);}
- if((0 )){Node457_181.s('2d.visible',true);}else{Node457_181.s('2d.visible',false);}
- if((0 )){Node457_183.s('2d.visible',true);}else{Node457_183.s('2d.visible',false);}
- if((0 )){Node457_185.s('2d.visible',true);}else{Node457_185.s('2d.visible',false);}
- if((0 )){Node457_187.s('2d.visible',true);}else{Node457_187.s('2d.visible',false);}
- if((0 )){Node457_189.s('2d.visible',true);}else{Node457_189.s('2d.visible',false);}
- if((0 )){Node457_191.s('2d.visible',true);}else{Node457_191.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++;
- Node0.refresh10ms();
- Node1.refresh10ms();
- Node2.refresh10ms();
- Node3.refresh10ms();
- Node12.refresh10ms();
- Node13.refresh10ms();
- Node14.refresh10ms();
- Node35.refresh10ms();
- Node40.refresh10ms();
- Node41.refresh10ms();
- Node53.refresh10ms();
- Node54.refresh10ms();
- Node55.refresh10ms();
- Node79.refresh10ms();
- Node86.refresh10ms();
- Node87.refresh10ms();
- Node101.refresh10ms();
- Node109.refresh10ms();
- Node120.refresh10ms();
- Node122.refresh10ms();
- Node125.refresh10ms();
- Node130.refresh10ms();
- Node145.refresh10ms();
- Node149.refresh10ms();
- Node156.refresh10ms();
- Node174.refresh10ms();
- Node177.refresh10ms();
- Node183.refresh10ms();
- Node186.refresh10ms();
- Node196.refresh10ms();
- Node199.refresh10ms();
- Node206.refresh10ms();
- Node209.refresh10ms();
- Node215.refresh10ms();
- Node218.refresh10ms();
- Node223.refresh10ms();
- Node226.refresh10ms();
- Node231.refresh10ms();
- Node234.refresh10ms();
- Node239.refresh10ms();
- Node242.refresh10ms();
- Node252.refresh10ms();
- Node255.refresh10ms();
- Node256.refresh10ms();
- Node257.refresh10ms();
- Node258.refresh10ms();
- Node259.refresh10ms();
- Node260.refresh10ms();
- Node261.refresh10ms();
- Node262.refresh10ms();
- Node263.refresh10ms();
- Node264.refresh10ms();
- Node265.refresh10ms();
- Node266.refresh10ms();
- Node267.refresh10ms();
- Node268.refresh10ms();
- Node269.refresh10ms();
- Node270.refresh10ms();
- Node271.refresh10ms();
- Node272.refresh10ms();
- Node273.refresh10ms();
- Node274.refresh10ms();
- Node275.refresh10ms();
- Node276.refresh10ms();
- Node277.refresh10ms();
- Node278.refresh10ms();
- Node279.refresh10ms();
- Node280.refresh10ms();
- Node281.refresh10ms();
- Node282.refresh10ms();
- Node283.refresh10ms();
- Node284.refresh10ms();
- Node285.refresh10ms();
- Node286.refresh10ms();
- Node287.refresh10ms();
- Node288.refresh10ms();
- Node289.refresh10ms();
- Node290.refresh10ms();
- Node291.refresh10ms();
- Node292.refresh10ms();
- Node293.refresh10ms();
- Node294.refresh10ms();
- Node295.refresh10ms();
- Node296.refresh10ms();
- Node297.refresh10ms();
- Node298.refresh10ms();
- Node299.refresh10ms();
- Node300.refresh10ms();
- Node301.refresh10ms();
- Node302.refresh10ms();
- Node303.refresh10ms();
- Node304.refresh10ms();
- Node305.refresh10ms();
- Node306.refresh10ms();
- Node307.refresh10ms();
- Node316.refresh10ms();
- Node317.refresh10ms();
- Node318.refresh10ms();
- Node321.refresh10ms();
- Node322.refresh10ms();
- Node323.refresh10ms();
- Node324.refresh10ms();
- Node325.refresh10ms();
- Node326.refresh10ms();
- Node327.refresh10ms();
- Node328.refresh10ms();
- Node329.refresh10ms();
- Node334.refresh10ms();
- Node341.refresh10ms();
- Node342.refresh10ms();
- Node343.refresh10ms();
- Node344.refresh10ms();
- Node345.refresh10ms();
- Node346.refresh10ms();
- Node347.refresh10ms();
- Node348.refresh10ms();
- Node349.refresh10ms();
- Node350.refresh10ms();
- Node353.refresh10ms();
- Node362.refresh10ms();
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node0.refresh100ms();
- Node1.refresh100ms();
- Node2.refresh100ms();
- Node3.refresh100ms();
- Node12.refresh100ms();
- Node13.refresh100ms();
- Node14.refresh100ms();
- Node35.refresh100ms();
- Node40.refresh100ms();
- Node41.refresh100ms();
- Node53.refresh100ms();
- Node54.refresh100ms();
- Node55.refresh100ms();
- Node79.refresh100ms();
- Node86.refresh100ms();
- Node87.refresh100ms();
- Node101.refresh100ms();
- Node109.refresh100ms();
- Node120.refresh100ms();
- Node122.refresh100ms();
- Node125.refresh100ms();
- Node130.refresh100ms();
- Node145.refresh100ms();
- Node149.refresh100ms();
- Node156.refresh100ms();
- Node174.refresh100ms();
- Node177.refresh100ms();
- Node183.refresh100ms();
- Node186.refresh100ms();
- Node196.refresh100ms();
- Node199.refresh100ms();
- Node206.refresh100ms();
- Node209.refresh100ms();
- Node215.refresh100ms();
- Node218.refresh100ms();
- Node223.refresh100ms();
- Node226.refresh100ms();
- Node231.refresh100ms();
- Node234.refresh100ms();
- Node239.refresh100ms();
- Node242.refresh100ms();
- Node252.refresh100ms();
- Node255.refresh100ms();
- Node256.refresh100ms();
- Node257.refresh100ms();
- Node258.refresh100ms();
- Node259.refresh100ms();
- Node260.refresh100ms();
- Node261.refresh100ms();
- Node262.refresh100ms();
- Node263.refresh100ms();
- Node264.refresh100ms();
- Node265.refresh100ms();
- Node266.refresh100ms();
- Node267.refresh100ms();
- Node268.refresh100ms();
- Node269.refresh100ms();
- Node270.refresh100ms();
- Node271.refresh100ms();
- Node272.refresh100ms();
- Node273.refresh100ms();
- Node274.refresh100ms();
- Node275.refresh100ms();
- Node276.refresh100ms();
- Node277.refresh100ms();
- Node278.refresh100ms();
- Node279.refresh100ms();
- Node280.refresh100ms();
- Node281.refresh100ms();
- Node282.refresh100ms();
- Node283.refresh100ms();
- Node284.refresh100ms();
- Node285.refresh100ms();
- Node286.refresh100ms();
- Node287.refresh100ms();
- Node288.refresh100ms();
- Node289.refresh100ms();
- Node290.refresh100ms();
- Node291.refresh100ms();
- Node292.refresh100ms();
- Node293.refresh100ms();
- Node294.refresh100ms();
- Node295.refresh100ms();
- Node296.refresh100ms();
- Node297.refresh100ms();
- Node298.refresh100ms();
- Node299.refresh100ms();
- Node300.refresh100ms();
- Node301.refresh100ms();
- Node302.refresh100ms();
- Node303.refresh100ms();
- Node304.refresh100ms();
- Node305.refresh100ms();
- Node306.refresh100ms();
- Node307.refresh100ms();
- Node316.refresh100ms();
- Node317.refresh100ms();
- Node318.refresh100ms();
- Node321.refresh100ms();
- Node322.refresh100ms();
- Node323.refresh100ms();
- Node324.refresh100ms();
- Node325.refresh100ms();
- Node326.refresh100ms();
- Node327.refresh100ms();
- Node328.refresh100ms();
- Node329.refresh100ms();
- Node334.refresh100ms();
- Node341.refresh100ms();
- Node342.refresh100ms();
- Node343.refresh100ms();
- Node344.refresh100ms();
- Node345.refresh100ms();
- Node346.refresh100ms();
- Node347.refresh100ms();
- Node348.refresh100ms();
- Node349.refresh100ms();
- Node350.refresh100ms();
- Node353.refresh100ms();
- Node354.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0601') ),-1));
- Node355.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0602') ),-1));
- Node356.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0603') ),-1));
- Node357.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0001') ),-1));
- Node358.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0007') ),-1));
- Node359.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0008') ),-1));
- Node360.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0009') ),-1));
- Node361.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0010') ),-1));
- Node362.refresh100ms();
- Node363.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0054') ),-1));
- Node364.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0055') ),-1));
- Node365.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0056') ),-1));
- Node366.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0057') ),-1));
- Node367.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0022') ),-1));
- Node368.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0020') ),-1));
- Node369.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0021') ),-1));
- Node370.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0019') ),-1));
- Node375.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0011') ),-1));
- Node376.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0012') ),-1));
- Node377.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0013') ),-1));
- Node378.a('node.text',GetDital((getVarValue('SX_GD_HYF_DQ_P1_L1_001_AI0014') ),-1));
- Node379.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0023') ),-1));
- Node380.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0024') ),-1));
- Node381.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0025') ),-1));
- Node382.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0010') ),-1));
- Node383.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0074') ),0));
- Node384.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0075') ),-1));
- Node385.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0076') ),-1));
- Node386.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0077') ),-1));
- Node387.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0078') ),-1));
- Node388.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0079') ),-1));
- Node389.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0080') ),-1));
- Node390.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0081') ),-1));
- Node391.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0626') ),-1));
- Node392.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0627') ),-1));
- Node393.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0628') ),-1));
- Node394.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0003') ),-1));
- Node395.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0015') ),-1));
- Node396.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0016') ),-1));
- Node397.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0017') ),-1));
- Node398.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0018') ),-1));
- Node399.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0027') ),-1));
- Node400.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0028') ),-1));
- Node401.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0029') ),-1));
- Node402.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0030') ),-1));
- Node407.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0038') ),-1));
- Node408.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0039') ),-1));
- Node409.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0040') ),-1));
- Node410.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0041') ),-1));
- Node411.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0042') ),-1));
- Node412.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0043') ),-1));
- Node413.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0044') ),-1));
- Node414.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0045') ),-1));
- Node415.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0046') ),-1));
- Node416.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0047') ),-1));
- Node417.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0048') ),-1));
- Node418.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0049') ),-1));
- Node419.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0050') ),-1));
- Node420.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0051') ),-1));
- Node421.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0052') ),-1));
- Node422.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0053') ),-1));
- Node423.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0058') ),-1));
- Node424.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0059') ),-1));
- Node425.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0060') ),-1));
- Node426.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0061') ),-1));
- Node427.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0062') ),-1));
- Node428.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0063') ),-1));
- Node429.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0064') ),-1));
- Node430.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0065') ),-1));
- Node431.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0066') ),-1));
- Node432.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0067') ),-1));
- Node433.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0068') ),-1));
- Node434.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0069') ),-1));
- Node435.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0070') ),-1));
- Node436.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0071') ),-1));
- Node437.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0072') ),-1));
- Node438.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0073') ),-1));
- Node441.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0035') ),-1));
- Node442.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0036') ),-1));
- Node443.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0037') ),-1));
- Node444.a('node.text',GetDital((getVarValue('HY_DQ.SX_GD_HYF_DQ_P1_L1_001_AI0674') ),-1));
- Node457_33.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0004') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0009') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0129') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0130') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0131') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0171') ),-1));
- Node457_39.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0130') ),-1));
- Node457_43.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0004') ),-1));
- Node457_48.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0131') ),-1));
- Node457_81.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0144') ),-1));
- Node457_82.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0140') ),-1));
- Node457_83.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0168') ),-1));
- Node457_84.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0160') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0164') ),-1));
- Node457_108.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0038') ),-1));
- Node457_109.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0034') ),-1));
- Node457_110.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0065') ),-1));
- Node457_111.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0054') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0061') ),-1));
- Node457_126.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_HY_JS_XX_XX_XXX_CI0006') ),-1));
- Node457_127.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0125') ),-1));
- Node457_128.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0124') ),-1));
- Node457_129.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0077') ),-1));
- Node457_144.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0089') ),-1));
- Node457_145.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0085') ),-1));
- Node457_146.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0116') ),-1));
- Node457_147.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0108') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0112') ),-1));
- Node457_163.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0171') ),-1));
- Node457_165.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0009') ),-1));
- Node457_168.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0129') ),-1));
- Node457_173.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0126') ),-1));
- Node457_174.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0192') ),-1));
- Node457_175.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0196') ),-1));
- Node457_176.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0188') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- Node0.refresh500ms();
- Node1.refresh500ms();
- Node2.refresh500ms();
- Node3.refresh500ms();
- Node12.refresh500ms();
- Node13.refresh500ms();
- Node14.refresh500ms();
- Node35.refresh500ms();
- Node40.refresh500ms();
- Node41.refresh500ms();
- Node53.refresh500ms();
- Node54.refresh500ms();
- Node55.refresh500ms();
- Node79.refresh500ms();
- Node86.refresh500ms();
- Node87.refresh500ms();
- Node101.refresh500ms();
- Node109.refresh500ms();
- Node120.refresh500ms();
- Node122.refresh500ms();
- Node125.refresh500ms();
- Node130.refresh500ms();
- Node145.refresh500ms();
- Node149.refresh500ms();
- Node156.refresh500ms();
- Node174.refresh500ms();
- Node177.refresh500ms();
- Node183.refresh500ms();
- Node186.refresh500ms();
- Node196.refresh500ms();
- Node199.refresh500ms();
- Node206.refresh500ms();
- Node209.refresh500ms();
- Node215.refresh500ms();
- Node218.refresh500ms();
- Node223.refresh500ms();
- Node226.refresh500ms();
- Node231.refresh500ms();
- Node234.refresh500ms();
- Node239.refresh500ms();
- Node242.refresh500ms();
- Node252.refresh500ms();
- Node255.refresh500ms();
- Node256.refresh500ms();
- Node257.refresh500ms();
- Node258.refresh500ms();
- Node259.refresh500ms();
- Node260.refresh500ms();
- Node261.refresh500ms();
- Node262.refresh500ms();
- Node263.refresh500ms();
- Node264.refresh500ms();
- Node265.refresh500ms();
- Node266.refresh500ms();
- Node267.refresh500ms();
- Node268.refresh500ms();
- Node269.refresh500ms();
- Node270.refresh500ms();
- Node271.refresh500ms();
- Node272.refresh500ms();
- Node273.refresh500ms();
- Node274.refresh500ms();
- Node275.refresh500ms();
- Node276.refresh500ms();
- Node277.refresh500ms();
- Node278.refresh500ms();
- Node279.refresh500ms();
- Node280.refresh500ms();
- Node281.refresh500ms();
- Node282.refresh500ms();
- Node283.refresh500ms();
- Node284.refresh500ms();
- Node285.refresh500ms();
- Node286.refresh500ms();
- Node287.refresh500ms();
- Node288.refresh500ms();
- Node289.refresh500ms();
- Node290.refresh500ms();
- Node291.refresh500ms();
- Node292.refresh500ms();
- Node293.refresh500ms();
- Node294.refresh500ms();
- Node295.refresh500ms();
- Node296.refresh500ms();
- Node297.refresh500ms();
- Node298.refresh500ms();
- Node299.refresh500ms();
- Node300.refresh500ms();
- Node301.refresh500ms();
- Node302.refresh500ms();
- Node303.refresh500ms();
- Node304.refresh500ms();
- Node305.refresh500ms();
- Node306.refresh500ms();
- Node307.refresh500ms();
- Node316.refresh500ms();
- Node317.refresh500ms();
- Node318.refresh500ms();
- Node321.refresh500ms();
- Node322.refresh500ms();
- Node323.refresh500ms();
- Node324.refresh500ms();
- Node325.refresh500ms();
- Node326.refresh500ms();
- Node327.refresh500ms();
- Node328.refresh500ms();
- Node329.refresh500ms();
- Node334.refresh500ms();
- Node341.refresh500ms();
- Node342.refresh500ms();
- Node343.refresh500ms();
- Node344.refresh500ms();
- Node345.refresh500ms();
- Node346.refresh500ms();
- Node347.refresh500ms();
- Node348.refresh500ms();
- Node349.refresh500ms();
- Node350.refresh500ms();
- Node353.refresh500ms();
- Node362.refresh500ms();
- if((1 )>0) {if(((A==0)>0 )){Node445_0.s('2d.visible',true);}else{Node445_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node445_1.s('2d.visible',true);}else{Node445_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node446_0.s('2d.visible',true);}else{Node446_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node446_1.s('2d.visible',true);}else{Node446_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node447_0.s('2d.visible',true);}else{Node447_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node447_1.s('2d.visible',true);}else{Node447_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node448_0.s('2d.visible',true);}else{Node448_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node448_1.s('2d.visible',true);}else{Node448_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node449_0.s('2d.visible',true);}else{Node449_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node449_1.s('2d.visible',true);}else{Node449_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node450_0.s('2d.visible',true);}else{Node450_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node450_1.s('2d.visible',true);}else{Node450_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node451_0.s('2d.visible',true);}else{Node451_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node451_1.s('2d.visible',true);}else{Node451_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node452_0.s('2d.visible',true);}else{Node452_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node452_1.s('2d.visible',true);}else{Node452_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node453_0.s('2d.visible',true);}else{Node453_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node453_1.s('2d.visible',true);}else{Node453_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node454_0.s('2d.visible',true);}else{Node454_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node454_1.s('2d.visible',true);}else{Node454_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node455_0.s('2d.visible',true);}else{Node455_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node455_1.s('2d.visible',true);}else{Node455_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node456_0.s('2d.visible',true);}else{Node456_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node456_1.s('2d.visible',true);}else{Node456_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==1)>0 )){Node457_177.s('2d.visible',true);}else{Node457_177.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node457_178.s('2d.visible',true);}else{Node457_178.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node457_179.s('2d.visible',true);}else{Node457_179.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node457_180.s('2d.visible',true);}else{Node457_180.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node457_181.s('2d.visible',true);}else{Node457_181.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node457_182.s('2d.visible',true);}else{Node457_182.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node457_183.s('2d.visible',true);}else{Node457_183.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node457_184.s('2d.visible',true);}else{Node457_184.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node457_185.s('2d.visible',true);}else{Node457_185.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node457_186.s('2d.visible',true);}else{Node457_186.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node457_187.s('2d.visible',true);}else{Node457_187.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node457_188.s('2d.visible',true);}else{Node457_188.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node457_189.s('2d.visible',true);}else{Node457_189.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node457_190.s('2d.visible',true);}else{Node457_190.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node457_191.s('2d.visible',true);}else{Node457_191.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node457_192.s('2d.visible',true);}else{Node457_192.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();
- Node0.refresh1s(Counter1s);
- Node1.refresh1s(Counter1s);
- Node2.refresh1s(Counter1s);
- Node3.refresh1s(Counter1s);
- Node12.refresh1s(Counter1s);
- Node13.refresh1s(Counter1s);
- Node14.refresh1s(Counter1s);
- Node35.refresh1s(Counter1s);
- Node40.refresh1s(Counter1s);
- Node41.refresh1s(Counter1s);
- Node53.refresh1s(Counter1s);
- Node54.refresh1s(Counter1s);
- Node55.refresh1s(Counter1s);
- Node79.refresh1s(Counter1s);
- Node86.refresh1s(Counter1s);
- Node87.refresh1s(Counter1s);
- Node101.refresh1s(Counter1s);
- Node109.refresh1s(Counter1s);
- Node120.refresh1s(Counter1s);
- Node122.refresh1s(Counter1s);
- Node125.refresh1s(Counter1s);
- Node130.refresh1s(Counter1s);
- Node145.refresh1s(Counter1s);
- Node149.refresh1s(Counter1s);
- Node156.refresh1s(Counter1s);
- Node174.refresh1s(Counter1s);
- Node177.refresh1s(Counter1s);
- Node183.refresh1s(Counter1s);
- Node186.refresh1s(Counter1s);
- Node196.refresh1s(Counter1s);
- Node199.refresh1s(Counter1s);
- Node206.refresh1s(Counter1s);
- Node209.refresh1s(Counter1s);
- Node215.refresh1s(Counter1s);
- Node218.refresh1s(Counter1s);
- Node223.refresh1s(Counter1s);
- Node226.refresh1s(Counter1s);
- Node231.refresh1s(Counter1s);
- Node234.refresh1s(Counter1s);
- Node239.refresh1s(Counter1s);
- Node242.refresh1s(Counter1s);
- Node252.refresh1s(Counter1s);
- Node255.refresh1s(Counter1s);
- Node256.refresh1s(Counter1s);
- Node257.refresh1s(Counter1s);
- Node258.refresh1s(Counter1s);
- Node259.refresh1s(Counter1s);
- Node260.refresh1s(Counter1s);
- Node261.refresh1s(Counter1s);
- Node262.refresh1s(Counter1s);
- Node263.refresh1s(Counter1s);
- Node264.refresh1s(Counter1s);
- Node265.refresh1s(Counter1s);
- Node266.refresh1s(Counter1s);
- Node267.refresh1s(Counter1s);
- Node268.refresh1s(Counter1s);
- Node269.refresh1s(Counter1s);
- Node270.refresh1s(Counter1s);
- Node271.refresh1s(Counter1s);
- Node272.refresh1s(Counter1s);
- Node273.refresh1s(Counter1s);
- Node274.refresh1s(Counter1s);
- Node275.refresh1s(Counter1s);
- Node276.refresh1s(Counter1s);
- Node277.refresh1s(Counter1s);
- Node278.refresh1s(Counter1s);
- Node279.refresh1s(Counter1s);
- Node280.refresh1s(Counter1s);
- Node281.refresh1s(Counter1s);
- Node282.refresh1s(Counter1s);
- Node283.refresh1s(Counter1s);
- Node284.refresh1s(Counter1s);
- Node285.refresh1s(Counter1s);
- Node286.refresh1s(Counter1s);
- Node287.refresh1s(Counter1s);
- Node288.refresh1s(Counter1s);
- Node289.refresh1s(Counter1s);
- Node290.refresh1s(Counter1s);
- Node291.refresh1s(Counter1s);
- Node292.refresh1s(Counter1s);
- Node293.refresh1s(Counter1s);
- Node294.refresh1s(Counter1s);
- Node295.refresh1s(Counter1s);
- Node296.refresh1s(Counter1s);
- Node297.refresh1s(Counter1s);
- Node298.refresh1s(Counter1s);
- Node299.refresh1s(Counter1s);
- Node300.refresh1s(Counter1s);
- Node301.refresh1s(Counter1s);
- Node302.refresh1s(Counter1s);
- Node303.refresh1s(Counter1s);
- Node304.refresh1s(Counter1s);
- Node305.refresh1s(Counter1s);
- Node306.refresh1s(Counter1s);
- Node307.refresh1s(Counter1s);
- Node316.refresh1s(Counter1s);
- Node317.refresh1s(Counter1s);
- Node318.refresh1s(Counter1s);
- Node321.refresh1s(Counter1s);
- Node322.refresh1s(Counter1s);
- Node323.refresh1s(Counter1s);
- Node324.refresh1s(Counter1s);
- Node325.refresh1s(Counter1s);
- Node326.refresh1s(Counter1s);
- Node327.refresh1s(Counter1s);
- Node328.refresh1s(Counter1s);
- Node329.refresh1s(Counter1s);
- Node334.refresh1s(Counter1s);
- Node341.refresh1s(Counter1s);
- Node342.refresh1s(Counter1s);
- Node343.refresh1s(Counter1s);
- Node344.refresh1s(Counter1s);
- Node345.refresh1s(Counter1s);
- Node346.refresh1s(Counter1s);
- Node347.refresh1s(Counter1s);
- Node348.refresh1s(Counter1s);
- Node349.refresh1s(Counter1s);
- Node350.refresh1s(Counter1s);
- Node353.refresh1s(Counter1s);
- Node362.refresh1s(Counter1s);
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- Node0.refresh5s();
- Node1.refresh5s();
- Node2.refresh5s();
- Node3.refresh5s();
- Node12.refresh5s();
- Node13.refresh5s();
- Node14.refresh5s();
- Node35.refresh5s();
- Node40.refresh5s();
- Node41.refresh5s();
- Node53.refresh5s();
- Node54.refresh5s();
- Node55.refresh5s();
- Node79.refresh5s();
- Node86.refresh5s();
- Node87.refresh5s();
- Node101.refresh5s();
- Node109.refresh5s();
- Node120.refresh5s();
- Node122.refresh5s();
- Node125.refresh5s();
- Node130.refresh5s();
- Node145.refresh5s();
- Node149.refresh5s();
- Node156.refresh5s();
- Node174.refresh5s();
- Node177.refresh5s();
- Node183.refresh5s();
- Node186.refresh5s();
- Node196.refresh5s();
- Node199.refresh5s();
- Node206.refresh5s();
- Node209.refresh5s();
- Node215.refresh5s();
- Node218.refresh5s();
- Node223.refresh5s();
- Node226.refresh5s();
- Node231.refresh5s();
- Node234.refresh5s();
- Node239.refresh5s();
- Node242.refresh5s();
- Node252.refresh5s();
- Node255.refresh5s();
- Node256.refresh5s();
- Node257.refresh5s();
- Node258.refresh5s();
- Node259.refresh5s();
- Node260.refresh5s();
- Node261.refresh5s();
- Node262.refresh5s();
- Node263.refresh5s();
- Node264.refresh5s();
- Node265.refresh5s();
- Node266.refresh5s();
- Node267.refresh5s();
- Node268.refresh5s();
- Node269.refresh5s();
- Node270.refresh5s();
- Node271.refresh5s();
- Node272.refresh5s();
- Node273.refresh5s();
- Node274.refresh5s();
- Node275.refresh5s();
- Node276.refresh5s();
- Node277.refresh5s();
- Node278.refresh5s();
- Node279.refresh5s();
- Node280.refresh5s();
- Node281.refresh5s();
- Node282.refresh5s();
- Node283.refresh5s();
- Node284.refresh5s();
- Node285.refresh5s();
- Node286.refresh5s();
- Node287.refresh5s();
- Node288.refresh5s();
- Node289.refresh5s();
- Node290.refresh5s();
- Node291.refresh5s();
- Node292.refresh5s();
- Node293.refresh5s();
- Node294.refresh5s();
- Node295.refresh5s();
- Node296.refresh5s();
- Node297.refresh5s();
- Node298.refresh5s();
- Node299.refresh5s();
- Node300.refresh5s();
- Node301.refresh5s();
- Node302.refresh5s();
- Node303.refresh5s();
- Node304.refresh5s();
- Node305.refresh5s();
- Node306.refresh5s();
- Node307.refresh5s();
- Node316.refresh5s();
- Node317.refresh5s();
- Node318.refresh5s();
- Node321.refresh5s();
- Node322.refresh5s();
- Node323.refresh5s();
- Node324.refresh5s();
- Node325.refresh5s();
- Node326.refresh5s();
- Node327.refresh5s();
- Node328.refresh5s();
- Node329.refresh5s();
- Node334.refresh5s();
- Node341.refresh5s();
- Node342.refresh5s();
- Node343.refresh5s();
- Node344.refresh5s();
- Node345.refresh5s();
- Node346.refresh5s();
- Node347.refresh5s();
- Node348.refresh5s();
- Node349.refresh5s();
- Node350.refresh5s();
- Node353.refresh5s();
- Node362.refresh5s();
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === PageBackground){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 === Node451_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node451_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node452_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node452_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node453_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node453_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node454_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node454_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node455_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node455_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node456_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node456_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node457_179){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 === Node457_181){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 === Node457_183){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 === Node457_185){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 === Node457_187){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node451_0&& objMouseOn===Node451_0){A=0; }
- if(data !== Node451_1&& objMouseOn===Node451_1){A=0; }
- if(data !== Node452_0&& objMouseOn===Node452_0){B=0; }
- if(data !== Node452_1&& objMouseOn===Node452_1){B=0; }
- if(data !== Node453_0&& objMouseOn===Node453_0){C=0; }
- if(data !== Node453_1&& objMouseOn===Node453_1){C=0; }
- if(data !== Node454_0&& objMouseOn===Node454_0){F=0; }
- if(data !== Node454_1&& objMouseOn===Node454_1){F=0; }
- if(data !== Node455_0&& objMouseOn===Node455_0){E=0; }
- if(data !== Node455_1&& objMouseOn===Node455_1){E=0; }
- if(data !== Node456_0&& objMouseOn===Node456_0){D=0; }
- if(data !== Node456_1&& objMouseOn===Node456_1){D=0; }
- if(data !== Node457_177&& objMouseOn===Node457_177){sxxny=0; }
- if(data !== Node457_179&& objMouseOn===Node457_179){yygjb=0; }
- if(data !== Node457_181&& objMouseOn===Node457_181){plhts=0; }
- if(data !== Node457_183&& objMouseOn===Node457_183){tqwns=0; }
- if(data !== Node457_185&& objMouseOn===Node457_185){gljf=0; }
- if(data !== Node457_187&& objMouseOn===Node457_187){hyfy=0; }
- if(data !== Node457_189&& objMouseOn===Node457_189){llbts=0; }
- if(data !== Node457_191&& objMouseOn===Node457_191){ygcls=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node445_0){A=1; }
- if(data === Node445_1){A=1; }
- if(data === Node446_0){B=1; }
- if(data === Node446_1){B=1; }
- if(data === Node447_0){C=1; }
- if(data === Node447_1){C=1; }
- if(data === Node448_0){E=1; }
- if(data === Node448_1){E=1; }
- if(data === Node449_0){F=1; }
- if(data === Node449_1){F=1; }
- if(data === Node450_0){D=1; }
- if(data === Node450_1){D=1; }
- if(data === Node457_178){sxxny=1; }
- if(data === Node457_180){yygjb=1; }
- if(data === Node457_182){plhts=1; }
- if(data === Node457_184){tqwns=1; }
- if(data === Node457_186){gljf=1; }
- if(data === Node457_188){hyfy=1; }
- if(data === Node457_190){llbts=1; }
- if(data === Node457_192){ygcls=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|