syz_gl.js 1.9 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171
  1. /*@WebApiFunc@*/
  2. var varList = ['GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0200','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0201','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0002','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0237','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0001','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0017','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0018','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0019','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0020','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0021','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0022','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0023','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0024','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0205','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0206','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0004','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0238','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0208','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0008','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0005','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0006','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0007','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0040','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0037','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0038','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0039','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0202','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0207','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0011','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0009','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0010','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0012','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0025','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0026','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0027','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0028','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0029','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0030','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0031','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0032','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0033','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0034','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0035','GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0036','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188','GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192'];
  3. var varListObj = {};
  4. var tagInfoDic={};
  5. // 用于保存所有的lib
  6. var mouseX=0,mouseY=0;
  7. var zoomNodeList = zoomNodeList || [];
  8. zoomNodeList.length = 0;
  9. var contextMenuOnViewList = contextMenuOnViewList || [];
  10. var globalVarNameList = globalVarNameList || [];
  11. var ratio = {ratioX: 1, ratioY: 1};
  12. // 保存加上图形旋转之后的缩放比例
  13. var _ratio = {ratioX: 1, ratioY: 1};
  14. var autoAdaptive = '@autoAdaptive@';
  15. var browserSize = {
  16. width: window.innerWidth || $window.innerWidth(),
  17. height: window.innerHeight || $window.innerHeight()
  18. }
  19. var globalVarObj = {};
  20. var globarParamsObj = {};
  21. var globalAliasObj = {};
  22. var pageSizeRatioValue;
  23. var PAGESCALABLE; // 页面是否可通过滚轮缩放
  24. var PageAdaptMode = {
  25. value: 'adaptBrowser',
  26. minWidth: 1366,
  27. minHeight: 768
  28. };
  29. function calcRatio (backSize, browserSize, ratio) {
  30. var value = GD.getParams('pageSizeRatioValue') || {}, rt;
  31. function cr(adaptMode) {
  32. var rx=1, ry=1, w, h;
  33. switch (adaptMode) {
  34. case 'adaptWidth':
  35. rx = ry = browserSize.width / backSize.width;
  36. break;
  37. case 'adaptHeight':
  38. rx = ry = browserSize.width / backSize.width;
  39. break;
  40. case 'adaptBrowser':
  41. rx = browserSize.width / backSize.width;
  42. ry = browserSize.height / backSize.height;
  43. break;
  44. case 'originSize':
  45. rx = ry = 1;
  46. break;
  47. case 'autoResize':
  48. w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
  49. h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
  50. rx = w / backSize.width;
  51. ry = h / backSize.height;
  52. rx > ry ? rx = ry : ry = rx;
  53. break;
  54. }
  55. return {rx: rx,ry: ry}
  56. }
  57. value = value.value || PageAdaptMode.value;
  58. pageSizeRatioValue = value;
  59. if ($.isNumeric(value)) {
  60. rt = cr(PageAdaptMode.value);
  61. ratio.ratioX = value*rt.rx;
  62. ratio.ratioY = value*rt.ry;
  63. } else {
  64. rt = cr(value);
  65. ratio.ratioX = rt.rx;
  66. ratio.ratioY = rt.ry;
  67. }
  68. ratio.originRatioX = rt.rx;
  69. ratio.originRatioY = rt.ry;
  70. window.backSize = backSize;
  71. }
  72. // 页面的依赖
  73. (function (W, GD) {
  74. W.GD = GD = GD || {};
  75. GD.relationship = {
  76. // hash: ['a.js', 'b.js', 'c.js'],
  77. '1234/syz_gl': ['lib/断路器通用图元.js','lib/开关通用图元.js','lib/手车通用图元.js','lib/倒置 接地刀闸通用图元.js'],
  78. }
  79. })(window, window.GD);
  80. (function () {
  81. for (var i = 0, len = varList.length; i < len; i++) {
  82. var varStr = varList[i];
  83. varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
  84. varStr && (varListObj[varStr] = 0);
  85. }
  86. })();
  87. jQuery.support.cors = true;
  88. ht.Default.appendTimeStamp = function(url) { return url };
  89. function init() {
  90. initPage();
  91. // dataModel._libModel = _libModel;
  92. try {
  93. VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
  94. } catch (err) {}
  95. for(var i=0;i< 73 ;i++){VarValue[i] =0;}
  96. graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
  97. view.style.background = 'rgba(255,255,255,1)';
  98. anniu=0;
  99. sy=0;
  100. ldjsc=0;
  101. ztjs=0;
  102. sbjz=0;
  103. xnfx=0;
  104. pjgl=0;
  105. zbph=0;
  106. dbgl=0;
  107. bjzx=0;
  108. jrjs=0;
  109. sxxny=0;
  110. yygjb=0;
  111. plhts=0;
  112. tqwns=0;
  113. gljf=0;
  114. hyfy=0;
  115. llbts=0;
  116. ygcls=0;
  117. fs=0;
  118. sjgl=0;
  119. yfgl=0;
  120. rfdl=0;
  121. yfdl=0;
  122. ylyxx=0;
  123. nfdl=0;
  124. nlyxs=0;
  125. llfdl=0;
  126. whssdl=0;
  127. gzssdl=0;
  128. xdssdl=0;
  129. slssdl=0;
  130. xnssdl=0;
  131. anniu=0;
  132. A=0;
  133. B=0;
  134. C=0;
  135. D=0;
  136. E=0;
  137. F=0;
  138. Node185_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0020";
  139. Node186_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0032";
  140. Node187_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0044";
  141. Node188_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0069";
  142. Node189_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0002";
  143. Node190_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0016";
  144. Node191_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0050";
  145. Node192_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0051";
  146. Node193_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0057";
  147. Node194_xianshi1="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0063";
  148. Node195_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0024";
  149. Node196_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0022";
  150. Node197_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0036";
  151. Node198_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0034";
  152. Node199_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0074";
  153. Node200_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0006";
  154. Node201_xianshi="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0004";
  155. Node202_xianshi2="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0072";
  156. Node203_xianshi2="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0018";
  157. Node210_xianshi2="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0050";
  158. Node211_xianshi2="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0055";
  159. Node212_xianshi2="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0061";
  160. Node213_xianshi2="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0067";
  161. Node214_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0030";
  162. Node215_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0028";
  163. Node216_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0027";
  164. Node217_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0042";
  165. Node218_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0040";
  166. Node219_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0038";
  167. Node220_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0046";
  168. Node221_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0048";
  169. Node222_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0070";
  170. Node223_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0071";
  171. Node224_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0012";
  172. Node225_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0010";
  173. Node226_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0008";
  174. Node227_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0014";
  175. Node228_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0053";
  176. Node229_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0059";
  177. Node230_xianshi4="GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0065";
  178. /*@PageBeforeInit@*/
  179. ;(function () {
  180. var GD = window.GD;
  181. if (!GD || typeof GD.useParams !== 'function') return ;
  182. GD.useParams();
  183. })();
  184. var backSize = {width: 1988, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  185. var PageBackgroundtype = 'rect';
  186. var PageBackground = new ht.Node(),
  187. PageBackgroundBorderWidth = 0*2;
  188. if (PageBackgroundtype === 'arc') {
  189. PageBackgroundBorderWidth *= 0;
  190. }
  191. PageBackground.setImage(GD.getRectJSON(1988*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
  192. PageBackground.setPosition(994*ratio.ratioX, 472*ratio.ratioY);
  193. PageBackground.setSize(1988*_ratio.ratioX, 944*_ratio.ratioY);
  194. PageBackground.s({
  195. 'pixelPerfect':true
  196. /*@AddPara@*/
  197. });
  198. PageBackground.a('node.width', 1988*_ratio.ratioX);
  199. PageBackground.a('node.height', 944*_ratio.ratioY);
  200. PageBackground.a('node.type', PageBackgroundtype);
  201. PageBackground.a('node.rect', [0, 0, 1988*_ratio.ratioX, 944*_ratio.ratioY]);
  202. PageBackground.a('node.background', 'rgba(255,255,255,1)');
  203. PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
  204. PageBackground.a('node.gradient', '');
  205. PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
  206. PageBackground.a('node.color', 'rgba(0,0,0,1)');
  207. PageBackground.a('node.fillrect', [0,0,0,0]);
  208. PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  209. PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  210. PageBackground.a('node.fillgradient', '');
  211. if (PageBackgroundtype !== 'rect') {
  212. PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
  213. PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
  214. PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  215. }
  216. if (PageBackgroundtype === 'arc') {
  217. PageBackground.a('node.arcOval', true);
  218. }
  219. PageBackground.setRotation(0*Math.PI/180);
  220. PageBackground.borderWidth = PageBackgroundBorderWidth;
  221. PageBackground.borderFillwidth = PageBackgroundBorderWidth;
  222. dataModel.add(PageBackground);
  223. PageBackground._nodename = 'PageBackground'
  224. PageBackground._nodeType = 'rect';
  225. zoomNodeList.push({
  226. node: PageBackground,
  227. attr: 'node.borderwidth'
  228. });
  229. (function (node, _img) {
  230. var setWidth = node.setWidth,
  231. setHeight = node.setHeight;
  232. node.setWidth = function (width) {
  233. if (width === this.getWidth()) return ;
  234. var height = this.getHeight();
  235. this.a('node.width', width);
  236. this.a('node.rect', [0,0,width, height]);
  237. setWidth.apply(this, arguments);
  238. }
  239. node.setHeight = function (height) {
  240. if (height === this.getHeight()) return ;
  241. var width = this.getWidth();
  242. this.a('node.height', height);
  243. this.a('node.rect', [0,0,width, height]);
  244. setHeight.apply(this, arguments);
  245. }
  246. })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  247. var Node0 = new ht.Node();
  248. var Node0textStart, Node0textWidth, Node0lineStart, Node0align = 'center', Node0fontSize = 14.66663*_ratio.ratioY,Node0width = 67*_ratio.ratioX, Node0height = 26*_ratio.ratioY;
  249. (function () {
  250. if (Node0align === 'left') {
  251. Node0textStart = Node0fontSize * 0.2 > 2 ? Node0fontSize * 0.2 - 4 : Node0fontSize * 0.2 - 9;
  252. Node0textWidth = Node0width;
  253. Node0lineStart = 1;
  254. } else if (Node0align === 'right') {
  255. Node0textStart = 0;
  256. Node0textWidth =Node0fontSize <= 8 ? Node0width + Node0fontSize * 0.2 + 6 : Node0width - Node0fontSize * 0.2;
  257. Node0lineStart = (Node0width - (ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width + 6)) * 0.5;
  258. } else if (Node0align === 'center') {
  259. Node0textStart = -3;
  260. Node0textWidth = Node0width;
  261. Node0lineStart = Node0width - ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width - 11;
  262. }
  263. })();
  264. Node0.setImage(GD.getTextJSON(Node0width, Node0height, true, false, false, ' '+ Node0fontSize + 'px "Arial"'))
  265. Node0.setPosition(1860*ratio.ratioX, 84*ratio.ratioY);
  266. Node0.setWidth(Node0width);
  267. Node0.setHeight(Node0height);
  268. Node0._nodeType = 'text';
  269. Node0._disallowEvert = true;
  270. Node0.setRotation(0*Math.PI/180);
  271. Node0.a('node.width', Node0width);
  272. Node0.a('node.height', Node0height);
  273. Node0.a('node.rect', [0, 0, Node0width, Node0height]);
  274. Node0.a('node.bordercolor','rgba(105,105,105,1)');
  275. Node0.a('node.borderwidth', 0);
  276. Node0.a('node.background','' || 'rgba(0,0,0,0)');
  277. Node0.a('node.gradient','');
  278. Node0.a('node.gradientcolor','');
  279. Node0.a('node.text','台');
  280. Node0.a('node.textalign','center');
  281. Node0.a('node.textvAlign','middle');
  282. Node0.a('node.textrect', [Node0textStart, 0, Node0textWidth, Node0height]);
  283. Node0.a('node.color','rgba(105,105,105,1)');
  284. Node0.a('node.font',' '+ Node0fontSize + 'px "Arial"');
  285. Node0.a('node.textvisible',true);
  286. Node0.a('node.linefeed',false);
  287. if (false) {
  288. Node0.a('node.textfunc',function(g) {
  289. g.beginPath();
  290. var str=Node0.a('node.text') || '台';
  291. var color=Node0.a('node.color') || 'rgba(105,105,105,1)';
  292. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0width,Node0height,14.66663*_ratio.ratioY,"center",color,' '+ Node0fontSize + 'px "Arial"', 0,g);
  293. });
  294. }
  295. if (false) {
  296. Node0.a('node.underlinepoints',[Node0lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node0fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width + 6, (Node0height - Node0fontSize) * 0.5*_ratio.ratioY + Node0fontSize + 2 ]);
  297. Node0.a('node.underlinevisible',false);
  298. Node0.a('node.underlineBorderWidth', 1);
  299. }
  300. dataModel.add(Node0);
  301. zoomNodeList.push({
  302. node: Node0,
  303. borderWidth: 0,
  304. attr: 'node.borderwidth'
  305. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  306. var Node1 = new ht.Node();
  307. var Node1textStart, Node1textWidth, Node1lineStart, Node1align = 'center', Node1fontSize = 14.66663*_ratio.ratioY,Node1width = 67*_ratio.ratioX, Node1height = 26*_ratio.ratioY;
  308. (function () {
  309. if (Node1align === 'left') {
  310. Node1textStart = Node1fontSize * 0.2 > 2 ? Node1fontSize * 0.2 - 4 : Node1fontSize * 0.2 - 9;
  311. Node1textWidth = Node1width;
  312. Node1lineStart = 1;
  313. } else if (Node1align === 'right') {
  314. Node1textStart = 0;
  315. Node1textWidth =Node1fontSize <= 8 ? Node1width + Node1fontSize * 0.2 + 6 : Node1width - Node1fontSize * 0.2;
  316. Node1lineStart = (Node1width - (ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6)) * 0.5;
  317. } else if (Node1align === 'center') {
  318. Node1textStart = -3;
  319. Node1textWidth = Node1width;
  320. Node1lineStart = Node1width - ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width - 11;
  321. }
  322. })();
  323. Node1.setImage(GD.getTextJSON(Node1width, Node1height, true, false, false, ' '+ Node1fontSize + 'px "Arial"'))
  324. Node1.setPosition(1860*ratio.ratioX, 145*ratio.ratioY);
  325. Node1.setWidth(Node1width);
  326. Node1.setHeight(Node1height);
  327. Node1._nodeType = 'text';
  328. Node1._disallowEvert = true;
  329. Node1.setRotation(0*Math.PI/180);
  330. Node1.a('node.width', Node1width);
  331. Node1.a('node.height', Node1height);
  332. Node1.a('node.rect', [0, 0, Node1width, Node1height]);
  333. Node1.a('node.bordercolor','rgba(105,105,105,1)');
  334. Node1.a('node.borderwidth', 0);
  335. Node1.a('node.background','' || 'rgba(0,0,0,0)');
  336. Node1.a('node.gradient','');
  337. Node1.a('node.gradientcolor','');
  338. Node1.a('node.text','台');
  339. Node1.a('node.textalign','center');
  340. Node1.a('node.textvAlign','middle');
  341. Node1.a('node.textrect', [Node1textStart, 0, Node1textWidth, Node1height]);
  342. Node1.a('node.color','rgba(105,105,105,1)');
  343. Node1.a('node.font',' '+ Node1fontSize + 'px "Arial"');
  344. Node1.a('node.textvisible',true);
  345. Node1.a('node.linefeed',false);
  346. if (false) {
  347. Node1.a('node.textfunc',function(g) {
  348. g.beginPath();
  349. var str=Node1.a('node.text') || '台';
  350. var color=Node1.a('node.color') || 'rgba(105,105,105,1)';
  351. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node1width,Node1height,14.66663*_ratio.ratioY,"center",color,' '+ Node1fontSize + 'px "Arial"', 0,g);
  352. });
  353. }
  354. if (false) {
  355. Node1.a('node.underlinepoints',[Node1lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node1fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6, (Node1height - Node1fontSize) * 0.5*_ratio.ratioY + Node1fontSize + 2 ]);
  356. Node1.a('node.underlinevisible',false);
  357. Node1.a('node.underlineBorderWidth', 1);
  358. }
  359. dataModel.add(Node1);
  360. zoomNodeList.push({
  361. node: Node1,
  362. borderWidth: 0,
  363. attr: 'node.borderwidth'
  364. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  365. var Node2type = 'rect';
  366. var Node2 = new ht.Node(),
  367. Node2BorderWidth = 0*2;
  368. if (Node2type === 'arc') {
  369. Node2BorderWidth *= 0;
  370. }
  371. Node2.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  372. Node2.setPosition(13*ratio.ratioX, 98*ratio.ratioY);
  373. Node2.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
  374. Node2.s({
  375. 'pixelPerfect':true
  376. /*@AddPara@*/
  377. });
  378. Node2.a('node.width', 27*_ratio.ratioX);
  379. Node2.a('node.height', 121*_ratio.ratioY);
  380. Node2.a('node.type', Node2type);
  381. Node2.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
  382. Node2.a('node.background', 'rgba(0,132,216,1)');
  383. Node2.a('node.gradientcolor', 'rgba(0,132,216,1)');
  384. Node2.a('node.gradient', '');
  385. Node2.a('node.borderwidth', Node2BorderWidth);
  386. Node2.a('node.color', 'rgba(0,0,255,0)');
  387. Node2.a('node.fillrect', [0,0,0,0]);
  388. Node2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  389. Node2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  390. Node2.a('node.fillgradient', '');
  391. if (Node2type !== 'rect') {
  392. Node2.a('node.arcFrom', parseFloat('@arcFrom@'));
  393. Node2.a('node.arcTo', parseFloat('@arcTo@'));
  394. Node2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  395. }
  396. if (Node2type === 'arc') {
  397. Node2.a('node.arcOval', true);
  398. }
  399. Node2.setRotation(0*Math.PI/180);
  400. Node2.borderWidth = Node2BorderWidth;
  401. Node2.borderFillwidth = Node2BorderWidth;
  402. dataModel.add(Node2);
  403. Node2._nodename = 'Node2'
  404. Node2._nodeType = 'rect';
  405. zoomNodeList.push({
  406. node: Node2,
  407. attr: 'node.borderwidth'
  408. });
  409. (function (node, _img) {
  410. var setWidth = node.setWidth,
  411. setHeight = node.setHeight;
  412. node.setWidth = function (width) {
  413. if (width === this.getWidth()) return ;
  414. var height = this.getHeight();
  415. this.a('node.width', width);
  416. this.a('node.rect', [0,0,width, height]);
  417. setWidth.apply(this, arguments);
  418. }
  419. node.setHeight = function (height) {
  420. if (height === this.getHeight()) return ;
  421. var width = this.getWidth();
  422. this.a('node.height', height);
  423. this.a('node.rect', [0,0,width, height]);
  424. setHeight.apply(this, arguments);
  425. }
  426. })(Node2, Node2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  427. var Node3 = new ht.Node();
  428. var Node3textStart, Node3textWidth, Node3lineStart, Node3align = 'left', Node3fontSize = 13.3333*_ratio.ratioY,Node3width = 53*_ratio.ratioX, Node3height = 30*_ratio.ratioY;
  429. (function () {
  430. if (Node3align === 'left') {
  431. Node3textStart = Node3fontSize * 0.2 > 2 ? Node3fontSize * 0.2 - 4 : Node3fontSize * 0.2 - 9;
  432. Node3textWidth = Node3width;
  433. Node3lineStart = 1;
  434. } else if (Node3align === 'right') {
  435. Node3textStart = 0;
  436. Node3textWidth =Node3fontSize <= 8 ? Node3width + Node3fontSize * 0.2 + 6 : Node3width - Node3fontSize * 0.2;
  437. Node3lineStart = (Node3width - (ht.Default.getTextSize('综', 'bold '+ Node3fontSize + 'px "Arial"').width + 6)) * 0.5;
  438. } else if (Node3align === 'center') {
  439. Node3textStart = -3;
  440. Node3textWidth = Node3width;
  441. Node3lineStart = Node3width - ht.Default.getTextSize('综', 'bold '+ Node3fontSize + 'px "Arial"').width - 11;
  442. }
  443. })();
  444. Node3.setImage(GD.getTextJSON(Node3width, Node3height, true, false, false, 'bold '+ Node3fontSize + 'px "Arial"'))
  445. Node3.setPosition(29*ratio.ratioX, 55*ratio.ratioY);
  446. Node3.setWidth(Node3width);
  447. Node3.setHeight(Node3height);
  448. Node3._nodeType = 'text';
  449. Node3._disallowEvert = true;
  450. Node3.setRotation(0*Math.PI/180);
  451. Node3.a('node.width', Node3width);
  452. Node3.a('node.height', Node3height);
  453. Node3.a('node.rect', [0, 0, Node3width, Node3height]);
  454. Node3.a('node.bordercolor','rgba(255,255,255,1)');
  455. Node3.a('node.borderwidth', 0);
  456. Node3.a('node.background','' || 'rgba(0,0,0,0)');
  457. Node3.a('node.gradient','');
  458. Node3.a('node.gradientcolor','');
  459. Node3.a('node.text','综');
  460. Node3.a('node.textalign','left');
  461. Node3.a('node.textvAlign','middle');
  462. Node3.a('node.textrect', [Node3textStart, 0, Node3textWidth, Node3height]);
  463. Node3.a('node.color','rgba(255,255,255,1)');
  464. Node3.a('node.font','bold '+ Node3fontSize + 'px "Arial"');
  465. Node3.a('node.textvisible',true);
  466. Node3.a('node.linefeed',false);
  467. if (false) {
  468. Node3.a('node.textfunc',function(g) {
  469. g.beginPath();
  470. var str=Node3.a('node.text') || '综';
  471. var color=Node3.a('node.color') || 'rgba(255,255,255,1)';
  472. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node3width,Node3height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node3fontSize + 'px "Arial"', 0,g);
  473. });
  474. }
  475. if (false) {
  476. Node3.a('node.underlinepoints',[Node3lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node3fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node3fontSize + 'px "Arial"').width + 6, (Node3height - Node3fontSize) * 0.5*_ratio.ratioY + Node3fontSize + 2 ]);
  477. Node3.a('node.underlinevisible',false);
  478. Node3.a('node.underlineBorderWidth', 1);
  479. }
  480. dataModel.add(Node3);
  481. zoomNodeList.push({
  482. node: Node3,
  483. borderWidth: 0,
  484. attr: 'node.borderwidth'
  485. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  486. var Node4type = 'rect';
  487. var Node4 = new ht.Node(),
  488. Node4BorderWidth = 0*2;
  489. if (Node4type === 'arc') {
  490. Node4BorderWidth *= 0;
  491. }
  492. Node4.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  493. Node4.setPosition(106*ratio.ratioX, 101*ratio.ratioY);
  494. Node4.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
  495. Node4.s({
  496. 'pixelPerfect':true
  497. /*@AddPara@*/
  498. });
  499. Node4.a('node.width', 156*_ratio.ratioX);
  500. Node4.a('node.height', 30*_ratio.ratioY);
  501. Node4.a('node.type', Node4type);
  502. Node4.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
  503. Node4.a('node.background', 'rgba(73,192,209,1)');
  504. Node4.a('node.gradientcolor', 'rgba(73,192,209,1)');
  505. Node4.a('node.gradient', '');
  506. Node4.a('node.borderwidth', Node4BorderWidth);
  507. Node4.a('node.color', 'rgba(0,0,0,0)');
  508. Node4.a('node.fillrect', [0,0,0,0]);
  509. Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  510. Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  511. Node4.a('node.fillgradient', '');
  512. if (Node4type !== 'rect') {
  513. Node4.a('node.arcFrom', parseFloat('@arcFrom@'));
  514. Node4.a('node.arcTo', parseFloat('@arcTo@'));
  515. Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  516. }
  517. if (Node4type === 'arc') {
  518. Node4.a('node.arcOval', true);
  519. }
  520. Node4.setRotation(0*Math.PI/180);
  521. Node4.borderWidth = Node4BorderWidth;
  522. Node4.borderFillwidth = Node4BorderWidth;
  523. dataModel.add(Node4);
  524. Node4._nodename = 'Node4'
  525. Node4._nodeType = 'rect';
  526. zoomNodeList.push({
  527. node: Node4,
  528. attr: 'node.borderwidth'
  529. });
  530. (function (node, _img) {
  531. var setWidth = node.setWidth,
  532. setHeight = node.setHeight;
  533. node.setWidth = function (width) {
  534. if (width === this.getWidth()) return ;
  535. var height = this.getHeight();
  536. this.a('node.width', width);
  537. this.a('node.rect', [0,0,width, height]);
  538. setWidth.apply(this, arguments);
  539. }
  540. node.setHeight = function (height) {
  541. if (height === this.getHeight()) return ;
  542. var width = this.getWidth();
  543. this.a('node.height', height);
  544. this.a('node.rect', [0,0,width, height]);
  545. setHeight.apply(this, arguments);
  546. }
  547. })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  548. var Node5 = new ht.Node();
  549. var Node5textStart, Node5textWidth, Node5lineStart, Node5align = 'left', Node5fontSize = 14.66663*_ratio.ratioY,Node5width = 157*_ratio.ratioX, Node5height = 24*_ratio.ratioY;
  550. (function () {
  551. if (Node5align === 'left') {
  552. Node5textStart = Node5fontSize * 0.2 > 2 ? Node5fontSize * 0.2 - 4 : Node5fontSize * 0.2 - 9;
  553. Node5textWidth = Node5width;
  554. Node5lineStart = 1;
  555. } else if (Node5align === 'right') {
  556. Node5textStart = 0;
  557. Node5textWidth =Node5fontSize <= 8 ? Node5width + Node5fontSize * 0.2 + 6 : Node5width - Node5fontSize * 0.2;
  558. Node5lineStart = (Node5width - (ht.Default.getTextSize('安全天数', 'bold '+ Node5fontSize + 'px "Arial"').width + 6)) * 0.5;
  559. } else if (Node5align === 'center') {
  560. Node5textStart = -3;
  561. Node5textWidth = Node5width;
  562. Node5lineStart = Node5width - ht.Default.getTextSize('安全天数', 'bold '+ Node5fontSize + 'px "Arial"').width - 11;
  563. }
  564. })();
  565. Node5.setImage(GD.getTextJSON(Node5width, Node5height, true, false, false, 'bold '+ Node5fontSize + 'px "Arial"'))
  566. Node5.setPosition(146*ratio.ratioX, 101*ratio.ratioY);
  567. Node5.setWidth(Node5width);
  568. Node5.setHeight(Node5height);
  569. Node5._nodeType = 'text';
  570. Node5._disallowEvert = true;
  571. Node5.setRotation(0*Math.PI/180);
  572. Node5.a('node.width', Node5width);
  573. Node5.a('node.height', Node5height);
  574. Node5.a('node.rect', [0, 0, Node5width, Node5height]);
  575. Node5.a('node.bordercolor','rgba(255,255,255,1)');
  576. Node5.a('node.borderwidth', 0);
  577. Node5.a('node.background','' || 'rgba(0,0,0,0)');
  578. Node5.a('node.gradient','');
  579. Node5.a('node.gradientcolor','');
  580. Node5.a('node.text','安全天数');
  581. Node5.a('node.textalign','left');
  582. Node5.a('node.textvAlign','middle');
  583. Node5.a('node.textrect', [Node5textStart, 0, Node5textWidth, Node5height]);
  584. Node5.a('node.color','rgba(255,255,255,1)');
  585. Node5.a('node.font','bold '+ Node5fontSize + 'px "Arial"');
  586. Node5.a('node.textvisible',true);
  587. Node5.a('node.linefeed',false);
  588. if (false) {
  589. Node5.a('node.textfunc',function(g) {
  590. g.beginPath();
  591. var str=Node5.a('node.text') || '安全天数';
  592. var color=Node5.a('node.color') || 'rgba(255,255,255,1)';
  593. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node5width,Node5height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node5fontSize + 'px "Arial"', 0,g);
  594. });
  595. }
  596. if (false) {
  597. Node5.a('node.underlinepoints',[Node5lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node5fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node5fontSize + 'px "Arial"').width + 6, (Node5height - Node5fontSize) * 0.5*_ratio.ratioY + Node5fontSize + 2 ]);
  598. Node5.a('node.underlinevisible',false);
  599. Node5.a('node.underlineBorderWidth', 1);
  600. }
  601. dataModel.add(Node5);
  602. zoomNodeList.push({
  603. node: Node5,
  604. borderWidth: 0,
  605. attr: 'node.borderwidth'
  606. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  607. var Node6type = 'rect';
  608. var Node6 = new ht.Node(),
  609. Node6BorderWidth = 0*2;
  610. if (Node6type === 'arc') {
  611. Node6BorderWidth *= 0;
  612. }
  613. Node6.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  614. Node6.setPosition(82*ratio.ratioX, 138*ratio.ratioY);
  615. Node6.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
  616. Node6.s({
  617. 'pixelPerfect':true
  618. /*@AddPara@*/
  619. });
  620. Node6.a('node.width', 105*_ratio.ratioX);
  621. Node6.a('node.height', 48*_ratio.ratioY);
  622. Node6.a('node.type', Node6type);
  623. Node6.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
  624. Node6.a('node.background', 'rgba(255,255,255,0.003921569)');
  625. Node6.a('node.gradientcolor', '');
  626. Node6.a('node.gradient', '');
  627. Node6.a('node.borderwidth', Node6BorderWidth);
  628. Node6.a('node.color', 'rgba(0,0,0,0)');
  629. Node6.a('node.fillrect', [0,0,0,0]);
  630. Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  631. Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  632. Node6.a('node.fillgradient', '');
  633. if (Node6type !== 'rect') {
  634. Node6.a('node.arcFrom', parseFloat('@arcFrom@'));
  635. Node6.a('node.arcTo', parseFloat('@arcTo@'));
  636. Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  637. }
  638. if (Node6type === 'arc') {
  639. Node6.a('node.arcOval', true);
  640. }
  641. Node6.setRotation(0*Math.PI/180);
  642. Node6.borderWidth = Node6BorderWidth;
  643. Node6.borderFillwidth = Node6BorderWidth;
  644. dataModel.add(Node6);
  645. Node6._nodename = 'Node6'
  646. Node6._nodeType = 'rect';
  647. zoomNodeList.push({
  648. node: Node6,
  649. attr: 'node.borderwidth'
  650. });
  651. (function (node, _img) {
  652. var setWidth = node.setWidth,
  653. setHeight = node.setHeight;
  654. node.setWidth = function (width) {
  655. if (width === this.getWidth()) return ;
  656. var height = this.getHeight();
  657. this.a('node.width', width);
  658. this.a('node.rect', [0,0,width, height]);
  659. setWidth.apply(this, arguments);
  660. }
  661. node.setHeight = function (height) {
  662. if (height === this.getHeight()) return ;
  663. var width = this.getWidth();
  664. this.a('node.height', height);
  665. this.a('node.rect', [0,0,width, height]);
  666. setHeight.apply(this, arguments);
  667. }
  668. })(Node6, Node6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  669. var Node7 = new ht.Node();
  670. var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'right', Node7fontSize = 19.99995*_ratio.ratioY,Node7width = 59*_ratio.ratioX, Node7height = 24*_ratio.ratioY;
  671. (function () {
  672. if (Node7align === 'left') {
  673. Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9;
  674. Node7textWidth = Node7width;
  675. Node7lineStart = 1;
  676. } else if (Node7align === 'right') {
  677. Node7textStart = 0;
  678. Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2;
  679. Node7lineStart = (Node7width - (ht.Default.getTextSize('0', ' '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5;
  680. } else if (Node7align === 'center') {
  681. Node7textStart = -3;
  682. Node7textWidth = Node7width;
  683. Node7lineStart = Node7width - ht.Default.getTextSize('0', ' '+ Node7fontSize + 'px "Arial"').width - 11;
  684. }
  685. })();
  686. Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, ' '+ Node7fontSize + 'px "Arial"'))
  687. Node7.setPosition(77*ratio.ratioX, 146*ratio.ratioY);
  688. Node7.setWidth(Node7width);
  689. Node7.setHeight(Node7height);
  690. Node7._nodeType = 'text';
  691. Node7._disallowEvert = true;
  692. Node7.setRotation(0*Math.PI/180);
  693. Node7.a('node.width', Node7width);
  694. Node7.a('node.height', Node7height);
  695. Node7.a('node.rect', [0, 0, Node7width, Node7height]);
  696. Node7.a('node.bordercolor','rgba(0,0,0,1)');
  697. Node7.a('node.borderwidth', 0);
  698. Node7.a('node.background','' || 'rgba(0,0,0,0)');
  699. Node7.a('node.gradient','');
  700. Node7.a('node.gradientcolor','');
  701. Node7.a('node.text','0');
  702. Node7.a('node.textalign','right');
  703. Node7.a('node.textvAlign','middle');
  704. Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]);
  705. Node7.a('node.color','rgba(0,0,0,1)');
  706. Node7.a('node.font',' '+ Node7fontSize + 'px "Arial"');
  707. Node7.a('node.textvisible',true);
  708. Node7.a('node.linefeed',false);
  709. if (false) {
  710. Node7.a('node.textfunc',function(g) {
  711. g.beginPath();
  712. var str=Node7.a('node.text') || '0';
  713. var color=Node7.a('node.color') || 'rgba(0,0,0,1)';
  714. canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node7width,Node7height,19.99995*_ratio.ratioY,"right",color,' '+ Node7fontSize + 'px "Arial"', 0,g);
  715. });
  716. }
  717. if (false) {
  718. Node7.a('node.underlinepoints',[Node7lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]);
  719. Node7.a('node.underlinevisible',false);
  720. Node7.a('node.underlineBorderWidth', 1);
  721. }
  722. dataModel.add(Node7);
  723. zoomNodeList.push({
  724. node: Node7,
  725. borderWidth: 0,
  726. attr: 'node.borderwidth'
  727. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  728. var Node8type = 'rect';
  729. var Node8 = new ht.Node(),
  730. Node8BorderWidth = 0*2;
  731. if (Node8type === 'arc') {
  732. Node8BorderWidth *= 0;
  733. }
  734. Node8.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  735. Node8.setPosition(165*ratio.ratioX, 143*ratio.ratioY);
  736. Node8.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
  737. Node8.s({
  738. 'pixelPerfect':true
  739. /*@AddPara@*/
  740. });
  741. Node8.a('node.width', 31*_ratio.ratioX);
  742. Node8.a('node.height', 31*_ratio.ratioY);
  743. Node8.a('node.type', Node8type);
  744. Node8.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
  745. Node8.a('node.background', 'rgba(225,102,38,1)');
  746. Node8.a('node.gradientcolor', 'rgba(225,102,38,1)');
  747. Node8.a('node.gradient', '');
  748. Node8.a('node.borderwidth', Node8BorderWidth);
  749. Node8.a('node.color', 'rgba(0,0,0,0)');
  750. Node8.a('node.fillrect', [0,0,0,0]);
  751. Node8.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  752. Node8.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  753. Node8.a('node.fillgradient', '');
  754. if (Node8type !== 'rect') {
  755. Node8.a('node.arcFrom', parseFloat('@arcFrom@'));
  756. Node8.a('node.arcTo', parseFloat('@arcTo@'));
  757. Node8.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  758. }
  759. if (Node8type === 'arc') {
  760. Node8.a('node.arcOval', true);
  761. }
  762. Node8.setRotation(0*Math.PI/180);
  763. Node8.borderWidth = Node8BorderWidth;
  764. Node8.borderFillwidth = Node8BorderWidth;
  765. dataModel.add(Node8);
  766. Node8._nodename = 'Node8'
  767. Node8._nodeType = 'rect';
  768. zoomNodeList.push({
  769. node: Node8,
  770. attr: 'node.borderwidth'
  771. });
  772. (function (node, _img) {
  773. var setWidth = node.setWidth,
  774. setHeight = node.setHeight;
  775. node.setWidth = function (width) {
  776. if (width === this.getWidth()) return ;
  777. var height = this.getHeight();
  778. this.a('node.width', width);
  779. this.a('node.rect', [0,0,width, height]);
  780. setWidth.apply(this, arguments);
  781. }
  782. node.setHeight = function (height) {
  783. if (height === this.getHeight()) return ;
  784. var width = this.getWidth();
  785. this.a('node.height', height);
  786. this.a('node.rect', [0,0,width, height]);
  787. setHeight.apply(this, arguments);
  788. }
  789. })(Node8, Node8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  790. var Node9 = new ht.Node();
  791. var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 27*_ratio.ratioX, Node9height = 16*_ratio.ratioY;
  792. (function () {
  793. if (Node9align === 'left') {
  794. Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9;
  795. Node9textWidth = Node9width;
  796. Node9lineStart = 1;
  797. } else if (Node9align === 'right') {
  798. Node9textStart = 0;
  799. Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2;
  800. Node9lineStart = (Node9width - (ht.Default.getTextSize('天', 'bold '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
  801. } else if (Node9align === 'center') {
  802. Node9textStart = -3;
  803. Node9textWidth = Node9width;
  804. Node9lineStart = Node9width - ht.Default.getTextSize('天', 'bold '+ Node9fontSize + 'px "Arial"').width - 11;
  805. }
  806. })();
  807. Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, 'bold '+ Node9fontSize + 'px "Arial"'))
  808. Node9.setPosition(169*ratio.ratioX, 145*ratio.ratioY);
  809. Node9.setWidth(Node9width);
  810. Node9.setHeight(Node9height);
  811. Node9._nodeType = 'text';
  812. Node9._disallowEvert = true;
  813. Node9.setRotation(0*Math.PI/180);
  814. Node9.a('node.width', Node9width);
  815. Node9.a('node.height', Node9height);
  816. Node9.a('node.rect', [0, 0, Node9width, Node9height]);
  817. Node9.a('node.bordercolor','rgba(255,255,255,1)');
  818. Node9.a('node.borderwidth', 0);
  819. Node9.a('node.background','' || 'rgba(0,0,0,0)');
  820. Node9.a('node.gradient','');
  821. Node9.a('node.gradientcolor','');
  822. Node9.a('node.text','天');
  823. Node9.a('node.textalign','left');
  824. Node9.a('node.textvAlign','middle');
  825. Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
  826. Node9.a('node.color','rgba(255,255,255,1)');
  827. Node9.a('node.font','bold '+ Node9fontSize + 'px "Arial"');
  828. Node9.a('node.textvisible',true);
  829. Node9.a('node.linefeed',false);
  830. if (false) {
  831. Node9.a('node.textfunc',function(g) {
  832. g.beginPath();
  833. var str=Node9.a('node.text') || '天';
  834. var color=Node9.a('node.color') || 'rgba(255,255,255,1)';
  835. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node9fontSize + 'px "Arial"', 0,g);
  836. });
  837. }
  838. if (false) {
  839. Node9.a('node.underlinepoints',[Node9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]);
  840. Node9.a('node.underlinevisible',false);
  841. Node9.a('node.underlineBorderWidth', 1);
  842. }
  843. dataModel.add(Node9);
  844. zoomNodeList.push({
  845. node: Node9,
  846. borderWidth: 0,
  847. attr: 'node.borderwidth'
  848. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  849. var Node10 = new ht.Node();
  850. var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'center', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 97*_ratio.ratioX, Node10height = 25*_ratio.ratioY;
  851. (function () {
  852. if (Node10align === 'left') {
  853. Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
  854. Node10textWidth = Node10width;
  855. Node10lineStart = 1;
  856. } else if (Node10align === 'right') {
  857. Node10textStart = 0;
  858. Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
  859. Node10lineStart = (Node10width - (ht.Default.getTextSize('装机容量', ' '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
  860. } else if (Node10align === 'center') {
  861. Node10textStart = -3;
  862. Node10textWidth = Node10width;
  863. Node10lineStart = Node10width - ht.Default.getTextSize('装机容量', ' '+ Node10fontSize + 'px "Arial"').width - 11;
  864. }
  865. })();
  866. Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, ' '+ Node10fontSize + 'px "Arial"'))
  867. Node10.setPosition(222*ratio.ratioX, 51*ratio.ratioY);
  868. Node10.setWidth(Node10width);
  869. Node10.setHeight(Node10height);
  870. Node10._nodeType = 'text';
  871. Node10._disallowEvert = true;
  872. Node10.setRotation(0*Math.PI/180);
  873. Node10.a('node.width', Node10width);
  874. Node10.a('node.height', Node10height);
  875. Node10.a('node.rect', [0, 0, Node10width, Node10height]);
  876. Node10.a('node.bordercolor','rgba(0,0,0,1)');
  877. Node10.a('node.borderwidth', 0);
  878. Node10.a('node.background','' || 'rgba(0,0,0,0)');
  879. Node10.a('node.gradient','');
  880. Node10.a('node.gradientcolor','');
  881. Node10.a('node.text','装机容量');
  882. Node10.a('node.textalign','center');
  883. Node10.a('node.textvAlign','middle');
  884. Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
  885. Node10.a('node.color','rgba(0,0,0,1)');
  886. Node10.a('node.font',' '+ Node10fontSize + 'px "Arial"');
  887. Node10.a('node.textvisible',true);
  888. Node10.a('node.linefeed',false);
  889. if (false) {
  890. Node10.a('node.textfunc',function(g) {
  891. g.beginPath();
  892. var str=Node10.a('node.text') || '装机容量';
  893. var color=Node10.a('node.color') || 'rgba(0,0,0,1)';
  894. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"center",color,' '+ Node10fontSize + 'px "Arial"', 0,g);
  895. });
  896. }
  897. if (false) {
  898. Node10.a('node.underlinepoints',[Node10lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
  899. Node10.a('node.underlinevisible',false);
  900. Node10.a('node.underlineBorderWidth', 1);
  901. }
  902. dataModel.add(Node10);
  903. zoomNodeList.push({
  904. node: Node10,
  905. borderWidth: 0,
  906. attr: 'node.borderwidth'
  907. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  908. var Node11 = new ht.Node();
  909. var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 87*_ratio.ratioX, Node11height = 32*_ratio.ratioY;
  910. (function () {
  911. if (Node11align === 'left') {
  912. Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
  913. Node11textWidth = Node11width;
  914. Node11lineStart = 1;
  915. } else if (Node11align === 'right') {
  916. Node11textStart = 0;
  917. Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
  918. Node11lineStart = (Node11width - (ht.Default.getTextSize('上网电量', ' '+ Node11fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  919. } else if (Node11align === 'center') {
  920. Node11textStart = -3;
  921. Node11textWidth = Node11width;
  922. Node11lineStart = Node11width - ht.Default.getTextSize('上网电量', ' '+ Node11fontSize + 'px "微软雅黑"').width - 11;
  923. }
  924. })();
  925. Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, ' '+ Node11fontSize + 'px "微软雅黑"'))
  926. Node11.setPosition(230*ratio.ratioX, 148*ratio.ratioY);
  927. Node11.setWidth(Node11width);
  928. Node11.setHeight(Node11height);
  929. Node11._nodeType = 'text';
  930. Node11._disallowEvert = true;
  931. Node11.setRotation(0*Math.PI/180);
  932. Node11.a('node.width', Node11width);
  933. Node11.a('node.height', Node11height);
  934. Node11.a('node.rect', [0, 0, Node11width, Node11height]);
  935. Node11.a('node.bordercolor','rgba(0,0,0,1)');
  936. Node11.a('node.borderwidth', 0);
  937. Node11.a('node.background','' || 'rgba(0,0,0,0)');
  938. Node11.a('node.gradient','');
  939. Node11.a('node.gradientcolor','');
  940. Node11.a('node.text','上网电量');
  941. Node11.a('node.textalign','left');
  942. Node11.a('node.textvAlign','middle');
  943. Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
  944. Node11.a('node.color','rgba(0,0,0,1)');
  945. Node11.a('node.font',' '+ Node11fontSize + 'px "微软雅黑"');
  946. Node11.a('node.textvisible',true);
  947. Node11.a('node.linefeed',false);
  948. if (false) {
  949. Node11.a('node.textfunc',function(g) {
  950. g.beginPath();
  951. var str=Node11.a('node.text') || '上网电量';
  952. var color=Node11.a('node.color') || 'rgba(0,0,0,1)';
  953. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,' '+ Node11fontSize + 'px "微软雅黑"', 0,g);
  954. });
  955. }
  956. if (false) {
  957. Node11.a('node.underlinepoints',[Node11lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node11fontSize + 'px "微软雅黑"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
  958. Node11.a('node.underlinevisible',false);
  959. Node11.a('node.underlineBorderWidth', 1);
  960. }
  961. dataModel.add(Node11);
  962. zoomNodeList.push({
  963. node: Node11,
  964. borderWidth: 0,
  965. attr: 'node.borderwidth'
  966. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  967. var Node12 = new ht.Node();
  968. var Node12textStart, Node12textWidth, Node12lineStart, Node12align = 'center', Node12fontSize = 13.3333*_ratio.ratioY,Node12width = 113*_ratio.ratioX, Node12height = 32*_ratio.ratioY;
  969. (function () {
  970. if (Node12align === 'left') {
  971. Node12textStart = Node12fontSize * 0.2 > 2 ? Node12fontSize * 0.2 - 4 : Node12fontSize * 0.2 - 9;
  972. Node12textWidth = Node12width;
  973. Node12lineStart = 1;
  974. } else if (Node12align === 'right') {
  975. Node12textStart = 0;
  976. Node12textWidth =Node12fontSize <= 8 ? Node12width + Node12fontSize * 0.2 + 6 : Node12width - Node12fontSize * 0.2;
  977. Node12lineStart = (Node12width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node12fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  978. } else if (Node12align === 'center') {
  979. Node12textStart = -3;
  980. Node12textWidth = Node12width;
  981. Node12lineStart = Node12width - ht.Default.getTextSize('日性能损失电量', ' '+ Node12fontSize + 'px "微软雅黑"').width - 11;
  982. }
  983. })();
  984. Node12.setImage(GD.getTextJSON(Node12width, Node12height, true, false, false, ' '+ Node12fontSize + 'px "微软雅黑"'))
  985. Node12.setPosition(532*ratio.ratioX, 149*ratio.ratioY);
  986. Node12.setWidth(Node12width);
  987. Node12.setHeight(Node12height);
  988. Node12._nodeType = 'text';
  989. Node12._disallowEvert = true;
  990. Node12.setRotation(0*Math.PI/180);
  991. Node12.a('node.width', Node12width);
  992. Node12.a('node.height', Node12height);
  993. Node12.a('node.rect', [0, 0, Node12width, Node12height]);
  994. Node12.a('node.bordercolor','rgba(64,64,64,1)');
  995. Node12.a('node.borderwidth', 0);
  996. Node12.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
  997. Node12.a('node.gradient','');
  998. Node12.a('node.gradientcolor','rgba(255,255,255,0)');
  999. Node12.a('node.text','日性能损失电量');
  1000. Node12.a('node.textalign','center');
  1001. Node12.a('node.textvAlign','middle');
  1002. Node12.a('node.textrect', [Node12textStart, 0, Node12textWidth, Node12height]);
  1003. Node12.a('node.color','rgba(64,64,64,1)');
  1004. Node12.a('node.font',' '+ Node12fontSize + 'px "微软雅黑"');
  1005. Node12.a('node.textvisible',true);
  1006. Node12.a('node.linefeed',false);
  1007. if (false) {
  1008. Node12.a('node.textfunc',function(g) {
  1009. g.beginPath();
  1010. var str=Node12.a('node.text') || '日性能损失电量';
  1011. var color=Node12.a('node.color') || 'rgba(64,64,64,1)';
  1012. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node12width,Node12height,13.3333*_ratio.ratioY,"center",color,' '+ Node12fontSize + 'px "微软雅黑"', 0,g);
  1013. });
  1014. }
  1015. if (false) {
  1016. Node12.a('node.underlinepoints',[Node12lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node12fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node12fontSize + 'px "微软雅黑"').width + 6, (Node12height - Node12fontSize) * 0.5*_ratio.ratioY + Node12fontSize + 2 ]);
  1017. Node12.a('node.underlinevisible',false);
  1018. Node12.a('node.underlineBorderWidth', 1);
  1019. }
  1020. dataModel.add(Node12);
  1021. zoomNodeList.push({
  1022. node: Node12,
  1023. borderWidth: 0,
  1024. attr: 'node.borderwidth'
  1025. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1026. var Node13 = new ht.Node();
  1027. var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'center', Node13fontSize = 13.3333*_ratio.ratioY,Node13width = 110*_ratio.ratioX, Node13height = 32*_ratio.ratioY;
  1028. (function () {
  1029. if (Node13align === 'left') {
  1030. Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
  1031. Node13textWidth = Node13width;
  1032. Node13lineStart = 1;
  1033. } else if (Node13align === 'right') {
  1034. Node13textStart = 0;
  1035. Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
  1036. Node13lineStart = (Node13width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node13fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  1037. } else if (Node13align === 'center') {
  1038. Node13textStart = -3;
  1039. Node13textWidth = Node13width;
  1040. Node13lineStart = Node13width - ht.Default.getTextSize('月性能损失电量', ' '+ Node13fontSize + 'px "微软雅黑"').width - 11;
  1041. }
  1042. })();
  1043. Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, ' '+ Node13fontSize + 'px "微软雅黑"'))
  1044. Node13.setPosition(811*ratio.ratioX, 149*ratio.ratioY);
  1045. Node13.setWidth(Node13width);
  1046. Node13.setHeight(Node13height);
  1047. Node13._nodeType = 'text';
  1048. Node13._disallowEvert = true;
  1049. Node13.setRotation(0*Math.PI/180);
  1050. Node13.a('node.width', Node13width);
  1051. Node13.a('node.height', Node13height);
  1052. Node13.a('node.rect', [0, 0, Node13width, Node13height]);
  1053. Node13.a('node.bordercolor','rgba(0,0,0,1)');
  1054. Node13.a('node.borderwidth', 0);
  1055. Node13.a('node.background','' || 'rgba(0,0,0,0)');
  1056. Node13.a('node.gradient','');
  1057. Node13.a('node.gradientcolor','');
  1058. Node13.a('node.text','月性能损失电量');
  1059. Node13.a('node.textalign','center');
  1060. Node13.a('node.textvAlign','middle');
  1061. Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
  1062. Node13.a('node.color','rgba(0,0,0,1)');
  1063. Node13.a('node.font',' '+ Node13fontSize + 'px "微软雅黑"');
  1064. Node13.a('node.textvisible',true);
  1065. Node13.a('node.linefeed',false);
  1066. if (false) {
  1067. Node13.a('node.textfunc',function(g) {
  1068. g.beginPath();
  1069. var str=Node13.a('node.text') || '月性能损失电量';
  1070. var color=Node13.a('node.color') || 'rgba(0,0,0,1)';
  1071. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node13width,Node13height,13.3333*_ratio.ratioY,"center",color,' '+ Node13fontSize + 'px "微软雅黑"', 0,g);
  1072. });
  1073. }
  1074. if (false) {
  1075. Node13.a('node.underlinepoints',[Node13lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node13fontSize + 'px "微软雅黑"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
  1076. Node13.a('node.underlinevisible',false);
  1077. Node13.a('node.underlineBorderWidth', 1);
  1078. }
  1079. dataModel.add(Node13);
  1080. zoomNodeList.push({
  1081. node: Node13,
  1082. borderWidth: 0,
  1083. attr: 'node.borderwidth'
  1084. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1085. var Node14 = new ht.Node();
  1086. var Node14textStart, Node14textWidth, Node14lineStart, Node14align = 'center', Node14fontSize = 13.3333*_ratio.ratioY,Node14width = 110*_ratio.ratioX, Node14height = 32*_ratio.ratioY;
  1087. (function () {
  1088. if (Node14align === 'left') {
  1089. Node14textStart = Node14fontSize * 0.2 > 2 ? Node14fontSize * 0.2 - 4 : Node14fontSize * 0.2 - 9;
  1090. Node14textWidth = Node14width;
  1091. Node14lineStart = 1;
  1092. } else if (Node14align === 'right') {
  1093. Node14textStart = 0;
  1094. Node14textWidth =Node14fontSize <= 8 ? Node14width + Node14fontSize * 0.2 + 6 : Node14width - Node14fontSize * 0.2;
  1095. Node14lineStart = (Node14width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node14fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  1096. } else if (Node14align === 'center') {
  1097. Node14textStart = -3;
  1098. Node14textWidth = Node14width;
  1099. Node14lineStart = Node14width - ht.Default.getTextSize('年性能损失电量', ' '+ Node14fontSize + 'px "微软雅黑"').width - 11;
  1100. }
  1101. })();
  1102. Node14.setImage(GD.getTextJSON(Node14width, Node14height, true, false, false, ' '+ Node14fontSize + 'px "微软雅黑"'))
  1103. Node14.setPosition(1091*ratio.ratioX, 149*ratio.ratioY);
  1104. Node14.setWidth(Node14width);
  1105. Node14.setHeight(Node14height);
  1106. Node14._nodeType = 'text';
  1107. Node14._disallowEvert = true;
  1108. Node14.setRotation(0*Math.PI/180);
  1109. Node14.a('node.width', Node14width);
  1110. Node14.a('node.height', Node14height);
  1111. Node14.a('node.rect', [0, 0, Node14width, Node14height]);
  1112. Node14.a('node.bordercolor','rgba(0,0,0,1)');
  1113. Node14.a('node.borderwidth', 0);
  1114. Node14.a('node.background','' || 'rgba(0,0,0,0)');
  1115. Node14.a('node.gradient','');
  1116. Node14.a('node.gradientcolor','');
  1117. Node14.a('node.text','年性能损失电量');
  1118. Node14.a('node.textalign','center');
  1119. Node14.a('node.textvAlign','middle');
  1120. Node14.a('node.textrect', [Node14textStart, 0, Node14textWidth, Node14height]);
  1121. Node14.a('node.color','rgba(0,0,0,1)');
  1122. Node14.a('node.font',' '+ Node14fontSize + 'px "微软雅黑"');
  1123. Node14.a('node.textvisible',true);
  1124. Node14.a('node.linefeed',false);
  1125. if (false) {
  1126. Node14.a('node.textfunc',function(g) {
  1127. g.beginPath();
  1128. var str=Node14.a('node.text') || '年性能损失电量';
  1129. var color=Node14.a('node.color') || 'rgba(0,0,0,1)';
  1130. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node14width,Node14height,13.3333*_ratio.ratioY,"center",color,' '+ Node14fontSize + 'px "微软雅黑"', 0,g);
  1131. });
  1132. }
  1133. if (false) {
  1134. Node14.a('node.underlinepoints',[Node14lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node14fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node14fontSize + 'px "微软雅黑"').width + 6, (Node14height - Node14fontSize) * 0.5*_ratio.ratioY + Node14fontSize + 2 ]);
  1135. Node14.a('node.underlinevisible',false);
  1136. Node14.a('node.underlineBorderWidth', 1);
  1137. }
  1138. dataModel.add(Node14);
  1139. zoomNodeList.push({
  1140. node: Node14,
  1141. borderWidth: 0,
  1142. attr: 'node.borderwidth'
  1143. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1144. var Node15 = new ht.Node();
  1145. var Node15textStart, Node15textWidth, Node15lineStart, Node15align = 'left', Node15fontSize = 13.3333*_ratio.ratioY,Node15width = 53*_ratio.ratioX, Node15height = 30*_ratio.ratioY;
  1146. (function () {
  1147. if (Node15align === 'left') {
  1148. Node15textStart = Node15fontSize * 0.2 > 2 ? Node15fontSize * 0.2 - 4 : Node15fontSize * 0.2 - 9;
  1149. Node15textWidth = Node15width;
  1150. Node15lineStart = 1;
  1151. } else if (Node15align === 'right') {
  1152. Node15textStart = 0;
  1153. Node15textWidth =Node15fontSize <= 8 ? Node15width + Node15fontSize * 0.2 + 6 : Node15width - Node15fontSize * 0.2;
  1154. Node15lineStart = (Node15width - (ht.Default.getTextSize('合', 'bold '+ Node15fontSize + 'px "Arial"').width + 6)) * 0.5;
  1155. } else if (Node15align === 'center') {
  1156. Node15textStart = -3;
  1157. Node15textWidth = Node15width;
  1158. Node15lineStart = Node15width - ht.Default.getTextSize('合', 'bold '+ Node15fontSize + 'px "Arial"').width - 11;
  1159. }
  1160. })();
  1161. Node15.setImage(GD.getTextJSON(Node15width, Node15height, true, false, false, 'bold '+ Node15fontSize + 'px "Arial"'))
  1162. Node15.setPosition(30*ratio.ratioX, 83*ratio.ratioY);
  1163. Node15.setWidth(Node15width);
  1164. Node15.setHeight(Node15height);
  1165. Node15._nodeType = 'text';
  1166. Node15._disallowEvert = true;
  1167. Node15.setRotation(0*Math.PI/180);
  1168. Node15.a('node.width', Node15width);
  1169. Node15.a('node.height', Node15height);
  1170. Node15.a('node.rect', [0, 0, Node15width, Node15height]);
  1171. Node15.a('node.bordercolor','rgba(255,255,255,1)');
  1172. Node15.a('node.borderwidth', 0);
  1173. Node15.a('node.background','' || 'rgba(0,0,0,0)');
  1174. Node15.a('node.gradient','');
  1175. Node15.a('node.gradientcolor','');
  1176. Node15.a('node.text','合');
  1177. Node15.a('node.textalign','left');
  1178. Node15.a('node.textvAlign','middle');
  1179. Node15.a('node.textrect', [Node15textStart, 0, Node15textWidth, Node15height]);
  1180. Node15.a('node.color','rgba(255,255,255,1)');
  1181. Node15.a('node.font','bold '+ Node15fontSize + 'px "Arial"');
  1182. Node15.a('node.textvisible',true);
  1183. Node15.a('node.linefeed',false);
  1184. if (false) {
  1185. Node15.a('node.textfunc',function(g) {
  1186. g.beginPath();
  1187. var str=Node15.a('node.text') || '合';
  1188. var color=Node15.a('node.color') || 'rgba(255,255,255,1)';
  1189. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node15width,Node15height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node15fontSize + 'px "Arial"', 0,g);
  1190. });
  1191. }
  1192. if (false) {
  1193. Node15.a('node.underlinepoints',[Node15lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node15fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node15fontSize + 'px "Arial"').width + 6, (Node15height - Node15fontSize) * 0.5*_ratio.ratioY + Node15fontSize + 2 ]);
  1194. Node15.a('node.underlinevisible',false);
  1195. Node15.a('node.underlineBorderWidth', 1);
  1196. }
  1197. dataModel.add(Node15);
  1198. zoomNodeList.push({
  1199. node: Node15,
  1200. borderWidth: 0,
  1201. attr: 'node.borderwidth'
  1202. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1203. var Node16 = new ht.Node();
  1204. var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 13.3333*_ratio.ratioY,Node16width = 53*_ratio.ratioX, Node16height = 30*_ratio.ratioY;
  1205. (function () {
  1206. if (Node16align === 'left') {
  1207. Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9;
  1208. Node16textWidth = Node16width;
  1209. Node16lineStart = 1;
  1210. } else if (Node16align === 'right') {
  1211. Node16textStart = 0;
  1212. Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2;
  1213. Node16lineStart = (Node16width - (ht.Default.getTextSize('指', 'bold '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
  1214. } else if (Node16align === 'center') {
  1215. Node16textStart = -3;
  1216. Node16textWidth = Node16width;
  1217. Node16lineStart = Node16width - ht.Default.getTextSize('指', 'bold '+ Node16fontSize + 'px "Arial"').width - 11;
  1218. }
  1219. })();
  1220. Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, 'bold '+ Node16fontSize + 'px "Arial"'))
  1221. Node16.setPosition(30*ratio.ratioX, 110*ratio.ratioY);
  1222. Node16.setWidth(Node16width);
  1223. Node16.setHeight(Node16height);
  1224. Node16._nodeType = 'text';
  1225. Node16._disallowEvert = true;
  1226. Node16.setRotation(0*Math.PI/180);
  1227. Node16.a('node.width', Node16width);
  1228. Node16.a('node.height', Node16height);
  1229. Node16.a('node.rect', [0, 0, Node16width, Node16height]);
  1230. Node16.a('node.bordercolor','rgba(255,255,255,1)');
  1231. Node16.a('node.borderwidth', 0);
  1232. Node16.a('node.background','' || 'rgba(0,0,0,0)');
  1233. Node16.a('node.gradient','');
  1234. Node16.a('node.gradientcolor','');
  1235. Node16.a('node.text','指');
  1236. Node16.a('node.textalign','left');
  1237. Node16.a('node.textvAlign','middle');
  1238. Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]);
  1239. Node16.a('node.color','rgba(255,255,255,1)');
  1240. Node16.a('node.font','bold '+ Node16fontSize + 'px "Arial"');
  1241. Node16.a('node.textvisible',true);
  1242. Node16.a('node.linefeed',false);
  1243. if (false) {
  1244. Node16.a('node.textfunc',function(g) {
  1245. g.beginPath();
  1246. var str=Node16.a('node.text') || '指';
  1247. var color=Node16.a('node.color') || 'rgba(255,255,255,1)';
  1248. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node16fontSize + 'px "Arial"', 0,g);
  1249. });
  1250. }
  1251. if (false) {
  1252. Node16.a('node.underlinepoints',[Node16lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
  1253. Node16.a('node.underlinevisible',false);
  1254. Node16.a('node.underlineBorderWidth', 1);
  1255. }
  1256. dataModel.add(Node16);
  1257. zoomNodeList.push({
  1258. node: Node16,
  1259. borderWidth: 0,
  1260. attr: 'node.borderwidth'
  1261. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1262. var Node17 = new ht.Node();
  1263. var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'left', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 53*_ratio.ratioX, Node17height = 30*_ratio.ratioY;
  1264. (function () {
  1265. if (Node17align === 'left') {
  1266. Node17textStart = Node17fontSize * 0.2 > 2 ? Node17fontSize * 0.2 - 4 : Node17fontSize * 0.2 - 9;
  1267. Node17textWidth = Node17width;
  1268. Node17lineStart = 1;
  1269. } else if (Node17align === 'right') {
  1270. Node17textStart = 0;
  1271. Node17textWidth =Node17fontSize <= 8 ? Node17width + Node17fontSize * 0.2 + 6 : Node17width - Node17fontSize * 0.2;
  1272. Node17lineStart = (Node17width - (ht.Default.getTextSize('标', 'bold '+ Node17fontSize + 'px "Arial"').width + 6)) * 0.5;
  1273. } else if (Node17align === 'center') {
  1274. Node17textStart = -3;
  1275. Node17textWidth = Node17width;
  1276. Node17lineStart = Node17width - ht.Default.getTextSize('标', 'bold '+ Node17fontSize + 'px "Arial"').width - 11;
  1277. }
  1278. })();
  1279. Node17.setImage(GD.getTextJSON(Node17width, Node17height, true, false, false, 'bold '+ Node17fontSize + 'px "Arial"'))
  1280. Node17.setPosition(30*ratio.ratioX, 140*ratio.ratioY);
  1281. Node17.setWidth(Node17width);
  1282. Node17.setHeight(Node17height);
  1283. Node17._nodeType = 'text';
  1284. Node17._disallowEvert = true;
  1285. Node17.setRotation(0*Math.PI/180);
  1286. Node17.a('node.width', Node17width);
  1287. Node17.a('node.height', Node17height);
  1288. Node17.a('node.rect', [0, 0, Node17width, Node17height]);
  1289. Node17.a('node.bordercolor','rgba(255,255,255,1)');
  1290. Node17.a('node.borderwidth', 0);
  1291. Node17.a('node.background','' || 'rgba(0,0,0,0)');
  1292. Node17.a('node.gradient','');
  1293. Node17.a('node.gradientcolor','');
  1294. Node17.a('node.text','标');
  1295. Node17.a('node.textalign','left');
  1296. Node17.a('node.textvAlign','middle');
  1297. Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
  1298. Node17.a('node.color','rgba(255,255,255,1)');
  1299. Node17.a('node.font','bold '+ Node17fontSize + 'px "Arial"');
  1300. Node17.a('node.textvisible',true);
  1301. Node17.a('node.linefeed',false);
  1302. if (false) {
  1303. Node17.a('node.textfunc',function(g) {
  1304. g.beginPath();
  1305. var str=Node17.a('node.text') || '标';
  1306. var color=Node17.a('node.color') || 'rgba(255,255,255,1)';
  1307. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node17fontSize + 'px "Arial"', 0,g);
  1308. });
  1309. }
  1310. if (false) {
  1311. Node17.a('node.underlinepoints',[Node17lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node17fontSize + 'px "Arial"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]);
  1312. Node17.a('node.underlinevisible',false);
  1313. Node17.a('node.underlineBorderWidth', 1);
  1314. }
  1315. dataModel.add(Node17);
  1316. zoomNodeList.push({
  1317. node: Node17,
  1318. borderWidth: 0,
  1319. attr: 'node.borderwidth'
  1320. }); var Node18;
  1321. (function () {
  1322. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1323. var ratioX, ratioY;
  1324. if ('Default' === 'False') {
  1325. ratioX = 1;
  1326. ratioY = 1;
  1327. } else if ('Default' === 'X') {
  1328. ratioX = ratioY = _ratio.ratioX;
  1329. } else if ('Default' === 'Y') {
  1330. ratioX = ratioY = _ratio.ratioY;
  1331. } else {
  1332. ratioX = _ratio.ratioX;
  1333. ratioY = _ratio.ratioY;
  1334. }
  1335. ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
  1336. Node18 = new ht.Node();
  1337. Node18.setPosition(106*ratio.ratioX, 60*ratio.ratioY);
  1338. Node18.setSize(155*ratioX, 45*ratioY);
  1339. Node18.setImage('imgimage//喜欢的蓝色.png');
  1340. Node18.setRotation(0*Math.PI/180);
  1341. Node18._zoomBy = 'Default';
  1342. Node18._nodeType = 'image';
  1343. Node18._disallowEvert = true;
  1344. dataModel.add(Node18);
  1345. })();
  1346. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1347. var Node19 = new ht.Node();
  1348. var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'left', Node19fontSize = 17.33329*_ratio.ratioY,Node19width = 143*_ratio.ratioX, Node19height = 49*_ratio.ratioY;
  1349. (function () {
  1350. if (Node19align === 'left') {
  1351. Node19textStart = Node19fontSize * 0.2 > 2 ? Node19fontSize * 0.2 - 4 : Node19fontSize * 0.2 - 9;
  1352. Node19textWidth = Node19width;
  1353. Node19lineStart = 1;
  1354. } else if (Node19align === 'right') {
  1355. Node19textStart = 0;
  1356. Node19textWidth =Node19fontSize <= 8 ? Node19width + Node19fontSize * 0.2 + 6 : Node19width - Node19fontSize * 0.2;
  1357. Node19lineStart = (Node19width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node19fontSize + 'px "Arial"').width + 6)) * 0.5;
  1358. } else if (Node19align === 'center') {
  1359. Node19textStart = -3;
  1360. Node19textWidth = Node19width;
  1361. Node19lineStart = Node19width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node19fontSize + 'px "Arial"').width - 11;
  1362. }
  1363. })();
  1364. Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "Arial"'))
  1365. Node19.setPosition(114*ratio.ratioX, 62*ratio.ratioY);
  1366. Node19.setWidth(Node19width);
  1367. Node19.setHeight(Node19height);
  1368. Node19._nodeType = 'text';
  1369. Node19._disallowEvert = true;
  1370. Node19.setRotation(0*Math.PI/180);
  1371. Node19.a('node.width', Node19width);
  1372. Node19.a('node.height', Node19height);
  1373. Node19.a('node.rect', [0, 0, Node19width, Node19height]);
  1374. Node19.a('node.bordercolor','rgba(255,255,255,1)');
  1375. Node19.a('node.borderwidth', 0);
  1376. Node19.a('node.background','' || 'rgba(0,0,0,0)');
  1377. Node19.a('node.gradient','');
  1378. Node19.a('node.gradientcolor','');
  1379. Node19.a('node.text','广灵劲风风场');
  1380. Node19.a('node.textalign','left');
  1381. Node19.a('node.textvAlign','middle');
  1382. Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]);
  1383. Node19.a('node.color','rgba(255,255,255,1)');
  1384. Node19.a('node.font',' '+ Node19fontSize + 'px "Arial"');
  1385. Node19.a('node.textvisible',true);
  1386. Node19.a('node.linefeed',false);
  1387. if (false) {
  1388. Node19.a('node.textfunc',function(g) {
  1389. g.beginPath();
  1390. var str=Node19.a('node.text') || '广灵劲风风场';
  1391. var color=Node19.a('node.color') || 'rgba(255,255,255,1)';
  1392. canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node19width,Node19height,17.33329*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g);
  1393. });
  1394. }
  1395. if (false) {
  1396. Node19.a('node.underlinepoints',[Node19lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node19fontSize + 'px "Arial"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]);
  1397. Node19.a('node.underlinevisible',false);
  1398. Node19.a('node.underlineBorderWidth', 1);
  1399. }
  1400. dataModel.add(Node19);
  1401. zoomNodeList.push({
  1402. node: Node19,
  1403. borderWidth: 0,
  1404. attr: 'node.borderwidth'
  1405. }); var Node20points=[930, 617,930, 549],
  1406. Node20rect=ht.Default.unionPoint([{x:930,y:617},{x:930,y:549}]),
  1407. Node20compspts=[];
  1408. _ratio = GD.getRatioWithRotation(0, ratio);
  1409. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  1410. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  1411. for(var i=0;i<Node20points.length;i++){
  1412. if(i%2==0){
  1413. Node20compspts.push(Node20points[i]-Node20rect.x);
  1414. }else{
  1415. Node20compspts.push(Node20points[i]-Node20rect.y);
  1416. }
  1417. }
  1418. var Node20ptslength=Node20compspts.length;
  1419. if (Node20rect.height === 0) {
  1420. Node20compspts[0] -= 0;
  1421. Node20compspts[Node20ptslength-2] += 0;
  1422. } else if (Node20rect.width === 0){
  1423. Node20compspts[1] -= 0;
  1424. Node20compspts[Node20ptslength-1] += 0;
  1425. } else {
  1426. Node20compspts[0] -= 0;
  1427. Node20compspts[1] -= 0;
  1428. Node20compspts[Node20ptslength-2] += 0;
  1429. Node20compspts[Node20ptslength-1] += 0;
  1430. }
  1431. Node20 = new ht.Node();
  1432. Node20.borderWidth = 1;
  1433. Node20rect.width = Node20rect.width === 0 ? 0.0001 : Node20rect.width;
  1434. Node20rect.height = Node20rect.height === 0 ? 0.0001 : Node20rect.height;
  1435. var Node20endCompspts = [Node20compspts[Node20ptslength-2],Node20compspts[Node20ptslength-1],0,0];
  1436. var Node20startCompspts = [Node20compspts[0],Node20compspts[1],0,0];
  1437. Node20.setImage(GD.getPolyLineJSON());
  1438. Node20.setPosition(Node20rect.x+Node20rect.width/2,Node20rect.y+Node20rect.height/2);
  1439. Node20.setSize(Node20rect.width,Node20rect.height);
  1440. Node20.setStyle("opacity",1);
  1441. Node20.s({'pixelPerfect':true});
  1442. Node20borderwidth=1;
  1443. Node20.setRotation(0);
  1444. dataModel.add(Node20);
  1445. Node20.a('node.points',Node20compspts);
  1446. Node20.a('node.segments',[1,2]);
  1447. Node20.a('node.color','rgba(255,128,0,1)');
  1448. Node20.a('node.borderPattern',getDashStyle("@borderPattern@"));
  1449. Node20.a('node.borderColor','rgba(255,128,0,1)');
  1450. Node20.a('node.background','rgba(255,128,0,1)');
  1451. Node20.a('node.gradient','');
  1452. Node20.a('node.gradientcolor','rgba(255,128,0,1)');
  1453. Node20.a('node.endCompspts',Node20endCompspts);
  1454. Node20.a('node.startCompspts',Node20startCompspts);
  1455. (function (node, img, compspts, endCompspts, startCompspts) {
  1456. var position = node.getPosition(),
  1457. w = node.getWidth()*_ratio.ratioX,
  1458. h = node.getHeight()*_ratio.ratioY;
  1459. function resetPoints(rx, ry) {
  1460. for (var i = 0, len = compspts.length; i < len; i++) {
  1461. if (i%2 === 0) {
  1462. compspts[i]*=rx;
  1463. } else {
  1464. compspts[i]*=ry;
  1465. }
  1466. }
  1467. endCompspts[0] = compspts[compspts.length-2];
  1468. endCompspts[1] = compspts[compspts.length-1];
  1469. endCompspts[2] *= rx;
  1470. endCompspts[3] *= ry;
  1471. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  1472. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  1473. startCompspts[0] = compspts[0];
  1474. startCompspts[1] = compspts[1];
  1475. startCompspts[2] *= rx;
  1476. startCompspts[3] *= ry;
  1477. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  1478. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  1479. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  1480. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  1481. }
  1482. node.setSize(w, h);
  1483. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  1484. node.a('node.width', w);
  1485. node.a('node.height', h);
  1486. resetPoints(_ratio.ratioX, _ratio.ratioY);
  1487. node.borderWidth = 1;
  1488. node.a('node.borderwidth',node.borderWidth);
  1489. node._nodename = 'Node20';
  1490. node._nodeType = 'line';
  1491. zoomNodeList.push({
  1492. node: node,
  1493. attr: 'node.borderwidth'
  1494. });
  1495. var setWidth = node.setWidth,
  1496. setHeight = node.setHeight,
  1497. timer, rx = 1, ry = 1;
  1498. node.setWidth = function (width) {
  1499. var _width = this.getWidth();
  1500. rx = width / _width;
  1501. node.a('node.width', width);
  1502. setWidth.apply(this, arguments);
  1503. resetPoints(rx, 1);
  1504. }
  1505. node.setHeight = function (height) {
  1506. var _height = this.getHeight();
  1507. ry = height / _height;
  1508. node.a('node.height', height);
  1509. setHeight.apply(this, arguments);
  1510. resetPoints(1, ry);
  1511. }
  1512. })(Node20, Node20.getImage(), Node20compspts, Node20endCompspts, Node20startCompspts);
  1513. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1514. var Node21type = 'rect';
  1515. var Node21 = new ht.Node(),
  1516. Node21BorderWidth = 0*2;
  1517. if (Node21type === 'arc') {
  1518. Node21BorderWidth *= 0;
  1519. }
  1520. Node21.setImage(GD.getRectJSON(96.14758*_ratio.ratioX, 19.82982*_ratio.ratioY, Node21type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1521. Node21.setPosition(454*ratio.ratioX, 174*ratio.ratioY);
  1522. Node21.setSize(96.14758*_ratio.ratioX, 19.82982*_ratio.ratioY);
  1523. Node21.s({
  1524. 'pixelPerfect':true
  1525. /*@AddPara@*/
  1526. });
  1527. Node21.a('node.width', 96.14758*_ratio.ratioX);
  1528. Node21.a('node.height', 19.82982*_ratio.ratioY);
  1529. Node21.a('node.type', Node21type);
  1530. Node21.a('node.rect', [0, 0, 96.14758*_ratio.ratioX, 19.82982*_ratio.ratioY]);
  1531. Node21.a('node.background', 'rgba(0,0,192,1)');
  1532. Node21.a('node.gradientcolor', 'rgba(0,0,192,1)');
  1533. Node21.a('node.gradient', '');
  1534. Node21.a('node.borderwidth', Node21BorderWidth);
  1535. Node21.a('node.color', 'rgba(0,0,0,0)');
  1536. Node21.a('node.fillrect', [0,0,0,0]);
  1537. Node21.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1538. Node21.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1539. Node21.a('node.fillgradient', '');
  1540. if (Node21type !== 'rect') {
  1541. Node21.a('node.arcFrom', parseFloat('@arcFrom@'));
  1542. Node21.a('node.arcTo', parseFloat('@arcTo@'));
  1543. Node21.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1544. }
  1545. if (Node21type === 'arc') {
  1546. Node21.a('node.arcOval', true);
  1547. }
  1548. Node21.setRotation(0*Math.PI/180);
  1549. Node21.borderWidth = Node21BorderWidth;
  1550. Node21.borderFillwidth = Node21BorderWidth;
  1551. dataModel.add(Node21);
  1552. Node21._nodename = 'Node21'
  1553. Node21._nodeType = 'rect';
  1554. zoomNodeList.push({
  1555. node: Node21,
  1556. attr: 'node.borderwidth'
  1557. });
  1558. (function (node, _img) {
  1559. var setWidth = node.setWidth,
  1560. setHeight = node.setHeight;
  1561. node.setWidth = function (width) {
  1562. if (width === this.getWidth()) return ;
  1563. var height = this.getHeight();
  1564. this.a('node.width', width);
  1565. this.a('node.rect', [0,0,width, height]);
  1566. setWidth.apply(this, arguments);
  1567. }
  1568. node.setHeight = function (height) {
  1569. if (height === this.getHeight()) return ;
  1570. var width = this.getWidth();
  1571. this.a('node.height', height);
  1572. this.a('node.rect', [0,0,width, height]);
  1573. setHeight.apply(this, arguments);
  1574. }
  1575. })(Node21, Node21.getImage());var Node22points=[179, 364,1730, 364],
  1576. Node22rect=ht.Default.unionPoint([{x:179,y:364},{x:1730,y:364}]),
  1577. Node22compspts=[];
  1578. _ratio = GD.getRatioWithRotation(0, ratio);
  1579. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  1580. _endratio = GD.getRatioWithRotation(0, ratio);
  1581. for(var i=0;i<Node22points.length;i++){
  1582. if(i%2==0){
  1583. Node22compspts.push(Node22points[i]-Node22rect.x);
  1584. }else{
  1585. Node22compspts.push(Node22points[i]-Node22rect.y);
  1586. }
  1587. }
  1588. var Node22ptslength=Node22compspts.length;
  1589. if (Node22rect.height === 0) {
  1590. Node22compspts[0] -= 0;
  1591. Node22compspts[Node22ptslength-2] += 0;
  1592. } else if (Node22rect.width === 0){
  1593. Node22compspts[1] -= 0;
  1594. Node22compspts[Node22ptslength-1] += 0;
  1595. } else {
  1596. Node22compspts[0] -= 0;
  1597. Node22compspts[1] -= 0;
  1598. Node22compspts[Node22ptslength-2] += 0;
  1599. Node22compspts[Node22ptslength-1] += 0;
  1600. }
  1601. Node22 = new ht.Node();
  1602. Node22.borderWidth = 3;
  1603. Node22rect.width = Node22rect.width === 0 ? 0.0001 : Node22rect.width;
  1604. Node22rect.height = Node22rect.height === 0 ? 0.0001 : Node22rect.height;
  1605. var Node22endCompspts = [Node22compspts[Node22ptslength-2],Node22compspts[Node22ptslength-1],0,0];
  1606. var Node22startCompspts = [Node22compspts[0],Node22compspts[1],0,0];
  1607. Node22.setImage(GD.getPolyLineJSON());
  1608. Node22.setPosition(Node22rect.x+Node22rect.width/2,Node22rect.y+Node22rect.height/2);
  1609. Node22.setSize(Node22rect.width,Node22rect.height);
  1610. Node22.setStyle("opacity",1);
  1611. Node22.s({'pixelPerfect':true});
  1612. Node22borderwidth=3;
  1613. Node22.setRotation(0);
  1614. dataModel.add(Node22);
  1615. Node22.a('node.points',Node22compspts);
  1616. Node22.a('node.segments',[1,2]);
  1617. Node22.a('node.color','rgba(255,0,255,1)');
  1618. Node22.a('node.borderPattern',getDashStyle("@borderPattern@"));
  1619. Node22.a('node.borderColor','rgba(255,0,255,1)');
  1620. Node22.a('node.background','rgba(255,0,255,1)');
  1621. Node22.a('node.gradient','');
  1622. Node22.a('node.gradientcolor','rgba(255,0,255,1)');
  1623. Node22.a('node.endCompspts',Node22endCompspts);
  1624. Node22.a('node.startCompspts',Node22startCompspts);
  1625. (function (node, img, compspts, endCompspts, startCompspts) {
  1626. var position = node.getPosition(),
  1627. w = node.getWidth()*_ratio.ratioX,
  1628. h = node.getHeight()*_ratio.ratioY;
  1629. function resetPoints(rx, ry) {
  1630. for (var i = 0, len = compspts.length; i < len; i++) {
  1631. if (i%2 === 0) {
  1632. compspts[i]*=rx;
  1633. } else {
  1634. compspts[i]*=ry;
  1635. }
  1636. }
  1637. endCompspts[0] = compspts[compspts.length-2];
  1638. endCompspts[1] = compspts[compspts.length-1];
  1639. endCompspts[2] *= rx;
  1640. endCompspts[3] *= ry;
  1641. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  1642. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  1643. startCompspts[0] = compspts[0];
  1644. startCompspts[1] = compspts[1];
  1645. startCompspts[2] *= rx;
  1646. startCompspts[3] *= ry;
  1647. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  1648. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  1649. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  1650. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  1651. }
  1652. node.setSize(w, h);
  1653. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  1654. node.a('node.width', w);
  1655. node.a('node.height', h);
  1656. resetPoints(_ratio.ratioX, _ratio.ratioY);
  1657. node.borderWidth = 3;
  1658. node.a('node.borderwidth',node.borderWidth);
  1659. node._nodename = 'Node22';
  1660. node._nodeType = 'line';
  1661. zoomNodeList.push({
  1662. node: node,
  1663. attr: 'node.borderwidth'
  1664. });
  1665. var setWidth = node.setWidth,
  1666. setHeight = node.setHeight,
  1667. timer, rx = 1, ry = 1;
  1668. node.setWidth = function (width) {
  1669. var _width = this.getWidth();
  1670. rx = width / _width;
  1671. node.a('node.width', width);
  1672. setWidth.apply(this, arguments);
  1673. resetPoints(rx, 1);
  1674. }
  1675. node.setHeight = function (height) {
  1676. var _height = this.getHeight();
  1677. ry = height / _height;
  1678. node.a('node.height', height);
  1679. setHeight.apply(this, arguments);
  1680. resetPoints(1, ry);
  1681. }
  1682. })(Node22, Node22.getImage(), Node22compspts, Node22endCompspts, Node22startCompspts);
  1683. var Node23points=[180, 619,1730, 619],
  1684. Node23rect=ht.Default.unionPoint([{x:180,y:619},{x:1730,y:619}]),
  1685. Node23compspts=[];
  1686. _ratio = GD.getRatioWithRotation(0, ratio);
  1687. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  1688. _endratio = GD.getRatioWithRotation(0, ratio);
  1689. for(var i=0;i<Node23points.length;i++){
  1690. if(i%2==0){
  1691. Node23compspts.push(Node23points[i]-Node23rect.x);
  1692. }else{
  1693. Node23compspts.push(Node23points[i]-Node23rect.y);
  1694. }
  1695. }
  1696. var Node23ptslength=Node23compspts.length;
  1697. if (Node23rect.height === 0) {
  1698. Node23compspts[0] -= 0;
  1699. Node23compspts[Node23ptslength-2] += 0;
  1700. } else if (Node23rect.width === 0){
  1701. Node23compspts[1] -= 0;
  1702. Node23compspts[Node23ptslength-1] += 0;
  1703. } else {
  1704. Node23compspts[0] -= 0;
  1705. Node23compspts[1] -= 0;
  1706. Node23compspts[Node23ptslength-2] += 0;
  1707. Node23compspts[Node23ptslength-1] += 0;
  1708. }
  1709. Node23 = new ht.Node();
  1710. Node23.borderWidth = 3;
  1711. Node23rect.width = Node23rect.width === 0 ? 0.0001 : Node23rect.width;
  1712. Node23rect.height = Node23rect.height === 0 ? 0.0001 : Node23rect.height;
  1713. var Node23endCompspts = [Node23compspts[Node23ptslength-2],Node23compspts[Node23ptslength-1],0,0];
  1714. var Node23startCompspts = [Node23compspts[0],Node23compspts[1],0,0];
  1715. Node23.setImage(GD.getPolyLineJSON());
  1716. Node23.setPosition(Node23rect.x+Node23rect.width/2,Node23rect.y+Node23rect.height/2);
  1717. Node23.setSize(Node23rect.width,Node23rect.height);
  1718. Node23.setStyle("opacity",1);
  1719. Node23.s({'pixelPerfect':true});
  1720. Node23borderwidth=3;
  1721. Node23.setRotation(0);
  1722. dataModel.add(Node23);
  1723. Node23.a('node.points',Node23compspts);
  1724. Node23.a('node.segments',[1,2]);
  1725. Node23.a('node.color','rgba(255,128,0,1)');
  1726. Node23.a('node.borderPattern',getDashStyle("@borderPattern@"));
  1727. Node23.a('node.borderColor','rgba(255,128,0,1)');
  1728. Node23.a('node.background','rgba(255,128,0,1)');
  1729. Node23.a('node.gradient','');
  1730. Node23.a('node.gradientcolor','rgba(255,128,0,1)');
  1731. Node23.a('node.endCompspts',Node23endCompspts);
  1732. Node23.a('node.startCompspts',Node23startCompspts);
  1733. (function (node, img, compspts, endCompspts, startCompspts) {
  1734. var position = node.getPosition(),
  1735. w = node.getWidth()*_ratio.ratioX,
  1736. h = node.getHeight()*_ratio.ratioY;
  1737. function resetPoints(rx, ry) {
  1738. for (var i = 0, len = compspts.length; i < len; i++) {
  1739. if (i%2 === 0) {
  1740. compspts[i]*=rx;
  1741. } else {
  1742. compspts[i]*=ry;
  1743. }
  1744. }
  1745. endCompspts[0] = compspts[compspts.length-2];
  1746. endCompspts[1] = compspts[compspts.length-1];
  1747. endCompspts[2] *= rx;
  1748. endCompspts[3] *= ry;
  1749. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  1750. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  1751. startCompspts[0] = compspts[0];
  1752. startCompspts[1] = compspts[1];
  1753. startCompspts[2] *= rx;
  1754. startCompspts[3] *= ry;
  1755. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  1756. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  1757. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  1758. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  1759. }
  1760. node.setSize(w, h);
  1761. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  1762. node.a('node.width', w);
  1763. node.a('node.height', h);
  1764. resetPoints(_ratio.ratioX, _ratio.ratioY);
  1765. node.borderWidth = 3;
  1766. node.a('node.borderwidth',node.borderWidth);
  1767. node._nodename = 'Node23';
  1768. node._nodeType = 'line';
  1769. zoomNodeList.push({
  1770. node: node,
  1771. attr: 'node.borderwidth'
  1772. });
  1773. var setWidth = node.setWidth,
  1774. setHeight = node.setHeight,
  1775. timer, rx = 1, ry = 1;
  1776. node.setWidth = function (width) {
  1777. var _width = this.getWidth();
  1778. rx = width / _width;
  1779. node.a('node.width', width);
  1780. setWidth.apply(this, arguments);
  1781. resetPoints(rx, 1);
  1782. }
  1783. node.setHeight = function (height) {
  1784. var _height = this.getHeight();
  1785. ry = height / _height;
  1786. node.a('node.height', height);
  1787. setHeight.apply(this, arguments);
  1788. resetPoints(1, ry);
  1789. }
  1790. })(Node23, Node23.getImage(), Node23compspts, Node23endCompspts, Node23startCompspts);
  1791. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1792. var Node24type = 'rect';
  1793. var Node24 = new ht.Node(),
  1794. Node24BorderWidth = 0*2;
  1795. if (Node24type === 'arc') {
  1796. Node24BorderWidth *= 0;
  1797. }
  1798. Node24.setImage(GD.getRectJSON(96.14752*_ratio.ratioX, 19.82982*_ratio.ratioY, Node24type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1799. Node24.setPosition(934*ratio.ratioX, 174*ratio.ratioY);
  1800. Node24.setSize(96.14752*_ratio.ratioX, 19.82982*_ratio.ratioY);
  1801. Node24.s({
  1802. 'pixelPerfect':true
  1803. /*@AddPara@*/
  1804. });
  1805. Node24.a('node.width', 96.14752*_ratio.ratioX);
  1806. Node24.a('node.height', 19.82982*_ratio.ratioY);
  1807. Node24.a('node.type', Node24type);
  1808. Node24.a('node.rect', [0, 0, 96.14752*_ratio.ratioX, 19.82982*_ratio.ratioY]);
  1809. Node24.a('node.background', 'rgba(0,0,192,1)');
  1810. Node24.a('node.gradientcolor', 'rgba(0,0,192,1)');
  1811. Node24.a('node.gradient', '');
  1812. Node24.a('node.borderwidth', Node24BorderWidth);
  1813. Node24.a('node.color', 'rgba(0,0,0,0)');
  1814. Node24.a('node.fillrect', [0,0,0,0]);
  1815. Node24.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1816. Node24.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1817. Node24.a('node.fillgradient', '');
  1818. if (Node24type !== 'rect') {
  1819. Node24.a('node.arcFrom', parseFloat('@arcFrom@'));
  1820. Node24.a('node.arcTo', parseFloat('@arcTo@'));
  1821. Node24.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1822. }
  1823. if (Node24type === 'arc') {
  1824. Node24.a('node.arcOval', true);
  1825. }
  1826. Node24.setRotation(0*Math.PI/180);
  1827. Node24.borderWidth = Node24BorderWidth;
  1828. Node24.borderFillwidth = Node24BorderWidth;
  1829. dataModel.add(Node24);
  1830. Node24._nodename = 'Node24'
  1831. Node24._nodeType = 'rect';
  1832. zoomNodeList.push({
  1833. node: Node24,
  1834. attr: 'node.borderwidth'
  1835. });
  1836. (function (node, _img) {
  1837. var setWidth = node.setWidth,
  1838. setHeight = node.setHeight;
  1839. node.setWidth = function (width) {
  1840. if (width === this.getWidth()) return ;
  1841. var height = this.getHeight();
  1842. this.a('node.width', width);
  1843. this.a('node.rect', [0,0,width, height]);
  1844. setWidth.apply(this, arguments);
  1845. }
  1846. node.setHeight = function (height) {
  1847. if (height === this.getHeight()) return ;
  1848. var width = this.getWidth();
  1849. this.a('node.height', height);
  1850. this.a('node.rect', [0,0,width, height]);
  1851. setHeight.apply(this, arguments);
  1852. }
  1853. })(Node24, Node24.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1854. var Node25 = new ht.Node();
  1855. var Node25textStart, Node25textWidth, Node25lineStart, Node25align = 'left', Node25fontSize = 13.3333*_ratio.ratioY,Node25width = 105*_ratio.ratioX, Node25height = 23*_ratio.ratioY;
  1856. (function () {
  1857. if (Node25align === 'left') {
  1858. Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9;
  1859. Node25textWidth = Node25width;
  1860. Node25lineStart = 1;
  1861. } else if (Node25align === 'right') {
  1862. Node25textStart = 0;
  1863. Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2;
  1864. Node25lineStart = (Node25width - (ht.Default.getTextSize('220KV 母线', ' '+ Node25fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  1865. } else if (Node25align === 'center') {
  1866. Node25textStart = -3;
  1867. Node25textWidth = Node25width;
  1868. Node25lineStart = Node25width - ht.Default.getTextSize('220KV 母线', ' '+ Node25fontSize + 'px "微软雅黑"').width - 11;
  1869. }
  1870. })();
  1871. Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "微软雅黑"'))
  1872. Node25.setPosition(230*ratio.ratioX, 349*ratio.ratioY);
  1873. Node25.setWidth(Node25width);
  1874. Node25.setHeight(Node25height);
  1875. Node25._nodeType = 'text';
  1876. Node25._disallowEvert = true;
  1877. Node25.setRotation(0*Math.PI/180);
  1878. Node25.a('node.width', Node25width);
  1879. Node25.a('node.height', Node25height);
  1880. Node25.a('node.rect', [0, 0, Node25width, Node25height]);
  1881. Node25.a('node.bordercolor','rgba(0,0,0,1)');
  1882. Node25.a('node.borderwidth', 0);
  1883. Node25.a('node.background','' || 'rgba(0,0,0,0)');
  1884. Node25.a('node.gradient','');
  1885. Node25.a('node.gradientcolor','');
  1886. Node25.a('node.text','220KV 母线');
  1887. Node25.a('node.textalign','left');
  1888. Node25.a('node.textvAlign','middle');
  1889. Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]);
  1890. Node25.a('node.color','rgba(0,0,0,1)');
  1891. Node25.a('node.font',' '+ Node25fontSize + 'px "微软雅黑"');
  1892. Node25.a('node.textvisible',true);
  1893. Node25.a('node.linefeed',false);
  1894. if (false) {
  1895. Node25.a('node.textfunc',function(g) {
  1896. g.beginPath();
  1897. var str=Node25.a('node.text') || '220KV 母线';
  1898. var color=Node25.a('node.color') || 'rgba(0,0,0,1)';
  1899. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node25width,Node25height,13.3333*_ratio.ratioY,"left",color,' '+ Node25fontSize + 'px "微软雅黑"', 0,g);
  1900. });
  1901. }
  1902. if (false) {
  1903. Node25.a('node.underlinepoints',[Node25lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('220KV 母线', ' '+ Node25fontSize + 'px "微软雅黑"').width + 6, (Node25height - Node25fontSize) * 0.5*_ratio.ratioY + Node25fontSize + 2 ]);
  1904. Node25.a('node.underlinevisible',false);
  1905. Node25.a('node.underlineBorderWidth', 1);
  1906. }
  1907. dataModel.add(Node25);
  1908. zoomNodeList.push({
  1909. node: Node25,
  1910. borderWidth: 0,
  1911. attr: 'node.borderwidth'
  1912. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1913. var Node26 = new ht.Node();
  1914. var Node26textStart, Node26textWidth, Node26lineStart, Node26align = 'left', Node26fontSize = 13.3333*_ratio.ratioY,Node26width = 105*_ratio.ratioX, Node26height = 23*_ratio.ratioY;
  1915. (function () {
  1916. if (Node26align === 'left') {
  1917. Node26textStart = Node26fontSize * 0.2 > 2 ? Node26fontSize * 0.2 - 4 : Node26fontSize * 0.2 - 9;
  1918. Node26textWidth = Node26width;
  1919. Node26lineStart = 1;
  1920. } else if (Node26align === 'right') {
  1921. Node26textStart = 0;
  1922. Node26textWidth =Node26fontSize <= 8 ? Node26width + Node26fontSize * 0.2 + 6 : Node26width - Node26fontSize * 0.2;
  1923. Node26lineStart = (Node26width - (ht.Default.getTextSize('35KV 母线', ' '+ Node26fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  1924. } else if (Node26align === 'center') {
  1925. Node26textStart = -3;
  1926. Node26textWidth = Node26width;
  1927. Node26lineStart = Node26width - ht.Default.getTextSize('35KV 母线', ' '+ Node26fontSize + 'px "微软雅黑"').width - 11;
  1928. }
  1929. })();
  1930. Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, ' '+ Node26fontSize + 'px "微软雅黑"'))
  1931. Node26.setPosition(234*ratio.ratioX, 605*ratio.ratioY);
  1932. Node26.setWidth(Node26width);
  1933. Node26.setHeight(Node26height);
  1934. Node26._nodeType = 'text';
  1935. Node26._disallowEvert = true;
  1936. Node26.setRotation(0*Math.PI/180);
  1937. Node26.a('node.width', Node26width);
  1938. Node26.a('node.height', Node26height);
  1939. Node26.a('node.rect', [0, 0, Node26width, Node26height]);
  1940. Node26.a('node.bordercolor','rgba(0,0,0,1)');
  1941. Node26.a('node.borderwidth', 0);
  1942. Node26.a('node.background','' || 'rgba(0,0,0,0)');
  1943. Node26.a('node.gradient','');
  1944. Node26.a('node.gradientcolor','');
  1945. Node26.a('node.text','35KV 母线');
  1946. Node26.a('node.textalign','left');
  1947. Node26.a('node.textvAlign','middle');
  1948. Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
  1949. Node26.a('node.color','rgba(0,0,0,1)');
  1950. Node26.a('node.font',' '+ Node26fontSize + 'px "微软雅黑"');
  1951. Node26.a('node.textvisible',true);
  1952. Node26.a('node.linefeed',false);
  1953. if (false) {
  1954. Node26.a('node.textfunc',function(g) {
  1955. g.beginPath();
  1956. var str=Node26.a('node.text') || '35KV 母线';
  1957. var color=Node26.a('node.color') || 'rgba(0,0,0,1)';
  1958. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node26width,Node26height,13.3333*_ratio.ratioY,"left",color,' '+ Node26fontSize + 'px "微软雅黑"', 0,g);
  1959. });
  1960. }
  1961. if (false) {
  1962. Node26.a('node.underlinepoints',[Node26lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('35KV 母线', ' '+ Node26fontSize + 'px "微软雅黑"').width + 6, (Node26height - Node26fontSize) * 0.5*_ratio.ratioY + Node26fontSize + 2 ]);
  1963. Node26.a('node.underlinevisible',false);
  1964. Node26.a('node.underlineBorderWidth', 1);
  1965. }
  1966. dataModel.add(Node26);
  1967. zoomNodeList.push({
  1968. node: Node26,
  1969. borderWidth: 0,
  1970. attr: 'node.borderwidth'
  1971. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1972. var Node27 = new ht.Node();
  1973. var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'left', Node27fontSize = 13.3333*_ratio.ratioY,Node27width = 116*_ratio.ratioX, Node27height = 28*_ratio.ratioY;
  1974. (function () {
  1975. if (Node27align === 'left') {
  1976. Node27textStart = Node27fontSize * 0.2 > 2 ? Node27fontSize * 0.2 - 4 : Node27fontSize * 0.2 - 9;
  1977. Node27textWidth = Node27width;
  1978. Node27lineStart = 1;
  1979. } else if (Node27align === 'right') {
  1980. Node27textStart = 0;
  1981. Node27textWidth =Node27fontSize <= 8 ? Node27width + Node27fontSize * 0.2 + 6 : Node27width - Node27fontSize * 0.2;
  1982. Node27lineStart = (Node27width - (ht.Default.getTextSize('劲 泉 线', ' '+ Node27fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  1983. } else if (Node27align === 'center') {
  1984. Node27textStart = -3;
  1985. Node27textWidth = Node27width;
  1986. Node27lineStart = Node27width - ht.Default.getTextSize('劲 泉 线', ' '+ Node27fontSize + 'px "微软雅黑"').width - 11;
  1987. }
  1988. })();
  1989. Node27.setImage(GD.getTextJSON(Node27width, Node27height, true, false, false, ' '+ Node27fontSize + 'px "微软雅黑"'))
  1990. Node27.setPosition(966*ratio.ratioX, 176*ratio.ratioY);
  1991. Node27.setWidth(Node27width);
  1992. Node27.setHeight(Node27height);
  1993. Node27._nodeType = 'text';
  1994. Node27._disallowEvert = true;
  1995. Node27.setRotation(0*Math.PI/180);
  1996. Node27.a('node.width', Node27width);
  1997. Node27.a('node.height', Node27height);
  1998. Node27.a('node.rect', [0, 0, Node27width, Node27height]);
  1999. Node27.a('node.bordercolor','rgba(255,255,255,1)');
  2000. Node27.a('node.borderwidth', 0);
  2001. Node27.a('node.background','' || 'rgba(0,0,0,0)');
  2002. Node27.a('node.gradient','');
  2003. Node27.a('node.gradientcolor','');
  2004. Node27.a('node.text','劲 泉 线');
  2005. Node27.a('node.textalign','left');
  2006. Node27.a('node.textvAlign','middle');
  2007. Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]);
  2008. Node27.a('node.color','rgba(255,255,255,1)');
  2009. Node27.a('node.font',' '+ Node27fontSize + 'px "微软雅黑"');
  2010. Node27.a('node.textvisible',true);
  2011. Node27.a('node.linefeed',false);
  2012. if (false) {
  2013. Node27.a('node.textfunc',function(g) {
  2014. g.beginPath();
  2015. var str=Node27.a('node.text') || '劲 泉 线';
  2016. var color=Node27.a('node.color') || 'rgba(255,255,255,1)';
  2017. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27width,Node27height,13.3333*_ratio.ratioY,"left",color,' '+ Node27fontSize + 'px "微软雅黑"', 0,g);
  2018. });
  2019. }
  2020. if (false) {
  2021. Node27.a('node.underlinepoints',[Node27lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('劲 泉 线', ' '+ Node27fontSize + 'px "微软雅黑"').width + 6, (Node27height - Node27fontSize) * 0.5*_ratio.ratioY + Node27fontSize + 2 ]);
  2022. Node27.a('node.underlinevisible',false);
  2023. Node27.a('node.underlineBorderWidth', 1);
  2024. }
  2025. dataModel.add(Node27);
  2026. zoomNodeList.push({
  2027. node: Node27,
  2028. borderWidth: 0,
  2029. attr: 'node.borderwidth'
  2030. }); var Node28points=[454, 216,454, 246],
  2031. Node28rect=ht.Default.unionPoint([{x:454,y:216},{x:454,y:246}]),
  2032. Node28compspts=[];
  2033. _ratio = GD.getRatioWithRotation(0, ratio);
  2034. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  2035. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  2036. for(var i=0;i<Node28points.length;i++){
  2037. if(i%2==0){
  2038. Node28compspts.push(Node28points[i]-Node28rect.x);
  2039. }else{
  2040. Node28compspts.push(Node28points[i]-Node28rect.y);
  2041. }
  2042. }
  2043. var Node28ptslength=Node28compspts.length;
  2044. if (Node28rect.height === 0) {
  2045. Node28compspts[0] -= 0;
  2046. Node28compspts[Node28ptslength-2] += 0;
  2047. } else if (Node28rect.width === 0){
  2048. Node28compspts[1] -= 0;
  2049. Node28compspts[Node28ptslength-1] += 0;
  2050. } else {
  2051. Node28compspts[0] -= 0;
  2052. Node28compspts[1] -= 0;
  2053. Node28compspts[Node28ptslength-2] += 0;
  2054. Node28compspts[Node28ptslength-1] += 0;
  2055. }
  2056. Node28 = new ht.Node();
  2057. Node28.borderWidth = 1;
  2058. Node28rect.width = Node28rect.width === 0 ? 0.0001 : Node28rect.width;
  2059. Node28rect.height = Node28rect.height === 0 ? 0.0001 : Node28rect.height;
  2060. var Node28endCompspts = [Node28compspts[Node28ptslength-2],Node28compspts[Node28ptslength-1],0,0];
  2061. var Node28startCompspts = [Node28compspts[0],Node28compspts[1],0,0];
  2062. Node28.setImage(GD.getPolyLineJSON());
  2063. Node28.setPosition(Node28rect.x+Node28rect.width/2,Node28rect.y+Node28rect.height/2);
  2064. Node28.setSize(Node28rect.width,Node28rect.height);
  2065. Node28.setStyle("opacity",1);
  2066. Node28.s({'pixelPerfect':true});
  2067. Node28borderwidth=1;
  2068. Node28.setRotation(0);
  2069. dataModel.add(Node28);
  2070. Node28.a('node.points',Node28compspts);
  2071. Node28.a('node.segments',[1,2]);
  2072. Node28.a('node.color','rgba(255,0,255,1)');
  2073. Node28.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2074. Node28.a('node.borderColor','rgba(255,0,255,1)');
  2075. Node28.a('node.background','rgba(255,0,255,1)');
  2076. Node28.a('node.gradient','');
  2077. Node28.a('node.gradientcolor','rgba(255,0,255,1)');
  2078. Node28.a('node.endCompspts',Node28endCompspts);
  2079. Node28.a('node.startCompspts',Node28startCompspts);
  2080. (function (node, img, compspts, endCompspts, startCompspts) {
  2081. var position = node.getPosition(),
  2082. w = node.getWidth()*_ratio.ratioX,
  2083. h = node.getHeight()*_ratio.ratioY;
  2084. function resetPoints(rx, ry) {
  2085. for (var i = 0, len = compspts.length; i < len; i++) {
  2086. if (i%2 === 0) {
  2087. compspts[i]*=rx;
  2088. } else {
  2089. compspts[i]*=ry;
  2090. }
  2091. }
  2092. endCompspts[0] = compspts[compspts.length-2];
  2093. endCompspts[1] = compspts[compspts.length-1];
  2094. endCompspts[2] *= rx;
  2095. endCompspts[3] *= ry;
  2096. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2097. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2098. startCompspts[0] = compspts[0];
  2099. startCompspts[1] = compspts[1];
  2100. startCompspts[2] *= rx;
  2101. startCompspts[3] *= ry;
  2102. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2103. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2104. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2105. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2106. }
  2107. node.setSize(w, h);
  2108. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2109. node.a('node.width', w);
  2110. node.a('node.height', h);
  2111. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2112. node.borderWidth = 1;
  2113. node.a('node.borderwidth',node.borderWidth);
  2114. node._nodename = 'Node28';
  2115. node._nodeType = 'line';
  2116. zoomNodeList.push({
  2117. node: node,
  2118. attr: 'node.borderwidth'
  2119. });
  2120. var setWidth = node.setWidth,
  2121. setHeight = node.setHeight,
  2122. timer, rx = 1, ry = 1;
  2123. node.setWidth = function (width) {
  2124. var _width = this.getWidth();
  2125. rx = width / _width;
  2126. node.a('node.width', width);
  2127. setWidth.apply(this, arguments);
  2128. resetPoints(rx, 1);
  2129. }
  2130. node.setHeight = function (height) {
  2131. var _height = this.getHeight();
  2132. ry = height / _height;
  2133. node.a('node.height', height);
  2134. setHeight.apply(this, arguments);
  2135. resetPoints(1, ry);
  2136. }
  2137. })(Node28, Node28.getImage(), Node28compspts, Node28endCompspts, Node28startCompspts);
  2138. var Node29rect=ht.Default.unionPoint([{x: 450, y: 212},{x: 450, y: 212},{x: 460, y: 212},{x: 455, y: 221}]),
  2139. Node29points=[450,212,450,212,460,212,455,221],
  2140. Node29compsPoints=[],
  2141. Node29SetPoints = [{x: 450, y: 212},{x: 450, y: 212},{x: 460, y: 212},{x: 455, y: 221}],
  2142. Node29setSegments = [1,2,2,2];
  2143. _ratio = GD.getRatioWithRotation(3.141593, ratio);
  2144. for(var i=0;i<Node29points.length;i++){
  2145. if(i%2==0){
  2146. Node29compsPoints.push(Node29points[i]-Node29rect.x);
  2147. }else{
  2148. Node29compsPoints.push(Node29points[i]-Node29rect.y);
  2149. }
  2150. }
  2151. var Node29 = new ht.Node();
  2152. Node29.setImage(GD.getPolyGonJSON());
  2153. Node29.setPosition(Node29rect.x + Node29rect.width/2, Node29rect.y + Node29rect.height/2);
  2154. Node29.setSize(Node29rect.width, Node29rect.height);
  2155. Node29.setRotation(3.141593);
  2156. Node29.borderWidth=0;
  2157. Node29.borderFillwidth=0*2;
  2158. Node29.s({'pixelPerfect':true});
  2159. dataModel.add(Node29);
  2160. // Node29.a('node.width', Node29rect.width*_ratio.ratioX);
  2161. // Node29.a('node.height', Node29rect.height*_ratio.ratioY);
  2162. Node29.a('node.clip', function(g,width,height,data) {
  2163. var clippoints = Node29SetPoints;
  2164. if(clippoints.length<=3) return;
  2165. if(Node29.a('Node29.isFill')=="false") return;
  2166. var clipcompsPoints=[];
  2167. var rect = ht.Default.unionPoint(clippoints);
  2168. for(var i=0;i<clippoints.length;i++){
  2169. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  2170. }
  2171. var clipsegments=Node29setSegments;
  2172. g.beginPath();
  2173. drawPoints(g,clipcompsPoints,clipsegments);
  2174. g.clip();
  2175. })
  2176. Node29.a('node.type', 'shape');
  2177. Node29.a('node.comsPoints', Node29compsPoints);
  2178. Node29.a('node.closePath', true);
  2179. Node29.a('node.borderwidth', 0);
  2180. Node29.a('node.color', 'rgba(0,0,0,0)');
  2181. Node29.a('node.background','rgba(255,0,255,1)');
  2182. Node29.a('node.closePath', true);
  2183. Node29.a('node.closePath', true);
  2184. Node29.a('node.gradient','');
  2185. Node29.a('node.gradientcolor','rgba(255,0,255,1)');
  2186. Node29.a('node.isFill','false');
  2187. Node29.a('node.original',[0,0,0,0]);
  2188. Node29.a('node.fillrect',[0,0,0,0]);
  2189. Node29.a('node.fillbackcolor','rgba(255,0,255,1)');
  2190. Node29.a('node.fillgradient','');
  2191. Node29.a('node.fillgradientcolor','rgba(255,0,255,1)');
  2192. Node29.a('node.segments',Node29setSegments);
  2193. Node29.a('node.borderPattern',"");
  2194. (function (node, nodecompsPoints, setPoints) {
  2195. var w = node.getWidth()*_ratio.ratioX,
  2196. h = node.getHeight()*_ratio.ratioY,
  2197. img = node.getImage();
  2198. function resetPoints(rx, ry) {
  2199. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  2200. if (i%2 === 0) {
  2201. nodecompsPoints[i]*=rx;
  2202. } else {
  2203. nodecompsPoints[i]*=ry;
  2204. }
  2205. if (setPoints[i]) {
  2206. setPoints[i].x *= rx;
  2207. setPoints[i].y *= ry;
  2208. }
  2209. }
  2210. }
  2211. node.setSize(w, h);
  2212. node.a('node.width', w);
  2213. node.a('node.height', h);
  2214. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2215. var position = node.getPosition();
  2216. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2217. node._nodename = 'Node29';
  2218. node._nodeType = 'polygon';
  2219. zoomNodeList.push({
  2220. node: node,
  2221. attr: 'node.borderwidth'
  2222. });
  2223. // 重载setWidth, setHeight
  2224. var setWidth = node.setWidth,
  2225. setHeight = node.setHeight,
  2226. timer, rx = 1, ry = 1;
  2227. node.setWidth = function (width) {
  2228. var _width = this.getWidth();
  2229. rx = width / _width;
  2230. node.a('node.width', width);
  2231. setWidth.apply(this, arguments);
  2232. resetPoints(rx, 1);
  2233. }
  2234. node.setHeight = function (height) {
  2235. var _height = this.getHeight();
  2236. ry = height / _height;
  2237. node.a('node.height', height);
  2238. setHeight.apply(this, arguments);
  2239. resetPoints(1, ry);
  2240. }
  2241. })(Node29, Node29compsPoints, Node29SetPoints );
  2242. var Node30points=[454, 265,454, 285],
  2243. Node30rect=ht.Default.unionPoint([{x:454,y:265},{x:454,y:285}]),
  2244. Node30compspts=[];
  2245. _ratio = GD.getRatioWithRotation(0, ratio);
  2246. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  2247. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  2248. for(var i=0;i<Node30points.length;i++){
  2249. if(i%2==0){
  2250. Node30compspts.push(Node30points[i]-Node30rect.x);
  2251. }else{
  2252. Node30compspts.push(Node30points[i]-Node30rect.y);
  2253. }
  2254. }
  2255. var Node30ptslength=Node30compspts.length;
  2256. if (Node30rect.height === 0) {
  2257. Node30compspts[0] -= 0;
  2258. Node30compspts[Node30ptslength-2] += 0;
  2259. } else if (Node30rect.width === 0){
  2260. Node30compspts[1] -= 0;
  2261. Node30compspts[Node30ptslength-1] += 0;
  2262. } else {
  2263. Node30compspts[0] -= 0;
  2264. Node30compspts[1] -= 0;
  2265. Node30compspts[Node30ptslength-2] += 0;
  2266. Node30compspts[Node30ptslength-1] += 0;
  2267. }
  2268. Node30 = new ht.Node();
  2269. Node30.borderWidth = 1;
  2270. Node30rect.width = Node30rect.width === 0 ? 0.0001 : Node30rect.width;
  2271. Node30rect.height = Node30rect.height === 0 ? 0.0001 : Node30rect.height;
  2272. var Node30endCompspts = [Node30compspts[Node30ptslength-2],Node30compspts[Node30ptslength-1],0,0];
  2273. var Node30startCompspts = [Node30compspts[0],Node30compspts[1],0,0];
  2274. Node30.setImage(GD.getPolyLineJSON());
  2275. Node30.setPosition(Node30rect.x+Node30rect.width/2,Node30rect.y+Node30rect.height/2);
  2276. Node30.setSize(Node30rect.width,Node30rect.height);
  2277. Node30.setStyle("opacity",1);
  2278. Node30.s({'pixelPerfect':true});
  2279. Node30borderwidth=1;
  2280. Node30.setRotation(0);
  2281. dataModel.add(Node30);
  2282. Node30.a('node.points',Node30compspts);
  2283. Node30.a('node.segments',[1,2]);
  2284. Node30.a('node.color','rgba(255,0,255,1)');
  2285. Node30.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2286. Node30.a('node.borderColor','rgba(255,0,255,1)');
  2287. Node30.a('node.background','rgba(255,0,255,1)');
  2288. Node30.a('node.gradient','');
  2289. Node30.a('node.gradientcolor','rgba(255,0,255,1)');
  2290. Node30.a('node.endCompspts',Node30endCompspts);
  2291. Node30.a('node.startCompspts',Node30startCompspts);
  2292. (function (node, img, compspts, endCompspts, startCompspts) {
  2293. var position = node.getPosition(),
  2294. w = node.getWidth()*_ratio.ratioX,
  2295. h = node.getHeight()*_ratio.ratioY;
  2296. function resetPoints(rx, ry) {
  2297. for (var i = 0, len = compspts.length; i < len; i++) {
  2298. if (i%2 === 0) {
  2299. compspts[i]*=rx;
  2300. } else {
  2301. compspts[i]*=ry;
  2302. }
  2303. }
  2304. endCompspts[0] = compspts[compspts.length-2];
  2305. endCompspts[1] = compspts[compspts.length-1];
  2306. endCompspts[2] *= rx;
  2307. endCompspts[3] *= ry;
  2308. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2309. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2310. startCompspts[0] = compspts[0];
  2311. startCompspts[1] = compspts[1];
  2312. startCompspts[2] *= rx;
  2313. startCompspts[3] *= ry;
  2314. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2315. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2316. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2317. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2318. }
  2319. node.setSize(w, h);
  2320. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2321. node.a('node.width', w);
  2322. node.a('node.height', h);
  2323. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2324. node.borderWidth = 1;
  2325. node.a('node.borderwidth',node.borderWidth);
  2326. node._nodename = 'Node30';
  2327. node._nodeType = 'line';
  2328. zoomNodeList.push({
  2329. node: node,
  2330. attr: 'node.borderwidth'
  2331. });
  2332. var setWidth = node.setWidth,
  2333. setHeight = node.setHeight,
  2334. timer, rx = 1, ry = 1;
  2335. node.setWidth = function (width) {
  2336. var _width = this.getWidth();
  2337. rx = width / _width;
  2338. node.a('node.width', width);
  2339. setWidth.apply(this, arguments);
  2340. resetPoints(rx, 1);
  2341. }
  2342. node.setHeight = function (height) {
  2343. var _height = this.getHeight();
  2344. ry = height / _height;
  2345. node.a('node.height', height);
  2346. setHeight.apply(this, arguments);
  2347. resetPoints(1, ry);
  2348. }
  2349. })(Node30, Node30.getImage(), Node30compspts, Node30endCompspts, Node30startCompspts);
  2350. var Node31points=[454, 306,454, 325],
  2351. Node31rect=ht.Default.unionPoint([{x:454,y:306},{x:454,y:325}]),
  2352. Node31compspts=[];
  2353. _ratio = GD.getRatioWithRotation(0, ratio);
  2354. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  2355. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  2356. for(var i=0;i<Node31points.length;i++){
  2357. if(i%2==0){
  2358. Node31compspts.push(Node31points[i]-Node31rect.x);
  2359. }else{
  2360. Node31compspts.push(Node31points[i]-Node31rect.y);
  2361. }
  2362. }
  2363. var Node31ptslength=Node31compspts.length;
  2364. if (Node31rect.height === 0) {
  2365. Node31compspts[0] -= 0;
  2366. Node31compspts[Node31ptslength-2] += 0;
  2367. } else if (Node31rect.width === 0){
  2368. Node31compspts[1] -= 0;
  2369. Node31compspts[Node31ptslength-1] += 0;
  2370. } else {
  2371. Node31compspts[0] -= 0;
  2372. Node31compspts[1] -= 0;
  2373. Node31compspts[Node31ptslength-2] += 0;
  2374. Node31compspts[Node31ptslength-1] += 0;
  2375. }
  2376. Node31 = new ht.Node();
  2377. Node31.borderWidth = 1;
  2378. Node31rect.width = Node31rect.width === 0 ? 0.0001 : Node31rect.width;
  2379. Node31rect.height = Node31rect.height === 0 ? 0.0001 : Node31rect.height;
  2380. var Node31endCompspts = [Node31compspts[Node31ptslength-2],Node31compspts[Node31ptslength-1],0,0];
  2381. var Node31startCompspts = [Node31compspts[0],Node31compspts[1],0,0];
  2382. Node31.setImage(GD.getPolyLineJSON());
  2383. Node31.setPosition(Node31rect.x+Node31rect.width/2,Node31rect.y+Node31rect.height/2);
  2384. Node31.setSize(Node31rect.width,Node31rect.height);
  2385. Node31.setStyle("opacity",1);
  2386. Node31.s({'pixelPerfect':true});
  2387. Node31borderwidth=1;
  2388. Node31.setRotation(0);
  2389. dataModel.add(Node31);
  2390. Node31.a('node.points',Node31compspts);
  2391. Node31.a('node.segments',[1,2]);
  2392. Node31.a('node.color','rgba(255,0,255,1)');
  2393. Node31.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2394. Node31.a('node.borderColor','rgba(255,0,255,1)');
  2395. Node31.a('node.background','rgba(255,0,255,1)');
  2396. Node31.a('node.gradient','');
  2397. Node31.a('node.gradientcolor','rgba(255,0,255,1)');
  2398. Node31.a('node.endCompspts',Node31endCompspts);
  2399. Node31.a('node.startCompspts',Node31startCompspts);
  2400. (function (node, img, compspts, endCompspts, startCompspts) {
  2401. var position = node.getPosition(),
  2402. w = node.getWidth()*_ratio.ratioX,
  2403. h = node.getHeight()*_ratio.ratioY;
  2404. function resetPoints(rx, ry) {
  2405. for (var i = 0, len = compspts.length; i < len; i++) {
  2406. if (i%2 === 0) {
  2407. compspts[i]*=rx;
  2408. } else {
  2409. compspts[i]*=ry;
  2410. }
  2411. }
  2412. endCompspts[0] = compspts[compspts.length-2];
  2413. endCompspts[1] = compspts[compspts.length-1];
  2414. endCompspts[2] *= rx;
  2415. endCompspts[3] *= ry;
  2416. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2417. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2418. startCompspts[0] = compspts[0];
  2419. startCompspts[1] = compspts[1];
  2420. startCompspts[2] *= rx;
  2421. startCompspts[3] *= ry;
  2422. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2423. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2424. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2425. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2426. }
  2427. node.setSize(w, h);
  2428. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2429. node.a('node.width', w);
  2430. node.a('node.height', h);
  2431. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2432. node.borderWidth = 1;
  2433. node.a('node.borderwidth',node.borderWidth);
  2434. node._nodename = 'Node31';
  2435. node._nodeType = 'line';
  2436. zoomNodeList.push({
  2437. node: node,
  2438. attr: 'node.borderwidth'
  2439. });
  2440. var setWidth = node.setWidth,
  2441. setHeight = node.setHeight,
  2442. timer, rx = 1, ry = 1;
  2443. node.setWidth = function (width) {
  2444. var _width = this.getWidth();
  2445. rx = width / _width;
  2446. node.a('node.width', width);
  2447. setWidth.apply(this, arguments);
  2448. resetPoints(rx, 1);
  2449. }
  2450. node.setHeight = function (height) {
  2451. var _height = this.getHeight();
  2452. ry = height / _height;
  2453. node.a('node.height', height);
  2454. setHeight.apply(this, arguments);
  2455. resetPoints(1, ry);
  2456. }
  2457. })(Node31, Node31.getImage(), Node31compspts, Node31endCompspts, Node31startCompspts);
  2458. var Node32points=[454, 343,454, 362],
  2459. Node32rect=ht.Default.unionPoint([{x:454,y:343},{x:454,y:362}]),
  2460. Node32compspts=[];
  2461. _ratio = GD.getRatioWithRotation(0, ratio);
  2462. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  2463. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  2464. for(var i=0;i<Node32points.length;i++){
  2465. if(i%2==0){
  2466. Node32compspts.push(Node32points[i]-Node32rect.x);
  2467. }else{
  2468. Node32compspts.push(Node32points[i]-Node32rect.y);
  2469. }
  2470. }
  2471. var Node32ptslength=Node32compspts.length;
  2472. if (Node32rect.height === 0) {
  2473. Node32compspts[0] -= 0;
  2474. Node32compspts[Node32ptslength-2] += 0;
  2475. } else if (Node32rect.width === 0){
  2476. Node32compspts[1] -= 0;
  2477. Node32compspts[Node32ptslength-1] += 0;
  2478. } else {
  2479. Node32compspts[0] -= 0;
  2480. Node32compspts[1] -= 0;
  2481. Node32compspts[Node32ptslength-2] += 0;
  2482. Node32compspts[Node32ptslength-1] += 0;
  2483. }
  2484. Node32 = new ht.Node();
  2485. Node32.borderWidth = 1;
  2486. Node32rect.width = Node32rect.width === 0 ? 0.0001 : Node32rect.width;
  2487. Node32rect.height = Node32rect.height === 0 ? 0.0001 : Node32rect.height;
  2488. var Node32endCompspts = [Node32compspts[Node32ptslength-2],Node32compspts[Node32ptslength-1],0,0];
  2489. var Node32startCompspts = [Node32compspts[0],Node32compspts[1],0,0];
  2490. Node32.setImage(GD.getPolyLineJSON());
  2491. Node32.setPosition(Node32rect.x+Node32rect.width/2,Node32rect.y+Node32rect.height/2);
  2492. Node32.setSize(Node32rect.width,Node32rect.height);
  2493. Node32.setStyle("opacity",1);
  2494. Node32.s({'pixelPerfect':true});
  2495. Node32borderwidth=1;
  2496. Node32.setRotation(0);
  2497. dataModel.add(Node32);
  2498. Node32.a('node.points',Node32compspts);
  2499. Node32.a('node.segments',[1,2]);
  2500. Node32.a('node.color','rgba(255,0,255,1)');
  2501. Node32.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2502. Node32.a('node.borderColor','rgba(255,0,255,1)');
  2503. Node32.a('node.background','rgba(255,0,255,1)');
  2504. Node32.a('node.gradient','');
  2505. Node32.a('node.gradientcolor','rgba(255,0,255,1)');
  2506. Node32.a('node.endCompspts',Node32endCompspts);
  2507. Node32.a('node.startCompspts',Node32startCompspts);
  2508. (function (node, img, compspts, endCompspts, startCompspts) {
  2509. var position = node.getPosition(),
  2510. w = node.getWidth()*_ratio.ratioX,
  2511. h = node.getHeight()*_ratio.ratioY;
  2512. function resetPoints(rx, ry) {
  2513. for (var i = 0, len = compspts.length; i < len; i++) {
  2514. if (i%2 === 0) {
  2515. compspts[i]*=rx;
  2516. } else {
  2517. compspts[i]*=ry;
  2518. }
  2519. }
  2520. endCompspts[0] = compspts[compspts.length-2];
  2521. endCompspts[1] = compspts[compspts.length-1];
  2522. endCompspts[2] *= rx;
  2523. endCompspts[3] *= ry;
  2524. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2525. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2526. startCompspts[0] = compspts[0];
  2527. startCompspts[1] = compspts[1];
  2528. startCompspts[2] *= rx;
  2529. startCompspts[3] *= ry;
  2530. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2531. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2532. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2533. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2534. }
  2535. node.setSize(w, h);
  2536. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2537. node.a('node.width', w);
  2538. node.a('node.height', h);
  2539. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2540. node.borderWidth = 1;
  2541. node.a('node.borderwidth',node.borderWidth);
  2542. node._nodename = 'Node32';
  2543. node._nodeType = 'line';
  2544. zoomNodeList.push({
  2545. node: node,
  2546. attr: 'node.borderwidth'
  2547. });
  2548. var setWidth = node.setWidth,
  2549. setHeight = node.setHeight,
  2550. timer, rx = 1, ry = 1;
  2551. node.setWidth = function (width) {
  2552. var _width = this.getWidth();
  2553. rx = width / _width;
  2554. node.a('node.width', width);
  2555. setWidth.apply(this, arguments);
  2556. resetPoints(rx, 1);
  2557. }
  2558. node.setHeight = function (height) {
  2559. var _height = this.getHeight();
  2560. ry = height / _height;
  2561. node.a('node.height', height);
  2562. setHeight.apply(this, arguments);
  2563. resetPoints(1, ry);
  2564. }
  2565. })(Node32, Node32.getImage(), Node32compspts, Node32endCompspts, Node32startCompspts);
  2566. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2567. var Node33 = new ht.Node();
  2568. var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 13.3333*_ratio.ratioY,Node33width = 42*_ratio.ratioX, Node33height = 18*_ratio.ratioY;
  2569. (function () {
  2570. if (Node33align === 'left') {
  2571. Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9;
  2572. Node33textWidth = Node33width;
  2573. Node33lineStart = 1;
  2574. } else if (Node33align === 'right') {
  2575. Node33textStart = 0;
  2576. Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2;
  2577. Node33lineStart = (Node33width - (ht.Default.getTextSize('221-1', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
  2578. } else if (Node33align === 'center') {
  2579. Node33textStart = -3;
  2580. Node33textWidth = Node33width;
  2581. Node33lineStart = Node33width - ht.Default.getTextSize('221-1', ' '+ Node33fontSize + 'px "Arial"').width - 11;
  2582. }
  2583. })();
  2584. Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"'))
  2585. Node33.setPosition(411*ratio.ratioX, 255*ratio.ratioY);
  2586. Node33.setWidth(Node33width);
  2587. Node33.setHeight(Node33height);
  2588. Node33._nodeType = 'text';
  2589. Node33._disallowEvert = true;
  2590. Node33.setRotation(0*Math.PI/180);
  2591. Node33.a('node.width', Node33width);
  2592. Node33.a('node.height', Node33height);
  2593. Node33.a('node.rect', [0, 0, Node33width, Node33height]);
  2594. Node33.a('node.bordercolor','rgba(0,0,0,1)');
  2595. Node33.a('node.borderwidth', 0);
  2596. Node33.a('node.background','' || 'rgba(0,0,0,0)');
  2597. Node33.a('node.gradient','');
  2598. Node33.a('node.gradientcolor','');
  2599. Node33.a('node.text','221-1');
  2600. Node33.a('node.textalign','left');
  2601. Node33.a('node.textvAlign','middle');
  2602. Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
  2603. Node33.a('node.color','rgba(0,0,0,1)');
  2604. Node33.a('node.font',' '+ Node33fontSize + 'px "Arial"');
  2605. Node33.a('node.textvisible',true);
  2606. Node33.a('node.linefeed',false);
  2607. if (false) {
  2608. Node33.a('node.textfunc',function(g) {
  2609. g.beginPath();
  2610. var str=Node33.a('node.text') || '221-1';
  2611. var color=Node33.a('node.color') || 'rgba(0,0,0,1)';
  2612. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node33width,Node33height,13.3333*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g);
  2613. });
  2614. }
  2615. if (false) {
  2616. Node33.a('node.underlinepoints',[Node33lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('221-1', ' '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]);
  2617. Node33.a('node.underlinevisible',false);
  2618. Node33.a('node.underlineBorderWidth', 1);
  2619. }
  2620. dataModel.add(Node33);
  2621. zoomNodeList.push({
  2622. node: Node33,
  2623. borderWidth: 0,
  2624. attr: 'node.borderwidth'
  2625. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2626. var Node34 = new ht.Node();
  2627. var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'left', Node34fontSize = 13.3333*_ratio.ratioY,Node34width = 42*_ratio.ratioX, Node34height = 19*_ratio.ratioY;
  2628. (function () {
  2629. if (Node34align === 'left') {
  2630. Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9;
  2631. Node34textWidth = Node34width;
  2632. Node34lineStart = 1;
  2633. } else if (Node34align === 'right') {
  2634. Node34textStart = 0;
  2635. Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2;
  2636. Node34lineStart = (Node34width - (ht.Default.getTextSize('221', ' '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
  2637. } else if (Node34align === 'center') {
  2638. Node34textStart = -3;
  2639. Node34textWidth = Node34width;
  2640. Node34lineStart = Node34width - ht.Default.getTextSize('221', ' '+ Node34fontSize + 'px "Arial"').width - 11;
  2641. }
  2642. })();
  2643. Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, ' '+ Node34fontSize + 'px "Arial"'))
  2644. Node34.setPosition(424*ratio.ratioX, 296*ratio.ratioY);
  2645. Node34.setWidth(Node34width);
  2646. Node34.setHeight(Node34height);
  2647. Node34._nodeType = 'text';
  2648. Node34._disallowEvert = true;
  2649. Node34.setRotation(0*Math.PI/180);
  2650. Node34.a('node.width', Node34width);
  2651. Node34.a('node.height', Node34height);
  2652. Node34.a('node.rect', [0, 0, Node34width, Node34height]);
  2653. Node34.a('node.bordercolor','rgba(0,0,0,1)');
  2654. Node34.a('node.borderwidth', 0);
  2655. Node34.a('node.background','' || 'rgba(0,0,0,0)');
  2656. Node34.a('node.gradient','');
  2657. Node34.a('node.gradientcolor','');
  2658. Node34.a('node.text','221');
  2659. Node34.a('node.textalign','left');
  2660. Node34.a('node.textvAlign','middle');
  2661. Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
  2662. Node34.a('node.color','rgba(0,0,0,1)');
  2663. Node34.a('node.font',' '+ Node34fontSize + 'px "Arial"');
  2664. Node34.a('node.textvisible',true);
  2665. Node34.a('node.linefeed',false);
  2666. if (false) {
  2667. Node34.a('node.textfunc',function(g) {
  2668. g.beginPath();
  2669. var str=Node34.a('node.text') || '221';
  2670. var color=Node34.a('node.color') || 'rgba(0,0,0,1)';
  2671. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,' '+ Node34fontSize + 'px "Arial"', 0,g);
  2672. });
  2673. }
  2674. if (false) {
  2675. Node34.a('node.underlinepoints',[Node34lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('221', ' '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]);
  2676. Node34.a('node.underlinevisible',false);
  2677. Node34.a('node.underlineBorderWidth', 1);
  2678. }
  2679. dataModel.add(Node34);
  2680. zoomNodeList.push({
  2681. node: Node34,
  2682. borderWidth: 0,
  2683. attr: 'node.borderwidth'
  2684. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2685. var Node35 = new ht.Node();
  2686. var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'left', Node35fontSize = 13.3333*_ratio.ratioY,Node35width = 43*_ratio.ratioX, Node35height = 18*_ratio.ratioY;
  2687. (function () {
  2688. if (Node35align === 'left') {
  2689. Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9;
  2690. Node35textWidth = Node35width;
  2691. Node35lineStart = 1;
  2692. } else if (Node35align === 'right') {
  2693. Node35textStart = 0;
  2694. Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2;
  2695. Node35lineStart = (Node35width - (ht.Default.getTextSize('221-A', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5;
  2696. } else if (Node35align === 'center') {
  2697. Node35textStart = -3;
  2698. Node35textWidth = Node35width;
  2699. Node35lineStart = Node35width - ht.Default.getTextSize('221-A', ' '+ Node35fontSize + 'px "Arial"').width - 11;
  2700. }
  2701. })();
  2702. Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"'))
  2703. Node35.setPosition(412*ratio.ratioX, 336*ratio.ratioY);
  2704. Node35.setWidth(Node35width);
  2705. Node35.setHeight(Node35height);
  2706. Node35._nodeType = 'text';
  2707. Node35._disallowEvert = true;
  2708. Node35.setRotation(0*Math.PI/180);
  2709. Node35.a('node.width', Node35width);
  2710. Node35.a('node.height', Node35height);
  2711. Node35.a('node.rect', [0, 0, Node35width, Node35height]);
  2712. Node35.a('node.bordercolor','rgba(0,0,0,1)');
  2713. Node35.a('node.borderwidth', 0);
  2714. Node35.a('node.background','' || 'rgba(0,0,0,0)');
  2715. Node35.a('node.gradient','');
  2716. Node35.a('node.gradientcolor','');
  2717. Node35.a('node.text','221-A');
  2718. Node35.a('node.textalign','left');
  2719. Node35.a('node.textvAlign','middle');
  2720. Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]);
  2721. Node35.a('node.color','rgba(0,0,0,1)');
  2722. Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"');
  2723. Node35.a('node.textvisible',true);
  2724. Node35.a('node.linefeed',false);
  2725. if (false) {
  2726. Node35.a('node.textfunc',function(g) {
  2727. g.beginPath();
  2728. var str=Node35.a('node.text') || '221-A';
  2729. var color=Node35.a('node.color') || 'rgba(0,0,0,1)';
  2730. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35width,Node35height,13.3333*_ratio.ratioY,"left",color,' '+ Node35fontSize + 'px "Arial"', 0,g);
  2731. });
  2732. }
  2733. if (false) {
  2734. Node35.a('node.underlinepoints',[Node35lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('221-A', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]);
  2735. Node35.a('node.underlinevisible',false);
  2736. Node35.a('node.underlineBorderWidth', 1);
  2737. }
  2738. dataModel.add(Node35);
  2739. zoomNodeList.push({
  2740. node: Node35,
  2741. borderWidth: 0,
  2742. attr: 'node.borderwidth'
  2743. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2744. var Node36 = new ht.Node();
  2745. var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 58*_ratio.ratioX, Node36height = 19*_ratio.ratioY;
  2746. (function () {
  2747. if (Node36align === 'left') {
  2748. Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
  2749. Node36textWidth = Node36width;
  2750. Node36lineStart = 1;
  2751. } else if (Node36align === 'right') {
  2752. Node36textStart = 0;
  2753. Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
  2754. Node36lineStart = (Node36width - (ht.Default.getTextSize('221-线0', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
  2755. } else if (Node36align === 'center') {
  2756. Node36textStart = -3;
  2757. Node36textWidth = Node36width;
  2758. Node36lineStart = Node36width - ht.Default.getTextSize('221-线0', ' '+ Node36fontSize + 'px "Arial"').width - 11;
  2759. }
  2760. })();
  2761. Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"'))
  2762. Node36.setPosition(572*ratio.ratioX, 255*ratio.ratioY);
  2763. Node36.setWidth(Node36width);
  2764. Node36.setHeight(Node36height);
  2765. Node36._nodeType = 'text';
  2766. Node36._disallowEvert = true;
  2767. Node36.setRotation(0*Math.PI/180);
  2768. Node36.a('node.width', Node36width);
  2769. Node36.a('node.height', Node36height);
  2770. Node36.a('node.rect', [0, 0, Node36width, Node36height]);
  2771. Node36.a('node.bordercolor','rgba(0,0,0,1)');
  2772. Node36.a('node.borderwidth', 0);
  2773. Node36.a('node.background','' || 'rgba(0,0,0,0)');
  2774. Node36.a('node.gradient','');
  2775. Node36.a('node.gradientcolor','');
  2776. Node36.a('node.text','221-线0');
  2777. Node36.a('node.textalign','left');
  2778. Node36.a('node.textvAlign','middle');
  2779. Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
  2780. Node36.a('node.color','rgba(0,0,0,1)');
  2781. Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"');
  2782. Node36.a('node.textvisible',true);
  2783. Node36.a('node.linefeed',false);
  2784. if (false) {
  2785. Node36.a('node.textfunc',function(g) {
  2786. g.beginPath();
  2787. var str=Node36.a('node.text') || '221-线0';
  2788. var color=Node36.a('node.color') || 'rgba(0,0,0,1)';
  2789. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,' '+ Node36fontSize + 'px "Arial"', 0,g);
  2790. });
  2791. }
  2792. if (false) {
  2793. Node36.a('node.underlinepoints',[Node36lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('221-线0', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
  2794. Node36.a('node.underlinevisible',false);
  2795. Node36.a('node.underlineBorderWidth', 1);
  2796. }
  2797. dataModel.add(Node36);
  2798. zoomNodeList.push({
  2799. node: Node36,
  2800. borderWidth: 0,
  2801. attr: 'node.borderwidth'
  2802. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2803. var Node37 = new ht.Node();
  2804. var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 50*_ratio.ratioX, Node37height = 19*_ratio.ratioY;
  2805. (function () {
  2806. if (Node37align === 'left') {
  2807. Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9;
  2808. Node37textWidth = Node37width;
  2809. Node37lineStart = 1;
  2810. } else if (Node37align === 'right') {
  2811. Node37textStart = 0;
  2812. Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2;
  2813. Node37lineStart = (Node37width - (ht.Default.getTextSize('221-10', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5;
  2814. } else if (Node37align === 'center') {
  2815. Node37textStart = -3;
  2816. Node37textWidth = Node37width;
  2817. Node37lineStart = Node37width - ht.Default.getTextSize('221-10', ' '+ Node37fontSize + 'px "Arial"').width - 11;
  2818. }
  2819. })();
  2820. Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"'))
  2821. Node37.setPosition(568*ratio.ratioX, 299*ratio.ratioY);
  2822. Node37.setWidth(Node37width);
  2823. Node37.setHeight(Node37height);
  2824. Node37._nodeType = 'text';
  2825. Node37._disallowEvert = true;
  2826. Node37.setRotation(0*Math.PI/180);
  2827. Node37.a('node.width', Node37width);
  2828. Node37.a('node.height', Node37height);
  2829. Node37.a('node.rect', [0, 0, Node37width, Node37height]);
  2830. Node37.a('node.bordercolor','rgba(0,0,0,1)');
  2831. Node37.a('node.borderwidth', 0);
  2832. Node37.a('node.background','' || 'rgba(0,0,0,0)');
  2833. Node37.a('node.gradient','');
  2834. Node37.a('node.gradientcolor','');
  2835. Node37.a('node.text','221-10');
  2836. Node37.a('node.textalign','left');
  2837. Node37.a('node.textvAlign','middle');
  2838. Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]);
  2839. Node37.a('node.color','rgba(0,0,0,1)');
  2840. Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"');
  2841. Node37.a('node.textvisible',true);
  2842. Node37.a('node.linefeed',false);
  2843. if (false) {
  2844. Node37.a('node.textfunc',function(g) {
  2845. g.beginPath();
  2846. var str=Node37.a('node.text') || '221-10';
  2847. var color=Node37.a('node.color') || 'rgba(0,0,0,1)';
  2848. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37width,Node37height,13.3333*_ratio.ratioY,"left",color,' '+ Node37fontSize + 'px "Arial"', 0,g);
  2849. });
  2850. }
  2851. if (false) {
  2852. Node37.a('node.underlinepoints',[Node37lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('221-10', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]);
  2853. Node37.a('node.underlinevisible',false);
  2854. Node37.a('node.underlineBorderWidth', 1);
  2855. }
  2856. dataModel.add(Node37);
  2857. zoomNodeList.push({
  2858. node: Node37,
  2859. borderWidth: 0,
  2860. attr: 'node.borderwidth'
  2861. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2862. var Node38 = new ht.Node();
  2863. var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 52*_ratio.ratioX, Node38height = 19*_ratio.ratioY;
  2864. (function () {
  2865. if (Node38align === 'left') {
  2866. Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
  2867. Node38textWidth = Node38width;
  2868. Node38lineStart = 1;
  2869. } else if (Node38align === 'right') {
  2870. Node38textStart = 0;
  2871. Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
  2872. Node38lineStart = (Node38width - (ht.Default.getTextSize('221-A0', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
  2873. } else if (Node38align === 'center') {
  2874. Node38textStart = -3;
  2875. Node38textWidth = Node38width;
  2876. Node38lineStart = Node38width - ht.Default.getTextSize('221-A0', ' '+ Node38fontSize + 'px "Arial"').width - 11;
  2877. }
  2878. })();
  2879. Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
  2880. Node38.setPosition(569*ratio.ratioX, 343*ratio.ratioY);
  2881. Node38.setWidth(Node38width);
  2882. Node38.setHeight(Node38height);
  2883. Node38._nodeType = 'text';
  2884. Node38._disallowEvert = true;
  2885. Node38.setRotation(0*Math.PI/180);
  2886. Node38.a('node.width', Node38width);
  2887. Node38.a('node.height', Node38height);
  2888. Node38.a('node.rect', [0, 0, Node38width, Node38height]);
  2889. Node38.a('node.bordercolor','rgba(0,0,0,1)');
  2890. Node38.a('node.borderwidth', 0);
  2891. Node38.a('node.background','' || 'rgba(0,0,0,0)');
  2892. Node38.a('node.gradient','');
  2893. Node38.a('node.gradientcolor','');
  2894. Node38.a('node.text','221-A0');
  2895. Node38.a('node.textalign','left');
  2896. Node38.a('node.textvAlign','middle');
  2897. Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
  2898. Node38.a('node.color','rgba(0,0,0,1)');
  2899. Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
  2900. Node38.a('node.textvisible',true);
  2901. Node38.a('node.linefeed',false);
  2902. if (false) {
  2903. Node38.a('node.textfunc',function(g) {
  2904. g.beginPath();
  2905. var str=Node38.a('node.text') || '221-A0';
  2906. var color=Node38.a('node.color') || 'rgba(0,0,0,1)';
  2907. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
  2908. });
  2909. }
  2910. if (false) {
  2911. Node38.a('node.underlinepoints',[Node38lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('221-A0', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
  2912. Node38.a('node.underlinevisible',false);
  2913. Node38.a('node.underlineBorderWidth', 1);
  2914. }
  2915. dataModel.add(Node38);
  2916. zoomNodeList.push({
  2917. node: Node38,
  2918. borderWidth: 0,
  2919. attr: 'node.borderwidth'
  2920. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2921. var Node39 = new ht.Node();
  2922. var Node39textStart, Node39textWidth, Node39lineStart, Node39align = 'left', Node39fontSize = 13.3333*_ratio.ratioY,Node39width = 64*_ratio.ratioX, Node39height = 23*_ratio.ratioY;
  2923. (function () {
  2924. if (Node39align === 'left') {
  2925. Node39textStart = Node39fontSize * 0.2 > 2 ? Node39fontSize * 0.2 - 4 : Node39fontSize * 0.2 - 9;
  2926. Node39textWidth = Node39width;
  2927. Node39lineStart = 1;
  2928. } else if (Node39align === 'right') {
  2929. Node39textStart = 0;
  2930. Node39textWidth =Node39fontSize <= 8 ? Node39width + Node39fontSize * 0.2 + 6 : Node39width - Node39fontSize * 0.2;
  2931. Node39lineStart = (Node39width - (ht.Default.getTextSize('Ua :', ' '+ Node39fontSize + 'px "Arial"').width + 6)) * 0.5;
  2932. } else if (Node39align === 'center') {
  2933. Node39textStart = -3;
  2934. Node39textWidth = Node39width;
  2935. Node39lineStart = Node39width - ht.Default.getTextSize('Ua :', ' '+ Node39fontSize + 'px "Arial"').width - 11;
  2936. }
  2937. })();
  2938. Node39.setImage(GD.getTextJSON(Node39width, Node39height, true, false, false, ' '+ Node39fontSize + 'px "Arial"'))
  2939. Node39.setPosition(209*ratio.ratioX, 215*ratio.ratioY);
  2940. Node39.setWidth(Node39width);
  2941. Node39.setHeight(Node39height);
  2942. Node39._nodeType = 'text';
  2943. Node39._disallowEvert = true;
  2944. Node39.setRotation(0*Math.PI/180);
  2945. Node39.a('node.width', Node39width);
  2946. Node39.a('node.height', Node39height);
  2947. Node39.a('node.rect', [0, 0, Node39width, Node39height]);
  2948. Node39.a('node.bordercolor','rgba(0,0,0,1)');
  2949. Node39.a('node.borderwidth', 0);
  2950. Node39.a('node.background','' || 'rgba(0,0,0,0)');
  2951. Node39.a('node.gradient','');
  2952. Node39.a('node.gradientcolor','');
  2953. Node39.a('node.text','Ua :');
  2954. Node39.a('node.textalign','left');
  2955. Node39.a('node.textvAlign','middle');
  2956. Node39.a('node.textrect', [Node39textStart, 0, Node39textWidth, Node39height]);
  2957. Node39.a('node.color','rgba(0,0,0,1)');
  2958. Node39.a('node.font',' '+ Node39fontSize + 'px "Arial"');
  2959. Node39.a('node.textvisible',true);
  2960. Node39.a('node.linefeed',false);
  2961. if (false) {
  2962. Node39.a('node.textfunc',function(g) {
  2963. g.beginPath();
  2964. var str=Node39.a('node.text') || 'Ua :';
  2965. var color=Node39.a('node.color') || 'rgba(0,0,0,1)';
  2966. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39width,Node39height,13.3333*_ratio.ratioY,"left",color,' '+ Node39fontSize + 'px "Arial"', 0,g);
  2967. });
  2968. }
  2969. if (false) {
  2970. Node39.a('node.underlinepoints',[Node39lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node39fontSize + 2 , ht.Default.getTextSize('Ua :', ' '+ Node39fontSize + 'px "Arial"').width + 6, (Node39height - Node39fontSize) * 0.5*_ratio.ratioY + Node39fontSize + 2 ]);
  2971. Node39.a('node.underlinevisible',false);
  2972. Node39.a('node.underlineBorderWidth', 1);
  2973. }
  2974. dataModel.add(Node39);
  2975. zoomNodeList.push({
  2976. node: Node39,
  2977. borderWidth: 0,
  2978. attr: 'node.borderwidth'
  2979. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2980. var Node40 = new ht.Node();
  2981. var Node40textStart, Node40textWidth, Node40lineStart, Node40align = 'left', Node40fontSize = 13.3333*_ratio.ratioY,Node40width = 74*_ratio.ratioX, Node40height = 23*_ratio.ratioY;
  2982. (function () {
  2983. if (Node40align === 'left') {
  2984. Node40textStart = Node40fontSize * 0.2 > 2 ? Node40fontSize * 0.2 - 4 : Node40fontSize * 0.2 - 9;
  2985. Node40textWidth = Node40width;
  2986. Node40lineStart = 1;
  2987. } else if (Node40align === 'right') {
  2988. Node40textStart = 0;
  2989. Node40textWidth =Node40fontSize <= 8 ? Node40width + Node40fontSize * 0.2 + 6 : Node40width - Node40fontSize * 0.2;
  2990. Node40lineStart = (Node40width - (ht.Default.getTextSize('Ub :', ' '+ Node40fontSize + 'px "Arial"').width + 6)) * 0.5;
  2991. } else if (Node40align === 'center') {
  2992. Node40textStart = -3;
  2993. Node40textWidth = Node40width;
  2994. Node40lineStart = Node40width - ht.Default.getTextSize('Ub :', ' '+ Node40fontSize + 'px "Arial"').width - 11;
  2995. }
  2996. })();
  2997. Node40.setImage(GD.getTextJSON(Node40width, Node40height, true, false, false, ' '+ Node40fontSize + 'px "Arial"'))
  2998. Node40.setPosition(216*ratio.ratioX, 237*ratio.ratioY);
  2999. Node40.setWidth(Node40width);
  3000. Node40.setHeight(Node40height);
  3001. Node40._nodeType = 'text';
  3002. Node40._disallowEvert = true;
  3003. Node40.setRotation(0*Math.PI/180);
  3004. Node40.a('node.width', Node40width);
  3005. Node40.a('node.height', Node40height);
  3006. Node40.a('node.rect', [0, 0, Node40width, Node40height]);
  3007. Node40.a('node.bordercolor','rgba(0,0,0,1)');
  3008. Node40.a('node.borderwidth', 0);
  3009. Node40.a('node.background','' || 'rgba(0,0,0,0)');
  3010. Node40.a('node.gradient','');
  3011. Node40.a('node.gradientcolor','');
  3012. Node40.a('node.text','Ub :');
  3013. Node40.a('node.textalign','left');
  3014. Node40.a('node.textvAlign','middle');
  3015. Node40.a('node.textrect', [Node40textStart, 0, Node40textWidth, Node40height]);
  3016. Node40.a('node.color','rgba(0,0,0,1)');
  3017. Node40.a('node.font',' '+ Node40fontSize + 'px "Arial"');
  3018. Node40.a('node.textvisible',true);
  3019. Node40.a('node.linefeed',false);
  3020. if (false) {
  3021. Node40.a('node.textfunc',function(g) {
  3022. g.beginPath();
  3023. var str=Node40.a('node.text') || 'Ub :';
  3024. var color=Node40.a('node.color') || 'rgba(0,0,0,1)';
  3025. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40width,Node40height,13.3333*_ratio.ratioY,"left",color,' '+ Node40fontSize + 'px "Arial"', 0,g);
  3026. });
  3027. }
  3028. if (false) {
  3029. Node40.a('node.underlinepoints',[Node40lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node40fontSize + 2 , ht.Default.getTextSize('Ub :', ' '+ Node40fontSize + 'px "Arial"').width + 6, (Node40height - Node40fontSize) * 0.5*_ratio.ratioY + Node40fontSize + 2 ]);
  3030. Node40.a('node.underlinevisible',false);
  3031. Node40.a('node.underlineBorderWidth', 1);
  3032. }
  3033. dataModel.add(Node40);
  3034. zoomNodeList.push({
  3035. node: Node40,
  3036. borderWidth: 0,
  3037. attr: 'node.borderwidth'
  3038. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3039. var Node41 = new ht.Node();
  3040. var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 13.3333*_ratio.ratioY,Node41width = 74*_ratio.ratioX, Node41height = 23*_ratio.ratioY;
  3041. (function () {
  3042. if (Node41align === 'left') {
  3043. Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9;
  3044. Node41textWidth = Node41width;
  3045. Node41lineStart = 1;
  3046. } else if (Node41align === 'right') {
  3047. Node41textStart = 0;
  3048. Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2;
  3049. Node41lineStart = (Node41width - (ht.Default.getTextSize('Uab :', ' '+ Node41fontSize + 'px "Arial"').width + 6)) * 0.5;
  3050. } else if (Node41align === 'center') {
  3051. Node41textStart = -3;
  3052. Node41textWidth = Node41width;
  3053. Node41lineStart = Node41width - ht.Default.getTextSize('Uab :', ' '+ Node41fontSize + 'px "Arial"').width - 11;
  3054. }
  3055. })();
  3056. Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, ' '+ Node41fontSize + 'px "Arial"'))
  3057. Node41.setPosition(207*ratio.ratioX, 278*ratio.ratioY);
  3058. Node41.setWidth(Node41width);
  3059. Node41.setHeight(Node41height);
  3060. Node41._nodeType = 'text';
  3061. Node41._disallowEvert = true;
  3062. Node41.setRotation(0*Math.PI/180);
  3063. Node41.a('node.width', Node41width);
  3064. Node41.a('node.height', Node41height);
  3065. Node41.a('node.rect', [0, 0, Node41width, Node41height]);
  3066. Node41.a('node.bordercolor','rgba(0,0,0,1)');
  3067. Node41.a('node.borderwidth', 0);
  3068. Node41.a('node.background','' || 'rgba(0,0,0,0)');
  3069. Node41.a('node.gradient','');
  3070. Node41.a('node.gradientcolor','');
  3071. Node41.a('node.text','Uab :');
  3072. Node41.a('node.textalign','left');
  3073. Node41.a('node.textvAlign','middle');
  3074. Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]);
  3075. Node41.a('node.color','rgba(0,0,0,1)');
  3076. Node41.a('node.font',' '+ Node41fontSize + 'px "Arial"');
  3077. Node41.a('node.textvisible',true);
  3078. Node41.a('node.linefeed',false);
  3079. if (false) {
  3080. Node41.a('node.textfunc',function(g) {
  3081. g.beginPath();
  3082. var str=Node41.a('node.text') || 'Uab :';
  3083. var color=Node41.a('node.color') || 'rgba(0,0,0,1)';
  3084. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41width,Node41height,13.3333*_ratio.ratioY,"left",color,' '+ Node41fontSize + 'px "Arial"', 0,g);
  3085. });
  3086. }
  3087. if (false) {
  3088. Node41.a('node.underlinepoints',[Node41lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('Uab :', ' '+ Node41fontSize + 'px "Arial"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]);
  3089. Node41.a('node.underlinevisible',false);
  3090. Node41.a('node.underlineBorderWidth', 1);
  3091. }
  3092. dataModel.add(Node41);
  3093. zoomNodeList.push({
  3094. node: Node41,
  3095. borderWidth: 0,
  3096. attr: 'node.borderwidth'
  3097. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3098. var Node42 = new ht.Node();
  3099. var Node42textStart, Node42textWidth, Node42lineStart, Node42align = 'left', Node42fontSize = 13.3333*_ratio.ratioY,Node42width = 74*_ratio.ratioX, Node42height = 23*_ratio.ratioY;
  3100. (function () {
  3101. if (Node42align === 'left') {
  3102. Node42textStart = Node42fontSize * 0.2 > 2 ? Node42fontSize * 0.2 - 4 : Node42fontSize * 0.2 - 9;
  3103. Node42textWidth = Node42width;
  3104. Node42lineStart = 1;
  3105. } else if (Node42align === 'right') {
  3106. Node42textStart = 0;
  3107. Node42textWidth =Node42fontSize <= 8 ? Node42width + Node42fontSize * 0.2 + 6 : Node42width - Node42fontSize * 0.2;
  3108. Node42lineStart = (Node42width - (ht.Default.getTextSize('U0 :', ' '+ Node42fontSize + 'px "Arial"').width + 6)) * 0.5;
  3109. } else if (Node42align === 'center') {
  3110. Node42textStart = -3;
  3111. Node42textWidth = Node42width;
  3112. Node42lineStart = Node42width - ht.Default.getTextSize('U0 :', ' '+ Node42fontSize + 'px "Arial"').width - 11;
  3113. }
  3114. })();
  3115. Node42.setImage(GD.getTextJSON(Node42width, Node42height, true, false, false, ' '+ Node42fontSize + 'px "Arial"'))
  3116. Node42.setPosition(216*ratio.ratioX, 303*ratio.ratioY);
  3117. Node42.setWidth(Node42width);
  3118. Node42.setHeight(Node42height);
  3119. Node42._nodeType = 'text';
  3120. Node42._disallowEvert = true;
  3121. Node42.setRotation(0*Math.PI/180);
  3122. Node42.a('node.width', Node42width);
  3123. Node42.a('node.height', Node42height);
  3124. Node42.a('node.rect', [0, 0, Node42width, Node42height]);
  3125. Node42.a('node.bordercolor','rgba(0,0,0,1)');
  3126. Node42.a('node.borderwidth', 0);
  3127. Node42.a('node.background','' || 'rgba(0,0,0,0)');
  3128. Node42.a('node.gradient','');
  3129. Node42.a('node.gradientcolor','');
  3130. Node42.a('node.text','U0 :');
  3131. Node42.a('node.textalign','left');
  3132. Node42.a('node.textvAlign','middle');
  3133. Node42.a('node.textrect', [Node42textStart, 0, Node42textWidth, Node42height]);
  3134. Node42.a('node.color','rgba(0,0,0,1)');
  3135. Node42.a('node.font',' '+ Node42fontSize + 'px "Arial"');
  3136. Node42.a('node.textvisible',true);
  3137. Node42.a('node.linefeed',false);
  3138. if (false) {
  3139. Node42.a('node.textfunc',function(g) {
  3140. g.beginPath();
  3141. var str=Node42.a('node.text') || 'U0 :';
  3142. var color=Node42.a('node.color') || 'rgba(0,0,0,1)';
  3143. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42width,Node42height,13.3333*_ratio.ratioY,"left",color,' '+ Node42fontSize + 'px "Arial"', 0,g);
  3144. });
  3145. }
  3146. if (false) {
  3147. Node42.a('node.underlinepoints',[Node42lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node42fontSize + 2 , ht.Default.getTextSize('U0 :', ' '+ Node42fontSize + 'px "Arial"').width + 6, (Node42height - Node42fontSize) * 0.5*_ratio.ratioY + Node42fontSize + 2 ]);
  3148. Node42.a('node.underlinevisible',false);
  3149. Node42.a('node.underlineBorderWidth', 1);
  3150. }
  3151. dataModel.add(Node42);
  3152. zoomNodeList.push({
  3153. node: Node42,
  3154. borderWidth: 0,
  3155. attr: 'node.borderwidth'
  3156. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3157. var Node43 = new ht.Node();
  3158. var Node43textStart, Node43textWidth, Node43lineStart, Node43align = 'left', Node43fontSize = 13.3333*_ratio.ratioY,Node43width = 74*_ratio.ratioX, Node43height = 23*_ratio.ratioY;
  3159. (function () {
  3160. if (Node43align === 'left') {
  3161. Node43textStart = Node43fontSize * 0.2 > 2 ? Node43fontSize * 0.2 - 4 : Node43fontSize * 0.2 - 9;
  3162. Node43textWidth = Node43width;
  3163. Node43lineStart = 1;
  3164. } else if (Node43align === 'right') {
  3165. Node43textStart = 0;
  3166. Node43textWidth =Node43fontSize <= 8 ? Node43width + Node43fontSize * 0.2 + 6 : Node43width - Node43fontSize * 0.2;
  3167. Node43lineStart = (Node43width - (ht.Default.getTextSize('F :', ' '+ Node43fontSize + 'px "Arial"').width + 6)) * 0.5;
  3168. } else if (Node43align === 'center') {
  3169. Node43textStart = -3;
  3170. Node43textWidth = Node43width;
  3171. Node43lineStart = Node43width - ht.Default.getTextSize('F :', ' '+ Node43fontSize + 'px "Arial"').width - 11;
  3172. }
  3173. })();
  3174. Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, ' '+ Node43fontSize + 'px "Arial"'))
  3175. Node43.setPosition(226*ratio.ratioX, 327*ratio.ratioY);
  3176. Node43.setWidth(Node43width);
  3177. Node43.setHeight(Node43height);
  3178. Node43._nodeType = 'text';
  3179. Node43._disallowEvert = true;
  3180. Node43.setRotation(0*Math.PI/180);
  3181. Node43.a('node.width', Node43width);
  3182. Node43.a('node.height', Node43height);
  3183. Node43.a('node.rect', [0, 0, Node43width, Node43height]);
  3184. Node43.a('node.bordercolor','rgba(0,0,0,1)');
  3185. Node43.a('node.borderwidth', 0);
  3186. Node43.a('node.background','' || 'rgba(0,0,0,0)');
  3187. Node43.a('node.gradient','');
  3188. Node43.a('node.gradientcolor','');
  3189. Node43.a('node.text','F :');
  3190. Node43.a('node.textalign','left');
  3191. Node43.a('node.textvAlign','middle');
  3192. Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]);
  3193. Node43.a('node.color','rgba(0,0,0,1)');
  3194. Node43.a('node.font',' '+ Node43fontSize + 'px "Arial"');
  3195. Node43.a('node.textvisible',true);
  3196. Node43.a('node.linefeed',false);
  3197. if (false) {
  3198. Node43.a('node.textfunc',function(g) {
  3199. g.beginPath();
  3200. var str=Node43.a('node.text') || 'F :';
  3201. var color=Node43.a('node.color') || 'rgba(0,0,0,1)';
  3202. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node43width,Node43height,13.3333*_ratio.ratioY,"left",color,' '+ Node43fontSize + 'px "Arial"', 0,g);
  3203. });
  3204. }
  3205. if (false) {
  3206. Node43.a('node.underlinepoints',[Node43lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('F :', ' '+ Node43fontSize + 'px "Arial"').width + 6, (Node43height - Node43fontSize) * 0.5*_ratio.ratioY + Node43fontSize + 2 ]);
  3207. Node43.a('node.underlinevisible',false);
  3208. Node43.a('node.underlineBorderWidth', 1);
  3209. }
  3210. dataModel.add(Node43);
  3211. zoomNodeList.push({
  3212. node: Node43,
  3213. borderWidth: 0,
  3214. attr: 'node.borderwidth'
  3215. }); var Node44points=[930, 363,930, 393],
  3216. Node44rect=ht.Default.unionPoint([{x:930,y:363},{x:930,y:393}]),
  3217. Node44compspts=[];
  3218. _ratio = GD.getRatioWithRotation(0, ratio);
  3219. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  3220. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  3221. for(var i=0;i<Node44points.length;i++){
  3222. if(i%2==0){
  3223. Node44compspts.push(Node44points[i]-Node44rect.x);
  3224. }else{
  3225. Node44compspts.push(Node44points[i]-Node44rect.y);
  3226. }
  3227. }
  3228. var Node44ptslength=Node44compspts.length;
  3229. if (Node44rect.height === 0) {
  3230. Node44compspts[0] -= 0;
  3231. Node44compspts[Node44ptslength-2] += 0;
  3232. } else if (Node44rect.width === 0){
  3233. Node44compspts[1] -= 0;
  3234. Node44compspts[Node44ptslength-1] += 0;
  3235. } else {
  3236. Node44compspts[0] -= 0;
  3237. Node44compspts[1] -= 0;
  3238. Node44compspts[Node44ptslength-2] += 0;
  3239. Node44compspts[Node44ptslength-1] += 0;
  3240. }
  3241. Node44 = new ht.Node();
  3242. Node44.borderWidth = 1;
  3243. Node44rect.width = Node44rect.width === 0 ? 0.0001 : Node44rect.width;
  3244. Node44rect.height = Node44rect.height === 0 ? 0.0001 : Node44rect.height;
  3245. var Node44endCompspts = [Node44compspts[Node44ptslength-2],Node44compspts[Node44ptslength-1],0,0];
  3246. var Node44startCompspts = [Node44compspts[0],Node44compspts[1],0,0];
  3247. Node44.setImage(GD.getPolyLineJSON());
  3248. Node44.setPosition(Node44rect.x+Node44rect.width/2,Node44rect.y+Node44rect.height/2);
  3249. Node44.setSize(Node44rect.width,Node44rect.height);
  3250. Node44.setStyle("opacity",1);
  3251. Node44.s({'pixelPerfect':true});
  3252. Node44borderwidth=1;
  3253. Node44.setRotation(0);
  3254. dataModel.add(Node44);
  3255. Node44.a('node.points',Node44compspts);
  3256. Node44.a('node.segments',[1,2]);
  3257. Node44.a('node.color','rgba(255,0,255,1)');
  3258. Node44.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3259. Node44.a('node.borderColor','rgba(255,0,255,1)');
  3260. Node44.a('node.background','rgba(255,0,255,1)');
  3261. Node44.a('node.gradient','');
  3262. Node44.a('node.gradientcolor','rgba(255,0,255,1)');
  3263. Node44.a('node.endCompspts',Node44endCompspts);
  3264. Node44.a('node.startCompspts',Node44startCompspts);
  3265. (function (node, img, compspts, endCompspts, startCompspts) {
  3266. var position = node.getPosition(),
  3267. w = node.getWidth()*_ratio.ratioX,
  3268. h = node.getHeight()*_ratio.ratioY;
  3269. function resetPoints(rx, ry) {
  3270. for (var i = 0, len = compspts.length; i < len; i++) {
  3271. if (i%2 === 0) {
  3272. compspts[i]*=rx;
  3273. } else {
  3274. compspts[i]*=ry;
  3275. }
  3276. }
  3277. endCompspts[0] = compspts[compspts.length-2];
  3278. endCompspts[1] = compspts[compspts.length-1];
  3279. endCompspts[2] *= rx;
  3280. endCompspts[3] *= ry;
  3281. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3282. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3283. startCompspts[0] = compspts[0];
  3284. startCompspts[1] = compspts[1];
  3285. startCompspts[2] *= rx;
  3286. startCompspts[3] *= ry;
  3287. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3288. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3289. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3290. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3291. }
  3292. node.setSize(w, h);
  3293. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3294. node.a('node.width', w);
  3295. node.a('node.height', h);
  3296. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3297. node.borderWidth = 1;
  3298. node.a('node.borderwidth',node.borderWidth);
  3299. node._nodename = 'Node44';
  3300. node._nodeType = 'line';
  3301. zoomNodeList.push({
  3302. node: node,
  3303. attr: 'node.borderwidth'
  3304. });
  3305. var setWidth = node.setWidth,
  3306. setHeight = node.setHeight,
  3307. timer, rx = 1, ry = 1;
  3308. node.setWidth = function (width) {
  3309. var _width = this.getWidth();
  3310. rx = width / _width;
  3311. node.a('node.width', width);
  3312. setWidth.apply(this, arguments);
  3313. resetPoints(rx, 1);
  3314. }
  3315. node.setHeight = function (height) {
  3316. var _height = this.getHeight();
  3317. ry = height / _height;
  3318. node.a('node.height', height);
  3319. setHeight.apply(this, arguments);
  3320. resetPoints(1, ry);
  3321. }
  3322. })(Node44, Node44.getImage(), Node44compspts, Node44endCompspts, Node44startCompspts);
  3323. var Node45points=[930, 396,930, 426],
  3324. Node45rect=ht.Default.unionPoint([{x:930,y:396},{x:930,y:426}]),
  3325. Node45compspts=[];
  3326. _ratio = GD.getRatioWithRotation(0, ratio);
  3327. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  3328. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  3329. for(var i=0;i<Node45points.length;i++){
  3330. if(i%2==0){
  3331. Node45compspts.push(Node45points[i]-Node45rect.x);
  3332. }else{
  3333. Node45compspts.push(Node45points[i]-Node45rect.y);
  3334. }
  3335. }
  3336. var Node45ptslength=Node45compspts.length;
  3337. if (Node45rect.height === 0) {
  3338. Node45compspts[0] -= 0;
  3339. Node45compspts[Node45ptslength-2] += 0;
  3340. } else if (Node45rect.width === 0){
  3341. Node45compspts[1] -= 0;
  3342. Node45compspts[Node45ptslength-1] += 0;
  3343. } else {
  3344. Node45compspts[0] -= 0;
  3345. Node45compspts[1] -= 0;
  3346. Node45compspts[Node45ptslength-2] += 0;
  3347. Node45compspts[Node45ptslength-1] += 0;
  3348. }
  3349. Node45 = new ht.Node();
  3350. Node45.borderWidth = 1;
  3351. Node45rect.width = Node45rect.width === 0 ? 0.0001 : Node45rect.width;
  3352. Node45rect.height = Node45rect.height === 0 ? 0.0001 : Node45rect.height;
  3353. var Node45endCompspts = [Node45compspts[Node45ptslength-2],Node45compspts[Node45ptslength-1],0,0];
  3354. var Node45startCompspts = [Node45compspts[0],Node45compspts[1],0,0];
  3355. Node45.setImage(GD.getPolyLineJSON());
  3356. Node45.setPosition(Node45rect.x+Node45rect.width/2,Node45rect.y+Node45rect.height/2);
  3357. Node45.setSize(Node45rect.width,Node45rect.height);
  3358. Node45.setStyle("opacity",1);
  3359. Node45.s({'pixelPerfect':true});
  3360. Node45borderwidth=1;
  3361. Node45.setRotation(0);
  3362. dataModel.add(Node45);
  3363. Node45.a('node.points',Node45compspts);
  3364. Node45.a('node.segments',[1,2]);
  3365. Node45.a('node.color','rgba(255,0,255,1)');
  3366. Node45.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3367. Node45.a('node.borderColor','rgba(255,0,255,1)');
  3368. Node45.a('node.background','rgba(255,0,255,1)');
  3369. Node45.a('node.gradient','');
  3370. Node45.a('node.gradientcolor','rgba(255,0,255,1)');
  3371. Node45.a('node.endCompspts',Node45endCompspts);
  3372. Node45.a('node.startCompspts',Node45startCompspts);
  3373. (function (node, img, compspts, endCompspts, startCompspts) {
  3374. var position = node.getPosition(),
  3375. w = node.getWidth()*_ratio.ratioX,
  3376. h = node.getHeight()*_ratio.ratioY;
  3377. function resetPoints(rx, ry) {
  3378. for (var i = 0, len = compspts.length; i < len; i++) {
  3379. if (i%2 === 0) {
  3380. compspts[i]*=rx;
  3381. } else {
  3382. compspts[i]*=ry;
  3383. }
  3384. }
  3385. endCompspts[0] = compspts[compspts.length-2];
  3386. endCompspts[1] = compspts[compspts.length-1];
  3387. endCompspts[2] *= rx;
  3388. endCompspts[3] *= ry;
  3389. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3390. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3391. startCompspts[0] = compspts[0];
  3392. startCompspts[1] = compspts[1];
  3393. startCompspts[2] *= rx;
  3394. startCompspts[3] *= ry;
  3395. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3396. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3397. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3398. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3399. }
  3400. node.setSize(w, h);
  3401. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3402. node.a('node.width', w);
  3403. node.a('node.height', h);
  3404. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3405. node.borderWidth = 1;
  3406. node.a('node.borderwidth',node.borderWidth);
  3407. node._nodename = 'Node45';
  3408. node._nodeType = 'line';
  3409. zoomNodeList.push({
  3410. node: node,
  3411. attr: 'node.borderwidth'
  3412. });
  3413. var setWidth = node.setWidth,
  3414. setHeight = node.setHeight,
  3415. timer, rx = 1, ry = 1;
  3416. node.setWidth = function (width) {
  3417. var _width = this.getWidth();
  3418. rx = width / _width;
  3419. node.a('node.width', width);
  3420. setWidth.apply(this, arguments);
  3421. resetPoints(rx, 1);
  3422. }
  3423. node.setHeight = function (height) {
  3424. var _height = this.getHeight();
  3425. ry = height / _height;
  3426. node.a('node.height', height);
  3427. setHeight.apply(this, arguments);
  3428. resetPoints(1, ry);
  3429. }
  3430. })(Node45, Node45.getImage(), Node45compspts, Node45endCompspts, Node45startCompspts);
  3431. var Node46points=[930, 430,930, 460],
  3432. Node46rect=ht.Default.unionPoint([{x:930,y:430},{x:930,y:460}]),
  3433. Node46compspts=[];
  3434. _ratio = GD.getRatioWithRotation(0, ratio);
  3435. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  3436. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  3437. for(var i=0;i<Node46points.length;i++){
  3438. if(i%2==0){
  3439. Node46compspts.push(Node46points[i]-Node46rect.x);
  3440. }else{
  3441. Node46compspts.push(Node46points[i]-Node46rect.y);
  3442. }
  3443. }
  3444. var Node46ptslength=Node46compspts.length;
  3445. if (Node46rect.height === 0) {
  3446. Node46compspts[0] -= 0;
  3447. Node46compspts[Node46ptslength-2] += 0;
  3448. } else if (Node46rect.width === 0){
  3449. Node46compspts[1] -= 0;
  3450. Node46compspts[Node46ptslength-1] += 0;
  3451. } else {
  3452. Node46compspts[0] -= 0;
  3453. Node46compspts[1] -= 0;
  3454. Node46compspts[Node46ptslength-2] += 0;
  3455. Node46compspts[Node46ptslength-1] += 0;
  3456. }
  3457. Node46 = new ht.Node();
  3458. Node46.borderWidth = 1;
  3459. Node46rect.width = Node46rect.width === 0 ? 0.0001 : Node46rect.width;
  3460. Node46rect.height = Node46rect.height === 0 ? 0.0001 : Node46rect.height;
  3461. var Node46endCompspts = [Node46compspts[Node46ptslength-2],Node46compspts[Node46ptslength-1],0,0];
  3462. var Node46startCompspts = [Node46compspts[0],Node46compspts[1],0,0];
  3463. Node46.setImage(GD.getPolyLineJSON());
  3464. Node46.setPosition(Node46rect.x+Node46rect.width/2,Node46rect.y+Node46rect.height/2);
  3465. Node46.setSize(Node46rect.width,Node46rect.height);
  3466. Node46.setStyle("opacity",1);
  3467. Node46.s({'pixelPerfect':true});
  3468. Node46borderwidth=1;
  3469. Node46.setRotation(0);
  3470. dataModel.add(Node46);
  3471. Node46.a('node.points',Node46compspts);
  3472. Node46.a('node.segments',[1,2]);
  3473. Node46.a('node.color','rgba(255,0,255,1)');
  3474. Node46.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3475. Node46.a('node.borderColor','rgba(255,0,255,1)');
  3476. Node46.a('node.background','rgba(255,0,255,1)');
  3477. Node46.a('node.gradient','');
  3478. Node46.a('node.gradientcolor','rgba(255,0,255,1)');
  3479. Node46.a('node.endCompspts',Node46endCompspts);
  3480. Node46.a('node.startCompspts',Node46startCompspts);
  3481. (function (node, img, compspts, endCompspts, startCompspts) {
  3482. var position = node.getPosition(),
  3483. w = node.getWidth()*_ratio.ratioX,
  3484. h = node.getHeight()*_ratio.ratioY;
  3485. function resetPoints(rx, ry) {
  3486. for (var i = 0, len = compspts.length; i < len; i++) {
  3487. if (i%2 === 0) {
  3488. compspts[i]*=rx;
  3489. } else {
  3490. compspts[i]*=ry;
  3491. }
  3492. }
  3493. endCompspts[0] = compspts[compspts.length-2];
  3494. endCompspts[1] = compspts[compspts.length-1];
  3495. endCompspts[2] *= rx;
  3496. endCompspts[3] *= ry;
  3497. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3498. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3499. startCompspts[0] = compspts[0];
  3500. startCompspts[1] = compspts[1];
  3501. startCompspts[2] *= rx;
  3502. startCompspts[3] *= ry;
  3503. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3504. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3505. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3506. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3507. }
  3508. node.setSize(w, h);
  3509. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3510. node.a('node.width', w);
  3511. node.a('node.height', h);
  3512. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3513. node.borderWidth = 1;
  3514. node.a('node.borderwidth',node.borderWidth);
  3515. node._nodename = 'Node46';
  3516. node._nodeType = 'line';
  3517. zoomNodeList.push({
  3518. node: node,
  3519. attr: 'node.borderwidth'
  3520. });
  3521. var setWidth = node.setWidth,
  3522. setHeight = node.setHeight,
  3523. timer, rx = 1, ry = 1;
  3524. node.setWidth = function (width) {
  3525. var _width = this.getWidth();
  3526. rx = width / _width;
  3527. node.a('node.width', width);
  3528. setWidth.apply(this, arguments);
  3529. resetPoints(rx, 1);
  3530. }
  3531. node.setHeight = function (height) {
  3532. var _height = this.getHeight();
  3533. ry = height / _height;
  3534. node.a('node.height', height);
  3535. setHeight.apply(this, arguments);
  3536. resetPoints(1, ry);
  3537. }
  3538. })(Node46, Node46.getImage(), Node46compspts, Node46endCompspts, Node46startCompspts);
  3539. var Node47points=[930, 474,930, 504],
  3540. Node47rect=ht.Default.unionPoint([{x:930,y:474},{x:930,y:504}]),
  3541. Node47compspts=[];
  3542. _ratio = GD.getRatioWithRotation(0, ratio);
  3543. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  3544. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  3545. for(var i=0;i<Node47points.length;i++){
  3546. if(i%2==0){
  3547. Node47compspts.push(Node47points[i]-Node47rect.x);
  3548. }else{
  3549. Node47compspts.push(Node47points[i]-Node47rect.y);
  3550. }
  3551. }
  3552. var Node47ptslength=Node47compspts.length;
  3553. if (Node47rect.height === 0) {
  3554. Node47compspts[0] -= 0;
  3555. Node47compspts[Node47ptslength-2] += 0;
  3556. } else if (Node47rect.width === 0){
  3557. Node47compspts[1] -= 0;
  3558. Node47compspts[Node47ptslength-1] += 0;
  3559. } else {
  3560. Node47compspts[0] -= 0;
  3561. Node47compspts[1] -= 0;
  3562. Node47compspts[Node47ptslength-2] += 0;
  3563. Node47compspts[Node47ptslength-1] += 0;
  3564. }
  3565. Node47 = new ht.Node();
  3566. Node47.borderWidth = 1;
  3567. Node47rect.width = Node47rect.width === 0 ? 0.0001 : Node47rect.width;
  3568. Node47rect.height = Node47rect.height === 0 ? 0.0001 : Node47rect.height;
  3569. var Node47endCompspts = [Node47compspts[Node47ptslength-2],Node47compspts[Node47ptslength-1],0,0];
  3570. var Node47startCompspts = [Node47compspts[0],Node47compspts[1],0,0];
  3571. Node47.setImage(GD.getPolyLineJSON());
  3572. Node47.setPosition(Node47rect.x+Node47rect.width/2,Node47rect.y+Node47rect.height/2);
  3573. Node47.setSize(Node47rect.width,Node47rect.height);
  3574. Node47.setStyle("opacity",1);
  3575. Node47.s({'pixelPerfect':true});
  3576. Node47borderwidth=1;
  3577. Node47.setRotation(0);
  3578. dataModel.add(Node47);
  3579. Node47.a('node.points',Node47compspts);
  3580. Node47.a('node.segments',[1,2]);
  3581. Node47.a('node.color','rgba(255,0,255,1)');
  3582. Node47.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3583. Node47.a('node.borderColor','rgba(255,0,255,1)');
  3584. Node47.a('node.background','rgba(255,0,255,1)');
  3585. Node47.a('node.gradient','');
  3586. Node47.a('node.gradientcolor','rgba(255,0,255,1)');
  3587. Node47.a('node.endCompspts',Node47endCompspts);
  3588. Node47.a('node.startCompspts',Node47startCompspts);
  3589. (function (node, img, compspts, endCompspts, startCompspts) {
  3590. var position = node.getPosition(),
  3591. w = node.getWidth()*_ratio.ratioX,
  3592. h = node.getHeight()*_ratio.ratioY;
  3593. function resetPoints(rx, ry) {
  3594. for (var i = 0, len = compspts.length; i < len; i++) {
  3595. if (i%2 === 0) {
  3596. compspts[i]*=rx;
  3597. } else {
  3598. compspts[i]*=ry;
  3599. }
  3600. }
  3601. endCompspts[0] = compspts[compspts.length-2];
  3602. endCompspts[1] = compspts[compspts.length-1];
  3603. endCompspts[2] *= rx;
  3604. endCompspts[3] *= ry;
  3605. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3606. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3607. startCompspts[0] = compspts[0];
  3608. startCompspts[1] = compspts[1];
  3609. startCompspts[2] *= rx;
  3610. startCompspts[3] *= ry;
  3611. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3612. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3613. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3614. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3615. }
  3616. node.setSize(w, h);
  3617. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3618. node.a('node.width', w);
  3619. node.a('node.height', h);
  3620. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3621. node.borderWidth = 1;
  3622. node.a('node.borderwidth',node.borderWidth);
  3623. node._nodename = 'Node47';
  3624. node._nodeType = 'line';
  3625. zoomNodeList.push({
  3626. node: node,
  3627. attr: 'node.borderwidth'
  3628. });
  3629. var setWidth = node.setWidth,
  3630. setHeight = node.setHeight,
  3631. timer, rx = 1, ry = 1;
  3632. node.setWidth = function (width) {
  3633. var _width = this.getWidth();
  3634. rx = width / _width;
  3635. node.a('node.width', width);
  3636. setWidth.apply(this, arguments);
  3637. resetPoints(rx, 1);
  3638. }
  3639. node.setHeight = function (height) {
  3640. var _height = this.getHeight();
  3641. ry = height / _height;
  3642. node.a('node.height', height);
  3643. setHeight.apply(this, arguments);
  3644. resetPoints(1, ry);
  3645. }
  3646. })(Node47, Node47.getImage(), Node47compspts, Node47endCompspts, Node47startCompspts);
  3647. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3648. var Node48 = new ht.Node();
  3649. var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'left', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 42*_ratio.ratioX, Node48height = 18*_ratio.ratioY;
  3650. (function () {
  3651. if (Node48align === 'left') {
  3652. Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9;
  3653. Node48textWidth = Node48width;
  3654. Node48lineStart = 1;
  3655. } else if (Node48align === 'right') {
  3656. Node48textStart = 0;
  3657. Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2;
  3658. Node48lineStart = (Node48width - (ht.Default.getTextSize('201-1', ' '+ Node48fontSize + 'px "Arial"').width + 6)) * 0.5;
  3659. } else if (Node48align === 'center') {
  3660. Node48textStart = -3;
  3661. Node48textWidth = Node48width;
  3662. Node48lineStart = Node48width - ht.Default.getTextSize('201-1', ' '+ Node48fontSize + 'px "Arial"').width - 11;
  3663. }
  3664. })();
  3665. Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "Arial"'))
  3666. Node48.setPosition(887*ratio.ratioX, 386*ratio.ratioY);
  3667. Node48.setWidth(Node48width);
  3668. Node48.setHeight(Node48height);
  3669. Node48._nodeType = 'text';
  3670. Node48._disallowEvert = true;
  3671. Node48.setRotation(0*Math.PI/180);
  3672. Node48.a('node.width', Node48width);
  3673. Node48.a('node.height', Node48height);
  3674. Node48.a('node.rect', [0, 0, Node48width, Node48height]);
  3675. Node48.a('node.bordercolor','rgba(0,0,0,1)');
  3676. Node48.a('node.borderwidth', 0);
  3677. Node48.a('node.background','' || 'rgba(0,0,0,0)');
  3678. Node48.a('node.gradient','');
  3679. Node48.a('node.gradientcolor','');
  3680. Node48.a('node.text','201-1');
  3681. Node48.a('node.textalign','left');
  3682. Node48.a('node.textvAlign','middle');
  3683. Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]);
  3684. Node48.a('node.color','rgba(0,0,0,1)');
  3685. Node48.a('node.font',' '+ Node48fontSize + 'px "Arial"');
  3686. Node48.a('node.textvisible',true);
  3687. Node48.a('node.linefeed',false);
  3688. if (false) {
  3689. Node48.a('node.textfunc',function(g) {
  3690. g.beginPath();
  3691. var str=Node48.a('node.text') || '201-1';
  3692. var color=Node48.a('node.color') || 'rgba(0,0,0,1)';
  3693. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"left",color,' '+ Node48fontSize + 'px "Arial"', 0,g);
  3694. });
  3695. }
  3696. if (false) {
  3697. Node48.a('node.underlinepoints',[Node48lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('201-1', ' '+ Node48fontSize + 'px "Arial"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]);
  3698. Node48.a('node.underlinevisible',false);
  3699. Node48.a('node.underlineBorderWidth', 1);
  3700. }
  3701. dataModel.add(Node48);
  3702. zoomNodeList.push({
  3703. node: Node48,
  3704. borderWidth: 0,
  3705. attr: 'node.borderwidth'
  3706. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3707. var Node49 = new ht.Node();
  3708. var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 42*_ratio.ratioX, Node49height = 18*_ratio.ratioY;
  3709. (function () {
  3710. if (Node49align === 'left') {
  3711. Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
  3712. Node49textWidth = Node49width;
  3713. Node49lineStart = 1;
  3714. } else if (Node49align === 'right') {
  3715. Node49textStart = 0;
  3716. Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
  3717. Node49lineStart = (Node49width - (ht.Default.getTextSize('201', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5;
  3718. } else if (Node49align === 'center') {
  3719. Node49textStart = -3;
  3720. Node49textWidth = Node49width;
  3721. Node49lineStart = Node49width - ht.Default.getTextSize('201', ' '+ Node49fontSize + 'px "Arial"').width - 11;
  3722. }
  3723. })();
  3724. Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
  3725. Node49.setPosition(900*ratio.ratioX, 426*ratio.ratioY);
  3726. Node49.setWidth(Node49width);
  3727. Node49.setHeight(Node49height);
  3728. Node49._nodeType = 'text';
  3729. Node49._disallowEvert = true;
  3730. Node49.setRotation(0*Math.PI/180);
  3731. Node49.a('node.width', Node49width);
  3732. Node49.a('node.height', Node49height);
  3733. Node49.a('node.rect', [0, 0, Node49width, Node49height]);
  3734. Node49.a('node.bordercolor','rgba(0,0,0,1)');
  3735. Node49.a('node.borderwidth', 0);
  3736. Node49.a('node.background','' || 'rgba(0,0,0,0)');
  3737. Node49.a('node.gradient','');
  3738. Node49.a('node.gradientcolor','');
  3739. Node49.a('node.text','201');
  3740. Node49.a('node.textalign','left');
  3741. Node49.a('node.textvAlign','middle');
  3742. Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
  3743. Node49.a('node.color','rgba(0,0,0,1)');
  3744. Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"');
  3745. Node49.a('node.textvisible',true);
  3746. Node49.a('node.linefeed',false);
  3747. if (false) {
  3748. Node49.a('node.textfunc',function(g) {
  3749. g.beginPath();
  3750. var str=Node49.a('node.text') || '201';
  3751. var color=Node49.a('node.color') || 'rgba(0,0,0,1)';
  3752. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
  3753. });
  3754. }
  3755. if (false) {
  3756. Node49.a('node.underlinepoints',[Node49lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('201', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
  3757. Node49.a('node.underlinevisible',false);
  3758. Node49.a('node.underlineBorderWidth', 1);
  3759. }
  3760. dataModel.add(Node49);
  3761. zoomNodeList.push({
  3762. node: Node49,
  3763. borderWidth: 0,
  3764. attr: 'node.borderwidth'
  3765. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3766. var Node50 = new ht.Node();
  3767. var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 43*_ratio.ratioX, Node50height = 18*_ratio.ratioY;
  3768. (function () {
  3769. if (Node50align === 'left') {
  3770. Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
  3771. Node50textWidth = Node50width;
  3772. Node50lineStart = 1;
  3773. } else if (Node50align === 'right') {
  3774. Node50textStart = 0;
  3775. Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
  3776. Node50lineStart = (Node50width - (ht.Default.getTextSize('201-A', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
  3777. } else if (Node50align === 'center') {
  3778. Node50textStart = -3;
  3779. Node50textWidth = Node50width;
  3780. Node50lineStart = Node50width - ht.Default.getTextSize('201-A', ' '+ Node50fontSize + 'px "Arial"').width - 11;
  3781. }
  3782. })();
  3783. Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
  3784. Node50.setPosition(888*ratio.ratioX, 466*ratio.ratioY);
  3785. Node50.setWidth(Node50width);
  3786. Node50.setHeight(Node50height);
  3787. Node50._nodeType = 'text';
  3788. Node50._disallowEvert = true;
  3789. Node50.setRotation(0*Math.PI/180);
  3790. Node50.a('node.width', Node50width);
  3791. Node50.a('node.height', Node50height);
  3792. Node50.a('node.rect', [0, 0, Node50width, Node50height]);
  3793. Node50.a('node.bordercolor','rgba(0,0,0,1)');
  3794. Node50.a('node.borderwidth', 0);
  3795. Node50.a('node.background','' || 'rgba(0,0,0,0)');
  3796. Node50.a('node.gradient','');
  3797. Node50.a('node.gradientcolor','');
  3798. Node50.a('node.text','201-A');
  3799. Node50.a('node.textalign','left');
  3800. Node50.a('node.textvAlign','middle');
  3801. Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
  3802. Node50.a('node.color','rgba(0,0,0,1)');
  3803. Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
  3804. Node50.a('node.textvisible',true);
  3805. Node50.a('node.linefeed',false);
  3806. if (false) {
  3807. Node50.a('node.textfunc',function(g) {
  3808. g.beginPath();
  3809. var str=Node50.a('node.text') || '201-A';
  3810. var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
  3811. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
  3812. });
  3813. }
  3814. if (false) {
  3815. Node50.a('node.underlinepoints',[Node50lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('201-A', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
  3816. Node50.a('node.underlinevisible',false);
  3817. Node50.a('node.underlineBorderWidth', 1);
  3818. }
  3819. dataModel.add(Node50);
  3820. zoomNodeList.push({
  3821. node: Node50,
  3822. borderWidth: 0,
  3823. attr: 'node.borderwidth'
  3824. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3825. var Node51 = new ht.Node();
  3826. var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 58*_ratio.ratioX, Node51height = 19*_ratio.ratioY;
  3827. (function () {
  3828. if (Node51align === 'left') {
  3829. Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
  3830. Node51textWidth = Node51width;
  3831. Node51lineStart = 1;
  3832. } else if (Node51align === 'right') {
  3833. Node51textStart = 0;
  3834. Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
  3835. Node51lineStart = (Node51width - (ht.Default.getTextSize('201-线0', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
  3836. } else if (Node51align === 'center') {
  3837. Node51textStart = -3;
  3838. Node51textWidth = Node51width;
  3839. Node51lineStart = Node51width - ht.Default.getTextSize('201-线0', ' '+ Node51fontSize + 'px "Arial"').width - 11;
  3840. }
  3841. })();
  3842. Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"'))
  3843. Node51.setPosition(1048*ratio.ratioX, 422*ratio.ratioY);
  3844. Node51.setWidth(Node51width);
  3845. Node51.setHeight(Node51height);
  3846. Node51._nodeType = 'text';
  3847. Node51._disallowEvert = true;
  3848. Node51.setRotation(0*Math.PI/180);
  3849. Node51.a('node.width', Node51width);
  3850. Node51.a('node.height', Node51height);
  3851. Node51.a('node.rect', [0, 0, Node51width, Node51height]);
  3852. Node51.a('node.bordercolor','rgba(0,0,0,1)');
  3853. Node51.a('node.borderwidth', 0);
  3854. Node51.a('node.background','' || 'rgba(0,0,0,0)');
  3855. Node51.a('node.gradient','');
  3856. Node51.a('node.gradientcolor','');
  3857. Node51.a('node.text','201-线0');
  3858. Node51.a('node.textalign','left');
  3859. Node51.a('node.textvAlign','middle');
  3860. Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
  3861. Node51.a('node.color','rgba(0,0,0,1)');
  3862. Node51.a('node.font',' '+ Node51fontSize + 'px "Arial"');
  3863. Node51.a('node.textvisible',true);
  3864. Node51.a('node.linefeed',false);
  3865. if (false) {
  3866. Node51.a('node.textfunc',function(g) {
  3867. g.beginPath();
  3868. var str=Node51.a('node.text') || '201-线0';
  3869. var color=Node51.a('node.color') || 'rgba(0,0,0,1)';
  3870. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"left",color,' '+ Node51fontSize + 'px "Arial"', 0,g);
  3871. });
  3872. }
  3873. if (false) {
  3874. Node51.a('node.underlinepoints',[Node51lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('201-线0', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
  3875. Node51.a('node.underlinevisible',false);
  3876. Node51.a('node.underlineBorderWidth', 1);
  3877. }
  3878. dataModel.add(Node51);
  3879. zoomNodeList.push({
  3880. node: Node51,
  3881. borderWidth: 0,
  3882. attr: 'node.borderwidth'
  3883. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3884. var Node52 = new ht.Node();
  3885. var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'left', Node52fontSize = 13.3333*_ratio.ratioY,Node52width = 50*_ratio.ratioX, Node52height = 19*_ratio.ratioY;
  3886. (function () {
  3887. if (Node52align === 'left') {
  3888. Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9;
  3889. Node52textWidth = Node52width;
  3890. Node52lineStart = 1;
  3891. } else if (Node52align === 'right') {
  3892. Node52textStart = 0;
  3893. Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2;
  3894. Node52lineStart = (Node52width - (ht.Default.getTextSize('201-10', ' '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5;
  3895. } else if (Node52align === 'center') {
  3896. Node52textStart = -3;
  3897. Node52textWidth = Node52width;
  3898. Node52lineStart = Node52width - ht.Default.getTextSize('201-10', ' '+ Node52fontSize + 'px "Arial"').width - 11;
  3899. }
  3900. })();
  3901. Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, ' '+ Node52fontSize + 'px "Arial"'))
  3902. Node52.setPosition(1044*ratio.ratioX, 463*ratio.ratioY);
  3903. Node52.setWidth(Node52width);
  3904. Node52.setHeight(Node52height);
  3905. Node52._nodeType = 'text';
  3906. Node52._disallowEvert = true;
  3907. Node52.setRotation(0*Math.PI/180);
  3908. Node52.a('node.width', Node52width);
  3909. Node52.a('node.height', Node52height);
  3910. Node52.a('node.rect', [0, 0, Node52width, Node52height]);
  3911. Node52.a('node.bordercolor','rgba(0,0,0,1)');
  3912. Node52.a('node.borderwidth', 0);
  3913. Node52.a('node.background','' || 'rgba(0,0,0,0)');
  3914. Node52.a('node.gradient','');
  3915. Node52.a('node.gradientcolor','');
  3916. Node52.a('node.text','201-10');
  3917. Node52.a('node.textalign','left');
  3918. Node52.a('node.textvAlign','middle');
  3919. Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]);
  3920. Node52.a('node.color','rgba(0,0,0,1)');
  3921. Node52.a('node.font',' '+ Node52fontSize + 'px "Arial"');
  3922. Node52.a('node.textvisible',true);
  3923. Node52.a('node.linefeed',false);
  3924. if (false) {
  3925. Node52.a('node.textfunc',function(g) {
  3926. g.beginPath();
  3927. var str=Node52.a('node.text') || '201-10';
  3928. var color=Node52.a('node.color') || 'rgba(0,0,0,1)';
  3929. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node52width,Node52height,13.3333*_ratio.ratioY,"left",color,' '+ Node52fontSize + 'px "Arial"', 0,g);
  3930. });
  3931. }
  3932. if (false) {
  3933. Node52.a('node.underlinepoints',[Node52lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('201-10', ' '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]);
  3934. Node52.a('node.underlinevisible',false);
  3935. Node52.a('node.underlineBorderWidth', 1);
  3936. }
  3937. dataModel.add(Node52);
  3938. zoomNodeList.push({
  3939. node: Node52,
  3940. borderWidth: 0,
  3941. attr: 'node.borderwidth'
  3942. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3943. var Node53 = new ht.Node();
  3944. var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 13.3333*_ratio.ratioY,Node53width = 52*_ratio.ratioX, Node53height = 19*_ratio.ratioY;
  3945. (function () {
  3946. if (Node53align === 'left') {
  3947. Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9;
  3948. Node53textWidth = Node53width;
  3949. Node53lineStart = 1;
  3950. } else if (Node53align === 'right') {
  3951. Node53textStart = 0;
  3952. Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2;
  3953. Node53lineStart = (Node53width - (ht.Default.getTextSize('201-A0', ' '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
  3954. } else if (Node53align === 'center') {
  3955. Node53textStart = -3;
  3956. Node53textWidth = Node53width;
  3957. Node53lineStart = Node53width - ht.Default.getTextSize('201-A0', ' '+ Node53fontSize + 'px "Arial"').width - 11;
  3958. }
  3959. })();
  3960. Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, ' '+ Node53fontSize + 'px "Arial"'))
  3961. Node53.setPosition(1045*ratio.ratioX, 503*ratio.ratioY);
  3962. Node53.setWidth(Node53width);
  3963. Node53.setHeight(Node53height);
  3964. Node53._nodeType = 'text';
  3965. Node53._disallowEvert = true;
  3966. Node53.setRotation(0*Math.PI/180);
  3967. Node53.a('node.width', Node53width);
  3968. Node53.a('node.height', Node53height);
  3969. Node53.a('node.rect', [0, 0, Node53width, Node53height]);
  3970. Node53.a('node.bordercolor','rgba(0,0,0,1)');
  3971. Node53.a('node.borderwidth', 0);
  3972. Node53.a('node.background','' || 'rgba(0,0,0,0)');
  3973. Node53.a('node.gradient','');
  3974. Node53.a('node.gradientcolor','');
  3975. Node53.a('node.text','201-A0');
  3976. Node53.a('node.textalign','left');
  3977. Node53.a('node.textvAlign','middle');
  3978. Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
  3979. Node53.a('node.color','rgba(0,0,0,1)');
  3980. Node53.a('node.font',' '+ Node53fontSize + 'px "Arial"');
  3981. Node53.a('node.textvisible',true);
  3982. Node53.a('node.linefeed',false);
  3983. if (false) {
  3984. Node53.a('node.textfunc',function(g) {
  3985. g.beginPath();
  3986. var str=Node53.a('node.text') || '201-A0';
  3987. var color=Node53.a('node.color') || 'rgba(0,0,0,1)';
  3988. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,' '+ Node53fontSize + 'px "Arial"', 0,g);
  3989. });
  3990. }
  3991. if (false) {
  3992. Node53.a('node.underlinepoints',[Node53lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('201-A0', ' '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
  3993. Node53.a('node.underlinevisible',false);
  3994. Node53.a('node.underlineBorderWidth', 1);
  3995. }
  3996. dataModel.add(Node53);
  3997. zoomNodeList.push({
  3998. node: Node53,
  3999. borderWidth: 0,
  4000. attr: 'node.borderwidth'
  4001. }); var Node54points=[930, 216,930, 246],
  4002. Node54rect=ht.Default.unionPoint([{x:930,y:216},{x:930,y:246}]),
  4003. Node54compspts=[];
  4004. _ratio = GD.getRatioWithRotation(0, ratio);
  4005. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  4006. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  4007. for(var i=0;i<Node54points.length;i++){
  4008. if(i%2==0){
  4009. Node54compspts.push(Node54points[i]-Node54rect.x);
  4010. }else{
  4011. Node54compspts.push(Node54points[i]-Node54rect.y);
  4012. }
  4013. }
  4014. var Node54ptslength=Node54compspts.length;
  4015. if (Node54rect.height === 0) {
  4016. Node54compspts[0] -= 0;
  4017. Node54compspts[Node54ptslength-2] += 0;
  4018. } else if (Node54rect.width === 0){
  4019. Node54compspts[1] -= 0;
  4020. Node54compspts[Node54ptslength-1] += 0;
  4021. } else {
  4022. Node54compspts[0] -= 0;
  4023. Node54compspts[1] -= 0;
  4024. Node54compspts[Node54ptslength-2] += 0;
  4025. Node54compspts[Node54ptslength-1] += 0;
  4026. }
  4027. Node54 = new ht.Node();
  4028. Node54.borderWidth = 1;
  4029. Node54rect.width = Node54rect.width === 0 ? 0.0001 : Node54rect.width;
  4030. Node54rect.height = Node54rect.height === 0 ? 0.0001 : Node54rect.height;
  4031. var Node54endCompspts = [Node54compspts[Node54ptslength-2],Node54compspts[Node54ptslength-1],0,0];
  4032. var Node54startCompspts = [Node54compspts[0],Node54compspts[1],0,0];
  4033. Node54.setImage(GD.getPolyLineJSON());
  4034. Node54.setPosition(Node54rect.x+Node54rect.width/2,Node54rect.y+Node54rect.height/2);
  4035. Node54.setSize(Node54rect.width,Node54rect.height);
  4036. Node54.setStyle("opacity",1);
  4037. Node54.s({'pixelPerfect':true});
  4038. Node54borderwidth=1;
  4039. Node54.setRotation(0);
  4040. dataModel.add(Node54);
  4041. Node54.a('node.points',Node54compspts);
  4042. Node54.a('node.segments',[1,2]);
  4043. Node54.a('node.color','rgba(255,0,255,1)');
  4044. Node54.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4045. Node54.a('node.borderColor','rgba(255,0,255,1)');
  4046. Node54.a('node.background','rgba(255,0,255,1)');
  4047. Node54.a('node.gradient','');
  4048. Node54.a('node.gradientcolor','rgba(255,0,255,1)');
  4049. Node54.a('node.endCompspts',Node54endCompspts);
  4050. Node54.a('node.startCompspts',Node54startCompspts);
  4051. (function (node, img, compspts, endCompspts, startCompspts) {
  4052. var position = node.getPosition(),
  4053. w = node.getWidth()*_ratio.ratioX,
  4054. h = node.getHeight()*_ratio.ratioY;
  4055. function resetPoints(rx, ry) {
  4056. for (var i = 0, len = compspts.length; i < len; i++) {
  4057. if (i%2 === 0) {
  4058. compspts[i]*=rx;
  4059. } else {
  4060. compspts[i]*=ry;
  4061. }
  4062. }
  4063. endCompspts[0] = compspts[compspts.length-2];
  4064. endCompspts[1] = compspts[compspts.length-1];
  4065. endCompspts[2] *= rx;
  4066. endCompspts[3] *= ry;
  4067. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4068. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4069. startCompspts[0] = compspts[0];
  4070. startCompspts[1] = compspts[1];
  4071. startCompspts[2] *= rx;
  4072. startCompspts[3] *= ry;
  4073. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4074. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4075. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4076. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4077. }
  4078. node.setSize(w, h);
  4079. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4080. node.a('node.width', w);
  4081. node.a('node.height', h);
  4082. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4083. node.borderWidth = 1;
  4084. node.a('node.borderwidth',node.borderWidth);
  4085. node._nodename = 'Node54';
  4086. node._nodeType = 'line';
  4087. zoomNodeList.push({
  4088. node: node,
  4089. attr: 'node.borderwidth'
  4090. });
  4091. var setWidth = node.setWidth,
  4092. setHeight = node.setHeight,
  4093. timer, rx = 1, ry = 1;
  4094. node.setWidth = function (width) {
  4095. var _width = this.getWidth();
  4096. rx = width / _width;
  4097. node.a('node.width', width);
  4098. setWidth.apply(this, arguments);
  4099. resetPoints(rx, 1);
  4100. }
  4101. node.setHeight = function (height) {
  4102. var _height = this.getHeight();
  4103. ry = height / _height;
  4104. node.a('node.height', height);
  4105. setHeight.apply(this, arguments);
  4106. resetPoints(1, ry);
  4107. }
  4108. })(Node54, Node54.getImage(), Node54compspts, Node54endCompspts, Node54startCompspts);
  4109. var Node55rect=ht.Default.unionPoint([{x: 926, y: 212},{x: 926, y: 212},{x: 937, y: 212},{x: 931, y: 221}]),
  4110. Node55points=[926,212,926,212,937,212,931,221],
  4111. Node55compsPoints=[],
  4112. Node55SetPoints = [{x: 926, y: 212},{x: 926, y: 212},{x: 937, y: 212},{x: 931, y: 221}],
  4113. Node55setSegments = [1,2,2,2];
  4114. _ratio = GD.getRatioWithRotation(3.141593, ratio);
  4115. for(var i=0;i<Node55points.length;i++){
  4116. if(i%2==0){
  4117. Node55compsPoints.push(Node55points[i]-Node55rect.x);
  4118. }else{
  4119. Node55compsPoints.push(Node55points[i]-Node55rect.y);
  4120. }
  4121. }
  4122. var Node55 = new ht.Node();
  4123. Node55.setImage(GD.getPolyGonJSON());
  4124. Node55.setPosition(Node55rect.x + Node55rect.width/2, Node55rect.y + Node55rect.height/2);
  4125. Node55.setSize(Node55rect.width, Node55rect.height);
  4126. Node55.setRotation(3.141593);
  4127. Node55.borderWidth=0;
  4128. Node55.borderFillwidth=0*2;
  4129. Node55.s({'pixelPerfect':true});
  4130. dataModel.add(Node55);
  4131. // Node55.a('node.width', Node55rect.width*_ratio.ratioX);
  4132. // Node55.a('node.height', Node55rect.height*_ratio.ratioY);
  4133. Node55.a('node.clip', function(g,width,height,data) {
  4134. var clippoints = Node55SetPoints;
  4135. if(clippoints.length<=3) return;
  4136. if(Node55.a('Node55.isFill')=="false") return;
  4137. var clipcompsPoints=[];
  4138. var rect = ht.Default.unionPoint(clippoints);
  4139. for(var i=0;i<clippoints.length;i++){
  4140. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  4141. }
  4142. var clipsegments=Node55setSegments;
  4143. g.beginPath();
  4144. drawPoints(g,clipcompsPoints,clipsegments);
  4145. g.clip();
  4146. })
  4147. Node55.a('node.type', 'shape');
  4148. Node55.a('node.comsPoints', Node55compsPoints);
  4149. Node55.a('node.closePath', true);
  4150. Node55.a('node.borderwidth', 0);
  4151. Node55.a('node.color', 'rgba(0,0,0,0)');
  4152. Node55.a('node.background','rgba(255,0,255,1)');
  4153. Node55.a('node.closePath', true);
  4154. Node55.a('node.closePath', true);
  4155. Node55.a('node.gradient','');
  4156. Node55.a('node.gradientcolor','rgba(255,0,255,1)');
  4157. Node55.a('node.isFill','false');
  4158. Node55.a('node.original',[0,0,0,0]);
  4159. Node55.a('node.fillrect',[0,0,0,0]);
  4160. Node55.a('node.fillbackcolor','rgba(255,0,255,1)');
  4161. Node55.a('node.fillgradient','');
  4162. Node55.a('node.fillgradientcolor','rgba(255,0,255,1)');
  4163. Node55.a('node.segments',Node55setSegments);
  4164. Node55.a('node.borderPattern',"");
  4165. (function (node, nodecompsPoints, setPoints) {
  4166. var w = node.getWidth()*_ratio.ratioX,
  4167. h = node.getHeight()*_ratio.ratioY,
  4168. img = node.getImage();
  4169. function resetPoints(rx, ry) {
  4170. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  4171. if (i%2 === 0) {
  4172. nodecompsPoints[i]*=rx;
  4173. } else {
  4174. nodecompsPoints[i]*=ry;
  4175. }
  4176. if (setPoints[i]) {
  4177. setPoints[i].x *= rx;
  4178. setPoints[i].y *= ry;
  4179. }
  4180. }
  4181. }
  4182. node.setSize(w, h);
  4183. node.a('node.width', w);
  4184. node.a('node.height', h);
  4185. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4186. var position = node.getPosition();
  4187. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4188. node._nodename = 'Node55';
  4189. node._nodeType = 'polygon';
  4190. zoomNodeList.push({
  4191. node: node,
  4192. attr: 'node.borderwidth'
  4193. });
  4194. // 重载setWidth, setHeight
  4195. var setWidth = node.setWidth,
  4196. setHeight = node.setHeight,
  4197. timer, rx = 1, ry = 1;
  4198. node.setWidth = function (width) {
  4199. var _width = this.getWidth();
  4200. rx = width / _width;
  4201. node.a('node.width', width);
  4202. setWidth.apply(this, arguments);
  4203. resetPoints(rx, 1);
  4204. }
  4205. node.setHeight = function (height) {
  4206. var _height = this.getHeight();
  4207. ry = height / _height;
  4208. node.a('node.height', height);
  4209. setHeight.apply(this, arguments);
  4210. resetPoints(1, ry);
  4211. }
  4212. })(Node55, Node55compsPoints, Node55SetPoints );
  4213. var Node56points=[930, 265,930, 285],
  4214. Node56rect=ht.Default.unionPoint([{x:930,y:265},{x:930,y:285}]),
  4215. Node56compspts=[];
  4216. _ratio = GD.getRatioWithRotation(0, ratio);
  4217. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  4218. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  4219. for(var i=0;i<Node56points.length;i++){
  4220. if(i%2==0){
  4221. Node56compspts.push(Node56points[i]-Node56rect.x);
  4222. }else{
  4223. Node56compspts.push(Node56points[i]-Node56rect.y);
  4224. }
  4225. }
  4226. var Node56ptslength=Node56compspts.length;
  4227. if (Node56rect.height === 0) {
  4228. Node56compspts[0] -= 0;
  4229. Node56compspts[Node56ptslength-2] += 0;
  4230. } else if (Node56rect.width === 0){
  4231. Node56compspts[1] -= 0;
  4232. Node56compspts[Node56ptslength-1] += 0;
  4233. } else {
  4234. Node56compspts[0] -= 0;
  4235. Node56compspts[1] -= 0;
  4236. Node56compspts[Node56ptslength-2] += 0;
  4237. Node56compspts[Node56ptslength-1] += 0;
  4238. }
  4239. Node56 = new ht.Node();
  4240. Node56.borderWidth = 1;
  4241. Node56rect.width = Node56rect.width === 0 ? 0.0001 : Node56rect.width;
  4242. Node56rect.height = Node56rect.height === 0 ? 0.0001 : Node56rect.height;
  4243. var Node56endCompspts = [Node56compspts[Node56ptslength-2],Node56compspts[Node56ptslength-1],0,0];
  4244. var Node56startCompspts = [Node56compspts[0],Node56compspts[1],0,0];
  4245. Node56.setImage(GD.getPolyLineJSON());
  4246. Node56.setPosition(Node56rect.x+Node56rect.width/2,Node56rect.y+Node56rect.height/2);
  4247. Node56.setSize(Node56rect.width,Node56rect.height);
  4248. Node56.setStyle("opacity",1);
  4249. Node56.s({'pixelPerfect':true});
  4250. Node56borderwidth=1;
  4251. Node56.setRotation(0);
  4252. dataModel.add(Node56);
  4253. Node56.a('node.points',Node56compspts);
  4254. Node56.a('node.segments',[1,2]);
  4255. Node56.a('node.color','rgba(255,0,255,1)');
  4256. Node56.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4257. Node56.a('node.borderColor','rgba(255,0,255,1)');
  4258. Node56.a('node.background','rgba(255,0,255,1)');
  4259. Node56.a('node.gradient','');
  4260. Node56.a('node.gradientcolor','rgba(255,0,255,1)');
  4261. Node56.a('node.endCompspts',Node56endCompspts);
  4262. Node56.a('node.startCompspts',Node56startCompspts);
  4263. (function (node, img, compspts, endCompspts, startCompspts) {
  4264. var position = node.getPosition(),
  4265. w = node.getWidth()*_ratio.ratioX,
  4266. h = node.getHeight()*_ratio.ratioY;
  4267. function resetPoints(rx, ry) {
  4268. for (var i = 0, len = compspts.length; i < len; i++) {
  4269. if (i%2 === 0) {
  4270. compspts[i]*=rx;
  4271. } else {
  4272. compspts[i]*=ry;
  4273. }
  4274. }
  4275. endCompspts[0] = compspts[compspts.length-2];
  4276. endCompspts[1] = compspts[compspts.length-1];
  4277. endCompspts[2] *= rx;
  4278. endCompspts[3] *= ry;
  4279. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4280. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4281. startCompspts[0] = compspts[0];
  4282. startCompspts[1] = compspts[1];
  4283. startCompspts[2] *= rx;
  4284. startCompspts[3] *= ry;
  4285. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4286. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4287. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4288. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4289. }
  4290. node.setSize(w, h);
  4291. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4292. node.a('node.width', w);
  4293. node.a('node.height', h);
  4294. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4295. node.borderWidth = 1;
  4296. node.a('node.borderwidth',node.borderWidth);
  4297. node._nodename = 'Node56';
  4298. node._nodeType = 'line';
  4299. zoomNodeList.push({
  4300. node: node,
  4301. attr: 'node.borderwidth'
  4302. });
  4303. var setWidth = node.setWidth,
  4304. setHeight = node.setHeight,
  4305. timer, rx = 1, ry = 1;
  4306. node.setWidth = function (width) {
  4307. var _width = this.getWidth();
  4308. rx = width / _width;
  4309. node.a('node.width', width);
  4310. setWidth.apply(this, arguments);
  4311. resetPoints(rx, 1);
  4312. }
  4313. node.setHeight = function (height) {
  4314. var _height = this.getHeight();
  4315. ry = height / _height;
  4316. node.a('node.height', height);
  4317. setHeight.apply(this, arguments);
  4318. resetPoints(1, ry);
  4319. }
  4320. })(Node56, Node56.getImage(), Node56compspts, Node56endCompspts, Node56startCompspts);
  4321. var Node57points=[930, 306,930, 325],
  4322. Node57rect=ht.Default.unionPoint([{x:930,y:306},{x:930,y:325}]),
  4323. Node57compspts=[];
  4324. _ratio = GD.getRatioWithRotation(0, ratio);
  4325. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  4326. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  4327. for(var i=0;i<Node57points.length;i++){
  4328. if(i%2==0){
  4329. Node57compspts.push(Node57points[i]-Node57rect.x);
  4330. }else{
  4331. Node57compspts.push(Node57points[i]-Node57rect.y);
  4332. }
  4333. }
  4334. var Node57ptslength=Node57compspts.length;
  4335. if (Node57rect.height === 0) {
  4336. Node57compspts[0] -= 0;
  4337. Node57compspts[Node57ptslength-2] += 0;
  4338. } else if (Node57rect.width === 0){
  4339. Node57compspts[1] -= 0;
  4340. Node57compspts[Node57ptslength-1] += 0;
  4341. } else {
  4342. Node57compspts[0] -= 0;
  4343. Node57compspts[1] -= 0;
  4344. Node57compspts[Node57ptslength-2] += 0;
  4345. Node57compspts[Node57ptslength-1] += 0;
  4346. }
  4347. Node57 = new ht.Node();
  4348. Node57.borderWidth = 1;
  4349. Node57rect.width = Node57rect.width === 0 ? 0.0001 : Node57rect.width;
  4350. Node57rect.height = Node57rect.height === 0 ? 0.0001 : Node57rect.height;
  4351. var Node57endCompspts = [Node57compspts[Node57ptslength-2],Node57compspts[Node57ptslength-1],0,0];
  4352. var Node57startCompspts = [Node57compspts[0],Node57compspts[1],0,0];
  4353. Node57.setImage(GD.getPolyLineJSON());
  4354. Node57.setPosition(Node57rect.x+Node57rect.width/2,Node57rect.y+Node57rect.height/2);
  4355. Node57.setSize(Node57rect.width,Node57rect.height);
  4356. Node57.setStyle("opacity",1);
  4357. Node57.s({'pixelPerfect':true});
  4358. Node57borderwidth=1;
  4359. Node57.setRotation(0);
  4360. dataModel.add(Node57);
  4361. Node57.a('node.points',Node57compspts);
  4362. Node57.a('node.segments',[1,2]);
  4363. Node57.a('node.color','rgba(255,0,255,1)');
  4364. Node57.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4365. Node57.a('node.borderColor','rgba(255,0,255,1)');
  4366. Node57.a('node.background','rgba(255,0,255,1)');
  4367. Node57.a('node.gradient','');
  4368. Node57.a('node.gradientcolor','rgba(255,0,255,1)');
  4369. Node57.a('node.endCompspts',Node57endCompspts);
  4370. Node57.a('node.startCompspts',Node57startCompspts);
  4371. (function (node, img, compspts, endCompspts, startCompspts) {
  4372. var position = node.getPosition(),
  4373. w = node.getWidth()*_ratio.ratioX,
  4374. h = node.getHeight()*_ratio.ratioY;
  4375. function resetPoints(rx, ry) {
  4376. for (var i = 0, len = compspts.length; i < len; i++) {
  4377. if (i%2 === 0) {
  4378. compspts[i]*=rx;
  4379. } else {
  4380. compspts[i]*=ry;
  4381. }
  4382. }
  4383. endCompspts[0] = compspts[compspts.length-2];
  4384. endCompspts[1] = compspts[compspts.length-1];
  4385. endCompspts[2] *= rx;
  4386. endCompspts[3] *= ry;
  4387. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4388. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4389. startCompspts[0] = compspts[0];
  4390. startCompspts[1] = compspts[1];
  4391. startCompspts[2] *= rx;
  4392. startCompspts[3] *= ry;
  4393. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4394. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4395. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4396. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4397. }
  4398. node.setSize(w, h);
  4399. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4400. node.a('node.width', w);
  4401. node.a('node.height', h);
  4402. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4403. node.borderWidth = 1;
  4404. node.a('node.borderwidth',node.borderWidth);
  4405. node._nodename = 'Node57';
  4406. node._nodeType = 'line';
  4407. zoomNodeList.push({
  4408. node: node,
  4409. attr: 'node.borderwidth'
  4410. });
  4411. var setWidth = node.setWidth,
  4412. setHeight = node.setHeight,
  4413. timer, rx = 1, ry = 1;
  4414. node.setWidth = function (width) {
  4415. var _width = this.getWidth();
  4416. rx = width / _width;
  4417. node.a('node.width', width);
  4418. setWidth.apply(this, arguments);
  4419. resetPoints(rx, 1);
  4420. }
  4421. node.setHeight = function (height) {
  4422. var _height = this.getHeight();
  4423. ry = height / _height;
  4424. node.a('node.height', height);
  4425. setHeight.apply(this, arguments);
  4426. resetPoints(1, ry);
  4427. }
  4428. })(Node57, Node57.getImage(), Node57compspts, Node57endCompspts, Node57startCompspts);
  4429. var Node58points=[930, 343,930, 362],
  4430. Node58rect=ht.Default.unionPoint([{x:930,y:343},{x:930,y:362}]),
  4431. Node58compspts=[];
  4432. _ratio = GD.getRatioWithRotation(0, ratio);
  4433. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  4434. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  4435. for(var i=0;i<Node58points.length;i++){
  4436. if(i%2==0){
  4437. Node58compspts.push(Node58points[i]-Node58rect.x);
  4438. }else{
  4439. Node58compspts.push(Node58points[i]-Node58rect.y);
  4440. }
  4441. }
  4442. var Node58ptslength=Node58compspts.length;
  4443. if (Node58rect.height === 0) {
  4444. Node58compspts[0] -= 0;
  4445. Node58compspts[Node58ptslength-2] += 0;
  4446. } else if (Node58rect.width === 0){
  4447. Node58compspts[1] -= 0;
  4448. Node58compspts[Node58ptslength-1] += 0;
  4449. } else {
  4450. Node58compspts[0] -= 0;
  4451. Node58compspts[1] -= 0;
  4452. Node58compspts[Node58ptslength-2] += 0;
  4453. Node58compspts[Node58ptslength-1] += 0;
  4454. }
  4455. Node58 = new ht.Node();
  4456. Node58.borderWidth = 1;
  4457. Node58rect.width = Node58rect.width === 0 ? 0.0001 : Node58rect.width;
  4458. Node58rect.height = Node58rect.height === 0 ? 0.0001 : Node58rect.height;
  4459. var Node58endCompspts = [Node58compspts[Node58ptslength-2],Node58compspts[Node58ptslength-1],0,0];
  4460. var Node58startCompspts = [Node58compspts[0],Node58compspts[1],0,0];
  4461. Node58.setImage(GD.getPolyLineJSON());
  4462. Node58.setPosition(Node58rect.x+Node58rect.width/2,Node58rect.y+Node58rect.height/2);
  4463. Node58.setSize(Node58rect.width,Node58rect.height);
  4464. Node58.setStyle("opacity",1);
  4465. Node58.s({'pixelPerfect':true});
  4466. Node58borderwidth=1;
  4467. Node58.setRotation(0);
  4468. dataModel.add(Node58);
  4469. Node58.a('node.points',Node58compspts);
  4470. Node58.a('node.segments',[1,2]);
  4471. Node58.a('node.color','rgba(255,0,255,1)');
  4472. Node58.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4473. Node58.a('node.borderColor','rgba(255,0,255,1)');
  4474. Node58.a('node.background','rgba(255,0,255,1)');
  4475. Node58.a('node.gradient','');
  4476. Node58.a('node.gradientcolor','rgba(255,0,255,1)');
  4477. Node58.a('node.endCompspts',Node58endCompspts);
  4478. Node58.a('node.startCompspts',Node58startCompspts);
  4479. (function (node, img, compspts, endCompspts, startCompspts) {
  4480. var position = node.getPosition(),
  4481. w = node.getWidth()*_ratio.ratioX,
  4482. h = node.getHeight()*_ratio.ratioY;
  4483. function resetPoints(rx, ry) {
  4484. for (var i = 0, len = compspts.length; i < len; i++) {
  4485. if (i%2 === 0) {
  4486. compspts[i]*=rx;
  4487. } else {
  4488. compspts[i]*=ry;
  4489. }
  4490. }
  4491. endCompspts[0] = compspts[compspts.length-2];
  4492. endCompspts[1] = compspts[compspts.length-1];
  4493. endCompspts[2] *= rx;
  4494. endCompspts[3] *= ry;
  4495. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4496. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4497. startCompspts[0] = compspts[0];
  4498. startCompspts[1] = compspts[1];
  4499. startCompspts[2] *= rx;
  4500. startCompspts[3] *= ry;
  4501. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4502. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4503. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4504. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4505. }
  4506. node.setSize(w, h);
  4507. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4508. node.a('node.width', w);
  4509. node.a('node.height', h);
  4510. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4511. node.borderWidth = 1;
  4512. node.a('node.borderwidth',node.borderWidth);
  4513. node._nodename = 'Node58';
  4514. node._nodeType = 'line';
  4515. zoomNodeList.push({
  4516. node: node,
  4517. attr: 'node.borderwidth'
  4518. });
  4519. var setWidth = node.setWidth,
  4520. setHeight = node.setHeight,
  4521. timer, rx = 1, ry = 1;
  4522. node.setWidth = function (width) {
  4523. var _width = this.getWidth();
  4524. rx = width / _width;
  4525. node.a('node.width', width);
  4526. setWidth.apply(this, arguments);
  4527. resetPoints(rx, 1);
  4528. }
  4529. node.setHeight = function (height) {
  4530. var _height = this.getHeight();
  4531. ry = height / _height;
  4532. node.a('node.height', height);
  4533. setHeight.apply(this, arguments);
  4534. resetPoints(1, ry);
  4535. }
  4536. })(Node58, Node58.getImage(), Node58compspts, Node58endCompspts, Node58startCompspts);
  4537. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4538. var Node59 = new ht.Node();
  4539. var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 42*_ratio.ratioX, Node59height = 18*_ratio.ratioY;
  4540. (function () {
  4541. if (Node59align === 'left') {
  4542. Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
  4543. Node59textWidth = Node59width;
  4544. Node59lineStart = 1;
  4545. } else if (Node59align === 'right') {
  4546. Node59textStart = 0;
  4547. Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
  4548. Node59lineStart = (Node59width - (ht.Default.getTextSize('222-1', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
  4549. } else if (Node59align === 'center') {
  4550. Node59textStart = -3;
  4551. Node59textWidth = Node59width;
  4552. Node59lineStart = Node59width - ht.Default.getTextSize('222-1', ' '+ Node59fontSize + 'px "Arial"').width - 11;
  4553. }
  4554. })();
  4555. Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"'))
  4556. Node59.setPosition(887*ratio.ratioX, 255*ratio.ratioY);
  4557. Node59.setWidth(Node59width);
  4558. Node59.setHeight(Node59height);
  4559. Node59._nodeType = 'text';
  4560. Node59._disallowEvert = true;
  4561. Node59.setRotation(0*Math.PI/180);
  4562. Node59.a('node.width', Node59width);
  4563. Node59.a('node.height', Node59height);
  4564. Node59.a('node.rect', [0, 0, Node59width, Node59height]);
  4565. Node59.a('node.bordercolor','rgba(0,0,0,1)');
  4566. Node59.a('node.borderwidth', 0);
  4567. Node59.a('node.background','' || 'rgba(0,0,0,0)');
  4568. Node59.a('node.gradient','');
  4569. Node59.a('node.gradientcolor','');
  4570. Node59.a('node.text','222-1');
  4571. Node59.a('node.textalign','left');
  4572. Node59.a('node.textvAlign','middle');
  4573. Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
  4574. Node59.a('node.color','rgba(0,0,0,1)');
  4575. Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"');
  4576. Node59.a('node.textvisible',true);
  4577. Node59.a('node.linefeed',false);
  4578. if (false) {
  4579. Node59.a('node.textfunc',function(g) {
  4580. g.beginPath();
  4581. var str=Node59.a('node.text') || '222-1';
  4582. var color=Node59.a('node.color') || 'rgba(0,0,0,1)';
  4583. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "Arial"', 0,g);
  4584. });
  4585. }
  4586. if (false) {
  4587. Node59.a('node.underlinepoints',[Node59lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('222-1', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
  4588. Node59.a('node.underlinevisible',false);
  4589. Node59.a('node.underlineBorderWidth', 1);
  4590. }
  4591. dataModel.add(Node59);
  4592. zoomNodeList.push({
  4593. node: Node59,
  4594. borderWidth: 0,
  4595. attr: 'node.borderwidth'
  4596. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4597. var Node60 = new ht.Node();
  4598. var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 43*_ratio.ratioX, Node60height = 30*_ratio.ratioY;
  4599. (function () {
  4600. if (Node60align === 'left') {
  4601. Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
  4602. Node60textWidth = Node60width;
  4603. Node60lineStart = 1;
  4604. } else if (Node60align === 'right') {
  4605. Node60textStart = 0;
  4606. Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
  4607. Node60lineStart = (Node60width - (ht.Default.getTextSize('222', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
  4608. } else if (Node60align === 'center') {
  4609. Node60textStart = -3;
  4610. Node60textWidth = Node60width;
  4611. Node60lineStart = Node60width - ht.Default.getTextSize('222', ' '+ Node60fontSize + 'px "Arial"').width - 11;
  4612. }
  4613. })();
  4614. Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
  4615. Node60.setPosition(901*ratio.ratioX, 292*ratio.ratioY);
  4616. Node60.setWidth(Node60width);
  4617. Node60.setHeight(Node60height);
  4618. Node60._nodeType = 'text';
  4619. Node60._disallowEvert = true;
  4620. Node60.setRotation(0*Math.PI/180);
  4621. Node60.a('node.width', Node60width);
  4622. Node60.a('node.height', Node60height);
  4623. Node60.a('node.rect', [0, 0, Node60width, Node60height]);
  4624. Node60.a('node.bordercolor','rgba(0,0,0,1)');
  4625. Node60.a('node.borderwidth', 0);
  4626. Node60.a('node.background','' || 'rgba(0,0,0,0)');
  4627. Node60.a('node.gradient','');
  4628. Node60.a('node.gradientcolor','');
  4629. Node60.a('node.text','222');
  4630. Node60.a('node.textalign','left');
  4631. Node60.a('node.textvAlign','middle');
  4632. Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
  4633. Node60.a('node.color','rgba(0,0,0,1)');
  4634. Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
  4635. Node60.a('node.textvisible',true);
  4636. Node60.a('node.linefeed',false);
  4637. if (false) {
  4638. Node60.a('node.textfunc',function(g) {
  4639. g.beginPath();
  4640. var str=Node60.a('node.text') || '222';
  4641. var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
  4642. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
  4643. });
  4644. }
  4645. if (false) {
  4646. Node60.a('node.underlinepoints',[Node60lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('222', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
  4647. Node60.a('node.underlinevisible',false);
  4648. Node60.a('node.underlineBorderWidth', 1);
  4649. }
  4650. dataModel.add(Node60);
  4651. zoomNodeList.push({
  4652. node: Node60,
  4653. borderWidth: 0,
  4654. attr: 'node.borderwidth'
  4655. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4656. var Node61 = new ht.Node();
  4657. var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'left', Node61fontSize = 13.3333*_ratio.ratioY,Node61width = 43*_ratio.ratioX, Node61height = 18*_ratio.ratioY;
  4658. (function () {
  4659. if (Node61align === 'left') {
  4660. Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9;
  4661. Node61textWidth = Node61width;
  4662. Node61lineStart = 1;
  4663. } else if (Node61align === 'right') {
  4664. Node61textStart = 0;
  4665. Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2;
  4666. Node61lineStart = (Node61width - (ht.Default.getTextSize('222-A', ' '+ Node61fontSize + 'px "Arial"').width + 6)) * 0.5;
  4667. } else if (Node61align === 'center') {
  4668. Node61textStart = -3;
  4669. Node61textWidth = Node61width;
  4670. Node61lineStart = Node61width - ht.Default.getTextSize('222-A', ' '+ Node61fontSize + 'px "Arial"').width - 11;
  4671. }
  4672. })();
  4673. Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "Arial"'))
  4674. Node61.setPosition(888*ratio.ratioX, 336*ratio.ratioY);
  4675. Node61.setWidth(Node61width);
  4676. Node61.setHeight(Node61height);
  4677. Node61._nodeType = 'text';
  4678. Node61._disallowEvert = true;
  4679. Node61.setRotation(0*Math.PI/180);
  4680. Node61.a('node.width', Node61width);
  4681. Node61.a('node.height', Node61height);
  4682. Node61.a('node.rect', [0, 0, Node61width, Node61height]);
  4683. Node61.a('node.bordercolor','rgba(0,0,0,1)');
  4684. Node61.a('node.borderwidth', 0);
  4685. Node61.a('node.background','' || 'rgba(0,0,0,0)');
  4686. Node61.a('node.gradient','');
  4687. Node61.a('node.gradientcolor','');
  4688. Node61.a('node.text','222-A');
  4689. Node61.a('node.textalign','left');
  4690. Node61.a('node.textvAlign','middle');
  4691. Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
  4692. Node61.a('node.color','rgba(0,0,0,1)');
  4693. Node61.a('node.font',' '+ Node61fontSize + 'px "Arial"');
  4694. Node61.a('node.textvisible',true);
  4695. Node61.a('node.linefeed',false);
  4696. if (false) {
  4697. Node61.a('node.textfunc',function(g) {
  4698. g.beginPath();
  4699. var str=Node61.a('node.text') || '222-A';
  4700. var color=Node61.a('node.color') || 'rgba(0,0,0,1)';
  4701. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node61width,Node61height,13.3333*_ratio.ratioY,"left",color,' '+ Node61fontSize + 'px "Arial"', 0,g);
  4702. });
  4703. }
  4704. if (false) {
  4705. Node61.a('node.underlinepoints',[Node61lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('222-A', ' '+ Node61fontSize + 'px "Arial"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]);
  4706. Node61.a('node.underlinevisible',false);
  4707. Node61.a('node.underlineBorderWidth', 1);
  4708. }
  4709. dataModel.add(Node61);
  4710. zoomNodeList.push({
  4711. node: Node61,
  4712. borderWidth: 0,
  4713. attr: 'node.borderwidth'
  4714. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4715. var Node62 = new ht.Node();
  4716. var Node62textStart, Node62textWidth, Node62lineStart, Node62align = 'left', Node62fontSize = 13.3333*_ratio.ratioY,Node62width = 58*_ratio.ratioX, Node62height = 19*_ratio.ratioY;
  4717. (function () {
  4718. if (Node62align === 'left') {
  4719. Node62textStart = Node62fontSize * 0.2 > 2 ? Node62fontSize * 0.2 - 4 : Node62fontSize * 0.2 - 9;
  4720. Node62textWidth = Node62width;
  4721. Node62lineStart = 1;
  4722. } else if (Node62align === 'right') {
  4723. Node62textStart = 0;
  4724. Node62textWidth =Node62fontSize <= 8 ? Node62width + Node62fontSize * 0.2 + 6 : Node62width - Node62fontSize * 0.2;
  4725. Node62lineStart = (Node62width - (ht.Default.getTextSize('222-线0', ' '+ Node62fontSize + 'px "Arial"').width + 6)) * 0.5;
  4726. } else if (Node62align === 'center') {
  4727. Node62textStart = -3;
  4728. Node62textWidth = Node62width;
  4729. Node62lineStart = Node62width - ht.Default.getTextSize('222-线0', ' '+ Node62fontSize + 'px "Arial"').width - 11;
  4730. }
  4731. })();
  4732. Node62.setImage(GD.getTextJSON(Node62width, Node62height, true, false, false, ' '+ Node62fontSize + 'px "Arial"'))
  4733. Node62.setPosition(1048*ratio.ratioX, 255*ratio.ratioY);
  4734. Node62.setWidth(Node62width);
  4735. Node62.setHeight(Node62height);
  4736. Node62._nodeType = 'text';
  4737. Node62._disallowEvert = true;
  4738. Node62.setRotation(0*Math.PI/180);
  4739. Node62.a('node.width', Node62width);
  4740. Node62.a('node.height', Node62height);
  4741. Node62.a('node.rect', [0, 0, Node62width, Node62height]);
  4742. Node62.a('node.bordercolor','rgba(0,0,0,1)');
  4743. Node62.a('node.borderwidth', 0);
  4744. Node62.a('node.background','' || 'rgba(0,0,0,0)');
  4745. Node62.a('node.gradient','');
  4746. Node62.a('node.gradientcolor','');
  4747. Node62.a('node.text','222-线0');
  4748. Node62.a('node.textalign','left');
  4749. Node62.a('node.textvAlign','middle');
  4750. Node62.a('node.textrect', [Node62textStart, 0, Node62textWidth, Node62height]);
  4751. Node62.a('node.color','rgba(0,0,0,1)');
  4752. Node62.a('node.font',' '+ Node62fontSize + 'px "Arial"');
  4753. Node62.a('node.textvisible',true);
  4754. Node62.a('node.linefeed',false);
  4755. if (false) {
  4756. Node62.a('node.textfunc',function(g) {
  4757. g.beginPath();
  4758. var str=Node62.a('node.text') || '222-线0';
  4759. var color=Node62.a('node.color') || 'rgba(0,0,0,1)';
  4760. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node62width,Node62height,13.3333*_ratio.ratioY,"left",color,' '+ Node62fontSize + 'px "Arial"', 0,g);
  4761. });
  4762. }
  4763. if (false) {
  4764. Node62.a('node.underlinepoints',[Node62lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node62fontSize + 2 , ht.Default.getTextSize('222-线0', ' '+ Node62fontSize + 'px "Arial"').width + 6, (Node62height - Node62fontSize) * 0.5*_ratio.ratioY + Node62fontSize + 2 ]);
  4765. Node62.a('node.underlinevisible',false);
  4766. Node62.a('node.underlineBorderWidth', 1);
  4767. }
  4768. dataModel.add(Node62);
  4769. zoomNodeList.push({
  4770. node: Node62,
  4771. borderWidth: 0,
  4772. attr: 'node.borderwidth'
  4773. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4774. var Node63 = new ht.Node();
  4775. var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 50*_ratio.ratioX, Node63height = 19*_ratio.ratioY;
  4776. (function () {
  4777. if (Node63align === 'left') {
  4778. Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9;
  4779. Node63textWidth = Node63width;
  4780. Node63lineStart = 1;
  4781. } else if (Node63align === 'right') {
  4782. Node63textStart = 0;
  4783. Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2;
  4784. Node63lineStart = (Node63width - (ht.Default.getTextSize('222-10', ' '+ Node63fontSize + 'px "Arial"').width + 6)) * 0.5;
  4785. } else if (Node63align === 'center') {
  4786. Node63textStart = -3;
  4787. Node63textWidth = Node63width;
  4788. Node63lineStart = Node63width - ht.Default.getTextSize('222-10', ' '+ Node63fontSize + 'px "Arial"').width - 11;
  4789. }
  4790. })();
  4791. Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "Arial"'))
  4792. Node63.setPosition(1044*ratio.ratioX, 299*ratio.ratioY);
  4793. Node63.setWidth(Node63width);
  4794. Node63.setHeight(Node63height);
  4795. Node63._nodeType = 'text';
  4796. Node63._disallowEvert = true;
  4797. Node63.setRotation(0*Math.PI/180);
  4798. Node63.a('node.width', Node63width);
  4799. Node63.a('node.height', Node63height);
  4800. Node63.a('node.rect', [0, 0, Node63width, Node63height]);
  4801. Node63.a('node.bordercolor','rgba(0,0,0,1)');
  4802. Node63.a('node.borderwidth', 0);
  4803. Node63.a('node.background','' || 'rgba(0,0,0,0)');
  4804. Node63.a('node.gradient','');
  4805. Node63.a('node.gradientcolor','');
  4806. Node63.a('node.text','222-10');
  4807. Node63.a('node.textalign','left');
  4808. Node63.a('node.textvAlign','middle');
  4809. Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]);
  4810. Node63.a('node.color','rgba(0,0,0,1)');
  4811. Node63.a('node.font',' '+ Node63fontSize + 'px "Arial"');
  4812. Node63.a('node.textvisible',true);
  4813. Node63.a('node.linefeed',false);
  4814. if (false) {
  4815. Node63.a('node.textfunc',function(g) {
  4816. g.beginPath();
  4817. var str=Node63.a('node.text') || '222-10';
  4818. var color=Node63.a('node.color') || 'rgba(0,0,0,1)';
  4819. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"left",color,' '+ Node63fontSize + 'px "Arial"', 0,g);
  4820. });
  4821. }
  4822. if (false) {
  4823. Node63.a('node.underlinepoints',[Node63lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('222-10', ' '+ Node63fontSize + 'px "Arial"').width + 6, (Node63height - Node63fontSize) * 0.5*_ratio.ratioY + Node63fontSize + 2 ]);
  4824. Node63.a('node.underlinevisible',false);
  4825. Node63.a('node.underlineBorderWidth', 1);
  4826. }
  4827. dataModel.add(Node63);
  4828. zoomNodeList.push({
  4829. node: Node63,
  4830. borderWidth: 0,
  4831. attr: 'node.borderwidth'
  4832. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4833. var Node64 = new ht.Node();
  4834. var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 52*_ratio.ratioX, Node64height = 19*_ratio.ratioY;
  4835. (function () {
  4836. if (Node64align === 'left') {
  4837. Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
  4838. Node64textWidth = Node64width;
  4839. Node64lineStart = 1;
  4840. } else if (Node64align === 'right') {
  4841. Node64textStart = 0;
  4842. Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
  4843. Node64lineStart = (Node64width - (ht.Default.getTextSize('222-A0', ' '+ Node64fontSize + 'px "Arial"').width + 6)) * 0.5;
  4844. } else if (Node64align === 'center') {
  4845. Node64textStart = -3;
  4846. Node64textWidth = Node64width;
  4847. Node64lineStart = Node64width - ht.Default.getTextSize('222-A0', ' '+ Node64fontSize + 'px "Arial"').width - 11;
  4848. }
  4849. })();
  4850. Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, ' '+ Node64fontSize + 'px "Arial"'))
  4851. Node64.setPosition(1045*ratio.ratioX, 343*ratio.ratioY);
  4852. Node64.setWidth(Node64width);
  4853. Node64.setHeight(Node64height);
  4854. Node64._nodeType = 'text';
  4855. Node64._disallowEvert = true;
  4856. Node64.setRotation(0*Math.PI/180);
  4857. Node64.a('node.width', Node64width);
  4858. Node64.a('node.height', Node64height);
  4859. Node64.a('node.rect', [0, 0, Node64width, Node64height]);
  4860. Node64.a('node.bordercolor','rgba(0,0,0,1)');
  4861. Node64.a('node.borderwidth', 0);
  4862. Node64.a('node.background','' || 'rgba(0,0,0,0)');
  4863. Node64.a('node.gradient','');
  4864. Node64.a('node.gradientcolor','');
  4865. Node64.a('node.text','222-A0');
  4866. Node64.a('node.textalign','left');
  4867. Node64.a('node.textvAlign','middle');
  4868. Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
  4869. Node64.a('node.color','rgba(0,0,0,1)');
  4870. Node64.a('node.font',' '+ Node64fontSize + 'px "Arial"');
  4871. Node64.a('node.textvisible',true);
  4872. Node64.a('node.linefeed',false);
  4873. if (false) {
  4874. Node64.a('node.textfunc',function(g) {
  4875. g.beginPath();
  4876. var str=Node64.a('node.text') || '222-A0';
  4877. var color=Node64.a('node.color') || 'rgba(0,0,0,1)';
  4878. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,' '+ Node64fontSize + 'px "Arial"', 0,g);
  4879. });
  4880. }
  4881. if (false) {
  4882. Node64.a('node.underlinepoints',[Node64lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('222-A0', ' '+ Node64fontSize + 'px "Arial"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
  4883. Node64.a('node.underlinevisible',false);
  4884. Node64.a('node.underlineBorderWidth', 1);
  4885. }
  4886. dataModel.add(Node64);
  4887. zoomNodeList.push({
  4888. node: Node64,
  4889. borderWidth: 0,
  4890. attr: 'node.borderwidth'
  4891. }); var Node65points=[434, 617,434, 487],
  4892. Node65rect=ht.Default.unionPoint([{x:434,y:617},{x:434,y:487}]),
  4893. Node65compspts=[];
  4894. _ratio = GD.getRatioWithRotation(0, ratio);
  4895. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  4896. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  4897. for(var i=0;i<Node65points.length;i++){
  4898. if(i%2==0){
  4899. Node65compspts.push(Node65points[i]-Node65rect.x);
  4900. }else{
  4901. Node65compspts.push(Node65points[i]-Node65rect.y);
  4902. }
  4903. }
  4904. var Node65ptslength=Node65compspts.length;
  4905. if (Node65rect.height === 0) {
  4906. Node65compspts[0] -= 0;
  4907. Node65compspts[Node65ptslength-2] += 0;
  4908. } else if (Node65rect.width === 0){
  4909. Node65compspts[1] -= 0;
  4910. Node65compspts[Node65ptslength-1] += 0;
  4911. } else {
  4912. Node65compspts[0] -= 0;
  4913. Node65compspts[1] -= 0;
  4914. Node65compspts[Node65ptslength-2] += 0;
  4915. Node65compspts[Node65ptslength-1] += 0;
  4916. }
  4917. Node65 = new ht.Node();
  4918. Node65.borderWidth = 1;
  4919. Node65rect.width = Node65rect.width === 0 ? 0.0001 : Node65rect.width;
  4920. Node65rect.height = Node65rect.height === 0 ? 0.0001 : Node65rect.height;
  4921. var Node65endCompspts = [Node65compspts[Node65ptslength-2],Node65compspts[Node65ptslength-1],0,0];
  4922. var Node65startCompspts = [Node65compspts[0],Node65compspts[1],0,0];
  4923. Node65.setImage(GD.getPolyLineJSON());
  4924. Node65.setPosition(Node65rect.x+Node65rect.width/2,Node65rect.y+Node65rect.height/2);
  4925. Node65.setSize(Node65rect.width,Node65rect.height);
  4926. Node65.setStyle("opacity",1);
  4927. Node65.s({'pixelPerfect':true});
  4928. Node65borderwidth=1;
  4929. Node65.setRotation(0);
  4930. dataModel.add(Node65);
  4931. Node65.a('node.points',Node65compspts);
  4932. Node65.a('node.segments',[1,2]);
  4933. Node65.a('node.color','rgba(255,128,0,1)');
  4934. Node65.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4935. Node65.a('node.borderColor','rgba(255,128,0,1)');
  4936. Node65.a('node.background','rgba(255,128,0,1)');
  4937. Node65.a('node.gradient','');
  4938. Node65.a('node.gradientcolor','rgba(255,128,0,1)');
  4939. Node65.a('node.endCompspts',Node65endCompspts);
  4940. Node65.a('node.startCompspts',Node65startCompspts);
  4941. (function (node, img, compspts, endCompspts, startCompspts) {
  4942. var position = node.getPosition(),
  4943. w = node.getWidth()*_ratio.ratioX,
  4944. h = node.getHeight()*_ratio.ratioY;
  4945. function resetPoints(rx, ry) {
  4946. for (var i = 0, len = compspts.length; i < len; i++) {
  4947. if (i%2 === 0) {
  4948. compspts[i]*=rx;
  4949. } else {
  4950. compspts[i]*=ry;
  4951. }
  4952. }
  4953. endCompspts[0] = compspts[compspts.length-2];
  4954. endCompspts[1] = compspts[compspts.length-1];
  4955. endCompspts[2] *= rx;
  4956. endCompspts[3] *= ry;
  4957. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4958. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4959. startCompspts[0] = compspts[0];
  4960. startCompspts[1] = compspts[1];
  4961. startCompspts[2] *= rx;
  4962. startCompspts[3] *= ry;
  4963. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4964. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4965. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4966. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4967. }
  4968. node.setSize(w, h);
  4969. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4970. node.a('node.width', w);
  4971. node.a('node.height', h);
  4972. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4973. node.borderWidth = 1;
  4974. node.a('node.borderwidth',node.borderWidth);
  4975. node._nodename = 'Node65';
  4976. node._nodeType = 'line';
  4977. zoomNodeList.push({
  4978. node: node,
  4979. attr: 'node.borderwidth'
  4980. });
  4981. var setWidth = node.setWidth,
  4982. setHeight = node.setHeight,
  4983. timer, rx = 1, ry = 1;
  4984. node.setWidth = function (width) {
  4985. var _width = this.getWidth();
  4986. rx = width / _width;
  4987. node.a('node.width', width);
  4988. setWidth.apply(this, arguments);
  4989. resetPoints(rx, 1);
  4990. }
  4991. node.setHeight = function (height) {
  4992. var _height = this.getHeight();
  4993. ry = height / _height;
  4994. node.a('node.height', height);
  4995. setHeight.apply(this, arguments);
  4996. resetPoints(1, ry);
  4997. }
  4998. })(Node65, Node65.getImage(), Node65compspts, Node65endCompspts, Node65startCompspts);
  4999. var Node66points=[434, 465,434, 436],
  5000. Node66rect=ht.Default.unionPoint([{x:434,y:465},{x:434,y:436}]),
  5001. Node66compspts=[];
  5002. _ratio = GD.getRatioWithRotation(0, ratio);
  5003. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  5004. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  5005. for(var i=0;i<Node66points.length;i++){
  5006. if(i%2==0){
  5007. Node66compspts.push(Node66points[i]-Node66rect.x);
  5008. }else{
  5009. Node66compspts.push(Node66points[i]-Node66rect.y);
  5010. }
  5011. }
  5012. var Node66ptslength=Node66compspts.length;
  5013. if (Node66rect.height === 0) {
  5014. Node66compspts[0] -= 0;
  5015. Node66compspts[Node66ptslength-2] += 0;
  5016. } else if (Node66rect.width === 0){
  5017. Node66compspts[1] -= 0;
  5018. Node66compspts[Node66ptslength-1] += 0;
  5019. } else {
  5020. Node66compspts[0] -= 0;
  5021. Node66compspts[1] -= 0;
  5022. Node66compspts[Node66ptslength-2] += 0;
  5023. Node66compspts[Node66ptslength-1] += 0;
  5024. }
  5025. Node66 = new ht.Node();
  5026. Node66.borderWidth = 1;
  5027. Node66rect.width = Node66rect.width === 0 ? 0.0001 : Node66rect.width;
  5028. Node66rect.height = Node66rect.height === 0 ? 0.0001 : Node66rect.height;
  5029. var Node66endCompspts = [Node66compspts[Node66ptslength-2],Node66compspts[Node66ptslength-1],0,0];
  5030. var Node66startCompspts = [Node66compspts[0],Node66compspts[1],0,0];
  5031. Node66.setImage(GD.getPolyLineJSON());
  5032. Node66.setPosition(Node66rect.x+Node66rect.width/2,Node66rect.y+Node66rect.height/2);
  5033. Node66.setSize(Node66rect.width,Node66rect.height);
  5034. Node66.setStyle("opacity",1);
  5035. Node66.s({'pixelPerfect':true});
  5036. Node66borderwidth=1;
  5037. Node66.setRotation(0);
  5038. dataModel.add(Node66);
  5039. Node66.a('node.points',Node66compspts);
  5040. Node66.a('node.segments',[1,2]);
  5041. Node66.a('node.color','rgba(255,128,0,1)');
  5042. Node66.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5043. Node66.a('node.borderColor','rgba(255,128,0,1)');
  5044. Node66.a('node.background','rgba(255,128,0,1)');
  5045. Node66.a('node.gradient','');
  5046. Node66.a('node.gradientcolor','rgba(255,128,0,1)');
  5047. Node66.a('node.endCompspts',Node66endCompspts);
  5048. Node66.a('node.startCompspts',Node66startCompspts);
  5049. (function (node, img, compspts, endCompspts, startCompspts) {
  5050. var position = node.getPosition(),
  5051. w = node.getWidth()*_ratio.ratioX,
  5052. h = node.getHeight()*_ratio.ratioY;
  5053. function resetPoints(rx, ry) {
  5054. for (var i = 0, len = compspts.length; i < len; i++) {
  5055. if (i%2 === 0) {
  5056. compspts[i]*=rx;
  5057. } else {
  5058. compspts[i]*=ry;
  5059. }
  5060. }
  5061. endCompspts[0] = compspts[compspts.length-2];
  5062. endCompspts[1] = compspts[compspts.length-1];
  5063. endCompspts[2] *= rx;
  5064. endCompspts[3] *= ry;
  5065. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5066. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5067. startCompspts[0] = compspts[0];
  5068. startCompspts[1] = compspts[1];
  5069. startCompspts[2] *= rx;
  5070. startCompspts[3] *= ry;
  5071. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5072. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5073. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5074. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5075. }
  5076. node.setSize(w, h);
  5077. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5078. node.a('node.width', w);
  5079. node.a('node.height', h);
  5080. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5081. node.borderWidth = 1;
  5082. node.a('node.borderwidth',node.borderWidth);
  5083. node._nodename = 'Node66';
  5084. node._nodeType = 'line';
  5085. zoomNodeList.push({
  5086. node: node,
  5087. attr: 'node.borderwidth'
  5088. });
  5089. var setWidth = node.setWidth,
  5090. setHeight = node.setHeight,
  5091. timer, rx = 1, ry = 1;
  5092. node.setWidth = function (width) {
  5093. var _width = this.getWidth();
  5094. rx = width / _width;
  5095. node.a('node.width', width);
  5096. setWidth.apply(this, arguments);
  5097. resetPoints(rx, 1);
  5098. }
  5099. node.setHeight = function (height) {
  5100. var _height = this.getHeight();
  5101. ry = height / _height;
  5102. node.a('node.height', height);
  5103. setHeight.apply(this, arguments);
  5104. resetPoints(1, ry);
  5105. }
  5106. })(Node66, Node66.getImage(), Node66compspts, Node66endCompspts, Node66startCompspts);
  5107. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5108. var Node67 = new ht.Node();
  5109. var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'left', Node67fontSize = 13.3333*_ratio.ratioY,Node67width = 68*_ratio.ratioX, Node67height = 18*_ratio.ratioY;
  5110. (function () {
  5111. if (Node67align === 'left') {
  5112. Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9;
  5113. Node67textWidth = Node67width;
  5114. Node67lineStart = 1;
  5115. } else if (Node67align === 'right') {
  5116. Node67textStart = 0;
  5117. Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2;
  5118. Node67lineStart = (Node67width - (ht.Default.getTextSize('1#SVG', ' '+ Node67fontSize + 'px "Arial"').width + 6)) * 0.5;
  5119. } else if (Node67align === 'center') {
  5120. Node67textStart = -3;
  5121. Node67textWidth = Node67width;
  5122. Node67lineStart = Node67width - ht.Default.getTextSize('1#SVG', ' '+ Node67fontSize + 'px "Arial"').width - 11;
  5123. }
  5124. })();
  5125. Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "Arial"'))
  5126. Node67.setPosition(445*ratio.ratioX, 424*ratio.ratioY);
  5127. Node67.setWidth(Node67width);
  5128. Node67.setHeight(Node67height);
  5129. Node67._nodeType = 'text';
  5130. Node67._disallowEvert = true;
  5131. Node67.setRotation(0*Math.PI/180);
  5132. Node67.a('node.width', Node67width);
  5133. Node67.a('node.height', Node67height);
  5134. Node67.a('node.rect', [0, 0, Node67width, Node67height]);
  5135. Node67.a('node.bordercolor','rgba(0,0,0,1)');
  5136. Node67.a('node.borderwidth', 0);
  5137. Node67.a('node.background','' || 'rgba(0,0,0,0)');
  5138. Node67.a('node.gradient','');
  5139. Node67.a('node.gradientcolor','');
  5140. Node67.a('node.text','1#SVG');
  5141. Node67.a('node.textalign','left');
  5142. Node67.a('node.textvAlign','middle');
  5143. Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]);
  5144. Node67.a('node.color','rgba(0,0,0,1)');
  5145. Node67.a('node.font',' '+ Node67fontSize + 'px "Arial"');
  5146. Node67.a('node.textvisible',true);
  5147. Node67.a('node.linefeed',false);
  5148. if (false) {
  5149. Node67.a('node.textfunc',function(g) {
  5150. g.beginPath();
  5151. var str=Node67.a('node.text') || '1#SVG';
  5152. var color=Node67.a('node.color') || 'rgba(0,0,0,1)';
  5153. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node67width,Node67height,13.3333*_ratio.ratioY,"left",color,' '+ Node67fontSize + 'px "Arial"', 0,g);
  5154. });
  5155. }
  5156. if (false) {
  5157. Node67.a('node.underlinepoints',[Node67lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('1#SVG', ' '+ Node67fontSize + 'px "Arial"').width + 6, (Node67height - Node67fontSize) * 0.5*_ratio.ratioY + Node67fontSize + 2 ]);
  5158. Node67.a('node.underlinevisible',false);
  5159. Node67.a('node.underlineBorderWidth', 1);
  5160. }
  5161. dataModel.add(Node67);
  5162. zoomNodeList.push({
  5163. node: Node67,
  5164. borderWidth: 0,
  5165. attr: 'node.borderwidth'
  5166. }); var Node68points=[433, 534,357, 534],
  5167. Node68rect=ht.Default.unionPoint([{x:433,y:534},{x:357,y:534}]),
  5168. Node68compspts=[];
  5169. _ratio = GD.getRatioWithRotation(0, ratio);
  5170. var _startratio = GD.getRatioWithRotation(0, ratio),
  5171. _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
  5172. for(var i=0;i<Node68points.length;i++){
  5173. if(i%2==0){
  5174. Node68compspts.push(Node68points[i]-Node68rect.x);
  5175. }else{
  5176. Node68compspts.push(Node68points[i]-Node68rect.y);
  5177. }
  5178. }
  5179. var Node68ptslength=Node68compspts.length;
  5180. if (Node68rect.height === 0) {
  5181. Node68compspts[0] -= 0;
  5182. Node68compspts[Node68ptslength-2] += 0;
  5183. } else if (Node68rect.width === 0){
  5184. Node68compspts[1] -= 0;
  5185. Node68compspts[Node68ptslength-1] += 0;
  5186. } else {
  5187. Node68compspts[0] -= 0;
  5188. Node68compspts[1] -= 0;
  5189. Node68compspts[Node68ptslength-2] += 0;
  5190. Node68compspts[Node68ptslength-1] += 0;
  5191. }
  5192. Node68 = new ht.Node();
  5193. Node68.borderWidth = 1;
  5194. Node68rect.width = Node68rect.width === 0 ? 0.0001 : Node68rect.width;
  5195. Node68rect.height = Node68rect.height === 0 ? 0.0001 : Node68rect.height;
  5196. var Node68endCompspts = [Node68compspts[Node68ptslength-2],Node68compspts[Node68ptslength-1],0,0];
  5197. var Node68startCompspts = [Node68compspts[0],Node68compspts[1],0,0];
  5198. Node68.setImage(GD.getPolyLineJSON());
  5199. Node68.setPosition(Node68rect.x+Node68rect.width/2,Node68rect.y+Node68rect.height/2);
  5200. Node68.setSize(Node68rect.width,Node68rect.height);
  5201. Node68.setStyle("opacity",1);
  5202. Node68.s({'pixelPerfect':true});
  5203. Node68borderwidth=1;
  5204. Node68.setRotation(0);
  5205. dataModel.add(Node68);
  5206. Node68.a('node.points',Node68compspts);
  5207. Node68.a('node.segments',[1,2]);
  5208. Node68.a('node.color','rgba(255,128,0,1)');
  5209. Node68.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5210. Node68.a('node.borderColor','rgba(255,128,0,1)');
  5211. Node68.a('node.background','rgba(255,128,0,1)');
  5212. Node68.a('node.gradient','');
  5213. Node68.a('node.gradientcolor','rgba(255,128,0,1)');
  5214. Node68.a('node.endCompspts',Node68endCompspts);
  5215. Node68.a('node.startCompspts',Node68startCompspts);
  5216. (function (node, img, compspts, endCompspts, startCompspts) {
  5217. var position = node.getPosition(),
  5218. w = node.getWidth()*_ratio.ratioX,
  5219. h = node.getHeight()*_ratio.ratioY;
  5220. function resetPoints(rx, ry) {
  5221. for (var i = 0, len = compspts.length; i < len; i++) {
  5222. if (i%2 === 0) {
  5223. compspts[i]*=rx;
  5224. } else {
  5225. compspts[i]*=ry;
  5226. }
  5227. }
  5228. endCompspts[0] = compspts[compspts.length-2];
  5229. endCompspts[1] = compspts[compspts.length-1];
  5230. endCompspts[2] *= rx;
  5231. endCompspts[3] *= ry;
  5232. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5233. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5234. startCompspts[0] = compspts[0];
  5235. startCompspts[1] = compspts[1];
  5236. startCompspts[2] *= rx;
  5237. startCompspts[3] *= ry;
  5238. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5239. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5240. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5241. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5242. }
  5243. node.setSize(w, h);
  5244. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5245. node.a('node.width', w);
  5246. node.a('node.height', h);
  5247. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5248. node.borderWidth = 1;
  5249. node.a('node.borderwidth',node.borderWidth);
  5250. node._nodename = 'Node68';
  5251. node._nodeType = 'line';
  5252. zoomNodeList.push({
  5253. node: node,
  5254. attr: 'node.borderwidth'
  5255. });
  5256. var setWidth = node.setWidth,
  5257. setHeight = node.setHeight,
  5258. timer, rx = 1, ry = 1;
  5259. node.setWidth = function (width) {
  5260. var _width = this.getWidth();
  5261. rx = width / _width;
  5262. node.a('node.width', width);
  5263. setWidth.apply(this, arguments);
  5264. resetPoints(rx, 1);
  5265. }
  5266. node.setHeight = function (height) {
  5267. var _height = this.getHeight();
  5268. ry = height / _height;
  5269. node.a('node.height', height);
  5270. setHeight.apply(this, arguments);
  5271. resetPoints(1, ry);
  5272. }
  5273. })(Node68, Node68.getImage(), Node68compspts, Node68endCompspts, Node68startCompspts);
  5274. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5275. var Node69 = new ht.Node();
  5276. var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 68*_ratio.ratioX, Node69height = 18*_ratio.ratioY;
  5277. (function () {
  5278. if (Node69align === 'left') {
  5279. Node69textStart = Node69fontSize * 0.2 > 2 ? Node69fontSize * 0.2 - 4 : Node69fontSize * 0.2 - 9;
  5280. Node69textWidth = Node69width;
  5281. Node69lineStart = 1;
  5282. } else if (Node69align === 'right') {
  5283. Node69textStart = 0;
  5284. Node69textWidth =Node69fontSize <= 8 ? Node69width + Node69fontSize * 0.2 + 6 : Node69width - Node69fontSize * 0.2;
  5285. Node69lineStart = (Node69width - (ht.Default.getTextSize('314-1', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
  5286. } else if (Node69align === 'center') {
  5287. Node69textStart = -3;
  5288. Node69textWidth = Node69width;
  5289. Node69lineStart = Node69width - ht.Default.getTextSize('314-1', ' '+ Node69fontSize + 'px "Arial"').width - 11;
  5290. }
  5291. })();
  5292. Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
  5293. Node69.setPosition(411*ratio.ratioX, 477*ratio.ratioY);
  5294. Node69.setWidth(Node69width);
  5295. Node69.setHeight(Node69height);
  5296. Node69._nodeType = 'text';
  5297. Node69._disallowEvert = true;
  5298. Node69.setRotation(0*Math.PI/180);
  5299. Node69.a('node.width', Node69width);
  5300. Node69.a('node.height', Node69height);
  5301. Node69.a('node.rect', [0, 0, Node69width, Node69height]);
  5302. Node69.a('node.bordercolor','rgba(0,0,0,1)');
  5303. Node69.a('node.borderwidth', 0);
  5304. Node69.a('node.background','' || 'rgba(0,0,0,0)');
  5305. Node69.a('node.gradient','');
  5306. Node69.a('node.gradientcolor','');
  5307. Node69.a('node.text','314-1');
  5308. Node69.a('node.textalign','left');
  5309. Node69.a('node.textvAlign','middle');
  5310. Node69.a('node.textrect', [Node69textStart, 0, Node69textWidth, Node69height]);
  5311. Node69.a('node.color','rgba(0,0,0,1)');
  5312. Node69.a('node.font',' '+ Node69fontSize + 'px "Arial"');
  5313. Node69.a('node.textvisible',true);
  5314. Node69.a('node.linefeed',false);
  5315. if (false) {
  5316. Node69.a('node.textfunc',function(g) {
  5317. g.beginPath();
  5318. var str=Node69.a('node.text') || '314-1';
  5319. var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
  5320. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
  5321. });
  5322. }
  5323. if (false) {
  5324. Node69.a('node.underlinepoints',[Node69lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('314-1', ' '+ Node69fontSize + 'px "Arial"').width + 6, (Node69height - Node69fontSize) * 0.5*_ratio.ratioY + Node69fontSize + 2 ]);
  5325. Node69.a('node.underlinevisible',false);
  5326. Node69.a('node.underlineBorderWidth', 1);
  5327. }
  5328. dataModel.add(Node69);
  5329. zoomNodeList.push({
  5330. node: Node69,
  5331. borderWidth: 0,
  5332. attr: 'node.borderwidth'
  5333. }); var Node70points=[356, 533,356, 517],
  5334. Node70rect=ht.Default.unionPoint([{x:356,y:533},{x:356,y:517}]),
  5335. Node70compspts=[];
  5336. _ratio = GD.getRatioWithRotation(0, ratio);
  5337. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  5338. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  5339. for(var i=0;i<Node70points.length;i++){
  5340. if(i%2==0){
  5341. Node70compspts.push(Node70points[i]-Node70rect.x);
  5342. }else{
  5343. Node70compspts.push(Node70points[i]-Node70rect.y);
  5344. }
  5345. }
  5346. var Node70ptslength=Node70compspts.length;
  5347. if (Node70rect.height === 0) {
  5348. Node70compspts[0] -= 0;
  5349. Node70compspts[Node70ptslength-2] += 0;
  5350. } else if (Node70rect.width === 0){
  5351. Node70compspts[1] -= 0;
  5352. Node70compspts[Node70ptslength-1] += 0;
  5353. } else {
  5354. Node70compspts[0] -= 0;
  5355. Node70compspts[1] -= 0;
  5356. Node70compspts[Node70ptslength-2] += 0;
  5357. Node70compspts[Node70ptslength-1] += 0;
  5358. }
  5359. Node70 = new ht.Node();
  5360. Node70.borderWidth = 1;
  5361. Node70rect.width = Node70rect.width === 0 ? 0.0001 : Node70rect.width;
  5362. Node70rect.height = Node70rect.height === 0 ? 0.0001 : Node70rect.height;
  5363. var Node70endCompspts = [Node70compspts[Node70ptslength-2],Node70compspts[Node70ptslength-1],0,0];
  5364. var Node70startCompspts = [Node70compspts[0],Node70compspts[1],0,0];
  5365. Node70.setImage(GD.getPolyLineJSON());
  5366. Node70.setPosition(Node70rect.x+Node70rect.width/2,Node70rect.y+Node70rect.height/2);
  5367. Node70.setSize(Node70rect.width,Node70rect.height);
  5368. Node70.setStyle("opacity",1);
  5369. Node70.s({'pixelPerfect':true});
  5370. Node70borderwidth=1;
  5371. Node70.setRotation(0);
  5372. dataModel.add(Node70);
  5373. Node70.a('node.points',Node70compspts);
  5374. Node70.a('node.segments',[1,2]);
  5375. Node70.a('node.color','rgba(255,128,0,1)');
  5376. Node70.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5377. Node70.a('node.borderColor','rgba(255,128,0,1)');
  5378. Node70.a('node.background','rgba(255,128,0,1)');
  5379. Node70.a('node.gradient','');
  5380. Node70.a('node.gradientcolor','rgba(255,128,0,1)');
  5381. Node70.a('node.endCompspts',Node70endCompspts);
  5382. Node70.a('node.startCompspts',Node70startCompspts);
  5383. (function (node, img, compspts, endCompspts, startCompspts) {
  5384. var position = node.getPosition(),
  5385. w = node.getWidth()*_ratio.ratioX,
  5386. h = node.getHeight()*_ratio.ratioY;
  5387. function resetPoints(rx, ry) {
  5388. for (var i = 0, len = compspts.length; i < len; i++) {
  5389. if (i%2 === 0) {
  5390. compspts[i]*=rx;
  5391. } else {
  5392. compspts[i]*=ry;
  5393. }
  5394. }
  5395. endCompspts[0] = compspts[compspts.length-2];
  5396. endCompspts[1] = compspts[compspts.length-1];
  5397. endCompspts[2] *= rx;
  5398. endCompspts[3] *= ry;
  5399. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5400. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5401. startCompspts[0] = compspts[0];
  5402. startCompspts[1] = compspts[1];
  5403. startCompspts[2] *= rx;
  5404. startCompspts[3] *= ry;
  5405. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5406. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5407. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5408. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5409. }
  5410. node.setSize(w, h);
  5411. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5412. node.a('node.width', w);
  5413. node.a('node.height', h);
  5414. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5415. node.borderWidth = 1;
  5416. node.a('node.borderwidth',node.borderWidth);
  5417. node._nodename = 'Node70';
  5418. node._nodeType = 'line';
  5419. zoomNodeList.push({
  5420. node: node,
  5421. attr: 'node.borderwidth'
  5422. });
  5423. var setWidth = node.setWidth,
  5424. setHeight = node.setHeight,
  5425. timer, rx = 1, ry = 1;
  5426. node.setWidth = function (width) {
  5427. var _width = this.getWidth();
  5428. rx = width / _width;
  5429. node.a('node.width', width);
  5430. setWidth.apply(this, arguments);
  5431. resetPoints(rx, 1);
  5432. }
  5433. node.setHeight = function (height) {
  5434. var _height = this.getHeight();
  5435. ry = height / _height;
  5436. node.a('node.height', height);
  5437. setHeight.apply(this, arguments);
  5438. resetPoints(1, ry);
  5439. }
  5440. })(Node70, Node70.getImage(), Node70compspts, Node70endCompspts, Node70startCompspts);
  5441. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5442. var Node71 = new ht.Node();
  5443. var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 68*_ratio.ratioX, Node71height = 18*_ratio.ratioY;
  5444. (function () {
  5445. if (Node71align === 'left') {
  5446. Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
  5447. Node71textWidth = Node71width;
  5448. Node71lineStart = 1;
  5449. } else if (Node71align === 'right') {
  5450. Node71textStart = 0;
  5451. Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
  5452. Node71lineStart = (Node71width - (ht.Default.getTextSize('314-10', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
  5453. } else if (Node71align === 'center') {
  5454. Node71textStart = -3;
  5455. Node71textWidth = Node71width;
  5456. Node71lineStart = Node71width - ht.Default.getTextSize('314-10', ' '+ Node71fontSize + 'px "Arial"').width - 11;
  5457. }
  5458. })();
  5459. Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
  5460. Node71.setPosition(324*ratio.ratioX, 509*ratio.ratioY);
  5461. Node71.setWidth(Node71width);
  5462. Node71.setHeight(Node71height);
  5463. Node71._nodeType = 'text';
  5464. Node71._disallowEvert = true;
  5465. Node71.setRotation(0*Math.PI/180);
  5466. Node71.a('node.width', Node71width);
  5467. Node71.a('node.height', Node71height);
  5468. Node71.a('node.rect', [0, 0, Node71width, Node71height]);
  5469. Node71.a('node.bordercolor','rgba(0,0,0,1)');
  5470. Node71.a('node.borderwidth', 0);
  5471. Node71.a('node.background','' || 'rgba(0,0,0,0)');
  5472. Node71.a('node.gradient','');
  5473. Node71.a('node.gradientcolor','');
  5474. Node71.a('node.text','314-10');
  5475. Node71.a('node.textalign','left');
  5476. Node71.a('node.textvAlign','middle');
  5477. Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
  5478. Node71.a('node.color','rgba(0,0,0,1)');
  5479. Node71.a('node.font',' '+ Node71fontSize + 'px "Arial"');
  5480. Node71.a('node.textvisible',true);
  5481. Node71.a('node.linefeed',false);
  5482. if (false) {
  5483. Node71.a('node.textfunc',function(g) {
  5484. g.beginPath();
  5485. var str=Node71.a('node.text') || '314-10';
  5486. var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
  5487. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
  5488. });
  5489. }
  5490. if (false) {
  5491. Node71.a('node.underlinepoints',[Node71lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('314-10', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
  5492. Node71.a('node.underlinevisible',false);
  5493. Node71.a('node.underlineBorderWidth', 1);
  5494. }
  5495. dataModel.add(Node71);
  5496. zoomNodeList.push({
  5497. node: Node71,
  5498. borderWidth: 0,
  5499. attr: 'node.borderwidth'
  5500. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5501. var Node72 = new ht.Node();
  5502. var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 68*_ratio.ratioX, Node72height = 18*_ratio.ratioY;
  5503. (function () {
  5504. if (Node72align === 'left') {
  5505. Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9;
  5506. Node72textWidth = Node72width;
  5507. Node72lineStart = 1;
  5508. } else if (Node72align === 'right') {
  5509. Node72textStart = 0;
  5510. Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2;
  5511. Node72lineStart = (Node72width - (ht.Default.getTextSize('314', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
  5512. } else if (Node72align === 'center') {
  5513. Node72textStart = -3;
  5514. Node72textWidth = Node72width;
  5515. Node72lineStart = Node72width - ht.Default.getTextSize('314', ' '+ Node72fontSize + 'px "Arial"').width - 11;
  5516. }
  5517. })();
  5518. Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
  5519. Node72.setPosition(492*ratio.ratioX, 587*ratio.ratioY);
  5520. Node72.setWidth(Node72width);
  5521. Node72.setHeight(Node72height);
  5522. Node72._nodeType = 'text';
  5523. Node72._disallowEvert = true;
  5524. Node72.setRotation(0*Math.PI/180);
  5525. Node72.a('node.width', Node72width);
  5526. Node72.a('node.height', Node72height);
  5527. Node72.a('node.rect', [0, 0, Node72width, Node72height]);
  5528. Node72.a('node.bordercolor','rgba(0,0,0,1)');
  5529. Node72.a('node.borderwidth', 0);
  5530. Node72.a('node.background','' || 'rgba(0,0,0,0)');
  5531. Node72.a('node.gradient','');
  5532. Node72.a('node.gradientcolor','');
  5533. Node72.a('node.text','314');
  5534. Node72.a('node.textalign','left');
  5535. Node72.a('node.textvAlign','middle');
  5536. Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
  5537. Node72.a('node.color','rgba(0,0,0,1)');
  5538. Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"');
  5539. Node72.a('node.textvisible',true);
  5540. Node72.a('node.linefeed',false);
  5541. if (false) {
  5542. Node72.a('node.textfunc',function(g) {
  5543. g.beginPath();
  5544. var str=Node72.a('node.text') || '314';
  5545. var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
  5546. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
  5547. });
  5548. }
  5549. if (false) {
  5550. Node72.a('node.underlinepoints',[Node72lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('314', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
  5551. Node72.a('node.underlinevisible',false);
  5552. Node72.a('node.underlineBorderWidth', 1);
  5553. }
  5554. dataModel.add(Node72);
  5555. zoomNodeList.push({
  5556. node: Node72,
  5557. borderWidth: 0,
  5558. attr: 'node.borderwidth'
  5559. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5560. var Node73_0 = new ht.Node();
  5561. var Node73_0textStart, Node73_0textWidth, Node73_0lineStart, Node73_0align = 'left', Node73_0fontSize = 13.3333*_ratio.ratioY,Node73_0width = 64*_ratio.ratioX, Node73_0height = 23*_ratio.ratioY;
  5562. (function () {
  5563. if (Node73_0align === 'left') {
  5564. Node73_0textStart = Node73_0fontSize * 0.2 > 2 ? Node73_0fontSize * 0.2 - 4 : Node73_0fontSize * 0.2 - 9;
  5565. Node73_0textWidth = Node73_0width;
  5566. Node73_0lineStart = 1;
  5567. } else if (Node73_0align === 'right') {
  5568. Node73_0textStart = 0;
  5569. Node73_0textWidth =Node73_0fontSize <= 8 ? Node73_0width + Node73_0fontSize * 0.2 + 6 : Node73_0width - Node73_0fontSize * 0.2;
  5570. Node73_0lineStart = (Node73_0width - (ht.Default.getTextSize('IA :', ' '+ Node73_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  5571. } else if (Node73_0align === 'center') {
  5572. Node73_0textStart = -3;
  5573. Node73_0textWidth = Node73_0width;
  5574. Node73_0lineStart = Node73_0width - ht.Default.getTextSize('IA :', ' '+ Node73_0fontSize + 'px "Arial"').width - 11;
  5575. }
  5576. })();
  5577. Node73_0.setImage(GD.getTextJSON(Node73_0width, Node73_0height, true, false, false, ' '+ Node73_0fontSize + 'px "Arial"'))
  5578. Node73_0.setPosition(709*ratio.ratioX, 262*ratio.ratioY);
  5579. Node73_0.setWidth(Node73_0width);
  5580. Node73_0.setHeight(Node73_0height);
  5581. Node73_0._nodeType = 'text';
  5582. Node73_0._disallowEvert = true;
  5583. Node73_0.setRotation(0*Math.PI/180);
  5584. Node73_0.a('node.width', Node73_0width);
  5585. Node73_0.a('node.height', Node73_0height);
  5586. Node73_0.a('node.rect', [0, 0, Node73_0width, Node73_0height]);
  5587. Node73_0.a('node.bordercolor','rgba(0,0,0,1)');
  5588. Node73_0.a('node.borderwidth', 0);
  5589. Node73_0.a('node.background','' || 'rgba(0,0,0,0)');
  5590. Node73_0.a('node.gradient','');
  5591. Node73_0.a('node.gradientcolor','');
  5592. Node73_0.a('node.text','IA :');
  5593. Node73_0.a('node.textalign','left');
  5594. Node73_0.a('node.textvAlign','middle');
  5595. Node73_0.a('node.textrect', [Node73_0textStart, 0, Node73_0textWidth, Node73_0height]);
  5596. Node73_0.a('node.color','rgba(0,0,0,1)');
  5597. Node73_0.a('node.font',' '+ Node73_0fontSize + 'px "Arial"');
  5598. Node73_0.a('node.textvisible',true);
  5599. Node73_0.a('node.linefeed',false);
  5600. if (false) {
  5601. Node73_0.a('node.textfunc',function(g) {
  5602. g.beginPath();
  5603. var str=Node73_0.a('node.text') || 'IA :';
  5604. var color=Node73_0.a('node.color') || 'rgba(0,0,0,1)';
  5605. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73_0width,Node73_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node73_0fontSize + 'px "Arial"', 0,g);
  5606. });
  5607. }
  5608. if (false) {
  5609. Node73_0.a('node.underlinepoints',[Node73_0lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node73_0fontSize + 2 , ht.Default.getTextSize('IA :', ' '+ Node73_0fontSize + 'px "Arial"').width + 6, (Node73_0height - Node73_0fontSize) * 0.5*_ratio.ratioY + Node73_0fontSize + 2 ]);
  5610. Node73_0.a('node.underlinevisible',false);
  5611. Node73_0.a('node.underlineBorderWidth', 1);
  5612. }
  5613. dataModel.add(Node73_0);
  5614. zoomNodeList.push({
  5615. node: Node73_0,
  5616. borderWidth: 0,
  5617. attr: 'node.borderwidth'
  5618. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5619. var Node73_1 = new ht.Node();
  5620. var Node73_1textStart, Node73_1textWidth, Node73_1lineStart, Node73_1align = 'left', Node73_1fontSize = 13.3333*_ratio.ratioY,Node73_1width = 74*_ratio.ratioX, Node73_1height = 23*_ratio.ratioY;
  5621. (function () {
  5622. if (Node73_1align === 'left') {
  5623. Node73_1textStart = Node73_1fontSize * 0.2 > 2 ? Node73_1fontSize * 0.2 - 4 : Node73_1fontSize * 0.2 - 9;
  5624. Node73_1textWidth = Node73_1width;
  5625. Node73_1lineStart = 1;
  5626. } else if (Node73_1align === 'right') {
  5627. Node73_1textStart = 0;
  5628. Node73_1textWidth =Node73_1fontSize <= 8 ? Node73_1width + Node73_1fontSize * 0.2 + 6 : Node73_1width - Node73_1fontSize * 0.2;
  5629. Node73_1lineStart = (Node73_1width - (ht.Default.getTextSize('P :', ' '+ Node73_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  5630. } else if (Node73_1align === 'center') {
  5631. Node73_1textStart = -3;
  5632. Node73_1textWidth = Node73_1width;
  5633. Node73_1lineStart = Node73_1width - ht.Default.getTextSize('P :', ' '+ Node73_1fontSize + 'px "Arial"').width - 11;
  5634. }
  5635. })();
  5636. Node73_1.setImage(GD.getTextJSON(Node73_1width, Node73_1height, true, false, false, ' '+ Node73_1fontSize + 'px "Arial"'))
  5637. Node73_1.setPosition(718*ratio.ratioX, 284*ratio.ratioY);
  5638. Node73_1.setWidth(Node73_1width);
  5639. Node73_1.setHeight(Node73_1height);
  5640. Node73_1._nodeType = 'text';
  5641. Node73_1._disallowEvert = true;
  5642. Node73_1.setRotation(0*Math.PI/180);
  5643. Node73_1.a('node.width', Node73_1width);
  5644. Node73_1.a('node.height', Node73_1height);
  5645. Node73_1.a('node.rect', [0, 0, Node73_1width, Node73_1height]);
  5646. Node73_1.a('node.bordercolor','rgba(0,0,0,1)');
  5647. Node73_1.a('node.borderwidth', 0);
  5648. Node73_1.a('node.background','' || 'rgba(0,0,0,0)');
  5649. Node73_1.a('node.gradient','');
  5650. Node73_1.a('node.gradientcolor','');
  5651. Node73_1.a('node.text','P :');
  5652. Node73_1.a('node.textalign','left');
  5653. Node73_1.a('node.textvAlign','middle');
  5654. Node73_1.a('node.textrect', [Node73_1textStart, 0, Node73_1textWidth, Node73_1height]);
  5655. Node73_1.a('node.color','rgba(0,0,0,1)');
  5656. Node73_1.a('node.font',' '+ Node73_1fontSize + 'px "Arial"');
  5657. Node73_1.a('node.textvisible',true);
  5658. Node73_1.a('node.linefeed',false);
  5659. if (false) {
  5660. Node73_1.a('node.textfunc',function(g) {
  5661. g.beginPath();
  5662. var str=Node73_1.a('node.text') || 'P :';
  5663. var color=Node73_1.a('node.color') || 'rgba(0,0,0,1)';
  5664. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73_1width,Node73_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node73_1fontSize + 'px "Arial"', 0,g);
  5665. });
  5666. }
  5667. if (false) {
  5668. Node73_1.a('node.underlinepoints',[Node73_1lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node73_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node73_1fontSize + 'px "Arial"').width + 6, (Node73_1height - Node73_1fontSize) * 0.5*_ratio.ratioY + Node73_1fontSize + 2 ]);
  5669. Node73_1.a('node.underlinevisible',false);
  5670. Node73_1.a('node.underlineBorderWidth', 1);
  5671. }
  5672. dataModel.add(Node73_1);
  5673. zoomNodeList.push({
  5674. node: Node73_1,
  5675. borderWidth: 0,
  5676. attr: 'node.borderwidth'
  5677. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5678. var Node73_2 = new ht.Node();
  5679. var Node73_2textStart, Node73_2textWidth, Node73_2lineStart, Node73_2align = 'left', Node73_2fontSize = 13.3333*_ratio.ratioY,Node73_2width = 74*_ratio.ratioX, Node73_2height = 23*_ratio.ratioY;
  5680. (function () {
  5681. if (Node73_2align === 'left') {
  5682. Node73_2textStart = Node73_2fontSize * 0.2 > 2 ? Node73_2fontSize * 0.2 - 4 : Node73_2fontSize * 0.2 - 9;
  5683. Node73_2textWidth = Node73_2width;
  5684. Node73_2lineStart = 1;
  5685. } else if (Node73_2align === 'right') {
  5686. Node73_2textStart = 0;
  5687. Node73_2textWidth =Node73_2fontSize <= 8 ? Node73_2width + Node73_2fontSize * 0.2 + 6 : Node73_2width - Node73_2fontSize * 0.2;
  5688. Node73_2lineStart = (Node73_2width - (ht.Default.getTextSize('Q :', ' '+ Node73_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  5689. } else if (Node73_2align === 'center') {
  5690. Node73_2textStart = -3;
  5691. Node73_2textWidth = Node73_2width;
  5692. Node73_2lineStart = Node73_2width - ht.Default.getTextSize('Q :', ' '+ Node73_2fontSize + 'px "Arial"').width - 11;
  5693. }
  5694. })();
  5695. Node73_2.setImage(GD.getTextJSON(Node73_2width, Node73_2height, true, false, false, ' '+ Node73_2fontSize + 'px "Arial"'))
  5696. Node73_2.setPosition(718*ratio.ratioX, 308*ratio.ratioY);
  5697. Node73_2.setWidth(Node73_2width);
  5698. Node73_2.setHeight(Node73_2height);
  5699. Node73_2._nodeType = 'text';
  5700. Node73_2._disallowEvert = true;
  5701. Node73_2.setRotation(0*Math.PI/180);
  5702. Node73_2.a('node.width', Node73_2width);
  5703. Node73_2.a('node.height', Node73_2height);
  5704. Node73_2.a('node.rect', [0, 0, Node73_2width, Node73_2height]);
  5705. Node73_2.a('node.bordercolor','rgba(0,0,0,1)');
  5706. Node73_2.a('node.borderwidth', 0);
  5707. Node73_2.a('node.background','' || 'rgba(0,0,0,0)');
  5708. Node73_2.a('node.gradient','');
  5709. Node73_2.a('node.gradientcolor','');
  5710. Node73_2.a('node.text','Q :');
  5711. Node73_2.a('node.textalign','left');
  5712. Node73_2.a('node.textvAlign','middle');
  5713. Node73_2.a('node.textrect', [Node73_2textStart, 0, Node73_2textWidth, Node73_2height]);
  5714. Node73_2.a('node.color','rgba(0,0,0,1)');
  5715. Node73_2.a('node.font',' '+ Node73_2fontSize + 'px "Arial"');
  5716. Node73_2.a('node.textvisible',true);
  5717. Node73_2.a('node.linefeed',false);
  5718. if (false) {
  5719. Node73_2.a('node.textfunc',function(g) {
  5720. g.beginPath();
  5721. var str=Node73_2.a('node.text') || 'Q :';
  5722. var color=Node73_2.a('node.color') || 'rgba(0,0,0,1)';
  5723. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73_2width,Node73_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node73_2fontSize + 'px "Arial"', 0,g);
  5724. });
  5725. }
  5726. if (false) {
  5727. Node73_2.a('node.underlinepoints',[Node73_2lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node73_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node73_2fontSize + 'px "Arial"').width + 6, (Node73_2height - Node73_2fontSize) * 0.5*_ratio.ratioY + Node73_2fontSize + 2 ]);
  5728. Node73_2.a('node.underlinevisible',false);
  5729. Node73_2.a('node.underlineBorderWidth', 1);
  5730. }
  5731. dataModel.add(Node73_2);
  5732. zoomNodeList.push({
  5733. node: Node73_2,
  5734. borderWidth: 0,
  5735. attr: 'node.borderwidth'
  5736. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5737. var Node73_3 = new ht.Node();
  5738. var Node73_3textStart, Node73_3textWidth, Node73_3lineStart, Node73_3align = 'left', Node73_3fontSize = 13.3333*_ratio.ratioY,Node73_3width = 74*_ratio.ratioX, Node73_3height = 23*_ratio.ratioY;
  5739. (function () {
  5740. if (Node73_3align === 'left') {
  5741. Node73_3textStart = Node73_3fontSize * 0.2 > 2 ? Node73_3fontSize * 0.2 - 4 : Node73_3fontSize * 0.2 - 9;
  5742. Node73_3textWidth = Node73_3width;
  5743. Node73_3lineStart = 1;
  5744. } else if (Node73_3align === 'right') {
  5745. Node73_3textStart = 0;
  5746. Node73_3textWidth =Node73_3fontSize <= 8 ? Node73_3width + Node73_3fontSize * 0.2 + 6 : Node73_3width - Node73_3fontSize * 0.2;
  5747. Node73_3lineStart = (Node73_3width - (ht.Default.getTextSize('COS :', ' '+ Node73_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  5748. } else if (Node73_3align === 'center') {
  5749. Node73_3textStart = -3;
  5750. Node73_3textWidth = Node73_3width;
  5751. Node73_3lineStart = Node73_3width - ht.Default.getTextSize('COS :', ' '+ Node73_3fontSize + 'px "Arial"').width - 11;
  5752. }
  5753. })();
  5754. Node73_3.setImage(GD.getTextJSON(Node73_3width, Node73_3height, true, false, false, ' '+ Node73_3fontSize + 'px "Arial"'))
  5755. Node73_3.setPosition(699*ratio.ratioX, 333*ratio.ratioY);
  5756. Node73_3.setWidth(Node73_3width);
  5757. Node73_3.setHeight(Node73_3height);
  5758. Node73_3._nodeType = 'text';
  5759. Node73_3._disallowEvert = true;
  5760. Node73_3.setRotation(0*Math.PI/180);
  5761. Node73_3.a('node.width', Node73_3width);
  5762. Node73_3.a('node.height', Node73_3height);
  5763. Node73_3.a('node.rect', [0, 0, Node73_3width, Node73_3height]);
  5764. Node73_3.a('node.bordercolor','rgba(0,0,0,1)');
  5765. Node73_3.a('node.borderwidth', 0);
  5766. Node73_3.a('node.background','' || 'rgba(0,0,0,0)');
  5767. Node73_3.a('node.gradient','');
  5768. Node73_3.a('node.gradientcolor','');
  5769. Node73_3.a('node.text','COS :');
  5770. Node73_3.a('node.textalign','left');
  5771. Node73_3.a('node.textvAlign','middle');
  5772. Node73_3.a('node.textrect', [Node73_3textStart, 0, Node73_3textWidth, Node73_3height]);
  5773. Node73_3.a('node.color','rgba(0,0,0,1)');
  5774. Node73_3.a('node.font',' '+ Node73_3fontSize + 'px "Arial"');
  5775. Node73_3.a('node.textvisible',true);
  5776. Node73_3.a('node.linefeed',false);
  5777. if (false) {
  5778. Node73_3.a('node.textfunc',function(g) {
  5779. g.beginPath();
  5780. var str=Node73_3.a('node.text') || 'COS :';
  5781. var color=Node73_3.a('node.color') || 'rgba(0,0,0,1)';
  5782. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73_3width,Node73_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node73_3fontSize + 'px "Arial"', 0,g);
  5783. });
  5784. }
  5785. if (false) {
  5786. Node73_3.a('node.underlinepoints',[Node73_3lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node73_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node73_3fontSize + 'px "Arial"').width + 6, (Node73_3height - Node73_3fontSize) * 0.5*_ratio.ratioY + Node73_3fontSize + 2 ]);
  5787. Node73_3.a('node.underlinevisible',false);
  5788. Node73_3.a('node.underlineBorderWidth', 1);
  5789. }
  5790. dataModel.add(Node73_3);
  5791. zoomNodeList.push({
  5792. node: Node73_3,
  5793. borderWidth: 0,
  5794. attr: 'node.borderwidth'
  5795. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5796. var Node74_0 = new ht.Node();
  5797. var Node74_0textStart, Node74_0textWidth, Node74_0lineStart, Node74_0align = 'left', Node74_0fontSize = 13.3333*_ratio.ratioY,Node74_0width = 64*_ratio.ratioX, Node74_0height = 23*_ratio.ratioY;
  5798. (function () {
  5799. if (Node74_0align === 'left') {
  5800. Node74_0textStart = Node74_0fontSize * 0.2 > 2 ? Node74_0fontSize * 0.2 - 4 : Node74_0fontSize * 0.2 - 9;
  5801. Node74_0textWidth = Node74_0width;
  5802. Node74_0lineStart = 1;
  5803. } else if (Node74_0align === 'right') {
  5804. Node74_0textStart = 0;
  5805. Node74_0textWidth =Node74_0fontSize <= 8 ? Node74_0width + Node74_0fontSize * 0.2 + 6 : Node74_0width - Node74_0fontSize * 0.2;
  5806. Node74_0lineStart = (Node74_0width - (ht.Default.getTextSize('IA :', ' '+ Node74_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  5807. } else if (Node74_0align === 'center') {
  5808. Node74_0textStart = -3;
  5809. Node74_0textWidth = Node74_0width;
  5810. Node74_0lineStart = Node74_0width - ht.Default.getTextSize('IA :', ' '+ Node74_0fontSize + 'px "Arial"').width - 11;
  5811. }
  5812. })();
  5813. Node74_0.setImage(GD.getTextJSON(Node74_0width, Node74_0height, true, false, false, ' '+ Node74_0fontSize + 'px "Arial"'))
  5814. Node74_0.setPosition(645*ratio.ratioX, 385*ratio.ratioY);
  5815. Node74_0.setWidth(Node74_0width);
  5816. Node74_0.setHeight(Node74_0height);
  5817. Node74_0._nodeType = 'text';
  5818. Node74_0._disallowEvert = true;
  5819. Node74_0.setRotation(0*Math.PI/180);
  5820. Node74_0.a('node.width', Node74_0width);
  5821. Node74_0.a('node.height', Node74_0height);
  5822. Node74_0.a('node.rect', [0, 0, Node74_0width, Node74_0height]);
  5823. Node74_0.a('node.bordercolor','rgba(0,0,0,1)');
  5824. Node74_0.a('node.borderwidth', 0);
  5825. Node74_0.a('node.background','' || 'rgba(0,0,0,0)');
  5826. Node74_0.a('node.gradient','');
  5827. Node74_0.a('node.gradientcolor','');
  5828. Node74_0.a('node.text','IA :');
  5829. Node74_0.a('node.textalign','left');
  5830. Node74_0.a('node.textvAlign','middle');
  5831. Node74_0.a('node.textrect', [Node74_0textStart, 0, Node74_0textWidth, Node74_0height]);
  5832. Node74_0.a('node.color','rgba(0,0,0,1)');
  5833. Node74_0.a('node.font',' '+ Node74_0fontSize + 'px "Arial"');
  5834. Node74_0.a('node.textvisible',true);
  5835. Node74_0.a('node.linefeed',false);
  5836. if (false) {
  5837. Node74_0.a('node.textfunc',function(g) {
  5838. g.beginPath();
  5839. var str=Node74_0.a('node.text') || 'IA :';
  5840. var color=Node74_0.a('node.color') || 'rgba(0,0,0,1)';
  5841. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74_0width,Node74_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node74_0fontSize + 'px "Arial"', 0,g);
  5842. });
  5843. }
  5844. if (false) {
  5845. Node74_0.a('node.underlinepoints',[Node74_0lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node74_0fontSize + 2 , ht.Default.getTextSize('IA :', ' '+ Node74_0fontSize + 'px "Arial"').width + 6, (Node74_0height - Node74_0fontSize) * 0.5*_ratio.ratioY + Node74_0fontSize + 2 ]);
  5846. Node74_0.a('node.underlinevisible',false);
  5847. Node74_0.a('node.underlineBorderWidth', 1);
  5848. }
  5849. dataModel.add(Node74_0);
  5850. zoomNodeList.push({
  5851. node: Node74_0,
  5852. borderWidth: 0,
  5853. attr: 'node.borderwidth'
  5854. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5855. var Node74_1 = new ht.Node();
  5856. var Node74_1textStart, Node74_1textWidth, Node74_1lineStart, Node74_1align = 'left', Node74_1fontSize = 13.3333*_ratio.ratioY,Node74_1width = 74*_ratio.ratioX, Node74_1height = 23*_ratio.ratioY;
  5857. (function () {
  5858. if (Node74_1align === 'left') {
  5859. Node74_1textStart = Node74_1fontSize * 0.2 > 2 ? Node74_1fontSize * 0.2 - 4 : Node74_1fontSize * 0.2 - 9;
  5860. Node74_1textWidth = Node74_1width;
  5861. Node74_1lineStart = 1;
  5862. } else if (Node74_1align === 'right') {
  5863. Node74_1textStart = 0;
  5864. Node74_1textWidth =Node74_1fontSize <= 8 ? Node74_1width + Node74_1fontSize * 0.2 + 6 : Node74_1width - Node74_1fontSize * 0.2;
  5865. Node74_1lineStart = (Node74_1width - (ht.Default.getTextSize('P :', ' '+ Node74_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  5866. } else if (Node74_1align === 'center') {
  5867. Node74_1textStart = -3;
  5868. Node74_1textWidth = Node74_1width;
  5869. Node74_1lineStart = Node74_1width - ht.Default.getTextSize('P :', ' '+ Node74_1fontSize + 'px "Arial"').width - 11;
  5870. }
  5871. })();
  5872. Node74_1.setImage(GD.getTextJSON(Node74_1width, Node74_1height, true, false, false, ' '+ Node74_1fontSize + 'px "Arial"'))
  5873. Node74_1.setPosition(654*ratio.ratioX, 406*ratio.ratioY);
  5874. Node74_1.setWidth(Node74_1width);
  5875. Node74_1.setHeight(Node74_1height);
  5876. Node74_1._nodeType = 'text';
  5877. Node74_1._disallowEvert = true;
  5878. Node74_1.setRotation(0*Math.PI/180);
  5879. Node74_1.a('node.width', Node74_1width);
  5880. Node74_1.a('node.height', Node74_1height);
  5881. Node74_1.a('node.rect', [0, 0, Node74_1width, Node74_1height]);
  5882. Node74_1.a('node.bordercolor','rgba(0,0,0,1)');
  5883. Node74_1.a('node.borderwidth', 0);
  5884. Node74_1.a('node.background','' || 'rgba(0,0,0,0)');
  5885. Node74_1.a('node.gradient','');
  5886. Node74_1.a('node.gradientcolor','');
  5887. Node74_1.a('node.text','P :');
  5888. Node74_1.a('node.textalign','left');
  5889. Node74_1.a('node.textvAlign','middle');
  5890. Node74_1.a('node.textrect', [Node74_1textStart, 0, Node74_1textWidth, Node74_1height]);
  5891. Node74_1.a('node.color','rgba(0,0,0,1)');
  5892. Node74_1.a('node.font',' '+ Node74_1fontSize + 'px "Arial"');
  5893. Node74_1.a('node.textvisible',true);
  5894. Node74_1.a('node.linefeed',false);
  5895. if (false) {
  5896. Node74_1.a('node.textfunc',function(g) {
  5897. g.beginPath();
  5898. var str=Node74_1.a('node.text') || 'P :';
  5899. var color=Node74_1.a('node.color') || 'rgba(0,0,0,1)';
  5900. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74_1width,Node74_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node74_1fontSize + 'px "Arial"', 0,g);
  5901. });
  5902. }
  5903. if (false) {
  5904. Node74_1.a('node.underlinepoints',[Node74_1lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node74_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node74_1fontSize + 'px "Arial"').width + 6, (Node74_1height - Node74_1fontSize) * 0.5*_ratio.ratioY + Node74_1fontSize + 2 ]);
  5905. Node74_1.a('node.underlinevisible',false);
  5906. Node74_1.a('node.underlineBorderWidth', 1);
  5907. }
  5908. dataModel.add(Node74_1);
  5909. zoomNodeList.push({
  5910. node: Node74_1,
  5911. borderWidth: 0,
  5912. attr: 'node.borderwidth'
  5913. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5914. var Node74_2 = new ht.Node();
  5915. var Node74_2textStart, Node74_2textWidth, Node74_2lineStart, Node74_2align = 'left', Node74_2fontSize = 13.3333*_ratio.ratioY,Node74_2width = 74*_ratio.ratioX, Node74_2height = 23*_ratio.ratioY;
  5916. (function () {
  5917. if (Node74_2align === 'left') {
  5918. Node74_2textStart = Node74_2fontSize * 0.2 > 2 ? Node74_2fontSize * 0.2 - 4 : Node74_2fontSize * 0.2 - 9;
  5919. Node74_2textWidth = Node74_2width;
  5920. Node74_2lineStart = 1;
  5921. } else if (Node74_2align === 'right') {
  5922. Node74_2textStart = 0;
  5923. Node74_2textWidth =Node74_2fontSize <= 8 ? Node74_2width + Node74_2fontSize * 0.2 + 6 : Node74_2width - Node74_2fontSize * 0.2;
  5924. Node74_2lineStart = (Node74_2width - (ht.Default.getTextSize('Q :', ' '+ Node74_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  5925. } else if (Node74_2align === 'center') {
  5926. Node74_2textStart = -3;
  5927. Node74_2textWidth = Node74_2width;
  5928. Node74_2lineStart = Node74_2width - ht.Default.getTextSize('Q :', ' '+ Node74_2fontSize + 'px "Arial"').width - 11;
  5929. }
  5930. })();
  5931. Node74_2.setImage(GD.getTextJSON(Node74_2width, Node74_2height, true, false, false, ' '+ Node74_2fontSize + 'px "Arial"'))
  5932. Node74_2.setPosition(654*ratio.ratioX, 431*ratio.ratioY);
  5933. Node74_2.setWidth(Node74_2width);
  5934. Node74_2.setHeight(Node74_2height);
  5935. Node74_2._nodeType = 'text';
  5936. Node74_2._disallowEvert = true;
  5937. Node74_2.setRotation(0*Math.PI/180);
  5938. Node74_2.a('node.width', Node74_2width);
  5939. Node74_2.a('node.height', Node74_2height);
  5940. Node74_2.a('node.rect', [0, 0, Node74_2width, Node74_2height]);
  5941. Node74_2.a('node.bordercolor','rgba(0,0,0,1)');
  5942. Node74_2.a('node.borderwidth', 0);
  5943. Node74_2.a('node.background','' || 'rgba(0,0,0,0)');
  5944. Node74_2.a('node.gradient','');
  5945. Node74_2.a('node.gradientcolor','');
  5946. Node74_2.a('node.text','Q :');
  5947. Node74_2.a('node.textalign','left');
  5948. Node74_2.a('node.textvAlign','middle');
  5949. Node74_2.a('node.textrect', [Node74_2textStart, 0, Node74_2textWidth, Node74_2height]);
  5950. Node74_2.a('node.color','rgba(0,0,0,1)');
  5951. Node74_2.a('node.font',' '+ Node74_2fontSize + 'px "Arial"');
  5952. Node74_2.a('node.textvisible',true);
  5953. Node74_2.a('node.linefeed',false);
  5954. if (false) {
  5955. Node74_2.a('node.textfunc',function(g) {
  5956. g.beginPath();
  5957. var str=Node74_2.a('node.text') || 'Q :';
  5958. var color=Node74_2.a('node.color') || 'rgba(0,0,0,1)';
  5959. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74_2width,Node74_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node74_2fontSize + 'px "Arial"', 0,g);
  5960. });
  5961. }
  5962. if (false) {
  5963. Node74_2.a('node.underlinepoints',[Node74_2lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node74_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node74_2fontSize + 'px "Arial"').width + 6, (Node74_2height - Node74_2fontSize) * 0.5*_ratio.ratioY + Node74_2fontSize + 2 ]);
  5964. Node74_2.a('node.underlinevisible',false);
  5965. Node74_2.a('node.underlineBorderWidth', 1);
  5966. }
  5967. dataModel.add(Node74_2);
  5968. zoomNodeList.push({
  5969. node: Node74_2,
  5970. borderWidth: 0,
  5971. attr: 'node.borderwidth'
  5972. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5973. var Node74_3 = new ht.Node();
  5974. var Node74_3textStart, Node74_3textWidth, Node74_3lineStart, Node74_3align = 'left', Node74_3fontSize = 13.3333*_ratio.ratioY,Node74_3width = 74*_ratio.ratioX, Node74_3height = 23*_ratio.ratioY;
  5975. (function () {
  5976. if (Node74_3align === 'left') {
  5977. Node74_3textStart = Node74_3fontSize * 0.2 > 2 ? Node74_3fontSize * 0.2 - 4 : Node74_3fontSize * 0.2 - 9;
  5978. Node74_3textWidth = Node74_3width;
  5979. Node74_3lineStart = 1;
  5980. } else if (Node74_3align === 'right') {
  5981. Node74_3textStart = 0;
  5982. Node74_3textWidth =Node74_3fontSize <= 8 ? Node74_3width + Node74_3fontSize * 0.2 + 6 : Node74_3width - Node74_3fontSize * 0.2;
  5983. Node74_3lineStart = (Node74_3width - (ht.Default.getTextSize('COS :', ' '+ Node74_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  5984. } else if (Node74_3align === 'center') {
  5985. Node74_3textStart = -3;
  5986. Node74_3textWidth = Node74_3width;
  5987. Node74_3lineStart = Node74_3width - ht.Default.getTextSize('COS :', ' '+ Node74_3fontSize + 'px "Arial"').width - 11;
  5988. }
  5989. })();
  5990. Node74_3.setImage(GD.getTextJSON(Node74_3width, Node74_3height, true, false, false, ' '+ Node74_3fontSize + 'px "Arial"'))
  5991. Node74_3.setPosition(634*ratio.ratioX, 456*ratio.ratioY);
  5992. Node74_3.setWidth(Node74_3width);
  5993. Node74_3.setHeight(Node74_3height);
  5994. Node74_3._nodeType = 'text';
  5995. Node74_3._disallowEvert = true;
  5996. Node74_3.setRotation(0*Math.PI/180);
  5997. Node74_3.a('node.width', Node74_3width);
  5998. Node74_3.a('node.height', Node74_3height);
  5999. Node74_3.a('node.rect', [0, 0, Node74_3width, Node74_3height]);
  6000. Node74_3.a('node.bordercolor','rgba(0,0,0,1)');
  6001. Node74_3.a('node.borderwidth', 0);
  6002. Node74_3.a('node.background','' || 'rgba(0,0,0,0)');
  6003. Node74_3.a('node.gradient','');
  6004. Node74_3.a('node.gradientcolor','');
  6005. Node74_3.a('node.text','COS :');
  6006. Node74_3.a('node.textalign','left');
  6007. Node74_3.a('node.textvAlign','middle');
  6008. Node74_3.a('node.textrect', [Node74_3textStart, 0, Node74_3textWidth, Node74_3height]);
  6009. Node74_3.a('node.color','rgba(0,0,0,1)');
  6010. Node74_3.a('node.font',' '+ Node74_3fontSize + 'px "Arial"');
  6011. Node74_3.a('node.textvisible',true);
  6012. Node74_3.a('node.linefeed',false);
  6013. if (false) {
  6014. Node74_3.a('node.textfunc',function(g) {
  6015. g.beginPath();
  6016. var str=Node74_3.a('node.text') || 'COS :';
  6017. var color=Node74_3.a('node.color') || 'rgba(0,0,0,1)';
  6018. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74_3width,Node74_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node74_3fontSize + 'px "Arial"', 0,g);
  6019. });
  6020. }
  6021. if (false) {
  6022. Node74_3.a('node.underlinepoints',[Node74_3lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node74_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node74_3fontSize + 'px "Arial"').width + 6, (Node74_3height - Node74_3fontSize) * 0.5*_ratio.ratioY + Node74_3fontSize + 2 ]);
  6023. Node74_3.a('node.underlinevisible',false);
  6024. Node74_3.a('node.underlineBorderWidth', 1);
  6025. }
  6026. dataModel.add(Node74_3);
  6027. zoomNodeList.push({
  6028. node: Node74_3,
  6029. borderWidth: 0,
  6030. attr: 'node.borderwidth'
  6031. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6032. var Node75_0 = new ht.Node();
  6033. var Node75_0textStart, Node75_0textWidth, Node75_0lineStart, Node75_0align = 'left', Node75_0fontSize = 13.3333*_ratio.ratioY,Node75_0width = 64*_ratio.ratioX, Node75_0height = 23*_ratio.ratioY;
  6034. (function () {
  6035. if (Node75_0align === 'left') {
  6036. Node75_0textStart = Node75_0fontSize * 0.2 > 2 ? Node75_0fontSize * 0.2 - 4 : Node75_0fontSize * 0.2 - 9;
  6037. Node75_0textWidth = Node75_0width;
  6038. Node75_0lineStart = 1;
  6039. } else if (Node75_0align === 'right') {
  6040. Node75_0textStart = 0;
  6041. Node75_0textWidth =Node75_0fontSize <= 8 ? Node75_0width + Node75_0fontSize * 0.2 + 6 : Node75_0width - Node75_0fontSize * 0.2;
  6042. Node75_0lineStart = (Node75_0width - (ht.Default.getTextSize('IA :', ' '+ Node75_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  6043. } else if (Node75_0align === 'center') {
  6044. Node75_0textStart = -3;
  6045. Node75_0textWidth = Node75_0width;
  6046. Node75_0lineStart = Node75_0width - ht.Default.getTextSize('IA :', ' '+ Node75_0fontSize + 'px "Arial"').width - 11;
  6047. }
  6048. })();
  6049. Node75_0.setImage(GD.getTextJSON(Node75_0width, Node75_0height, true, false, false, ' '+ Node75_0fontSize + 'px "Arial"'))
  6050. Node75_0.setPosition(604*ratio.ratioX, 530*ratio.ratioY);
  6051. Node75_0.setWidth(Node75_0width);
  6052. Node75_0.setHeight(Node75_0height);
  6053. Node75_0._nodeType = 'text';
  6054. Node75_0._disallowEvert = true;
  6055. Node75_0.setRotation(0*Math.PI/180);
  6056. Node75_0.a('node.width', Node75_0width);
  6057. Node75_0.a('node.height', Node75_0height);
  6058. Node75_0.a('node.rect', [0, 0, Node75_0width, Node75_0height]);
  6059. Node75_0.a('node.bordercolor','rgba(0,0,0,1)');
  6060. Node75_0.a('node.borderwidth', 0);
  6061. Node75_0.a('node.background','' || 'rgba(0,0,0,0)');
  6062. Node75_0.a('node.gradient','');
  6063. Node75_0.a('node.gradientcolor','');
  6064. Node75_0.a('node.text','IA :');
  6065. Node75_0.a('node.textalign','left');
  6066. Node75_0.a('node.textvAlign','middle');
  6067. Node75_0.a('node.textrect', [Node75_0textStart, 0, Node75_0textWidth, Node75_0height]);
  6068. Node75_0.a('node.color','rgba(0,0,0,1)');
  6069. Node75_0.a('node.font',' '+ Node75_0fontSize + 'px "Arial"');
  6070. Node75_0.a('node.textvisible',true);
  6071. Node75_0.a('node.linefeed',false);
  6072. if (false) {
  6073. Node75_0.a('node.textfunc',function(g) {
  6074. g.beginPath();
  6075. var str=Node75_0.a('node.text') || 'IA :';
  6076. var color=Node75_0.a('node.color') || 'rgba(0,0,0,1)';
  6077. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75_0width,Node75_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node75_0fontSize + 'px "Arial"', 0,g);
  6078. });
  6079. }
  6080. if (false) {
  6081. Node75_0.a('node.underlinepoints',[Node75_0lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node75_0fontSize + 2 , ht.Default.getTextSize('IA :', ' '+ Node75_0fontSize + 'px "Arial"').width + 6, (Node75_0height - Node75_0fontSize) * 0.5*_ratio.ratioY + Node75_0fontSize + 2 ]);
  6082. Node75_0.a('node.underlinevisible',false);
  6083. Node75_0.a('node.underlineBorderWidth', 1);
  6084. }
  6085. dataModel.add(Node75_0);
  6086. zoomNodeList.push({
  6087. node: Node75_0,
  6088. borderWidth: 0,
  6089. attr: 'node.borderwidth'
  6090. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6091. var Node75_1 = new ht.Node();
  6092. var Node75_1textStart, Node75_1textWidth, Node75_1lineStart, Node75_1align = 'left', Node75_1fontSize = 13.3333*_ratio.ratioY,Node75_1width = 74*_ratio.ratioX, Node75_1height = 23*_ratio.ratioY;
  6093. (function () {
  6094. if (Node75_1align === 'left') {
  6095. Node75_1textStart = Node75_1fontSize * 0.2 > 2 ? Node75_1fontSize * 0.2 - 4 : Node75_1fontSize * 0.2 - 9;
  6096. Node75_1textWidth = Node75_1width;
  6097. Node75_1lineStart = 1;
  6098. } else if (Node75_1align === 'right') {
  6099. Node75_1textStart = 0;
  6100. Node75_1textWidth =Node75_1fontSize <= 8 ? Node75_1width + Node75_1fontSize * 0.2 + 6 : Node75_1width - Node75_1fontSize * 0.2;
  6101. Node75_1lineStart = (Node75_1width - (ht.Default.getTextSize('P :', ' '+ Node75_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  6102. } else if (Node75_1align === 'center') {
  6103. Node75_1textStart = -3;
  6104. Node75_1textWidth = Node75_1width;
  6105. Node75_1lineStart = Node75_1width - ht.Default.getTextSize('P :', ' '+ Node75_1fontSize + 'px "Arial"').width - 11;
  6106. }
  6107. })();
  6108. Node75_1.setImage(GD.getTextJSON(Node75_1width, Node75_1height, true, false, false, ' '+ Node75_1fontSize + 'px "Arial"'))
  6109. Node75_1.setPosition(612*ratio.ratioX, 552*ratio.ratioY);
  6110. Node75_1.setWidth(Node75_1width);
  6111. Node75_1.setHeight(Node75_1height);
  6112. Node75_1._nodeType = 'text';
  6113. Node75_1._disallowEvert = true;
  6114. Node75_1.setRotation(0*Math.PI/180);
  6115. Node75_1.a('node.width', Node75_1width);
  6116. Node75_1.a('node.height', Node75_1height);
  6117. Node75_1.a('node.rect', [0, 0, Node75_1width, Node75_1height]);
  6118. Node75_1.a('node.bordercolor','rgba(0,0,0,1)');
  6119. Node75_1.a('node.borderwidth', 0);
  6120. Node75_1.a('node.background','' || 'rgba(0,0,0,0)');
  6121. Node75_1.a('node.gradient','');
  6122. Node75_1.a('node.gradientcolor','');
  6123. Node75_1.a('node.text','P :');
  6124. Node75_1.a('node.textalign','left');
  6125. Node75_1.a('node.textvAlign','middle');
  6126. Node75_1.a('node.textrect', [Node75_1textStart, 0, Node75_1textWidth, Node75_1height]);
  6127. Node75_1.a('node.color','rgba(0,0,0,1)');
  6128. Node75_1.a('node.font',' '+ Node75_1fontSize + 'px "Arial"');
  6129. Node75_1.a('node.textvisible',true);
  6130. Node75_1.a('node.linefeed',false);
  6131. if (false) {
  6132. Node75_1.a('node.textfunc',function(g) {
  6133. g.beginPath();
  6134. var str=Node75_1.a('node.text') || 'P :';
  6135. var color=Node75_1.a('node.color') || 'rgba(0,0,0,1)';
  6136. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75_1width,Node75_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node75_1fontSize + 'px "Arial"', 0,g);
  6137. });
  6138. }
  6139. if (false) {
  6140. Node75_1.a('node.underlinepoints',[Node75_1lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node75_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node75_1fontSize + 'px "Arial"').width + 6, (Node75_1height - Node75_1fontSize) * 0.5*_ratio.ratioY + Node75_1fontSize + 2 ]);
  6141. Node75_1.a('node.underlinevisible',false);
  6142. Node75_1.a('node.underlineBorderWidth', 1);
  6143. }
  6144. dataModel.add(Node75_1);
  6145. zoomNodeList.push({
  6146. node: Node75_1,
  6147. borderWidth: 0,
  6148. attr: 'node.borderwidth'
  6149. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6150. var Node75_2 = new ht.Node();
  6151. var Node75_2textStart, Node75_2textWidth, Node75_2lineStart, Node75_2align = 'left', Node75_2fontSize = 13.3333*_ratio.ratioY,Node75_2width = 74*_ratio.ratioX, Node75_2height = 23*_ratio.ratioY;
  6152. (function () {
  6153. if (Node75_2align === 'left') {
  6154. Node75_2textStart = Node75_2fontSize * 0.2 > 2 ? Node75_2fontSize * 0.2 - 4 : Node75_2fontSize * 0.2 - 9;
  6155. Node75_2textWidth = Node75_2width;
  6156. Node75_2lineStart = 1;
  6157. } else if (Node75_2align === 'right') {
  6158. Node75_2textStart = 0;
  6159. Node75_2textWidth =Node75_2fontSize <= 8 ? Node75_2width + Node75_2fontSize * 0.2 + 6 : Node75_2width - Node75_2fontSize * 0.2;
  6160. Node75_2lineStart = (Node75_2width - (ht.Default.getTextSize('Q :', ' '+ Node75_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  6161. } else if (Node75_2align === 'center') {
  6162. Node75_2textStart = -3;
  6163. Node75_2textWidth = Node75_2width;
  6164. Node75_2lineStart = Node75_2width - ht.Default.getTextSize('Q :', ' '+ Node75_2fontSize + 'px "Arial"').width - 11;
  6165. }
  6166. })();
  6167. Node75_2.setImage(GD.getTextJSON(Node75_2width, Node75_2height, true, false, false, ' '+ Node75_2fontSize + 'px "Arial"'))
  6168. Node75_2.setPosition(612*ratio.ratioX, 576*ratio.ratioY);
  6169. Node75_2.setWidth(Node75_2width);
  6170. Node75_2.setHeight(Node75_2height);
  6171. Node75_2._nodeType = 'text';
  6172. Node75_2._disallowEvert = true;
  6173. Node75_2.setRotation(0*Math.PI/180);
  6174. Node75_2.a('node.width', Node75_2width);
  6175. Node75_2.a('node.height', Node75_2height);
  6176. Node75_2.a('node.rect', [0, 0, Node75_2width, Node75_2height]);
  6177. Node75_2.a('node.bordercolor','rgba(0,0,0,1)');
  6178. Node75_2.a('node.borderwidth', 0);
  6179. Node75_2.a('node.background','' || 'rgba(0,0,0,0)');
  6180. Node75_2.a('node.gradient','');
  6181. Node75_2.a('node.gradientcolor','');
  6182. Node75_2.a('node.text','Q :');
  6183. Node75_2.a('node.textalign','left');
  6184. Node75_2.a('node.textvAlign','middle');
  6185. Node75_2.a('node.textrect', [Node75_2textStart, 0, Node75_2textWidth, Node75_2height]);
  6186. Node75_2.a('node.color','rgba(0,0,0,1)');
  6187. Node75_2.a('node.font',' '+ Node75_2fontSize + 'px "Arial"');
  6188. Node75_2.a('node.textvisible',true);
  6189. Node75_2.a('node.linefeed',false);
  6190. if (false) {
  6191. Node75_2.a('node.textfunc',function(g) {
  6192. g.beginPath();
  6193. var str=Node75_2.a('node.text') || 'Q :';
  6194. var color=Node75_2.a('node.color') || 'rgba(0,0,0,1)';
  6195. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75_2width,Node75_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node75_2fontSize + 'px "Arial"', 0,g);
  6196. });
  6197. }
  6198. if (false) {
  6199. Node75_2.a('node.underlinepoints',[Node75_2lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node75_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node75_2fontSize + 'px "Arial"').width + 6, (Node75_2height - Node75_2fontSize) * 0.5*_ratio.ratioY + Node75_2fontSize + 2 ]);
  6200. Node75_2.a('node.underlinevisible',false);
  6201. Node75_2.a('node.underlineBorderWidth', 1);
  6202. }
  6203. dataModel.add(Node75_2);
  6204. zoomNodeList.push({
  6205. node: Node75_2,
  6206. borderWidth: 0,
  6207. attr: 'node.borderwidth'
  6208. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6209. var Node75_3 = new ht.Node();
  6210. var Node75_3textStart, Node75_3textWidth, Node75_3lineStart, Node75_3align = 'left', Node75_3fontSize = 13.3333*_ratio.ratioY,Node75_3width = 74*_ratio.ratioX, Node75_3height = 23*_ratio.ratioY;
  6211. (function () {
  6212. if (Node75_3align === 'left') {
  6213. Node75_3textStart = Node75_3fontSize * 0.2 > 2 ? Node75_3fontSize * 0.2 - 4 : Node75_3fontSize * 0.2 - 9;
  6214. Node75_3textWidth = Node75_3width;
  6215. Node75_3lineStart = 1;
  6216. } else if (Node75_3align === 'right') {
  6217. Node75_3textStart = 0;
  6218. Node75_3textWidth =Node75_3fontSize <= 8 ? Node75_3width + Node75_3fontSize * 0.2 + 6 : Node75_3width - Node75_3fontSize * 0.2;
  6219. Node75_3lineStart = (Node75_3width - (ht.Default.getTextSize('COS :', ' '+ Node75_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  6220. } else if (Node75_3align === 'center') {
  6221. Node75_3textStart = -3;
  6222. Node75_3textWidth = Node75_3width;
  6223. Node75_3lineStart = Node75_3width - ht.Default.getTextSize('COS :', ' '+ Node75_3fontSize + 'px "Arial"').width - 11;
  6224. }
  6225. })();
  6226. Node75_3.setImage(GD.getTextJSON(Node75_3width, Node75_3height, true, false, false, ' '+ Node75_3fontSize + 'px "Arial"'))
  6227. Node75_3.setPosition(593*ratio.ratioX, 601*ratio.ratioY);
  6228. Node75_3.setWidth(Node75_3width);
  6229. Node75_3.setHeight(Node75_3height);
  6230. Node75_3._nodeType = 'text';
  6231. Node75_3._disallowEvert = true;
  6232. Node75_3.setRotation(0*Math.PI/180);
  6233. Node75_3.a('node.width', Node75_3width);
  6234. Node75_3.a('node.height', Node75_3height);
  6235. Node75_3.a('node.rect', [0, 0, Node75_3width, Node75_3height]);
  6236. Node75_3.a('node.bordercolor','rgba(0,0,0,1)');
  6237. Node75_3.a('node.borderwidth', 0);
  6238. Node75_3.a('node.background','' || 'rgba(0,0,0,0)');
  6239. Node75_3.a('node.gradient','');
  6240. Node75_3.a('node.gradientcolor','');
  6241. Node75_3.a('node.text','COS :');
  6242. Node75_3.a('node.textalign','left');
  6243. Node75_3.a('node.textvAlign','middle');
  6244. Node75_3.a('node.textrect', [Node75_3textStart, 0, Node75_3textWidth, Node75_3height]);
  6245. Node75_3.a('node.color','rgba(0,0,0,1)');
  6246. Node75_3.a('node.font',' '+ Node75_3fontSize + 'px "Arial"');
  6247. Node75_3.a('node.textvisible',true);
  6248. Node75_3.a('node.linefeed',false);
  6249. if (false) {
  6250. Node75_3.a('node.textfunc',function(g) {
  6251. g.beginPath();
  6252. var str=Node75_3.a('node.text') || 'COS :';
  6253. var color=Node75_3.a('node.color') || 'rgba(0,0,0,1)';
  6254. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75_3width,Node75_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node75_3fontSize + 'px "Arial"', 0,g);
  6255. });
  6256. }
  6257. if (false) {
  6258. Node75_3.a('node.underlinepoints',[Node75_3lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node75_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node75_3fontSize + 'px "Arial"').width + 6, (Node75_3height - Node75_3fontSize) * 0.5*_ratio.ratioY + Node75_3fontSize + 2 ]);
  6259. Node75_3.a('node.underlinevisible',false);
  6260. Node75_3.a('node.underlineBorderWidth', 1);
  6261. }
  6262. dataModel.add(Node75_3);
  6263. zoomNodeList.push({
  6264. node: Node75_3,
  6265. borderWidth: 0,
  6266. attr: 'node.borderwidth'
  6267. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6268. var Node76 = new ht.Node();
  6269. var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 68*_ratio.ratioX, Node76height = 18*_ratio.ratioY;
  6270. (function () {
  6271. if (Node76align === 'left') {
  6272. Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9;
  6273. Node76textWidth = Node76width;
  6274. Node76lineStart = 1;
  6275. } else if (Node76align === 'right') {
  6276. Node76textStart = 0;
  6277. Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2;
  6278. Node76lineStart = (Node76width - (ht.Default.getTextSize('MW', ' '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5;
  6279. } else if (Node76align === 'center') {
  6280. Node76textStart = -3;
  6281. Node76textWidth = Node76width;
  6282. Node76lineStart = Node76width - ht.Default.getTextSize('MW', ' '+ Node76fontSize + 'px "Arial"').width - 11;
  6283. }
  6284. })();
  6285. Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "Arial"'))
  6286. Node76.setPosition(749*ratio.ratioX, 408*ratio.ratioY);
  6287. Node76.setWidth(Node76width);
  6288. Node76.setHeight(Node76height);
  6289. Node76._nodeType = 'text';
  6290. Node76._disallowEvert = true;
  6291. Node76.setRotation(0*Math.PI/180);
  6292. Node76.a('node.width', Node76width);
  6293. Node76.a('node.height', Node76height);
  6294. Node76.a('node.rect', [0, 0, Node76width, Node76height]);
  6295. Node76.a('node.bordercolor','rgba(0,0,0,1)');
  6296. Node76.a('node.borderwidth', 0);
  6297. Node76.a('node.background','' || 'rgba(0,0,0,0)');
  6298. Node76.a('node.gradient','');
  6299. Node76.a('node.gradientcolor','');
  6300. Node76.a('node.text','MW');
  6301. Node76.a('node.textalign','left');
  6302. Node76.a('node.textvAlign','middle');
  6303. Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
  6304. Node76.a('node.color','rgba(0,0,0,1)');
  6305. Node76.a('node.font',' '+ Node76fontSize + 'px "Arial"');
  6306. Node76.a('node.textvisible',true);
  6307. Node76.a('node.linefeed',false);
  6308. if (false) {
  6309. Node76.a('node.textfunc',function(g) {
  6310. g.beginPath();
  6311. var str=Node76.a('node.text') || 'MW';
  6312. var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
  6313. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,' '+ Node76fontSize + 'px "Arial"', 0,g);
  6314. });
  6315. }
  6316. if (false) {
  6317. Node76.a('node.underlinepoints',[Node76lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node76fontSize + 'px "Arial"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]);
  6318. Node76.a('node.underlinevisible',false);
  6319. Node76.a('node.underlineBorderWidth', 1);
  6320. }
  6321. dataModel.add(Node76);
  6322. zoomNodeList.push({
  6323. node: Node76,
  6324. borderWidth: 0,
  6325. attr: 'node.borderwidth'
  6326. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6327. var Node77 = new ht.Node();
  6328. var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'left', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 68*_ratio.ratioX, Node77height = 18*_ratio.ratioY;
  6329. (function () {
  6330. if (Node77align === 'left') {
  6331. Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
  6332. Node77textWidth = Node77width;
  6333. Node77lineStart = 1;
  6334. } else if (Node77align === 'right') {
  6335. Node77textStart = 0;
  6336. Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
  6337. Node77lineStart = (Node77width - (ht.Default.getTextSize('MVR', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
  6338. } else if (Node77align === 'center') {
  6339. Node77textStart = -3;
  6340. Node77textWidth = Node77width;
  6341. Node77lineStart = Node77width - ht.Default.getTextSize('MVR', ' '+ Node77fontSize + 'px "Arial"').width - 11;
  6342. }
  6343. })();
  6344. Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
  6345. Node77.setPosition(749*ratio.ratioX, 431*ratio.ratioY);
  6346. Node77.setWidth(Node77width);
  6347. Node77.setHeight(Node77height);
  6348. Node77._nodeType = 'text';
  6349. Node77._disallowEvert = true;
  6350. Node77.setRotation(0*Math.PI/180);
  6351. Node77.a('node.width', Node77width);
  6352. Node77.a('node.height', Node77height);
  6353. Node77.a('node.rect', [0, 0, Node77width, Node77height]);
  6354. Node77.a('node.bordercolor','rgba(0,0,0,1)');
  6355. Node77.a('node.borderwidth', 0);
  6356. Node77.a('node.background','' || 'rgba(0,0,0,0)');
  6357. Node77.a('node.gradient','');
  6358. Node77.a('node.gradientcolor','');
  6359. Node77.a('node.text','MVR');
  6360. Node77.a('node.textalign','left');
  6361. Node77.a('node.textvAlign','middle');
  6362. Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
  6363. Node77.a('node.color','rgba(0,0,0,1)');
  6364. Node77.a('node.font',' '+ Node77fontSize + 'px "Arial"');
  6365. Node77.a('node.textvisible',true);
  6366. Node77.a('node.linefeed',false);
  6367. if (false) {
  6368. Node77.a('node.textfunc',function(g) {
  6369. g.beginPath();
  6370. var str=Node77.a('node.text') || 'MVR';
  6371. var color=Node77.a('node.color') || 'rgba(0,0,0,1)';
  6372. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
  6373. });
  6374. }
  6375. if (false) {
  6376. Node77.a('node.underlinepoints',[Node77lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('MVR', ' '+ Node77fontSize + 'px "Arial"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
  6377. Node77.a('node.underlinevisible',false);
  6378. Node77.a('node.underlineBorderWidth', 1);
  6379. }
  6380. dataModel.add(Node77);
  6381. zoomNodeList.push({
  6382. node: Node77,
  6383. borderWidth: 0,
  6384. attr: 'node.borderwidth'
  6385. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6386. var Node78 = new ht.Node();
  6387. var Node78textStart, Node78textWidth, Node78lineStart, Node78align = 'left', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 52*_ratio.ratioX, Node78height = 19*_ratio.ratioY;
  6388. (function () {
  6389. if (Node78align === 'left') {
  6390. Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9;
  6391. Node78textWidth = Node78width;
  6392. Node78lineStart = 1;
  6393. } else if (Node78align === 'right') {
  6394. Node78textStart = 0;
  6395. Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2;
  6396. Node78lineStart = (Node78width - (ht.Default.getTextSize('314-30', ' '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5;
  6397. } else if (Node78align === 'center') {
  6398. Node78textStart = -3;
  6399. Node78textWidth = Node78width;
  6400. Node78lineStart = Node78width - ht.Default.getTextSize('314-30', ' '+ Node78fontSize + 'px "Arial"').width - 11;
  6401. }
  6402. })();
  6403. Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, ' '+ Node78fontSize + 'px "Arial"'))
  6404. Node78.setPosition(532*ratio.ratioX, 475*ratio.ratioY);
  6405. Node78.setWidth(Node78width);
  6406. Node78.setHeight(Node78height);
  6407. Node78._nodeType = 'text';
  6408. Node78._disallowEvert = true;
  6409. Node78.setRotation(0*Math.PI/180);
  6410. Node78.a('node.width', Node78width);
  6411. Node78.a('node.height', Node78height);
  6412. Node78.a('node.rect', [0, 0, Node78width, Node78height]);
  6413. Node78.a('node.bordercolor','rgba(0,0,0,1)');
  6414. Node78.a('node.borderwidth', 0);
  6415. Node78.a('node.background','' || 'rgba(0,0,0,0)');
  6416. Node78.a('node.gradient','');
  6417. Node78.a('node.gradientcolor','');
  6418. Node78.a('node.text','314-30');
  6419. Node78.a('node.textalign','left');
  6420. Node78.a('node.textvAlign','middle');
  6421. Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]);
  6422. Node78.a('node.color','rgba(0,0,0,1)');
  6423. Node78.a('node.font',' '+ Node78fontSize + 'px "Arial"');
  6424. Node78.a('node.textvisible',true);
  6425. Node78.a('node.linefeed',false);
  6426. if (false) {
  6427. Node78.a('node.textfunc',function(g) {
  6428. g.beginPath();
  6429. var str=Node78.a('node.text') || '314-30';
  6430. var color=Node78.a('node.color') || 'rgba(0,0,0,1)';
  6431. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"left",color,' '+ Node78fontSize + 'px "Arial"', 0,g);
  6432. });
  6433. }
  6434. if (false) {
  6435. Node78.a('node.underlinepoints',[Node78lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('314-30', ' '+ Node78fontSize + 'px "Arial"').width + 6, (Node78height - Node78fontSize) * 0.5*_ratio.ratioY + Node78fontSize + 2 ]);
  6436. Node78.a('node.underlinevisible',false);
  6437. Node78.a('node.underlineBorderWidth', 1);
  6438. }
  6439. dataModel.add(Node78);
  6440. zoomNodeList.push({
  6441. node: Node78,
  6442. borderWidth: 0,
  6443. attr: 'node.borderwidth'
  6444. }); var Node79points=[434, 448,483, 448],
  6445. Node79rect=ht.Default.unionPoint([{x:434,y:448},{x:483,y:448}]),
  6446. Node79compspts=[];
  6447. _ratio = GD.getRatioWithRotation(0, ratio);
  6448. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  6449. _endratio = GD.getRatioWithRotation(0, ratio);
  6450. for(var i=0;i<Node79points.length;i++){
  6451. if(i%2==0){
  6452. Node79compspts.push(Node79points[i]-Node79rect.x);
  6453. }else{
  6454. Node79compspts.push(Node79points[i]-Node79rect.y);
  6455. }
  6456. }
  6457. var Node79ptslength=Node79compspts.length;
  6458. if (Node79rect.height === 0) {
  6459. Node79compspts[0] -= 0;
  6460. Node79compspts[Node79ptslength-2] += 0;
  6461. } else if (Node79rect.width === 0){
  6462. Node79compspts[1] -= 0;
  6463. Node79compspts[Node79ptslength-1] += 0;
  6464. } else {
  6465. Node79compspts[0] -= 0;
  6466. Node79compspts[1] -= 0;
  6467. Node79compspts[Node79ptslength-2] += 0;
  6468. Node79compspts[Node79ptslength-1] += 0;
  6469. }
  6470. Node79 = new ht.Node();
  6471. Node79.borderWidth = 1;
  6472. Node79rect.width = Node79rect.width === 0 ? 0.0001 : Node79rect.width;
  6473. Node79rect.height = Node79rect.height === 0 ? 0.0001 : Node79rect.height;
  6474. var Node79endCompspts = [Node79compspts[Node79ptslength-2],Node79compspts[Node79ptslength-1],0,0];
  6475. var Node79startCompspts = [Node79compspts[0],Node79compspts[1],0,0];
  6476. Node79.setImage(GD.getPolyLineJSON());
  6477. Node79.setPosition(Node79rect.x+Node79rect.width/2,Node79rect.y+Node79rect.height/2);
  6478. Node79.setSize(Node79rect.width,Node79rect.height);
  6479. Node79.setStyle("opacity",1);
  6480. Node79.s({'pixelPerfect':true});
  6481. Node79borderwidth=1;
  6482. Node79.setRotation(0);
  6483. dataModel.add(Node79);
  6484. Node79.a('node.points',Node79compspts);
  6485. Node79.a('node.segments',[1,2]);
  6486. Node79.a('node.color','rgba(255,128,0,1)');
  6487. Node79.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6488. Node79.a('node.borderColor','rgba(255,128,0,1)');
  6489. Node79.a('node.background','rgba(255,128,0,1)');
  6490. Node79.a('node.gradient','');
  6491. Node79.a('node.gradientcolor','rgba(255,128,0,1)');
  6492. Node79.a('node.endCompspts',Node79endCompspts);
  6493. Node79.a('node.startCompspts',Node79startCompspts);
  6494. (function (node, img, compspts, endCompspts, startCompspts) {
  6495. var position = node.getPosition(),
  6496. w = node.getWidth()*_ratio.ratioX,
  6497. h = node.getHeight()*_ratio.ratioY;
  6498. function resetPoints(rx, ry) {
  6499. for (var i = 0, len = compspts.length; i < len; i++) {
  6500. if (i%2 === 0) {
  6501. compspts[i]*=rx;
  6502. } else {
  6503. compspts[i]*=ry;
  6504. }
  6505. }
  6506. endCompspts[0] = compspts[compspts.length-2];
  6507. endCompspts[1] = compspts[compspts.length-1];
  6508. endCompspts[2] *= rx;
  6509. endCompspts[3] *= ry;
  6510. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6511. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6512. startCompspts[0] = compspts[0];
  6513. startCompspts[1] = compspts[1];
  6514. startCompspts[2] *= rx;
  6515. startCompspts[3] *= ry;
  6516. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6517. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6518. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6519. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6520. }
  6521. node.setSize(w, h);
  6522. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6523. node.a('node.width', w);
  6524. node.a('node.height', h);
  6525. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6526. node.borderWidth = 1;
  6527. node.a('node.borderwidth',node.borderWidth);
  6528. node._nodename = 'Node79';
  6529. node._nodeType = 'line';
  6530. zoomNodeList.push({
  6531. node: node,
  6532. attr: 'node.borderwidth'
  6533. });
  6534. var setWidth = node.setWidth,
  6535. setHeight = node.setHeight,
  6536. timer, rx = 1, ry = 1;
  6537. node.setWidth = function (width) {
  6538. var _width = this.getWidth();
  6539. rx = width / _width;
  6540. node.a('node.width', width);
  6541. setWidth.apply(this, arguments);
  6542. resetPoints(rx, 1);
  6543. }
  6544. node.setHeight = function (height) {
  6545. var _height = this.getHeight();
  6546. ry = height / _height;
  6547. node.a('node.height', height);
  6548. setHeight.apply(this, arguments);
  6549. resetPoints(1, ry);
  6550. }
  6551. })(Node79, Node79.getImage(), Node79compspts, Node79endCompspts, Node79startCompspts);
  6552. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6553. var Node80_0type = 'oval';
  6554. var Node80_0 = new ht.Node(),
  6555. Node80_0BorderWidth = 2*2;
  6556. if (Node80_0type === 'arc') {
  6557. Node80_0BorderWidth *= 2;
  6558. }
  6559. Node80_0.setImage(GD.getRectJSON(21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY, Node80_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  6560. Node80_0.setPosition(1305*ratio.ratioX, 239*ratio.ratioY);
  6561. Node80_0.setSize(21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY);
  6562. Node80_0.s({
  6563. 'pixelPerfect':true
  6564. /*@AddPara@*/
  6565. });
  6566. Node80_0.a('node.width', 21.36609*_ratio.ratioX);
  6567. Node80_0.a('node.height', 15.45181*_ratio.ratioY);
  6568. Node80_0.a('node.type', Node80_0type);
  6569. Node80_0.a('node.rect', [0, 0, 21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY]);
  6570. Node80_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  6571. Node80_0.a('node.gradientcolor', '');
  6572. Node80_0.a('node.gradient', '');
  6573. Node80_0.a('node.borderwidth', Node80_0BorderWidth);
  6574. Node80_0.a('node.color', 'rgba(255,0,255,1)');
  6575. Node80_0.a('node.fillrect', [0,0,0,0]);
  6576. Node80_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  6577. Node80_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  6578. Node80_0.a('node.fillgradient', '');
  6579. if (Node80_0type !== 'rect') {
  6580. Node80_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  6581. Node80_0.a('node.arcTo', parseFloat('@arcTo@'));
  6582. Node80_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  6583. }
  6584. if (Node80_0type === 'arc') {
  6585. Node80_0.a('node.arcOval', true);
  6586. }
  6587. Node80_0.setRotation(0*Math.PI/180);
  6588. Node80_0.borderWidth = Node80_0BorderWidth;
  6589. Node80_0.borderFillwidth = Node80_0BorderWidth;
  6590. dataModel.add(Node80_0);
  6591. Node80_0._nodename = 'Node80_0'
  6592. Node80_0._nodeType = 'rect';
  6593. zoomNodeList.push({
  6594. node: Node80_0,
  6595. attr: 'node.borderwidth'
  6596. });
  6597. (function (node, _img) {
  6598. var setWidth = node.setWidth,
  6599. setHeight = node.setHeight;
  6600. node.setWidth = function (width) {
  6601. if (width === this.getWidth()) return ;
  6602. var height = this.getHeight();
  6603. this.a('node.width', width);
  6604. this.a('node.rect', [0,0,width, height]);
  6605. setWidth.apply(this, arguments);
  6606. }
  6607. node.setHeight = function (height) {
  6608. if (height === this.getHeight()) return ;
  6609. var width = this.getWidth();
  6610. this.a('node.height', height);
  6611. this.a('node.rect', [0,0,width, height]);
  6612. setHeight.apply(this, arguments);
  6613. }
  6614. })(Node80_0, Node80_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6615. var Node80_1type = 'oval';
  6616. var Node80_1 = new ht.Node(),
  6617. Node80_1BorderWidth = 2*2;
  6618. if (Node80_1type === 'arc') {
  6619. Node80_1BorderWidth *= 2;
  6620. }
  6621. Node80_1.setImage(GD.getRectJSON(21.36609*_ratio.ratioX, 15.45183*_ratio.ratioY, Node80_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  6622. Node80_1.setPosition(1305*ratio.ratioX, 252*ratio.ratioY);
  6623. Node80_1.setSize(21.36609*_ratio.ratioX, 15.45183*_ratio.ratioY);
  6624. Node80_1.s({
  6625. 'pixelPerfect':true
  6626. /*@AddPara@*/
  6627. });
  6628. Node80_1.a('node.width', 21.36609*_ratio.ratioX);
  6629. Node80_1.a('node.height', 15.45183*_ratio.ratioY);
  6630. Node80_1.a('node.type', Node80_1type);
  6631. Node80_1.a('node.rect', [0, 0, 21.36609*_ratio.ratioX, 15.45183*_ratio.ratioY]);
  6632. Node80_1.a('node.background', 'rgba(255,255,255,0.003921569)');
  6633. Node80_1.a('node.gradientcolor', '');
  6634. Node80_1.a('node.gradient', '');
  6635. Node80_1.a('node.borderwidth', Node80_1BorderWidth);
  6636. Node80_1.a('node.color', 'rgba(255,0,255,1)');
  6637. Node80_1.a('node.fillrect', [0,0,0,0]);
  6638. Node80_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  6639. Node80_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  6640. Node80_1.a('node.fillgradient', '');
  6641. if (Node80_1type !== 'rect') {
  6642. Node80_1.a('node.arcFrom', parseFloat('@arcFrom@'));
  6643. Node80_1.a('node.arcTo', parseFloat('@arcTo@'));
  6644. Node80_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  6645. }
  6646. if (Node80_1type === 'arc') {
  6647. Node80_1.a('node.arcOval', true);
  6648. }
  6649. Node80_1.setRotation(0*Math.PI/180);
  6650. Node80_1.borderWidth = Node80_1BorderWidth;
  6651. Node80_1.borderFillwidth = Node80_1BorderWidth;
  6652. dataModel.add(Node80_1);
  6653. Node80_1._nodename = 'Node80_1'
  6654. Node80_1._nodeType = 'rect';
  6655. zoomNodeList.push({
  6656. node: Node80_1,
  6657. attr: 'node.borderwidth'
  6658. });
  6659. (function (node, _img) {
  6660. var setWidth = node.setWidth,
  6661. setHeight = node.setHeight;
  6662. node.setWidth = function (width) {
  6663. if (width === this.getWidth()) return ;
  6664. var height = this.getHeight();
  6665. this.a('node.width', width);
  6666. this.a('node.rect', [0,0,width, height]);
  6667. setWidth.apply(this, arguments);
  6668. }
  6669. node.setHeight = function (height) {
  6670. if (height === this.getHeight()) return ;
  6671. var width = this.getWidth();
  6672. this.a('node.height', height);
  6673. this.a('node.rect', [0,0,width, height]);
  6674. setHeight.apply(this, arguments);
  6675. }
  6676. })(Node80_1, Node80_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6677. var Node80_2type = 'oval';
  6678. var Node80_2 = new ht.Node(),
  6679. Node80_2BorderWidth = 2*2;
  6680. if (Node80_2type === 'arc') {
  6681. Node80_2BorderWidth *= 2;
  6682. }
  6683. Node80_2.setImage(GD.getRectJSON(21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY, Node80_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  6684. Node80_2.setPosition(1289*ratio.ratioX, 246*ratio.ratioY);
  6685. Node80_2.setSize(21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY);
  6686. Node80_2.s({
  6687. 'pixelPerfect':true
  6688. /*@AddPara@*/
  6689. });
  6690. Node80_2.a('node.width', 21.36609*_ratio.ratioX);
  6691. Node80_2.a('node.height', 15.45181*_ratio.ratioY);
  6692. Node80_2.a('node.type', Node80_2type);
  6693. Node80_2.a('node.rect', [0, 0, 21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY]);
  6694. Node80_2.a('node.background', 'rgba(255,255,255,0.003921569)');
  6695. Node80_2.a('node.gradientcolor', '');
  6696. Node80_2.a('node.gradient', '');
  6697. Node80_2.a('node.borderwidth', Node80_2BorderWidth);
  6698. Node80_2.a('node.color', 'rgba(255,0,255,1)');
  6699. Node80_2.a('node.fillrect', [0,0,0,0]);
  6700. Node80_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  6701. Node80_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  6702. Node80_2.a('node.fillgradient', '');
  6703. if (Node80_2type !== 'rect') {
  6704. Node80_2.a('node.arcFrom', parseFloat('@arcFrom@'));
  6705. Node80_2.a('node.arcTo', parseFloat('@arcTo@'));
  6706. Node80_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  6707. }
  6708. if (Node80_2type === 'arc') {
  6709. Node80_2.a('node.arcOval', true);
  6710. }
  6711. Node80_2.setRotation(0*Math.PI/180);
  6712. Node80_2.borderWidth = Node80_2BorderWidth;
  6713. Node80_2.borderFillwidth = Node80_2BorderWidth;
  6714. dataModel.add(Node80_2);
  6715. Node80_2._nodename = 'Node80_2'
  6716. Node80_2._nodeType = 'rect';
  6717. zoomNodeList.push({
  6718. node: Node80_2,
  6719. attr: 'node.borderwidth'
  6720. });
  6721. (function (node, _img) {
  6722. var setWidth = node.setWidth,
  6723. setHeight = node.setHeight;
  6724. node.setWidth = function (width) {
  6725. if (width === this.getWidth()) return ;
  6726. var height = this.getHeight();
  6727. this.a('node.width', width);
  6728. this.a('node.rect', [0,0,width, height]);
  6729. setWidth.apply(this, arguments);
  6730. }
  6731. node.setHeight = function (height) {
  6732. if (height === this.getHeight()) return ;
  6733. var width = this.getWidth();
  6734. this.a('node.height', height);
  6735. this.a('node.rect', [0,0,width, height]);
  6736. setHeight.apply(this, arguments);
  6737. }
  6738. })(Node80_2, Node80_2.getImage());var Node80_3points=[1306, 235,1306, 239],
  6739. Node80_3rect=ht.Default.unionPoint([{x:1306,y:235},{x:1306,y:239}]),
  6740. Node80_3compspts=[];
  6741. _ratio = GD.getRatioWithRotation(0, ratio);
  6742. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  6743. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  6744. for(var i=0;i<Node80_3points.length;i++){
  6745. if(i%2==0){
  6746. Node80_3compspts.push(Node80_3points[i]-Node80_3rect.x);
  6747. }else{
  6748. Node80_3compspts.push(Node80_3points[i]-Node80_3rect.y);
  6749. }
  6750. }
  6751. var Node80_3ptslength=Node80_3compspts.length;
  6752. if (Node80_3rect.height === 0) {
  6753. Node80_3compspts[0] -= 0;
  6754. Node80_3compspts[Node80_3ptslength-2] += 0;
  6755. } else if (Node80_3rect.width === 0){
  6756. Node80_3compspts[1] -= 0;
  6757. Node80_3compspts[Node80_3ptslength-1] += 0;
  6758. } else {
  6759. Node80_3compspts[0] -= 0;
  6760. Node80_3compspts[1] -= 0;
  6761. Node80_3compspts[Node80_3ptslength-2] += 0;
  6762. Node80_3compspts[Node80_3ptslength-1] += 0;
  6763. }
  6764. Node80_3 = new ht.Node();
  6765. Node80_3.borderWidth = 2;
  6766. Node80_3rect.width = Node80_3rect.width === 0 ? 0.0001 : Node80_3rect.width;
  6767. Node80_3rect.height = Node80_3rect.height === 0 ? 0.0001 : Node80_3rect.height;
  6768. var Node80_3endCompspts = [Node80_3compspts[Node80_3ptslength-2],Node80_3compspts[Node80_3ptslength-1],0,0];
  6769. var Node80_3startCompspts = [Node80_3compspts[0],Node80_3compspts[1],0,0];
  6770. Node80_3.setImage(GD.getPolyLineJSON());
  6771. Node80_3.setPosition(Node80_3rect.x+Node80_3rect.width/2,Node80_3rect.y+Node80_3rect.height/2);
  6772. Node80_3.setSize(Node80_3rect.width,Node80_3rect.height);
  6773. Node80_3.setStyle("opacity",1);
  6774. Node80_3.s({'pixelPerfect':true});
  6775. Node80_3borderwidth=2;
  6776. Node80_3.setRotation(0);
  6777. dataModel.add(Node80_3);
  6778. Node80_3.a('node.points',Node80_3compspts);
  6779. Node80_3.a('node.segments',[1,2]);
  6780. Node80_3.a('node.color','rgba(255,0,255,1)');
  6781. Node80_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6782. Node80_3.a('node.borderColor','rgba(255,0,255,1)');
  6783. Node80_3.a('node.background','rgba(255,0,255,1)');
  6784. Node80_3.a('node.gradient','');
  6785. Node80_3.a('node.gradientcolor','rgba(255,0,255,1)');
  6786. Node80_3.a('node.endCompspts',Node80_3endCompspts);
  6787. Node80_3.a('node.startCompspts',Node80_3startCompspts);
  6788. (function (node, img, compspts, endCompspts, startCompspts) {
  6789. var position = node.getPosition(),
  6790. w = node.getWidth()*_ratio.ratioX,
  6791. h = node.getHeight()*_ratio.ratioY;
  6792. function resetPoints(rx, ry) {
  6793. for (var i = 0, len = compspts.length; i < len; i++) {
  6794. if (i%2 === 0) {
  6795. compspts[i]*=rx;
  6796. } else {
  6797. compspts[i]*=ry;
  6798. }
  6799. }
  6800. endCompspts[0] = compspts[compspts.length-2];
  6801. endCompspts[1] = compspts[compspts.length-1];
  6802. endCompspts[2] *= rx;
  6803. endCompspts[3] *= ry;
  6804. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6805. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6806. startCompspts[0] = compspts[0];
  6807. startCompspts[1] = compspts[1];
  6808. startCompspts[2] *= rx;
  6809. startCompspts[3] *= ry;
  6810. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6811. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6812. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6813. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6814. }
  6815. node.setSize(w, h);
  6816. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6817. node.a('node.width', w);
  6818. node.a('node.height', h);
  6819. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6820. node.borderWidth = 2;
  6821. node.a('node.borderwidth',node.borderWidth);
  6822. node._nodename = 'Node80_3';
  6823. node._nodeType = 'line';
  6824. zoomNodeList.push({
  6825. node: node,
  6826. attr: 'node.borderwidth'
  6827. });
  6828. var setWidth = node.setWidth,
  6829. setHeight = node.setHeight,
  6830. timer, rx = 1, ry = 1;
  6831. node.setWidth = function (width) {
  6832. var _width = this.getWidth();
  6833. rx = width / _width;
  6834. node.a('node.width', width);
  6835. setWidth.apply(this, arguments);
  6836. resetPoints(rx, 1);
  6837. }
  6838. node.setHeight = function (height) {
  6839. var _height = this.getHeight();
  6840. ry = height / _height;
  6841. node.a('node.height', height);
  6842. setHeight.apply(this, arguments);
  6843. resetPoints(1, ry);
  6844. }
  6845. })(Node80_3, Node80_3.getImage(), Node80_3compspts, Node80_3endCompspts, Node80_3startCompspts);
  6846. var Node80_4points=[1305, 239,1311, 242],
  6847. Node80_4rect=ht.Default.unionPoint([{x:1305,y:239},{x:1311,y:242}]),
  6848. Node80_4compspts=[];
  6849. _ratio = GD.getRatioWithRotation(0, ratio);
  6850. var _startratio = GD.getRatioWithRotation(3.6052402625906, ratio),
  6851. _endratio = GD.getRatioWithRotation(0.463647609000806, ratio);
  6852. for(var i=0;i<Node80_4points.length;i++){
  6853. if(i%2==0){
  6854. Node80_4compspts.push(Node80_4points[i]-Node80_4rect.x);
  6855. }else{
  6856. Node80_4compspts.push(Node80_4points[i]-Node80_4rect.y);
  6857. }
  6858. }
  6859. var Node80_4ptslength=Node80_4compspts.length;
  6860. if (Node80_4rect.height === 0) {
  6861. Node80_4compspts[0] -= 0;
  6862. Node80_4compspts[Node80_4ptslength-2] += 0;
  6863. } else if (Node80_4rect.width === 0){
  6864. Node80_4compspts[1] -= 0;
  6865. Node80_4compspts[Node80_4ptslength-1] += 0;
  6866. } else {
  6867. Node80_4compspts[0] -= 0;
  6868. Node80_4compspts[1] -= 0;
  6869. Node80_4compspts[Node80_4ptslength-2] += 0;
  6870. Node80_4compspts[Node80_4ptslength-1] += 0;
  6871. }
  6872. Node80_4 = new ht.Node();
  6873. Node80_4.borderWidth = 2;
  6874. Node80_4rect.width = Node80_4rect.width === 0 ? 0.0001 : Node80_4rect.width;
  6875. Node80_4rect.height = Node80_4rect.height === 0 ? 0.0001 : Node80_4rect.height;
  6876. var Node80_4endCompspts = [Node80_4compspts[Node80_4ptslength-2],Node80_4compspts[Node80_4ptslength-1],0,0];
  6877. var Node80_4startCompspts = [Node80_4compspts[0],Node80_4compspts[1],0,0];
  6878. Node80_4.setImage(GD.getPolyLineJSON());
  6879. Node80_4.setPosition(Node80_4rect.x+Node80_4rect.width/2,Node80_4rect.y+Node80_4rect.height/2);
  6880. Node80_4.setSize(Node80_4rect.width,Node80_4rect.height);
  6881. Node80_4.setStyle("opacity",1);
  6882. Node80_4.s({'pixelPerfect':true});
  6883. Node80_4borderwidth=2;
  6884. Node80_4.setRotation(0);
  6885. dataModel.add(Node80_4);
  6886. Node80_4.a('node.points',Node80_4compspts);
  6887. Node80_4.a('node.segments',[1,2]);
  6888. Node80_4.a('node.color','rgba(255,0,255,1)');
  6889. Node80_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6890. Node80_4.a('node.borderColor','rgba(255,0,255,1)');
  6891. Node80_4.a('node.background','rgba(255,0,255,1)');
  6892. Node80_4.a('node.gradient','');
  6893. Node80_4.a('node.gradientcolor','rgba(255,0,255,1)');
  6894. Node80_4.a('node.endCompspts',Node80_4endCompspts);
  6895. Node80_4.a('node.startCompspts',Node80_4startCompspts);
  6896. (function (node, img, compspts, endCompspts, startCompspts) {
  6897. var position = node.getPosition(),
  6898. w = node.getWidth()*_ratio.ratioX,
  6899. h = node.getHeight()*_ratio.ratioY;
  6900. function resetPoints(rx, ry) {
  6901. for (var i = 0, len = compspts.length; i < len; i++) {
  6902. if (i%2 === 0) {
  6903. compspts[i]*=rx;
  6904. } else {
  6905. compspts[i]*=ry;
  6906. }
  6907. }
  6908. endCompspts[0] = compspts[compspts.length-2];
  6909. endCompspts[1] = compspts[compspts.length-1];
  6910. endCompspts[2] *= rx;
  6911. endCompspts[3] *= ry;
  6912. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6913. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6914. startCompspts[0] = compspts[0];
  6915. startCompspts[1] = compspts[1];
  6916. startCompspts[2] *= rx;
  6917. startCompspts[3] *= ry;
  6918. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6919. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6920. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6921. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6922. }
  6923. node.setSize(w, h);
  6924. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6925. node.a('node.width', w);
  6926. node.a('node.height', h);
  6927. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6928. node.borderWidth = 2;
  6929. node.a('node.borderwidth',node.borderWidth);
  6930. node._nodename = 'Node80_4';
  6931. node._nodeType = 'line';
  6932. zoomNodeList.push({
  6933. node: node,
  6934. attr: 'node.borderwidth'
  6935. });
  6936. var setWidth = node.setWidth,
  6937. setHeight = node.setHeight,
  6938. timer, rx = 1, ry = 1;
  6939. node.setWidth = function (width) {
  6940. var _width = this.getWidth();
  6941. rx = width / _width;
  6942. node.a('node.width', width);
  6943. setWidth.apply(this, arguments);
  6944. resetPoints(rx, 1);
  6945. }
  6946. node.setHeight = function (height) {
  6947. var _height = this.getHeight();
  6948. ry = height / _height;
  6949. node.a('node.height', height);
  6950. setHeight.apply(this, arguments);
  6951. resetPoints(1, ry);
  6952. }
  6953. })(Node80_4, Node80_4.getImage(), Node80_4compspts, Node80_4endCompspts, Node80_4startCompspts);
  6954. var Node80_5points=[1305, 239,1300, 242],
  6955. Node80_5rect=ht.Default.unionPoint([{x:1305,y:239},{x:1300,y:242}]),
  6956. Node80_5compspts=[];
  6957. _ratio = GD.getRatioWithRotation(0, ratio);
  6958. var _startratio = GD.getRatioWithRotation(-0.540419517801362, ratio),
  6959. _endratio = GD.getRatioWithRotation(2.60117313578843, ratio);
  6960. for(var i=0;i<Node80_5points.length;i++){
  6961. if(i%2==0){
  6962. Node80_5compspts.push(Node80_5points[i]-Node80_5rect.x);
  6963. }else{
  6964. Node80_5compspts.push(Node80_5points[i]-Node80_5rect.y);
  6965. }
  6966. }
  6967. var Node80_5ptslength=Node80_5compspts.length;
  6968. if (Node80_5rect.height === 0) {
  6969. Node80_5compspts[0] -= 0;
  6970. Node80_5compspts[Node80_5ptslength-2] += 0;
  6971. } else if (Node80_5rect.width === 0){
  6972. Node80_5compspts[1] -= 0;
  6973. Node80_5compspts[Node80_5ptslength-1] += 0;
  6974. } else {
  6975. Node80_5compspts[0] -= 0;
  6976. Node80_5compspts[1] -= 0;
  6977. Node80_5compspts[Node80_5ptslength-2] += 0;
  6978. Node80_5compspts[Node80_5ptslength-1] += 0;
  6979. }
  6980. Node80_5 = new ht.Node();
  6981. Node80_5.borderWidth = 2;
  6982. Node80_5rect.width = Node80_5rect.width === 0 ? 0.0001 : Node80_5rect.width;
  6983. Node80_5rect.height = Node80_5rect.height === 0 ? 0.0001 : Node80_5rect.height;
  6984. var Node80_5endCompspts = [Node80_5compspts[Node80_5ptslength-2],Node80_5compspts[Node80_5ptslength-1],0,0];
  6985. var Node80_5startCompspts = [Node80_5compspts[0],Node80_5compspts[1],0,0];
  6986. Node80_5.setImage(GD.getPolyLineJSON());
  6987. Node80_5.setPosition(Node80_5rect.x+Node80_5rect.width/2,Node80_5rect.y+Node80_5rect.height/2);
  6988. Node80_5.setSize(Node80_5rect.width,Node80_5rect.height);
  6989. Node80_5.setStyle("opacity",1);
  6990. Node80_5.s({'pixelPerfect':true});
  6991. Node80_5borderwidth=2;
  6992. Node80_5.setRotation(0);
  6993. dataModel.add(Node80_5);
  6994. Node80_5.a('node.points',Node80_5compspts);
  6995. Node80_5.a('node.segments',[1,2]);
  6996. Node80_5.a('node.color','rgba(255,0,255,1)');
  6997. Node80_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6998. Node80_5.a('node.borderColor','rgba(255,0,255,1)');
  6999. Node80_5.a('node.background','rgba(255,0,255,1)');
  7000. Node80_5.a('node.gradient','');
  7001. Node80_5.a('node.gradientcolor','rgba(255,0,255,1)');
  7002. Node80_5.a('node.endCompspts',Node80_5endCompspts);
  7003. Node80_5.a('node.startCompspts',Node80_5startCompspts);
  7004. (function (node, img, compspts, endCompspts, startCompspts) {
  7005. var position = node.getPosition(),
  7006. w = node.getWidth()*_ratio.ratioX,
  7007. h = node.getHeight()*_ratio.ratioY;
  7008. function resetPoints(rx, ry) {
  7009. for (var i = 0, len = compspts.length; i < len; i++) {
  7010. if (i%2 === 0) {
  7011. compspts[i]*=rx;
  7012. } else {
  7013. compspts[i]*=ry;
  7014. }
  7015. }
  7016. endCompspts[0] = compspts[compspts.length-2];
  7017. endCompspts[1] = compspts[compspts.length-1];
  7018. endCompspts[2] *= rx;
  7019. endCompspts[3] *= ry;
  7020. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7021. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7022. startCompspts[0] = compspts[0];
  7023. startCompspts[1] = compspts[1];
  7024. startCompspts[2] *= rx;
  7025. startCompspts[3] *= ry;
  7026. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7027. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7028. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7029. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7030. }
  7031. node.setSize(w, h);
  7032. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7033. node.a('node.width', w);
  7034. node.a('node.height', h);
  7035. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7036. node.borderWidth = 2;
  7037. node.a('node.borderwidth',node.borderWidth);
  7038. node._nodename = 'Node80_5';
  7039. node._nodeType = 'line';
  7040. zoomNodeList.push({
  7041. node: node,
  7042. attr: 'node.borderwidth'
  7043. });
  7044. var setWidth = node.setWidth,
  7045. setHeight = node.setHeight,
  7046. timer, rx = 1, ry = 1;
  7047. node.setWidth = function (width) {
  7048. var _width = this.getWidth();
  7049. rx = width / _width;
  7050. node.a('node.width', width);
  7051. setWidth.apply(this, arguments);
  7052. resetPoints(rx, 1);
  7053. }
  7054. node.setHeight = function (height) {
  7055. var _height = this.getHeight();
  7056. ry = height / _height;
  7057. node.a('node.height', height);
  7058. setHeight.apply(this, arguments);
  7059. resetPoints(1, ry);
  7060. }
  7061. })(Node80_5, Node80_5.getImage(), Node80_5compspts, Node80_5endCompspts, Node80_5startCompspts);
  7062. var Node80_6points=[1306, 248,1306, 252],
  7063. Node80_6rect=ht.Default.unionPoint([{x:1306,y:248},{x:1306,y:252}]),
  7064. Node80_6compspts=[];
  7065. _ratio = GD.getRatioWithRotation(0, ratio);
  7066. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  7067. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  7068. for(var i=0;i<Node80_6points.length;i++){
  7069. if(i%2==0){
  7070. Node80_6compspts.push(Node80_6points[i]-Node80_6rect.x);
  7071. }else{
  7072. Node80_6compspts.push(Node80_6points[i]-Node80_6rect.y);
  7073. }
  7074. }
  7075. var Node80_6ptslength=Node80_6compspts.length;
  7076. if (Node80_6rect.height === 0) {
  7077. Node80_6compspts[0] -= 0;
  7078. Node80_6compspts[Node80_6ptslength-2] += 0;
  7079. } else if (Node80_6rect.width === 0){
  7080. Node80_6compspts[1] -= 0;
  7081. Node80_6compspts[Node80_6ptslength-1] += 0;
  7082. } else {
  7083. Node80_6compspts[0] -= 0;
  7084. Node80_6compspts[1] -= 0;
  7085. Node80_6compspts[Node80_6ptslength-2] += 0;
  7086. Node80_6compspts[Node80_6ptslength-1] += 0;
  7087. }
  7088. Node80_6 = new ht.Node();
  7089. Node80_6.borderWidth = 2;
  7090. Node80_6rect.width = Node80_6rect.width === 0 ? 0.0001 : Node80_6rect.width;
  7091. Node80_6rect.height = Node80_6rect.height === 0 ? 0.0001 : Node80_6rect.height;
  7092. var Node80_6endCompspts = [Node80_6compspts[Node80_6ptslength-2],Node80_6compspts[Node80_6ptslength-1],0,0];
  7093. var Node80_6startCompspts = [Node80_6compspts[0],Node80_6compspts[1],0,0];
  7094. Node80_6.setImage(GD.getPolyLineJSON());
  7095. Node80_6.setPosition(Node80_6rect.x+Node80_6rect.width/2,Node80_6rect.y+Node80_6rect.height/2);
  7096. Node80_6.setSize(Node80_6rect.width,Node80_6rect.height);
  7097. Node80_6.setStyle("opacity",1);
  7098. Node80_6.s({'pixelPerfect':true});
  7099. Node80_6borderwidth=2;
  7100. Node80_6.setRotation(0);
  7101. dataModel.add(Node80_6);
  7102. Node80_6.a('node.points',Node80_6compspts);
  7103. Node80_6.a('node.segments',[1,2]);
  7104. Node80_6.a('node.color','rgba(255,0,255,1)');
  7105. Node80_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7106. Node80_6.a('node.borderColor','rgba(255,0,255,1)');
  7107. Node80_6.a('node.background','rgba(255,0,255,1)');
  7108. Node80_6.a('node.gradient','');
  7109. Node80_6.a('node.gradientcolor','rgba(255,0,255,1)');
  7110. Node80_6.a('node.endCompspts',Node80_6endCompspts);
  7111. Node80_6.a('node.startCompspts',Node80_6startCompspts);
  7112. (function (node, img, compspts, endCompspts, startCompspts) {
  7113. var position = node.getPosition(),
  7114. w = node.getWidth()*_ratio.ratioX,
  7115. h = node.getHeight()*_ratio.ratioY;
  7116. function resetPoints(rx, ry) {
  7117. for (var i = 0, len = compspts.length; i < len; i++) {
  7118. if (i%2 === 0) {
  7119. compspts[i]*=rx;
  7120. } else {
  7121. compspts[i]*=ry;
  7122. }
  7123. }
  7124. endCompspts[0] = compspts[compspts.length-2];
  7125. endCompspts[1] = compspts[compspts.length-1];
  7126. endCompspts[2] *= rx;
  7127. endCompspts[3] *= ry;
  7128. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7129. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7130. startCompspts[0] = compspts[0];
  7131. startCompspts[1] = compspts[1];
  7132. startCompspts[2] *= rx;
  7133. startCompspts[3] *= ry;
  7134. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7135. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7136. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7137. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7138. }
  7139. node.setSize(w, h);
  7140. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7141. node.a('node.width', w);
  7142. node.a('node.height', h);
  7143. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7144. node.borderWidth = 2;
  7145. node.a('node.borderwidth',node.borderWidth);
  7146. node._nodename = 'Node80_6';
  7147. node._nodeType = 'line';
  7148. zoomNodeList.push({
  7149. node: node,
  7150. attr: 'node.borderwidth'
  7151. });
  7152. var setWidth = node.setWidth,
  7153. setHeight = node.setHeight,
  7154. timer, rx = 1, ry = 1;
  7155. node.setWidth = function (width) {
  7156. var _width = this.getWidth();
  7157. rx = width / _width;
  7158. node.a('node.width', width);
  7159. setWidth.apply(this, arguments);
  7160. resetPoints(rx, 1);
  7161. }
  7162. node.setHeight = function (height) {
  7163. var _height = this.getHeight();
  7164. ry = height / _height;
  7165. node.a('node.height', height);
  7166. setHeight.apply(this, arguments);
  7167. resetPoints(1, ry);
  7168. }
  7169. })(Node80_6, Node80_6.getImage(), Node80_6compspts, Node80_6endCompspts, Node80_6startCompspts);
  7170. var Node80_7points=[1305, 252,1311, 255],
  7171. Node80_7rect=ht.Default.unionPoint([{x:1305,y:252},{x:1311,y:255}]),
  7172. Node80_7compspts=[];
  7173. _ratio = GD.getRatioWithRotation(0, ratio);
  7174. var _startratio = GD.getRatioWithRotation(3.6052402625906, ratio),
  7175. _endratio = GD.getRatioWithRotation(0.463647609000806, ratio);
  7176. for(var i=0;i<Node80_7points.length;i++){
  7177. if(i%2==0){
  7178. Node80_7compspts.push(Node80_7points[i]-Node80_7rect.x);
  7179. }else{
  7180. Node80_7compspts.push(Node80_7points[i]-Node80_7rect.y);
  7181. }
  7182. }
  7183. var Node80_7ptslength=Node80_7compspts.length;
  7184. if (Node80_7rect.height === 0) {
  7185. Node80_7compspts[0] -= 0;
  7186. Node80_7compspts[Node80_7ptslength-2] += 0;
  7187. } else if (Node80_7rect.width === 0){
  7188. Node80_7compspts[1] -= 0;
  7189. Node80_7compspts[Node80_7ptslength-1] += 0;
  7190. } else {
  7191. Node80_7compspts[0] -= 0;
  7192. Node80_7compspts[1] -= 0;
  7193. Node80_7compspts[Node80_7ptslength-2] += 0;
  7194. Node80_7compspts[Node80_7ptslength-1] += 0;
  7195. }
  7196. Node80_7 = new ht.Node();
  7197. Node80_7.borderWidth = 2;
  7198. Node80_7rect.width = Node80_7rect.width === 0 ? 0.0001 : Node80_7rect.width;
  7199. Node80_7rect.height = Node80_7rect.height === 0 ? 0.0001 : Node80_7rect.height;
  7200. var Node80_7endCompspts = [Node80_7compspts[Node80_7ptslength-2],Node80_7compspts[Node80_7ptslength-1],0,0];
  7201. var Node80_7startCompspts = [Node80_7compspts[0],Node80_7compspts[1],0,0];
  7202. Node80_7.setImage(GD.getPolyLineJSON());
  7203. Node80_7.setPosition(Node80_7rect.x+Node80_7rect.width/2,Node80_7rect.y+Node80_7rect.height/2);
  7204. Node80_7.setSize(Node80_7rect.width,Node80_7rect.height);
  7205. Node80_7.setStyle("opacity",1);
  7206. Node80_7.s({'pixelPerfect':true});
  7207. Node80_7borderwidth=2;
  7208. Node80_7.setRotation(0);
  7209. dataModel.add(Node80_7);
  7210. Node80_7.a('node.points',Node80_7compspts);
  7211. Node80_7.a('node.segments',[1,2]);
  7212. Node80_7.a('node.color','rgba(255,0,255,1)');
  7213. Node80_7.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7214. Node80_7.a('node.borderColor','rgba(255,0,255,1)');
  7215. Node80_7.a('node.background','rgba(255,0,255,1)');
  7216. Node80_7.a('node.gradient','');
  7217. Node80_7.a('node.gradientcolor','rgba(255,0,255,1)');
  7218. Node80_7.a('node.endCompspts',Node80_7endCompspts);
  7219. Node80_7.a('node.startCompspts',Node80_7startCompspts);
  7220. (function (node, img, compspts, endCompspts, startCompspts) {
  7221. var position = node.getPosition(),
  7222. w = node.getWidth()*_ratio.ratioX,
  7223. h = node.getHeight()*_ratio.ratioY;
  7224. function resetPoints(rx, ry) {
  7225. for (var i = 0, len = compspts.length; i < len; i++) {
  7226. if (i%2 === 0) {
  7227. compspts[i]*=rx;
  7228. } else {
  7229. compspts[i]*=ry;
  7230. }
  7231. }
  7232. endCompspts[0] = compspts[compspts.length-2];
  7233. endCompspts[1] = compspts[compspts.length-1];
  7234. endCompspts[2] *= rx;
  7235. endCompspts[3] *= ry;
  7236. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7237. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7238. startCompspts[0] = compspts[0];
  7239. startCompspts[1] = compspts[1];
  7240. startCompspts[2] *= rx;
  7241. startCompspts[3] *= ry;
  7242. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7243. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7244. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7245. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7246. }
  7247. node.setSize(w, h);
  7248. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7249. node.a('node.width', w);
  7250. node.a('node.height', h);
  7251. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7252. node.borderWidth = 2;
  7253. node.a('node.borderwidth',node.borderWidth);
  7254. node._nodename = 'Node80_7';
  7255. node._nodeType = 'line';
  7256. zoomNodeList.push({
  7257. node: node,
  7258. attr: 'node.borderwidth'
  7259. });
  7260. var setWidth = node.setWidth,
  7261. setHeight = node.setHeight,
  7262. timer, rx = 1, ry = 1;
  7263. node.setWidth = function (width) {
  7264. var _width = this.getWidth();
  7265. rx = width / _width;
  7266. node.a('node.width', width);
  7267. setWidth.apply(this, arguments);
  7268. resetPoints(rx, 1);
  7269. }
  7270. node.setHeight = function (height) {
  7271. var _height = this.getHeight();
  7272. ry = height / _height;
  7273. node.a('node.height', height);
  7274. setHeight.apply(this, arguments);
  7275. resetPoints(1, ry);
  7276. }
  7277. })(Node80_7, Node80_7.getImage(), Node80_7compspts, Node80_7endCompspts, Node80_7startCompspts);
  7278. var Node80_8points=[1305, 252,1300, 255],
  7279. Node80_8rect=ht.Default.unionPoint([{x:1305,y:252},{x:1300,y:255}]),
  7280. Node80_8compspts=[];
  7281. _ratio = GD.getRatioWithRotation(0, ratio);
  7282. var _startratio = GD.getRatioWithRotation(-0.540419517801362, ratio),
  7283. _endratio = GD.getRatioWithRotation(2.60117313578843, ratio);
  7284. for(var i=0;i<Node80_8points.length;i++){
  7285. if(i%2==0){
  7286. Node80_8compspts.push(Node80_8points[i]-Node80_8rect.x);
  7287. }else{
  7288. Node80_8compspts.push(Node80_8points[i]-Node80_8rect.y);
  7289. }
  7290. }
  7291. var Node80_8ptslength=Node80_8compspts.length;
  7292. if (Node80_8rect.height === 0) {
  7293. Node80_8compspts[0] -= 0;
  7294. Node80_8compspts[Node80_8ptslength-2] += 0;
  7295. } else if (Node80_8rect.width === 0){
  7296. Node80_8compspts[1] -= 0;
  7297. Node80_8compspts[Node80_8ptslength-1] += 0;
  7298. } else {
  7299. Node80_8compspts[0] -= 0;
  7300. Node80_8compspts[1] -= 0;
  7301. Node80_8compspts[Node80_8ptslength-2] += 0;
  7302. Node80_8compspts[Node80_8ptslength-1] += 0;
  7303. }
  7304. Node80_8 = new ht.Node();
  7305. Node80_8.borderWidth = 2;
  7306. Node80_8rect.width = Node80_8rect.width === 0 ? 0.0001 : Node80_8rect.width;
  7307. Node80_8rect.height = Node80_8rect.height === 0 ? 0.0001 : Node80_8rect.height;
  7308. var Node80_8endCompspts = [Node80_8compspts[Node80_8ptslength-2],Node80_8compspts[Node80_8ptslength-1],0,0];
  7309. var Node80_8startCompspts = [Node80_8compspts[0],Node80_8compspts[1],0,0];
  7310. Node80_8.setImage(GD.getPolyLineJSON());
  7311. Node80_8.setPosition(Node80_8rect.x+Node80_8rect.width/2,Node80_8rect.y+Node80_8rect.height/2);
  7312. Node80_8.setSize(Node80_8rect.width,Node80_8rect.height);
  7313. Node80_8.setStyle("opacity",1);
  7314. Node80_8.s({'pixelPerfect':true});
  7315. Node80_8borderwidth=2;
  7316. Node80_8.setRotation(0);
  7317. dataModel.add(Node80_8);
  7318. Node80_8.a('node.points',Node80_8compspts);
  7319. Node80_8.a('node.segments',[1,2]);
  7320. Node80_8.a('node.color','rgba(255,0,255,1)');
  7321. Node80_8.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7322. Node80_8.a('node.borderColor','rgba(255,0,255,1)');
  7323. Node80_8.a('node.background','rgba(255,0,255,1)');
  7324. Node80_8.a('node.gradient','');
  7325. Node80_8.a('node.gradientcolor','rgba(255,0,255,1)');
  7326. Node80_8.a('node.endCompspts',Node80_8endCompspts);
  7327. Node80_8.a('node.startCompspts',Node80_8startCompspts);
  7328. (function (node, img, compspts, endCompspts, startCompspts) {
  7329. var position = node.getPosition(),
  7330. w = node.getWidth()*_ratio.ratioX,
  7331. h = node.getHeight()*_ratio.ratioY;
  7332. function resetPoints(rx, ry) {
  7333. for (var i = 0, len = compspts.length; i < len; i++) {
  7334. if (i%2 === 0) {
  7335. compspts[i]*=rx;
  7336. } else {
  7337. compspts[i]*=ry;
  7338. }
  7339. }
  7340. endCompspts[0] = compspts[compspts.length-2];
  7341. endCompspts[1] = compspts[compspts.length-1];
  7342. endCompspts[2] *= rx;
  7343. endCompspts[3] *= ry;
  7344. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7345. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7346. startCompspts[0] = compspts[0];
  7347. startCompspts[1] = compspts[1];
  7348. startCompspts[2] *= rx;
  7349. startCompspts[3] *= ry;
  7350. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7351. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7352. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7353. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7354. }
  7355. node.setSize(w, h);
  7356. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7357. node.a('node.width', w);
  7358. node.a('node.height', h);
  7359. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7360. node.borderWidth = 2;
  7361. node.a('node.borderwidth',node.borderWidth);
  7362. node._nodename = 'Node80_8';
  7363. node._nodeType = 'line';
  7364. zoomNodeList.push({
  7365. node: node,
  7366. attr: 'node.borderwidth'
  7367. });
  7368. var setWidth = node.setWidth,
  7369. setHeight = node.setHeight,
  7370. timer, rx = 1, ry = 1;
  7371. node.setWidth = function (width) {
  7372. var _width = this.getWidth();
  7373. rx = width / _width;
  7374. node.a('node.width', width);
  7375. setWidth.apply(this, arguments);
  7376. resetPoints(rx, 1);
  7377. }
  7378. node.setHeight = function (height) {
  7379. var _height = this.getHeight();
  7380. ry = height / _height;
  7381. node.a('node.height', height);
  7382. setHeight.apply(this, arguments);
  7383. resetPoints(1, ry);
  7384. }
  7385. })(Node80_8, Node80_8.getImage(), Node80_8compspts, Node80_8endCompspts, Node80_8startCompspts);
  7386. var Node80_9points=[1283, 244,1292, 241],
  7387. Node80_9rect=ht.Default.unionPoint([{x:1283,y:244},{x:1292,y:241}]),
  7388. Node80_9compspts=[];
  7389. _ratio = GD.getRatioWithRotation(0, ratio);
  7390. var _startratio = GD.getRatioWithRotation(2.81984209025245, ratio),
  7391. _endratio = GD.getRatioWithRotation(-0.321750563337339, ratio);
  7392. for(var i=0;i<Node80_9points.length;i++){
  7393. if(i%2==0){
  7394. Node80_9compspts.push(Node80_9points[i]-Node80_9rect.x);
  7395. }else{
  7396. Node80_9compspts.push(Node80_9points[i]-Node80_9rect.y);
  7397. }
  7398. }
  7399. var Node80_9ptslength=Node80_9compspts.length;
  7400. if (Node80_9rect.height === 0) {
  7401. Node80_9compspts[0] -= 0;
  7402. Node80_9compspts[Node80_9ptslength-2] += 0;
  7403. } else if (Node80_9rect.width === 0){
  7404. Node80_9compspts[1] -= 0;
  7405. Node80_9compspts[Node80_9ptslength-1] += 0;
  7406. } else {
  7407. Node80_9compspts[0] -= 0;
  7408. Node80_9compspts[1] -= 0;
  7409. Node80_9compspts[Node80_9ptslength-2] += 0;
  7410. Node80_9compspts[Node80_9ptslength-1] += 0;
  7411. }
  7412. Node80_9 = new ht.Node();
  7413. Node80_9.borderWidth = 2;
  7414. Node80_9rect.width = Node80_9rect.width === 0 ? 0.0001 : Node80_9rect.width;
  7415. Node80_9rect.height = Node80_9rect.height === 0 ? 0.0001 : Node80_9rect.height;
  7416. var Node80_9endCompspts = [Node80_9compspts[Node80_9ptslength-2],Node80_9compspts[Node80_9ptslength-1],0,0];
  7417. var Node80_9startCompspts = [Node80_9compspts[0],Node80_9compspts[1],0,0];
  7418. Node80_9.setImage(GD.getPolyLineJSON());
  7419. Node80_9.setPosition(Node80_9rect.x+Node80_9rect.width/2,Node80_9rect.y+Node80_9rect.height/2);
  7420. Node80_9.setSize(Node80_9rect.width,Node80_9rect.height);
  7421. Node80_9.setStyle("opacity",1);
  7422. Node80_9.s({'pixelPerfect':true});
  7423. Node80_9borderwidth=2;
  7424. Node80_9.setRotation(0);
  7425. dataModel.add(Node80_9);
  7426. Node80_9.a('node.points',Node80_9compspts);
  7427. Node80_9.a('node.segments',[1,2]);
  7428. Node80_9.a('node.color','rgba(255,0,255,1)');
  7429. Node80_9.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7430. Node80_9.a('node.borderColor','rgba(255,0,255,1)');
  7431. Node80_9.a('node.background','rgba(255,0,255,1)');
  7432. Node80_9.a('node.gradient','');
  7433. Node80_9.a('node.gradientcolor','rgba(255,0,255,1)');
  7434. Node80_9.a('node.endCompspts',Node80_9endCompspts);
  7435. Node80_9.a('node.startCompspts',Node80_9startCompspts);
  7436. (function (node, img, compspts, endCompspts, startCompspts) {
  7437. var position = node.getPosition(),
  7438. w = node.getWidth()*_ratio.ratioX,
  7439. h = node.getHeight()*_ratio.ratioY;
  7440. function resetPoints(rx, ry) {
  7441. for (var i = 0, len = compspts.length; i < len; i++) {
  7442. if (i%2 === 0) {
  7443. compspts[i]*=rx;
  7444. } else {
  7445. compspts[i]*=ry;
  7446. }
  7447. }
  7448. endCompspts[0] = compspts[compspts.length-2];
  7449. endCompspts[1] = compspts[compspts.length-1];
  7450. endCompspts[2] *= rx;
  7451. endCompspts[3] *= ry;
  7452. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7453. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7454. startCompspts[0] = compspts[0];
  7455. startCompspts[1] = compspts[1];
  7456. startCompspts[2] *= rx;
  7457. startCompspts[3] *= ry;
  7458. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7459. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7460. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7461. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7462. }
  7463. node.setSize(w, h);
  7464. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7465. node.a('node.width', w);
  7466. node.a('node.height', h);
  7467. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7468. node.borderWidth = 2;
  7469. node.a('node.borderwidth',node.borderWidth);
  7470. node._nodename = 'Node80_9';
  7471. node._nodeType = 'line';
  7472. zoomNodeList.push({
  7473. node: node,
  7474. attr: 'node.borderwidth'
  7475. });
  7476. var setWidth = node.setWidth,
  7477. setHeight = node.setHeight,
  7478. timer, rx = 1, ry = 1;
  7479. node.setWidth = function (width) {
  7480. var _width = this.getWidth();
  7481. rx = width / _width;
  7482. node.a('node.width', width);
  7483. setWidth.apply(this, arguments);
  7484. resetPoints(rx, 1);
  7485. }
  7486. node.setHeight = function (height) {
  7487. var _height = this.getHeight();
  7488. ry = height / _height;
  7489. node.a('node.height', height);
  7490. setHeight.apply(this, arguments);
  7491. resetPoints(1, ry);
  7492. }
  7493. })(Node80_9, Node80_9.getImage(), Node80_9compspts, Node80_9endCompspts, Node80_9startCompspts);
  7494. var Node80_10points=[1292, 241,1292, 250],
  7495. Node80_10rect=ht.Default.unionPoint([{x:1292,y:241},{x:1292,y:250}]),
  7496. Node80_10compspts=[];
  7497. _ratio = GD.getRatioWithRotation(0, ratio);
  7498. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  7499. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  7500. for(var i=0;i<Node80_10points.length;i++){
  7501. if(i%2==0){
  7502. Node80_10compspts.push(Node80_10points[i]-Node80_10rect.x);
  7503. }else{
  7504. Node80_10compspts.push(Node80_10points[i]-Node80_10rect.y);
  7505. }
  7506. }
  7507. var Node80_10ptslength=Node80_10compspts.length;
  7508. if (Node80_10rect.height === 0) {
  7509. Node80_10compspts[0] -= 0;
  7510. Node80_10compspts[Node80_10ptslength-2] += 0;
  7511. } else if (Node80_10rect.width === 0){
  7512. Node80_10compspts[1] -= 0;
  7513. Node80_10compspts[Node80_10ptslength-1] += 0;
  7514. } else {
  7515. Node80_10compspts[0] -= 0;
  7516. Node80_10compspts[1] -= 0;
  7517. Node80_10compspts[Node80_10ptslength-2] += 0;
  7518. Node80_10compspts[Node80_10ptslength-1] += 0;
  7519. }
  7520. Node80_10 = new ht.Node();
  7521. Node80_10.borderWidth = 2;
  7522. Node80_10rect.width = Node80_10rect.width === 0 ? 0.0001 : Node80_10rect.width;
  7523. Node80_10rect.height = Node80_10rect.height === 0 ? 0.0001 : Node80_10rect.height;
  7524. var Node80_10endCompspts = [Node80_10compspts[Node80_10ptslength-2],Node80_10compspts[Node80_10ptslength-1],0,0];
  7525. var Node80_10startCompspts = [Node80_10compspts[0],Node80_10compspts[1],0,0];
  7526. Node80_10.setImage(GD.getPolyLineJSON());
  7527. Node80_10.setPosition(Node80_10rect.x+Node80_10rect.width/2,Node80_10rect.y+Node80_10rect.height/2);
  7528. Node80_10.setSize(Node80_10rect.width,Node80_10rect.height);
  7529. Node80_10.setStyle("opacity",1);
  7530. Node80_10.s({'pixelPerfect':true});
  7531. Node80_10borderwidth=2;
  7532. Node80_10.setRotation(0);
  7533. dataModel.add(Node80_10);
  7534. Node80_10.a('node.points',Node80_10compspts);
  7535. Node80_10.a('node.segments',[1,2]);
  7536. Node80_10.a('node.color','rgba(255,0,255,1)');
  7537. Node80_10.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7538. Node80_10.a('node.borderColor','rgba(255,0,255,1)');
  7539. Node80_10.a('node.background','rgba(255,0,255,1)');
  7540. Node80_10.a('node.gradient','');
  7541. Node80_10.a('node.gradientcolor','rgba(255,0,255,1)');
  7542. Node80_10.a('node.endCompspts',Node80_10endCompspts);
  7543. Node80_10.a('node.startCompspts',Node80_10startCompspts);
  7544. (function (node, img, compspts, endCompspts, startCompspts) {
  7545. var position = node.getPosition(),
  7546. w = node.getWidth()*_ratio.ratioX,
  7547. h = node.getHeight()*_ratio.ratioY;
  7548. function resetPoints(rx, ry) {
  7549. for (var i = 0, len = compspts.length; i < len; i++) {
  7550. if (i%2 === 0) {
  7551. compspts[i]*=rx;
  7552. } else {
  7553. compspts[i]*=ry;
  7554. }
  7555. }
  7556. endCompspts[0] = compspts[compspts.length-2];
  7557. endCompspts[1] = compspts[compspts.length-1];
  7558. endCompspts[2] *= rx;
  7559. endCompspts[3] *= ry;
  7560. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7561. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7562. startCompspts[0] = compspts[0];
  7563. startCompspts[1] = compspts[1];
  7564. startCompspts[2] *= rx;
  7565. startCompspts[3] *= ry;
  7566. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7567. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7568. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7569. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7570. }
  7571. node.setSize(w, h);
  7572. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7573. node.a('node.width', w);
  7574. node.a('node.height', h);
  7575. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7576. node.borderWidth = 2;
  7577. node.a('node.borderwidth',node.borderWidth);
  7578. node._nodename = 'Node80_10';
  7579. node._nodeType = 'line';
  7580. zoomNodeList.push({
  7581. node: node,
  7582. attr: 'node.borderwidth'
  7583. });
  7584. var setWidth = node.setWidth,
  7585. setHeight = node.setHeight,
  7586. timer, rx = 1, ry = 1;
  7587. node.setWidth = function (width) {
  7588. var _width = this.getWidth();
  7589. rx = width / _width;
  7590. node.a('node.width', width);
  7591. setWidth.apply(this, arguments);
  7592. resetPoints(rx, 1);
  7593. }
  7594. node.setHeight = function (height) {
  7595. var _height = this.getHeight();
  7596. ry = height / _height;
  7597. node.a('node.height', height);
  7598. setHeight.apply(this, arguments);
  7599. resetPoints(1, ry);
  7600. }
  7601. })(Node80_10, Node80_10.getImage(), Node80_10compspts, Node80_10endCompspts, Node80_10startCompspts);
  7602. var Node80_11points=[1283, 247,1292, 250],
  7603. Node80_11rect=ht.Default.unionPoint([{x:1283,y:247},{x:1292,y:250}]),
  7604. Node80_11compspts=[];
  7605. _ratio = GD.getRatioWithRotation(0, ratio);
  7606. var _startratio = GD.getRatioWithRotation(3.46334321692713, ratio),
  7607. _endratio = GD.getRatioWithRotation(0.321750563337339, ratio);
  7608. for(var i=0;i<Node80_11points.length;i++){
  7609. if(i%2==0){
  7610. Node80_11compspts.push(Node80_11points[i]-Node80_11rect.x);
  7611. }else{
  7612. Node80_11compspts.push(Node80_11points[i]-Node80_11rect.y);
  7613. }
  7614. }
  7615. var Node80_11ptslength=Node80_11compspts.length;
  7616. if (Node80_11rect.height === 0) {
  7617. Node80_11compspts[0] -= 0;
  7618. Node80_11compspts[Node80_11ptslength-2] += 0;
  7619. } else if (Node80_11rect.width === 0){
  7620. Node80_11compspts[1] -= 0;
  7621. Node80_11compspts[Node80_11ptslength-1] += 0;
  7622. } else {
  7623. Node80_11compspts[0] -= 0;
  7624. Node80_11compspts[1] -= 0;
  7625. Node80_11compspts[Node80_11ptslength-2] += 0;
  7626. Node80_11compspts[Node80_11ptslength-1] += 0;
  7627. }
  7628. Node80_11 = new ht.Node();
  7629. Node80_11.borderWidth = 2;
  7630. Node80_11rect.width = Node80_11rect.width === 0 ? 0.0001 : Node80_11rect.width;
  7631. Node80_11rect.height = Node80_11rect.height === 0 ? 0.0001 : Node80_11rect.height;
  7632. var Node80_11endCompspts = [Node80_11compspts[Node80_11ptslength-2],Node80_11compspts[Node80_11ptslength-1],0,0];
  7633. var Node80_11startCompspts = [Node80_11compspts[0],Node80_11compspts[1],0,0];
  7634. Node80_11.setImage(GD.getPolyLineJSON());
  7635. Node80_11.setPosition(Node80_11rect.x+Node80_11rect.width/2,Node80_11rect.y+Node80_11rect.height/2);
  7636. Node80_11.setSize(Node80_11rect.width,Node80_11rect.height);
  7637. Node80_11.setStyle("opacity",1);
  7638. Node80_11.s({'pixelPerfect':true});
  7639. Node80_11borderwidth=2;
  7640. Node80_11.setRotation(0);
  7641. dataModel.add(Node80_11);
  7642. Node80_11.a('node.points',Node80_11compspts);
  7643. Node80_11.a('node.segments',[1,2]);
  7644. Node80_11.a('node.color','rgba(255,0,255,1)');
  7645. Node80_11.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7646. Node80_11.a('node.borderColor','rgba(255,0,255,1)');
  7647. Node80_11.a('node.background','rgba(255,0,255,1)');
  7648. Node80_11.a('node.gradient','');
  7649. Node80_11.a('node.gradientcolor','rgba(255,0,255,1)');
  7650. Node80_11.a('node.endCompspts',Node80_11endCompspts);
  7651. Node80_11.a('node.startCompspts',Node80_11startCompspts);
  7652. (function (node, img, compspts, endCompspts, startCompspts) {
  7653. var position = node.getPosition(),
  7654. w = node.getWidth()*_ratio.ratioX,
  7655. h = node.getHeight()*_ratio.ratioY;
  7656. function resetPoints(rx, ry) {
  7657. for (var i = 0, len = compspts.length; i < len; i++) {
  7658. if (i%2 === 0) {
  7659. compspts[i]*=rx;
  7660. } else {
  7661. compspts[i]*=ry;
  7662. }
  7663. }
  7664. endCompspts[0] = compspts[compspts.length-2];
  7665. endCompspts[1] = compspts[compspts.length-1];
  7666. endCompspts[2] *= rx;
  7667. endCompspts[3] *= ry;
  7668. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7669. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7670. startCompspts[0] = compspts[0];
  7671. startCompspts[1] = compspts[1];
  7672. startCompspts[2] *= rx;
  7673. startCompspts[3] *= ry;
  7674. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7675. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7676. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7677. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7678. }
  7679. node.setSize(w, h);
  7680. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7681. node.a('node.width', w);
  7682. node.a('node.height', h);
  7683. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7684. node.borderWidth = 2;
  7685. node.a('node.borderwidth',node.borderWidth);
  7686. node._nodename = 'Node80_11';
  7687. node._nodeType = 'line';
  7688. zoomNodeList.push({
  7689. node: node,
  7690. attr: 'node.borderwidth'
  7691. });
  7692. var setWidth = node.setWidth,
  7693. setHeight = node.setHeight,
  7694. timer, rx = 1, ry = 1;
  7695. node.setWidth = function (width) {
  7696. var _width = this.getWidth();
  7697. rx = width / _width;
  7698. node.a('node.width', width);
  7699. setWidth.apply(this, arguments);
  7700. resetPoints(rx, 1);
  7701. }
  7702. node.setHeight = function (height) {
  7703. var _height = this.getHeight();
  7704. ry = height / _height;
  7705. node.a('node.height', height);
  7706. setHeight.apply(this, arguments);
  7707. resetPoints(1, ry);
  7708. }
  7709. })(Node80_11, Node80_11.getImage(), Node80_11compspts, Node80_11endCompspts, Node80_11startCompspts);
  7710. var Node81points=[1302, 298,1302, 362],
  7711. Node81rect=ht.Default.unionPoint([{x:1302,y:298},{x:1302,y:362}]),
  7712. Node81compspts=[];
  7713. _ratio = GD.getRatioWithRotation(0, ratio);
  7714. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  7715. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  7716. for(var i=0;i<Node81points.length;i++){
  7717. if(i%2==0){
  7718. Node81compspts.push(Node81points[i]-Node81rect.x);
  7719. }else{
  7720. Node81compspts.push(Node81points[i]-Node81rect.y);
  7721. }
  7722. }
  7723. var Node81ptslength=Node81compspts.length;
  7724. if (Node81rect.height === 0) {
  7725. Node81compspts[0] -= 0;
  7726. Node81compspts[Node81ptslength-2] += 0;
  7727. } else if (Node81rect.width === 0){
  7728. Node81compspts[1] -= 0;
  7729. Node81compspts[Node81ptslength-1] += 0;
  7730. } else {
  7731. Node81compspts[0] -= 0;
  7732. Node81compspts[1] -= 0;
  7733. Node81compspts[Node81ptslength-2] += 0;
  7734. Node81compspts[Node81ptslength-1] += 0;
  7735. }
  7736. Node81 = new ht.Node();
  7737. Node81.borderWidth = 1;
  7738. Node81rect.width = Node81rect.width === 0 ? 0.0001 : Node81rect.width;
  7739. Node81rect.height = Node81rect.height === 0 ? 0.0001 : Node81rect.height;
  7740. var Node81endCompspts = [Node81compspts[Node81ptslength-2],Node81compspts[Node81ptslength-1],0,0];
  7741. var Node81startCompspts = [Node81compspts[0],Node81compspts[1],0,0];
  7742. Node81.setImage(GD.getPolyLineJSON());
  7743. Node81.setPosition(Node81rect.x+Node81rect.width/2,Node81rect.y+Node81rect.height/2);
  7744. Node81.setSize(Node81rect.width,Node81rect.height);
  7745. Node81.setStyle("opacity",1);
  7746. Node81.s({'pixelPerfect':true});
  7747. Node81borderwidth=1;
  7748. Node81.setRotation(0);
  7749. dataModel.add(Node81);
  7750. Node81.a('node.points',Node81compspts);
  7751. Node81.a('node.segments',[1,2]);
  7752. Node81.a('node.color','rgba(255,0,255,1)');
  7753. Node81.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7754. Node81.a('node.borderColor','rgba(255,0,255,1)');
  7755. Node81.a('node.background','rgba(255,0,255,1)');
  7756. Node81.a('node.gradient','');
  7757. Node81.a('node.gradientcolor','rgba(255,0,255,1)');
  7758. Node81.a('node.endCompspts',Node81endCompspts);
  7759. Node81.a('node.startCompspts',Node81startCompspts);
  7760. (function (node, img, compspts, endCompspts, startCompspts) {
  7761. var position = node.getPosition(),
  7762. w = node.getWidth()*_ratio.ratioX,
  7763. h = node.getHeight()*_ratio.ratioY;
  7764. function resetPoints(rx, ry) {
  7765. for (var i = 0, len = compspts.length; i < len; i++) {
  7766. if (i%2 === 0) {
  7767. compspts[i]*=rx;
  7768. } else {
  7769. compspts[i]*=ry;
  7770. }
  7771. }
  7772. endCompspts[0] = compspts[compspts.length-2];
  7773. endCompspts[1] = compspts[compspts.length-1];
  7774. endCompspts[2] *= rx;
  7775. endCompspts[3] *= ry;
  7776. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7777. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7778. startCompspts[0] = compspts[0];
  7779. startCompspts[1] = compspts[1];
  7780. startCompspts[2] *= rx;
  7781. startCompspts[3] *= ry;
  7782. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7783. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7784. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7785. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7786. }
  7787. node.setSize(w, h);
  7788. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7789. node.a('node.width', w);
  7790. node.a('node.height', h);
  7791. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7792. node.borderWidth = 1;
  7793. node.a('node.borderwidth',node.borderWidth);
  7794. node._nodename = 'Node81';
  7795. node._nodeType = 'line';
  7796. zoomNodeList.push({
  7797. node: node,
  7798. attr: 'node.borderwidth'
  7799. });
  7800. var setWidth = node.setWidth,
  7801. setHeight = node.setHeight,
  7802. timer, rx = 1, ry = 1;
  7803. node.setWidth = function (width) {
  7804. var _width = this.getWidth();
  7805. rx = width / _width;
  7806. node.a('node.width', width);
  7807. setWidth.apply(this, arguments);
  7808. resetPoints(rx, 1);
  7809. }
  7810. node.setHeight = function (height) {
  7811. var _height = this.getHeight();
  7812. ry = height / _height;
  7813. node.a('node.height', height);
  7814. setHeight.apply(this, arguments);
  7815. resetPoints(1, ry);
  7816. }
  7817. })(Node81, Node81.getImage(), Node81compspts, Node81endCompspts, Node81startCompspts);
  7818. var Node82points=[1313, 242,1345, 242],
  7819. Node82rect=ht.Default.unionPoint([{x:1313,y:242},{x:1345,y:242}]),
  7820. Node82compspts=[];
  7821. _ratio = GD.getRatioWithRotation(0, ratio);
  7822. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  7823. _endratio = GD.getRatioWithRotation(0, ratio);
  7824. for(var i=0;i<Node82points.length;i++){
  7825. if(i%2==0){
  7826. Node82compspts.push(Node82points[i]-Node82rect.x);
  7827. }else{
  7828. Node82compspts.push(Node82points[i]-Node82rect.y);
  7829. }
  7830. }
  7831. var Node82ptslength=Node82compspts.length;
  7832. if (Node82rect.height === 0) {
  7833. Node82compspts[0] -= 0;
  7834. Node82compspts[Node82ptslength-2] += 0;
  7835. } else if (Node82rect.width === 0){
  7836. Node82compspts[1] -= 0;
  7837. Node82compspts[Node82ptslength-1] += 0;
  7838. } else {
  7839. Node82compspts[0] -= 0;
  7840. Node82compspts[1] -= 0;
  7841. Node82compspts[Node82ptslength-2] += 0;
  7842. Node82compspts[Node82ptslength-1] += 0;
  7843. }
  7844. Node82 = new ht.Node();
  7845. Node82.borderWidth = 1;
  7846. Node82rect.width = Node82rect.width === 0 ? 0.0001 : Node82rect.width;
  7847. Node82rect.height = Node82rect.height === 0 ? 0.0001 : Node82rect.height;
  7848. var Node82endCompspts = [Node82compspts[Node82ptslength-2],Node82compspts[Node82ptslength-1],0,0];
  7849. var Node82startCompspts = [Node82compspts[0],Node82compspts[1],0,0];
  7850. Node82.setImage(GD.getPolyLineJSON());
  7851. Node82.setPosition(Node82rect.x+Node82rect.width/2,Node82rect.y+Node82rect.height/2);
  7852. Node82.setSize(Node82rect.width,Node82rect.height);
  7853. Node82.setStyle("opacity",1);
  7854. Node82.s({'pixelPerfect':true});
  7855. Node82borderwidth=1;
  7856. Node82.setRotation(0);
  7857. dataModel.add(Node82);
  7858. Node82.a('node.points',Node82compspts);
  7859. Node82.a('node.segments',[1,2]);
  7860. Node82.a('node.color','rgba(255,0,255,1)');
  7861. Node82.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7862. Node82.a('node.borderColor','rgba(255,0,255,1)');
  7863. Node82.a('node.background','rgba(255,0,255,1)');
  7864. Node82.a('node.gradient','');
  7865. Node82.a('node.gradientcolor','rgba(255,0,255,1)');
  7866. Node82.a('node.endCompspts',Node82endCompspts);
  7867. Node82.a('node.startCompspts',Node82startCompspts);
  7868. (function (node, img, compspts, endCompspts, startCompspts) {
  7869. var position = node.getPosition(),
  7870. w = node.getWidth()*_ratio.ratioX,
  7871. h = node.getHeight()*_ratio.ratioY;
  7872. function resetPoints(rx, ry) {
  7873. for (var i = 0, len = compspts.length; i < len; i++) {
  7874. if (i%2 === 0) {
  7875. compspts[i]*=rx;
  7876. } else {
  7877. compspts[i]*=ry;
  7878. }
  7879. }
  7880. endCompspts[0] = compspts[compspts.length-2];
  7881. endCompspts[1] = compspts[compspts.length-1];
  7882. endCompspts[2] *= rx;
  7883. endCompspts[3] *= ry;
  7884. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7885. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7886. startCompspts[0] = compspts[0];
  7887. startCompspts[1] = compspts[1];
  7888. startCompspts[2] *= rx;
  7889. startCompspts[3] *= ry;
  7890. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7891. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7892. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7893. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7894. }
  7895. node.setSize(w, h);
  7896. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7897. node.a('node.width', w);
  7898. node.a('node.height', h);
  7899. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7900. node.borderWidth = 1;
  7901. node.a('node.borderwidth',node.borderWidth);
  7902. node._nodename = 'Node82';
  7903. node._nodeType = 'line';
  7904. zoomNodeList.push({
  7905. node: node,
  7906. attr: 'node.borderwidth'
  7907. });
  7908. var setWidth = node.setWidth,
  7909. setHeight = node.setHeight,
  7910. timer, rx = 1, ry = 1;
  7911. node.setWidth = function (width) {
  7912. var _width = this.getWidth();
  7913. rx = width / _width;
  7914. node.a('node.width', width);
  7915. setWidth.apply(this, arguments);
  7916. resetPoints(rx, 1);
  7917. }
  7918. node.setHeight = function (height) {
  7919. var _height = this.getHeight();
  7920. ry = height / _height;
  7921. node.a('node.height', height);
  7922. setHeight.apply(this, arguments);
  7923. resetPoints(1, ry);
  7924. }
  7925. })(Node82, Node82.getImage(), Node82compspts, Node82endCompspts, Node82startCompspts);
  7926. var Node83points=[930, 315,996, 315],
  7927. Node83rect=ht.Default.unionPoint([{x:930,y:315},{x:996,y:315}]),
  7928. Node83compspts=[];
  7929. _ratio = GD.getRatioWithRotation(0, ratio);
  7930. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  7931. _endratio = GD.getRatioWithRotation(0, ratio);
  7932. for(var i=0;i<Node83points.length;i++){
  7933. if(i%2==0){
  7934. Node83compspts.push(Node83points[i]-Node83rect.x);
  7935. }else{
  7936. Node83compspts.push(Node83points[i]-Node83rect.y);
  7937. }
  7938. }
  7939. var Node83ptslength=Node83compspts.length;
  7940. if (Node83rect.height === 0) {
  7941. Node83compspts[0] -= 0;
  7942. Node83compspts[Node83ptslength-2] += 0;
  7943. } else if (Node83rect.width === 0){
  7944. Node83compspts[1] -= 0;
  7945. Node83compspts[Node83ptslength-1] += 0;
  7946. } else {
  7947. Node83compspts[0] -= 0;
  7948. Node83compspts[1] -= 0;
  7949. Node83compspts[Node83ptslength-2] += 0;
  7950. Node83compspts[Node83ptslength-1] += 0;
  7951. }
  7952. Node83 = new ht.Node();
  7953. Node83.borderWidth = 1;
  7954. Node83rect.width = Node83rect.width === 0 ? 0.0001 : Node83rect.width;
  7955. Node83rect.height = Node83rect.height === 0 ? 0.0001 : Node83rect.height;
  7956. var Node83endCompspts = [Node83compspts[Node83ptslength-2],Node83compspts[Node83ptslength-1],0,0];
  7957. var Node83startCompspts = [Node83compspts[0],Node83compspts[1],0,0];
  7958. Node83.setImage(GD.getPolyLineJSON());
  7959. Node83.setPosition(Node83rect.x+Node83rect.width/2,Node83rect.y+Node83rect.height/2);
  7960. Node83.setSize(Node83rect.width,Node83rect.height);
  7961. Node83.setStyle("opacity",1);
  7962. Node83.s({'pixelPerfect':true});
  7963. Node83borderwidth=1;
  7964. Node83.setRotation(0);
  7965. dataModel.add(Node83);
  7966. Node83.a('node.points',Node83compspts);
  7967. Node83.a('node.segments',[1,2]);
  7968. Node83.a('node.color','rgba(255,0,255,1)');
  7969. Node83.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7970. Node83.a('node.borderColor','rgba(255,0,255,1)');
  7971. Node83.a('node.background','rgba(255,0,255,1)');
  7972. Node83.a('node.gradient','');
  7973. Node83.a('node.gradientcolor','rgba(255,0,255,1)');
  7974. Node83.a('node.endCompspts',Node83endCompspts);
  7975. Node83.a('node.startCompspts',Node83startCompspts);
  7976. (function (node, img, compspts, endCompspts, startCompspts) {
  7977. var position = node.getPosition(),
  7978. w = node.getWidth()*_ratio.ratioX,
  7979. h = node.getHeight()*_ratio.ratioY;
  7980. function resetPoints(rx, ry) {
  7981. for (var i = 0, len = compspts.length; i < len; i++) {
  7982. if (i%2 === 0) {
  7983. compspts[i]*=rx;
  7984. } else {
  7985. compspts[i]*=ry;
  7986. }
  7987. }
  7988. endCompspts[0] = compspts[compspts.length-2];
  7989. endCompspts[1] = compspts[compspts.length-1];
  7990. endCompspts[2] *= rx;
  7991. endCompspts[3] *= ry;
  7992. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7993. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7994. startCompspts[0] = compspts[0];
  7995. startCompspts[1] = compspts[1];
  7996. startCompspts[2] *= rx;
  7997. startCompspts[3] *= ry;
  7998. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7999. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8000. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8001. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8002. }
  8003. node.setSize(w, h);
  8004. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8005. node.a('node.width', w);
  8006. node.a('node.height', h);
  8007. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8008. node.borderWidth = 1;
  8009. node.a('node.borderwidth',node.borderWidth);
  8010. node._nodename = 'Node83';
  8011. node._nodeType = 'line';
  8012. zoomNodeList.push({
  8013. node: node,
  8014. attr: 'node.borderwidth'
  8015. });
  8016. var setWidth = node.setWidth,
  8017. setHeight = node.setHeight,
  8018. timer, rx = 1, ry = 1;
  8019. node.setWidth = function (width) {
  8020. var _width = this.getWidth();
  8021. rx = width / _width;
  8022. node.a('node.width', width);
  8023. setWidth.apply(this, arguments);
  8024. resetPoints(rx, 1);
  8025. }
  8026. node.setHeight = function (height) {
  8027. var _height = this.getHeight();
  8028. ry = height / _height;
  8029. node.a('node.height', height);
  8030. setHeight.apply(this, arguments);
  8031. resetPoints(1, ry);
  8032. }
  8033. })(Node83, Node83.getImage(), Node83compspts, Node83endCompspts, Node83startCompspts);
  8034. var Node84points=[1302, 261,1302, 276],
  8035. Node84rect=ht.Default.unionPoint([{x:1302,y:261},{x:1302,y:276}]),
  8036. Node84compspts=[];
  8037. _ratio = GD.getRatioWithRotation(0, ratio);
  8038. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  8039. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  8040. for(var i=0;i<Node84points.length;i++){
  8041. if(i%2==0){
  8042. Node84compspts.push(Node84points[i]-Node84rect.x);
  8043. }else{
  8044. Node84compspts.push(Node84points[i]-Node84rect.y);
  8045. }
  8046. }
  8047. var Node84ptslength=Node84compspts.length;
  8048. if (Node84rect.height === 0) {
  8049. Node84compspts[0] -= 0;
  8050. Node84compspts[Node84ptslength-2] += 0;
  8051. } else if (Node84rect.width === 0){
  8052. Node84compspts[1] -= 0;
  8053. Node84compspts[Node84ptslength-1] += 0;
  8054. } else {
  8055. Node84compspts[0] -= 0;
  8056. Node84compspts[1] -= 0;
  8057. Node84compspts[Node84ptslength-2] += 0;
  8058. Node84compspts[Node84ptslength-1] += 0;
  8059. }
  8060. Node84 = new ht.Node();
  8061. Node84.borderWidth = 1;
  8062. Node84rect.width = Node84rect.width === 0 ? 0.0001 : Node84rect.width;
  8063. Node84rect.height = Node84rect.height === 0 ? 0.0001 : Node84rect.height;
  8064. var Node84endCompspts = [Node84compspts[Node84ptslength-2],Node84compspts[Node84ptslength-1],0,0];
  8065. var Node84startCompspts = [Node84compspts[0],Node84compspts[1],0,0];
  8066. Node84.setImage(GD.getPolyLineJSON());
  8067. Node84.setPosition(Node84rect.x+Node84rect.width/2,Node84rect.y+Node84rect.height/2);
  8068. Node84.setSize(Node84rect.width,Node84rect.height);
  8069. Node84.setStyle("opacity",1);
  8070. Node84.s({'pixelPerfect':true});
  8071. Node84borderwidth=1;
  8072. Node84.setRotation(0);
  8073. dataModel.add(Node84);
  8074. Node84.a('node.points',Node84compspts);
  8075. Node84.a('node.segments',[1,2]);
  8076. Node84.a('node.color','rgba(255,0,255,1)');
  8077. Node84.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8078. Node84.a('node.borderColor','rgba(255,0,255,1)');
  8079. Node84.a('node.background','rgba(255,0,255,1)');
  8080. Node84.a('node.gradient','');
  8081. Node84.a('node.gradientcolor','rgba(255,0,255,1)');
  8082. Node84.a('node.endCompspts',Node84endCompspts);
  8083. Node84.a('node.startCompspts',Node84startCompspts);
  8084. (function (node, img, compspts, endCompspts, startCompspts) {
  8085. var position = node.getPosition(),
  8086. w = node.getWidth()*_ratio.ratioX,
  8087. h = node.getHeight()*_ratio.ratioY;
  8088. function resetPoints(rx, ry) {
  8089. for (var i = 0, len = compspts.length; i < len; i++) {
  8090. if (i%2 === 0) {
  8091. compspts[i]*=rx;
  8092. } else {
  8093. compspts[i]*=ry;
  8094. }
  8095. }
  8096. endCompspts[0] = compspts[compspts.length-2];
  8097. endCompspts[1] = compspts[compspts.length-1];
  8098. endCompspts[2] *= rx;
  8099. endCompspts[3] *= ry;
  8100. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8101. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8102. startCompspts[0] = compspts[0];
  8103. startCompspts[1] = compspts[1];
  8104. startCompspts[2] *= rx;
  8105. startCompspts[3] *= ry;
  8106. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8107. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8108. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8109. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8110. }
  8111. node.setSize(w, h);
  8112. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8113. node.a('node.width', w);
  8114. node.a('node.height', h);
  8115. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8116. node.borderWidth = 1;
  8117. node.a('node.borderwidth',node.borderWidth);
  8118. node._nodename = 'Node84';
  8119. node._nodeType = 'line';
  8120. zoomNodeList.push({
  8121. node: node,
  8122. attr: 'node.borderwidth'
  8123. });
  8124. var setWidth = node.setWidth,
  8125. setHeight = node.setHeight,
  8126. timer, rx = 1, ry = 1;
  8127. node.setWidth = function (width) {
  8128. var _width = this.getWidth();
  8129. rx = width / _width;
  8130. node.a('node.width', width);
  8131. setWidth.apply(this, arguments);
  8132. resetPoints(rx, 1);
  8133. }
  8134. node.setHeight = function (height) {
  8135. var _height = this.getHeight();
  8136. ry = height / _height;
  8137. node.a('node.height', height);
  8138. setHeight.apply(this, arguments);
  8139. resetPoints(1, ry);
  8140. }
  8141. })(Node84, Node84.getImage(), Node84compspts, Node84endCompspts, Node84startCompspts);
  8142. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8143. var Node85 = new ht.Node();
  8144. var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'left', Node85fontSize = 13.3333*_ratio.ratioY,Node85width = 50*_ratio.ratioX, Node85height = 19*_ratio.ratioY;
  8145. (function () {
  8146. if (Node85align === 'left') {
  8147. Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9;
  8148. Node85textWidth = Node85width;
  8149. Node85lineStart = 1;
  8150. } else if (Node85align === 'right') {
  8151. Node85textStart = 0;
  8152. Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2;
  8153. Node85lineStart = (Node85width - (ht.Default.getTextSize('2A90', ' '+ Node85fontSize + 'px "Arial"').width + 6)) * 0.5;
  8154. } else if (Node85align === 'center') {
  8155. Node85textStart = -3;
  8156. Node85textWidth = Node85width;
  8157. Node85lineStart = Node85width - ht.Default.getTextSize('2A90', ' '+ Node85fontSize + 'px "Arial"').width - 11;
  8158. }
  8159. })();
  8160. Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "Arial"'))
  8161. Node85.setPosition(1417*ratio.ratioX, 293*ratio.ratioY);
  8162. Node85.setWidth(Node85width);
  8163. Node85.setHeight(Node85height);
  8164. Node85._nodeType = 'text';
  8165. Node85._disallowEvert = true;
  8166. Node85.setRotation(0*Math.PI/180);
  8167. Node85.a('node.width', Node85width);
  8168. Node85.a('node.height', Node85height);
  8169. Node85.a('node.rect', [0, 0, Node85width, Node85height]);
  8170. Node85.a('node.bordercolor','rgba(0,0,0,1)');
  8171. Node85.a('node.borderwidth', 0);
  8172. Node85.a('node.background','' || 'rgba(0,0,0,0)');
  8173. Node85.a('node.gradient','');
  8174. Node85.a('node.gradientcolor','');
  8175. Node85.a('node.text','2A90');
  8176. Node85.a('node.textalign','left');
  8177. Node85.a('node.textvAlign','middle');
  8178. Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
  8179. Node85.a('node.color','rgba(0,0,0,1)');
  8180. Node85.a('node.font',' '+ Node85fontSize + 'px "Arial"');
  8181. Node85.a('node.textvisible',true);
  8182. Node85.a('node.linefeed',false);
  8183. if (false) {
  8184. Node85.a('node.textfunc',function(g) {
  8185. g.beginPath();
  8186. var str=Node85.a('node.text') || '2A90';
  8187. var color=Node85.a('node.color') || 'rgba(0,0,0,1)';
  8188. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"left",color,' '+ Node85fontSize + 'px "Arial"', 0,g);
  8189. });
  8190. }
  8191. if (false) {
  8192. Node85.a('node.underlinepoints',[Node85lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('2A90', ' '+ Node85fontSize + 'px "Arial"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]);
  8193. Node85.a('node.underlinevisible',false);
  8194. Node85.a('node.underlineBorderWidth', 1);
  8195. }
  8196. dataModel.add(Node85);
  8197. zoomNodeList.push({
  8198. node: Node85,
  8199. borderWidth: 0,
  8200. attr: 'node.borderwidth'
  8201. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8202. var Node86 = new ht.Node();
  8203. var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 50*_ratio.ratioX, Node86height = 19*_ratio.ratioY;
  8204. (function () {
  8205. if (Node86align === 'left') {
  8206. Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
  8207. Node86textWidth = Node86width;
  8208. Node86lineStart = 1;
  8209. } else if (Node86align === 'right') {
  8210. Node86textStart = 0;
  8211. Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
  8212. Node86lineStart = (Node86width - (ht.Default.getTextSize('2A10', ' '+ Node86fontSize + 'px "Arial"').width + 6)) * 0.5;
  8213. } else if (Node86align === 'center') {
  8214. Node86textStart = -3;
  8215. Node86textWidth = Node86width;
  8216. Node86lineStart = Node86width - ht.Default.getTextSize('2A10', ' '+ Node86fontSize + 'px "Arial"').width - 11;
  8217. }
  8218. })();
  8219. Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "Arial"'))
  8220. Node86.setPosition(1417*ratio.ratioX, 337*ratio.ratioY);
  8221. Node86.setWidth(Node86width);
  8222. Node86.setHeight(Node86height);
  8223. Node86._nodeType = 'text';
  8224. Node86._disallowEvert = true;
  8225. Node86.setRotation(0*Math.PI/180);
  8226. Node86.a('node.width', Node86width);
  8227. Node86.a('node.height', Node86height);
  8228. Node86.a('node.rect', [0, 0, Node86width, Node86height]);
  8229. Node86.a('node.bordercolor','rgba(0,0,0,1)');
  8230. Node86.a('node.borderwidth', 0);
  8231. Node86.a('node.background','' || 'rgba(0,0,0,0)');
  8232. Node86.a('node.gradient','');
  8233. Node86.a('node.gradientcolor','');
  8234. Node86.a('node.text','2A10');
  8235. Node86.a('node.textalign','left');
  8236. Node86.a('node.textvAlign','middle');
  8237. Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
  8238. Node86.a('node.color','rgba(0,0,0,1)');
  8239. Node86.a('node.font',' '+ Node86fontSize + 'px "Arial"');
  8240. Node86.a('node.textvisible',true);
  8241. Node86.a('node.linefeed',false);
  8242. if (false) {
  8243. Node86.a('node.textfunc',function(g) {
  8244. g.beginPath();
  8245. var str=Node86.a('node.text') || '2A10';
  8246. var color=Node86.a('node.color') || 'rgba(0,0,0,1)';
  8247. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,' '+ Node86fontSize + 'px "Arial"', 0,g);
  8248. });
  8249. }
  8250. if (false) {
  8251. Node86.a('node.underlinepoints',[Node86lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('2A10', ' '+ Node86fontSize + 'px "Arial"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
  8252. Node86.a('node.underlinevisible',false);
  8253. Node86.a('node.underlineBorderWidth', 1);
  8254. }
  8255. dataModel.add(Node86);
  8256. zoomNodeList.push({
  8257. node: Node86,
  8258. borderWidth: 0,
  8259. attr: 'node.borderwidth'
  8260. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8261. var Node87 = new ht.Node();
  8262. var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'left', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 50*_ratio.ratioX, Node87height = 18*_ratio.ratioY;
  8263. (function () {
  8264. if (Node87align === 'left') {
  8265. Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
  8266. Node87textWidth = Node87width;
  8267. Node87lineStart = 1;
  8268. } else if (Node87align === 'right') {
  8269. Node87textStart = 0;
  8270. Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
  8271. Node87lineStart = (Node87width - (ht.Default.getTextSize('2A9', ' '+ Node87fontSize + 'px "Arial"').width + 6)) * 0.5;
  8272. } else if (Node87align === 'center') {
  8273. Node87textStart = -3;
  8274. Node87textWidth = Node87width;
  8275. Node87lineStart = Node87width - ht.Default.getTextSize('2A9', ' '+ Node87fontSize + 'px "Arial"').width - 11;
  8276. }
  8277. })();
  8278. Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "Arial"'))
  8279. Node87.setPosition(1284*ratio.ratioX, 289*ratio.ratioY);
  8280. Node87.setWidth(Node87width);
  8281. Node87.setHeight(Node87height);
  8282. Node87._nodeType = 'text';
  8283. Node87._disallowEvert = true;
  8284. Node87.setRotation(0*Math.PI/180);
  8285. Node87.a('node.width', Node87width);
  8286. Node87.a('node.height', Node87height);
  8287. Node87.a('node.rect', [0, 0, Node87width, Node87height]);
  8288. Node87.a('node.bordercolor','rgba(0,0,0,1)');
  8289. Node87.a('node.borderwidth', 0);
  8290. Node87.a('node.background','' || 'rgba(0,0,0,0)');
  8291. Node87.a('node.gradient','');
  8292. Node87.a('node.gradientcolor','');
  8293. Node87.a('node.text','2A9');
  8294. Node87.a('node.textalign','left');
  8295. Node87.a('node.textvAlign','middle');
  8296. Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
  8297. Node87.a('node.color','rgba(0,0,0,1)');
  8298. Node87.a('node.font',' '+ Node87fontSize + 'px "Arial"');
  8299. Node87.a('node.textvisible',true);
  8300. Node87.a('node.linefeed',false);
  8301. if (false) {
  8302. Node87.a('node.textfunc',function(g) {
  8303. g.beginPath();
  8304. var str=Node87.a('node.text') || '2A9';
  8305. var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
  8306. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,' '+ Node87fontSize + 'px "Arial"', 0,g);
  8307. });
  8308. }
  8309. if (false) {
  8310. Node87.a('node.underlinepoints',[Node87lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('2A9', ' '+ Node87fontSize + 'px "Arial"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
  8311. Node87.a('node.underlinevisible',false);
  8312. Node87.a('node.underlineBorderWidth', 1);
  8313. }
  8314. dataModel.add(Node87);
  8315. zoomNodeList.push({
  8316. node: Node87,
  8317. borderWidth: 0,
  8318. attr: 'node.borderwidth'
  8319. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8320. var Node88 = new ht.Node();
  8321. var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'left', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 58*_ratio.ratioX, Node88height = 19*_ratio.ratioY;
  8322. (function () {
  8323. if (Node88align === 'left') {
  8324. Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
  8325. Node88textWidth = Node88width;
  8326. Node88lineStart = 1;
  8327. } else if (Node88align === 'right') {
  8328. Node88textStart = 0;
  8329. Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
  8330. Node88lineStart = (Node88width - (ht.Default.getTextSize('A母PT', ' '+ Node88fontSize + 'px "Arial"').width + 6)) * 0.5;
  8331. } else if (Node88align === 'center') {
  8332. Node88textStart = -3;
  8333. Node88textWidth = Node88width;
  8334. Node88lineStart = Node88width - ht.Default.getTextSize('A母PT', ' '+ Node88fontSize + 'px "Arial"').width - 11;
  8335. }
  8336. })();
  8337. Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "Arial"'))
  8338. Node88.setPosition(1311*ratio.ratioX, 206*ratio.ratioY);
  8339. Node88.setWidth(Node88width);
  8340. Node88.setHeight(Node88height);
  8341. Node88._nodeType = 'text';
  8342. Node88._disallowEvert = true;
  8343. Node88.setRotation(0*Math.PI/180);
  8344. Node88.a('node.width', Node88width);
  8345. Node88.a('node.height', Node88height);
  8346. Node88.a('node.rect', [0, 0, Node88width, Node88height]);
  8347. Node88.a('node.bordercolor','rgba(0,0,0,1)');
  8348. Node88.a('node.borderwidth', 0);
  8349. Node88.a('node.background','' || 'rgba(0,0,0,0)');
  8350. Node88.a('node.gradient','');
  8351. Node88.a('node.gradientcolor','');
  8352. Node88.a('node.text','A母PT');
  8353. Node88.a('node.textalign','left');
  8354. Node88.a('node.textvAlign','middle');
  8355. Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
  8356. Node88.a('node.color','rgba(0,0,0,1)');
  8357. Node88.a('node.font',' '+ Node88fontSize + 'px "Arial"');
  8358. Node88.a('node.textvisible',true);
  8359. Node88.a('node.linefeed',false);
  8360. if (false) {
  8361. Node88.a('node.textfunc',function(g) {
  8362. g.beginPath();
  8363. var str=Node88.a('node.text') || 'A母PT';
  8364. var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
  8365. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,' '+ Node88fontSize + 'px "Arial"', 0,g);
  8366. });
  8367. }
  8368. if (false) {
  8369. Node88.a('node.underlinepoints',[Node88lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('A母PT', ' '+ Node88fontSize + 'px "Arial"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
  8370. Node88.a('node.underlinevisible',false);
  8371. Node88.a('node.underlineBorderWidth', 1);
  8372. }
  8373. dataModel.add(Node88);
  8374. zoomNodeList.push({
  8375. node: Node88,
  8376. borderWidth: 0,
  8377. attr: 'node.borderwidth'
  8378. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8379. var Node89 = new ht.Node();
  8380. var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'left', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 53*_ratio.ratioX, Node89height = 19*_ratio.ratioY;
  8381. (function () {
  8382. if (Node89align === 'left') {
  8383. Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
  8384. Node89textWidth = Node89width;
  8385. Node89lineStart = 1;
  8386. } else if (Node89align === 'right') {
  8387. Node89textStart = 0;
  8388. Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
  8389. Node89lineStart = (Node89width - (ht.Default.getTextSize('1#主变', ' '+ Node89fontSize + 'px "Arial"').width + 6)) * 0.5;
  8390. } else if (Node89align === 'center') {
  8391. Node89textStart = -3;
  8392. Node89textWidth = Node89width;
  8393. Node89lineStart = Node89width - ht.Default.getTextSize('1#主变', ' '+ Node89fontSize + 'px "Arial"').width - 11;
  8394. }
  8395. })();
  8396. Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "Arial"'))
  8397. Node89.setPosition(1186*ratio.ratioX, 405*ratio.ratioY);
  8398. Node89.setWidth(Node89width);
  8399. Node89.setHeight(Node89height);
  8400. Node89._nodeType = 'text';
  8401. Node89._disallowEvert = true;
  8402. Node89.setRotation(0*Math.PI/180);
  8403. Node89.a('node.width', Node89width);
  8404. Node89.a('node.height', Node89height);
  8405. Node89.a('node.rect', [0, 0, Node89width, Node89height]);
  8406. Node89.a('node.bordercolor','rgba(0,0,0,1)');
  8407. Node89.a('node.borderwidth', 0);
  8408. Node89.a('node.background','' || 'rgba(0,0,0,0)');
  8409. Node89.a('node.gradient','');
  8410. Node89.a('node.gradientcolor','');
  8411. Node89.a('node.text','1#主变');
  8412. Node89.a('node.textalign','left');
  8413. Node89.a('node.textvAlign','middle');
  8414. Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
  8415. Node89.a('node.color','rgba(0,0,0,1)');
  8416. Node89.a('node.font',' '+ Node89fontSize + 'px "Arial"');
  8417. Node89.a('node.textvisible',true);
  8418. Node89.a('node.linefeed',false);
  8419. if (false) {
  8420. Node89.a('node.textfunc',function(g) {
  8421. g.beginPath();
  8422. var str=Node89.a('node.text') || '1#主变';
  8423. var color=Node89.a('node.color') || 'rgba(0,0,0,1)';
  8424. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"left",color,' '+ Node89fontSize + 'px "Arial"', 0,g);
  8425. });
  8426. }
  8427. if (false) {
  8428. Node89.a('node.underlinepoints',[Node89lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('1#主变', ' '+ Node89fontSize + 'px "Arial"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
  8429. Node89.a('node.underlinevisible',false);
  8430. Node89.a('node.underlineBorderWidth', 1);
  8431. }
  8432. dataModel.add(Node89);
  8433. zoomNodeList.push({
  8434. node: Node89,
  8435. borderWidth: 0,
  8436. attr: 'node.borderwidth'
  8437. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8438. var Node90 = new ht.Node();
  8439. var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 64*_ratio.ratioX, Node90height = 23*_ratio.ratioY;
  8440. (function () {
  8441. if (Node90align === 'left') {
  8442. Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
  8443. Node90textWidth = Node90width;
  8444. Node90lineStart = 1;
  8445. } else if (Node90align === 'right') {
  8446. Node90textStart = 0;
  8447. Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
  8448. Node90lineStart = (Node90width - (ht.Default.getTextSize('绕组 :', ' '+ Node90fontSize + 'px "Arial"').width + 6)) * 0.5;
  8449. } else if (Node90align === 'center') {
  8450. Node90textStart = -3;
  8451. Node90textWidth = Node90width;
  8452. Node90lineStart = Node90width - ht.Default.getTextSize('绕组 :', ' '+ Node90fontSize + 'px "Arial"').width - 11;
  8453. }
  8454. })();
  8455. Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"'))
  8456. Node90.setPosition(1189*ratio.ratioX, 431*ratio.ratioY);
  8457. Node90.setWidth(Node90width);
  8458. Node90.setHeight(Node90height);
  8459. Node90._nodeType = 'text';
  8460. Node90._disallowEvert = true;
  8461. Node90.setRotation(0*Math.PI/180);
  8462. Node90.a('node.width', Node90width);
  8463. Node90.a('node.height', Node90height);
  8464. Node90.a('node.rect', [0, 0, Node90width, Node90height]);
  8465. Node90.a('node.bordercolor','rgba(0,0,0,1)');
  8466. Node90.a('node.borderwidth', 0);
  8467. Node90.a('node.background','' || 'rgba(0,0,0,0)');
  8468. Node90.a('node.gradient','');
  8469. Node90.a('node.gradientcolor','');
  8470. Node90.a('node.text','绕组 :');
  8471. Node90.a('node.textalign','left');
  8472. Node90.a('node.textvAlign','middle');
  8473. Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
  8474. Node90.a('node.color','rgba(0,0,0,1)');
  8475. Node90.a('node.font',' '+ Node90fontSize + 'px "Arial"');
  8476. Node90.a('node.textvisible',true);
  8477. Node90.a('node.linefeed',false);
  8478. if (false) {
  8479. Node90.a('node.textfunc',function(g) {
  8480. g.beginPath();
  8481. var str=Node90.a('node.text') || '绕组 :';
  8482. var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
  8483. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,' '+ Node90fontSize + 'px "Arial"', 0,g);
  8484. });
  8485. }
  8486. if (false) {
  8487. Node90.a('node.underlinepoints',[Node90lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('绕组 :', ' '+ Node90fontSize + 'px "Arial"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
  8488. Node90.a('node.underlinevisible',false);
  8489. Node90.a('node.underlineBorderWidth', 1);
  8490. }
  8491. dataModel.add(Node90);
  8492. zoomNodeList.push({
  8493. node: Node90,
  8494. borderWidth: 0,
  8495. attr: 'node.borderwidth'
  8496. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8497. var Node91 = new ht.Node();
  8498. var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 74*_ratio.ratioX, Node91height = 23*_ratio.ratioY;
  8499. (function () {
  8500. if (Node91align === 'left') {
  8501. Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
  8502. Node91textWidth = Node91width;
  8503. Node91lineStart = 1;
  8504. } else if (Node91align === 'right') {
  8505. Node91textStart = 0;
  8506. Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
  8507. Node91lineStart = (Node91width - (ht.Default.getTextSize('油温1 :', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5;
  8508. } else if (Node91align === 'center') {
  8509. Node91textStart = -3;
  8510. Node91textWidth = Node91width;
  8511. Node91lineStart = Node91width - ht.Default.getTextSize('油温1 :', ' '+ Node91fontSize + 'px "Arial"').width - 11;
  8512. }
  8513. })();
  8514. Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
  8515. Node91.setPosition(1188*ratio.ratioX, 453*ratio.ratioY);
  8516. Node91.setWidth(Node91width);
  8517. Node91.setHeight(Node91height);
  8518. Node91._nodeType = 'text';
  8519. Node91._disallowEvert = true;
  8520. Node91.setRotation(0*Math.PI/180);
  8521. Node91.a('node.width', Node91width);
  8522. Node91.a('node.height', Node91height);
  8523. Node91.a('node.rect', [0, 0, Node91width, Node91height]);
  8524. Node91.a('node.bordercolor','rgba(0,0,0,1)');
  8525. Node91.a('node.borderwidth', 0);
  8526. Node91.a('node.background','' || 'rgba(0,0,0,0)');
  8527. Node91.a('node.gradient','');
  8528. Node91.a('node.gradientcolor','');
  8529. Node91.a('node.text','油温1 :');
  8530. Node91.a('node.textalign','left');
  8531. Node91.a('node.textvAlign','middle');
  8532. Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
  8533. Node91.a('node.color','rgba(0,0,0,1)');
  8534. Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"');
  8535. Node91.a('node.textvisible',true);
  8536. Node91.a('node.linefeed',false);
  8537. if (false) {
  8538. Node91.a('node.textfunc',function(g) {
  8539. g.beginPath();
  8540. var str=Node91.a('node.text') || '油温1 :';
  8541. var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
  8542. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
  8543. });
  8544. }
  8545. if (false) {
  8546. Node91.a('node.underlinepoints',[Node91lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('油温1 :', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
  8547. Node91.a('node.underlinevisible',false);
  8548. Node91.a('node.underlineBorderWidth', 1);
  8549. }
  8550. dataModel.add(Node91);
  8551. zoomNodeList.push({
  8552. node: Node91,
  8553. borderWidth: 0,
  8554. attr: 'node.borderwidth'
  8555. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8556. var Node92 = new ht.Node();
  8557. var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 74*_ratio.ratioX, Node92height = 23*_ratio.ratioY;
  8558. (function () {
  8559. if (Node92align === 'left') {
  8560. Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
  8561. Node92textWidth = Node92width;
  8562. Node92lineStart = 1;
  8563. } else if (Node92align === 'right') {
  8564. Node92textStart = 0;
  8565. Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
  8566. Node92lineStart = (Node92width - (ht.Default.getTextSize('油温2 :', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
  8567. } else if (Node92align === 'center') {
  8568. Node92textStart = -3;
  8569. Node92textWidth = Node92width;
  8570. Node92lineStart = Node92width - ht.Default.getTextSize('油温2 :', ' '+ Node92fontSize + 'px "Arial"').width - 11;
  8571. }
  8572. })();
  8573. Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
  8574. Node92.setPosition(1188*ratio.ratioX, 477*ratio.ratioY);
  8575. Node92.setWidth(Node92width);
  8576. Node92.setHeight(Node92height);
  8577. Node92._nodeType = 'text';
  8578. Node92._disallowEvert = true;
  8579. Node92.setRotation(0*Math.PI/180);
  8580. Node92.a('node.width', Node92width);
  8581. Node92.a('node.height', Node92height);
  8582. Node92.a('node.rect', [0, 0, Node92width, Node92height]);
  8583. Node92.a('node.bordercolor','rgba(0,0,0,1)');
  8584. Node92.a('node.borderwidth', 0);
  8585. Node92.a('node.background','' || 'rgba(0,0,0,0)');
  8586. Node92.a('node.gradient','');
  8587. Node92.a('node.gradientcolor','');
  8588. Node92.a('node.text','油温2 :');
  8589. Node92.a('node.textalign','left');
  8590. Node92.a('node.textvAlign','middle');
  8591. Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
  8592. Node92.a('node.color','rgba(0,0,0,1)');
  8593. Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"');
  8594. Node92.a('node.textvisible',true);
  8595. Node92.a('node.linefeed',false);
  8596. if (false) {
  8597. Node92.a('node.textfunc',function(g) {
  8598. g.beginPath();
  8599. var str=Node92.a('node.text') || '油温2 :';
  8600. var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
  8601. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g);
  8602. });
  8603. }
  8604. if (false) {
  8605. Node92.a('node.underlinepoints',[Node92lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('油温2 :', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
  8606. Node92.a('node.underlinevisible',false);
  8607. Node92.a('node.underlineBorderWidth', 1);
  8608. }
  8609. dataModel.add(Node92);
  8610. zoomNodeList.push({
  8611. node: Node92,
  8612. borderWidth: 0,
  8613. attr: 'node.borderwidth'
  8614. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8615. var Node93 = new ht.Node();
  8616. var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 74*_ratio.ratioX, Node93height = 23*_ratio.ratioY;
  8617. (function () {
  8618. if (Node93align === 'left') {
  8619. Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
  8620. Node93textWidth = Node93width;
  8621. Node93lineStart = 1;
  8622. } else if (Node93align === 'right') {
  8623. Node93textStart = 0;
  8624. Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
  8625. Node93lineStart = (Node93width - (ht.Default.getTextSize('档位 :', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
  8626. } else if (Node93align === 'center') {
  8627. Node93textStart = -3;
  8628. Node93textWidth = Node93width;
  8629. Node93lineStart = Node93width - ht.Default.getTextSize('档位 :', ' '+ Node93fontSize + 'px "Arial"').width - 11;
  8630. }
  8631. })();
  8632. Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
  8633. Node93.setPosition(1195*ratio.ratioX, 502*ratio.ratioY);
  8634. Node93.setWidth(Node93width);
  8635. Node93.setHeight(Node93height);
  8636. Node93._nodeType = 'text';
  8637. Node93._disallowEvert = true;
  8638. Node93.setRotation(0*Math.PI/180);
  8639. Node93.a('node.width', Node93width);
  8640. Node93.a('node.height', Node93height);
  8641. Node93.a('node.rect', [0, 0, Node93width, Node93height]);
  8642. Node93.a('node.bordercolor','rgba(0,0,0,1)');
  8643. Node93.a('node.borderwidth', 0);
  8644. Node93.a('node.background','' || 'rgba(0,0,0,0)');
  8645. Node93.a('node.gradient','');
  8646. Node93.a('node.gradientcolor','');
  8647. Node93.a('node.text','档位 :');
  8648. Node93.a('node.textalign','left');
  8649. Node93.a('node.textvAlign','middle');
  8650. Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
  8651. Node93.a('node.color','rgba(0,0,0,1)');
  8652. Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"');
  8653. Node93.a('node.textvisible',true);
  8654. Node93.a('node.linefeed',false);
  8655. if (false) {
  8656. Node93.a('node.textfunc',function(g) {
  8657. g.beginPath();
  8658. var str=Node93.a('node.text') || '档位 :';
  8659. var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
  8660. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
  8661. });
  8662. }
  8663. if (false) {
  8664. Node93.a('node.underlinepoints',[Node93lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('档位 :', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
  8665. Node93.a('node.underlinevisible',false);
  8666. Node93.a('node.underlineBorderWidth', 1);
  8667. }
  8668. dataModel.add(Node93);
  8669. zoomNodeList.push({
  8670. node: Node93,
  8671. borderWidth: 0,
  8672. attr: 'node.borderwidth'
  8673. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8674. var Node94_0 = new ht.Node();
  8675. var Node94_0textStart, Node94_0textWidth, Node94_0lineStart, Node94_0align = 'left', Node94_0fontSize = 13.3333*_ratio.ratioY,Node94_0width = 64*_ratio.ratioX, Node94_0height = 23*_ratio.ratioY;
  8676. (function () {
  8677. if (Node94_0align === 'left') {
  8678. Node94_0textStart = Node94_0fontSize * 0.2 > 2 ? Node94_0fontSize * 0.2 - 4 : Node94_0fontSize * 0.2 - 9;
  8679. Node94_0textWidth = Node94_0width;
  8680. Node94_0lineStart = 1;
  8681. } else if (Node94_0align === 'right') {
  8682. Node94_0textStart = 0;
  8683. Node94_0textWidth =Node94_0fontSize <= 8 ? Node94_0width + Node94_0fontSize * 0.2 + 6 : Node94_0width - Node94_0fontSize * 0.2;
  8684. Node94_0lineStart = (Node94_0width - (ht.Default.getTextSize('IA :', ' '+ Node94_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  8685. } else if (Node94_0align === 'center') {
  8686. Node94_0textStart = -3;
  8687. Node94_0textWidth = Node94_0width;
  8688. Node94_0lineStart = Node94_0width - ht.Default.getTextSize('IA :', ' '+ Node94_0fontSize + 'px "Arial"').width - 11;
  8689. }
  8690. })();
  8691. Node94_0.setImage(GD.getTextJSON(Node94_0width, Node94_0height, true, false, false, ' '+ Node94_0fontSize + 'px "Arial"'))
  8692. Node94_0.setPosition(1209*ratio.ratioX, 537*ratio.ratioY);
  8693. Node94_0.setWidth(Node94_0width);
  8694. Node94_0.setHeight(Node94_0height);
  8695. Node94_0._nodeType = 'text';
  8696. Node94_0._disallowEvert = true;
  8697. Node94_0.setRotation(0*Math.PI/180);
  8698. Node94_0.a('node.width', Node94_0width);
  8699. Node94_0.a('node.height', Node94_0height);
  8700. Node94_0.a('node.rect', [0, 0, Node94_0width, Node94_0height]);
  8701. Node94_0.a('node.bordercolor','rgba(0,0,0,1)');
  8702. Node94_0.a('node.borderwidth', 0);
  8703. Node94_0.a('node.background','' || 'rgba(0,0,0,0)');
  8704. Node94_0.a('node.gradient','');
  8705. Node94_0.a('node.gradientcolor','');
  8706. Node94_0.a('node.text','IA :');
  8707. Node94_0.a('node.textalign','left');
  8708. Node94_0.a('node.textvAlign','middle');
  8709. Node94_0.a('node.textrect', [Node94_0textStart, 0, Node94_0textWidth, Node94_0height]);
  8710. Node94_0.a('node.color','rgba(0,0,0,1)');
  8711. Node94_0.a('node.font',' '+ Node94_0fontSize + 'px "Arial"');
  8712. Node94_0.a('node.textvisible',true);
  8713. Node94_0.a('node.linefeed',false);
  8714. if (false) {
  8715. Node94_0.a('node.textfunc',function(g) {
  8716. g.beginPath();
  8717. var str=Node94_0.a('node.text') || 'IA :';
  8718. var color=Node94_0.a('node.color') || 'rgba(0,0,0,1)';
  8719. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94_0width,Node94_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node94_0fontSize + 'px "Arial"', 0,g);
  8720. });
  8721. }
  8722. if (false) {
  8723. Node94_0.a('node.underlinepoints',[Node94_0lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node94_0fontSize + 2 , ht.Default.getTextSize('IA :', ' '+ Node94_0fontSize + 'px "Arial"').width + 6, (Node94_0height - Node94_0fontSize) * 0.5*_ratio.ratioY + Node94_0fontSize + 2 ]);
  8724. Node94_0.a('node.underlinevisible',false);
  8725. Node94_0.a('node.underlineBorderWidth', 1);
  8726. }
  8727. dataModel.add(Node94_0);
  8728. zoomNodeList.push({
  8729. node: Node94_0,
  8730. borderWidth: 0,
  8731. attr: 'node.borderwidth'
  8732. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8733. var Node94_1 = new ht.Node();
  8734. var Node94_1textStart, Node94_1textWidth, Node94_1lineStart, Node94_1align = 'left', Node94_1fontSize = 13.3333*_ratio.ratioY,Node94_1width = 74*_ratio.ratioX, Node94_1height = 23*_ratio.ratioY;
  8735. (function () {
  8736. if (Node94_1align === 'left') {
  8737. Node94_1textStart = Node94_1fontSize * 0.2 > 2 ? Node94_1fontSize * 0.2 - 4 : Node94_1fontSize * 0.2 - 9;
  8738. Node94_1textWidth = Node94_1width;
  8739. Node94_1lineStart = 1;
  8740. } else if (Node94_1align === 'right') {
  8741. Node94_1textStart = 0;
  8742. Node94_1textWidth =Node94_1fontSize <= 8 ? Node94_1width + Node94_1fontSize * 0.2 + 6 : Node94_1width - Node94_1fontSize * 0.2;
  8743. Node94_1lineStart = (Node94_1width - (ht.Default.getTextSize('P :', ' '+ Node94_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  8744. } else if (Node94_1align === 'center') {
  8745. Node94_1textStart = -3;
  8746. Node94_1textWidth = Node94_1width;
  8747. Node94_1lineStart = Node94_1width - ht.Default.getTextSize('P :', ' '+ Node94_1fontSize + 'px "Arial"').width - 11;
  8748. }
  8749. })();
  8750. Node94_1.setImage(GD.getTextJSON(Node94_1width, Node94_1height, true, false, false, ' '+ Node94_1fontSize + 'px "Arial"'))
  8751. Node94_1.setPosition(1218*ratio.ratioX, 558*ratio.ratioY);
  8752. Node94_1.setWidth(Node94_1width);
  8753. Node94_1.setHeight(Node94_1height);
  8754. Node94_1._nodeType = 'text';
  8755. Node94_1._disallowEvert = true;
  8756. Node94_1.setRotation(0*Math.PI/180);
  8757. Node94_1.a('node.width', Node94_1width);
  8758. Node94_1.a('node.height', Node94_1height);
  8759. Node94_1.a('node.rect', [0, 0, Node94_1width, Node94_1height]);
  8760. Node94_1.a('node.bordercolor','rgba(0,0,0,1)');
  8761. Node94_1.a('node.borderwidth', 0);
  8762. Node94_1.a('node.background','' || 'rgba(0,0,0,0)');
  8763. Node94_1.a('node.gradient','');
  8764. Node94_1.a('node.gradientcolor','');
  8765. Node94_1.a('node.text','P :');
  8766. Node94_1.a('node.textalign','left');
  8767. Node94_1.a('node.textvAlign','middle');
  8768. Node94_1.a('node.textrect', [Node94_1textStart, 0, Node94_1textWidth, Node94_1height]);
  8769. Node94_1.a('node.color','rgba(0,0,0,1)');
  8770. Node94_1.a('node.font',' '+ Node94_1fontSize + 'px "Arial"');
  8771. Node94_1.a('node.textvisible',true);
  8772. Node94_1.a('node.linefeed',false);
  8773. if (false) {
  8774. Node94_1.a('node.textfunc',function(g) {
  8775. g.beginPath();
  8776. var str=Node94_1.a('node.text') || 'P :';
  8777. var color=Node94_1.a('node.color') || 'rgba(0,0,0,1)';
  8778. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94_1width,Node94_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node94_1fontSize + 'px "Arial"', 0,g);
  8779. });
  8780. }
  8781. if (false) {
  8782. Node94_1.a('node.underlinepoints',[Node94_1lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node94_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node94_1fontSize + 'px "Arial"').width + 6, (Node94_1height - Node94_1fontSize) * 0.5*_ratio.ratioY + Node94_1fontSize + 2 ]);
  8783. Node94_1.a('node.underlinevisible',false);
  8784. Node94_1.a('node.underlineBorderWidth', 1);
  8785. }
  8786. dataModel.add(Node94_1);
  8787. zoomNodeList.push({
  8788. node: Node94_1,
  8789. borderWidth: 0,
  8790. attr: 'node.borderwidth'
  8791. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8792. var Node94_2 = new ht.Node();
  8793. var Node94_2textStart, Node94_2textWidth, Node94_2lineStart, Node94_2align = 'left', Node94_2fontSize = 13.3333*_ratio.ratioY,Node94_2width = 74*_ratio.ratioX, Node94_2height = 23*_ratio.ratioY;
  8794. (function () {
  8795. if (Node94_2align === 'left') {
  8796. Node94_2textStart = Node94_2fontSize * 0.2 > 2 ? Node94_2fontSize * 0.2 - 4 : Node94_2fontSize * 0.2 - 9;
  8797. Node94_2textWidth = Node94_2width;
  8798. Node94_2lineStart = 1;
  8799. } else if (Node94_2align === 'right') {
  8800. Node94_2textStart = 0;
  8801. Node94_2textWidth =Node94_2fontSize <= 8 ? Node94_2width + Node94_2fontSize * 0.2 + 6 : Node94_2width - Node94_2fontSize * 0.2;
  8802. Node94_2lineStart = (Node94_2width - (ht.Default.getTextSize('Q :', ' '+ Node94_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  8803. } else if (Node94_2align === 'center') {
  8804. Node94_2textStart = -3;
  8805. Node94_2textWidth = Node94_2width;
  8806. Node94_2lineStart = Node94_2width - ht.Default.getTextSize('Q :', ' '+ Node94_2fontSize + 'px "Arial"').width - 11;
  8807. }
  8808. })();
  8809. Node94_2.setImage(GD.getTextJSON(Node94_2width, Node94_2height, true, false, false, ' '+ Node94_2fontSize + 'px "Arial"'))
  8810. Node94_2.setPosition(1218*ratio.ratioX, 583*ratio.ratioY);
  8811. Node94_2.setWidth(Node94_2width);
  8812. Node94_2.setHeight(Node94_2height);
  8813. Node94_2._nodeType = 'text';
  8814. Node94_2._disallowEvert = true;
  8815. Node94_2.setRotation(0*Math.PI/180);
  8816. Node94_2.a('node.width', Node94_2width);
  8817. Node94_2.a('node.height', Node94_2height);
  8818. Node94_2.a('node.rect', [0, 0, Node94_2width, Node94_2height]);
  8819. Node94_2.a('node.bordercolor','rgba(0,0,0,1)');
  8820. Node94_2.a('node.borderwidth', 0);
  8821. Node94_2.a('node.background','' || 'rgba(0,0,0,0)');
  8822. Node94_2.a('node.gradient','');
  8823. Node94_2.a('node.gradientcolor','');
  8824. Node94_2.a('node.text','Q :');
  8825. Node94_2.a('node.textalign','left');
  8826. Node94_2.a('node.textvAlign','middle');
  8827. Node94_2.a('node.textrect', [Node94_2textStart, 0, Node94_2textWidth, Node94_2height]);
  8828. Node94_2.a('node.color','rgba(0,0,0,1)');
  8829. Node94_2.a('node.font',' '+ Node94_2fontSize + 'px "Arial"');
  8830. Node94_2.a('node.textvisible',true);
  8831. Node94_2.a('node.linefeed',false);
  8832. if (false) {
  8833. Node94_2.a('node.textfunc',function(g) {
  8834. g.beginPath();
  8835. var str=Node94_2.a('node.text') || 'Q :';
  8836. var color=Node94_2.a('node.color') || 'rgba(0,0,0,1)';
  8837. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94_2width,Node94_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node94_2fontSize + 'px "Arial"', 0,g);
  8838. });
  8839. }
  8840. if (false) {
  8841. Node94_2.a('node.underlinepoints',[Node94_2lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node94_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node94_2fontSize + 'px "Arial"').width + 6, (Node94_2height - Node94_2fontSize) * 0.5*_ratio.ratioY + Node94_2fontSize + 2 ]);
  8842. Node94_2.a('node.underlinevisible',false);
  8843. Node94_2.a('node.underlineBorderWidth', 1);
  8844. }
  8845. dataModel.add(Node94_2);
  8846. zoomNodeList.push({
  8847. node: Node94_2,
  8848. borderWidth: 0,
  8849. attr: 'node.borderwidth'
  8850. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8851. var Node94_3 = new ht.Node();
  8852. var Node94_3textStart, Node94_3textWidth, Node94_3lineStart, Node94_3align = 'left', Node94_3fontSize = 13.3333*_ratio.ratioY,Node94_3width = 74*_ratio.ratioX, Node94_3height = 23*_ratio.ratioY;
  8853. (function () {
  8854. if (Node94_3align === 'left') {
  8855. Node94_3textStart = Node94_3fontSize * 0.2 > 2 ? Node94_3fontSize * 0.2 - 4 : Node94_3fontSize * 0.2 - 9;
  8856. Node94_3textWidth = Node94_3width;
  8857. Node94_3lineStart = 1;
  8858. } else if (Node94_3align === 'right') {
  8859. Node94_3textStart = 0;
  8860. Node94_3textWidth =Node94_3fontSize <= 8 ? Node94_3width + Node94_3fontSize * 0.2 + 6 : Node94_3width - Node94_3fontSize * 0.2;
  8861. Node94_3lineStart = (Node94_3width - (ht.Default.getTextSize('COS :', ' '+ Node94_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  8862. } else if (Node94_3align === 'center') {
  8863. Node94_3textStart = -3;
  8864. Node94_3textWidth = Node94_3width;
  8865. Node94_3lineStart = Node94_3width - ht.Default.getTextSize('COS :', ' '+ Node94_3fontSize + 'px "Arial"').width - 11;
  8866. }
  8867. })();
  8868. Node94_3.setImage(GD.getTextJSON(Node94_3width, Node94_3height, true, false, false, ' '+ Node94_3fontSize + 'px "Arial"'))
  8869. Node94_3.setPosition(1199*ratio.ratioX, 608*ratio.ratioY);
  8870. Node94_3.setWidth(Node94_3width);
  8871. Node94_3.setHeight(Node94_3height);
  8872. Node94_3._nodeType = 'text';
  8873. Node94_3._disallowEvert = true;
  8874. Node94_3.setRotation(0*Math.PI/180);
  8875. Node94_3.a('node.width', Node94_3width);
  8876. Node94_3.a('node.height', Node94_3height);
  8877. Node94_3.a('node.rect', [0, 0, Node94_3width, Node94_3height]);
  8878. Node94_3.a('node.bordercolor','rgba(0,0,0,1)');
  8879. Node94_3.a('node.borderwidth', 0);
  8880. Node94_3.a('node.background','' || 'rgba(0,0,0,0)');
  8881. Node94_3.a('node.gradient','');
  8882. Node94_3.a('node.gradientcolor','');
  8883. Node94_3.a('node.text','COS :');
  8884. Node94_3.a('node.textalign','left');
  8885. Node94_3.a('node.textvAlign','middle');
  8886. Node94_3.a('node.textrect', [Node94_3textStart, 0, Node94_3textWidth, Node94_3height]);
  8887. Node94_3.a('node.color','rgba(0,0,0,1)');
  8888. Node94_3.a('node.font',' '+ Node94_3fontSize + 'px "Arial"');
  8889. Node94_3.a('node.textvisible',true);
  8890. Node94_3.a('node.linefeed',false);
  8891. if (false) {
  8892. Node94_3.a('node.textfunc',function(g) {
  8893. g.beginPath();
  8894. var str=Node94_3.a('node.text') || 'COS :';
  8895. var color=Node94_3.a('node.color') || 'rgba(0,0,0,1)';
  8896. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94_3width,Node94_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node94_3fontSize + 'px "Arial"', 0,g);
  8897. });
  8898. }
  8899. if (false) {
  8900. Node94_3.a('node.underlinepoints',[Node94_3lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node94_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node94_3fontSize + 'px "Arial"').width + 6, (Node94_3height - Node94_3fontSize) * 0.5*_ratio.ratioY + Node94_3fontSize + 2 ]);
  8901. Node94_3.a('node.underlinevisible',false);
  8902. Node94_3.a('node.underlineBorderWidth', 1);
  8903. }
  8904. dataModel.add(Node94_3);
  8905. zoomNodeList.push({
  8906. node: Node94_3,
  8907. borderWidth: 0,
  8908. attr: 'node.borderwidth'
  8909. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8910. var Node95 = new ht.Node();
  8911. var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'left', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 68*_ratio.ratioX, Node95height = 18*_ratio.ratioY;
  8912. (function () {
  8913. if (Node95align === 'left') {
  8914. Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
  8915. Node95textWidth = Node95width;
  8916. Node95lineStart = 1;
  8917. } else if (Node95align === 'right') {
  8918. Node95textStart = 0;
  8919. Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
  8920. Node95lineStart = (Node95width - (ht.Default.getTextSize('MW', ' '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5;
  8921. } else if (Node95align === 'center') {
  8922. Node95textStart = -3;
  8923. Node95textWidth = Node95width;
  8924. Node95lineStart = Node95width - ht.Default.getTextSize('MW', ' '+ Node95fontSize + 'px "Arial"').width - 11;
  8925. }
  8926. })();
  8927. Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, ' '+ Node95fontSize + 'px "Arial"'))
  8928. Node95.setPosition(1302*ratio.ratioX, 561*ratio.ratioY);
  8929. Node95.setWidth(Node95width);
  8930. Node95.setHeight(Node95height);
  8931. Node95._nodeType = 'text';
  8932. Node95._disallowEvert = true;
  8933. Node95.setRotation(0*Math.PI/180);
  8934. Node95.a('node.width', Node95width);
  8935. Node95.a('node.height', Node95height);
  8936. Node95.a('node.rect', [0, 0, Node95width, Node95height]);
  8937. Node95.a('node.bordercolor','rgba(0,0,0,1)');
  8938. Node95.a('node.borderwidth', 0);
  8939. Node95.a('node.background','' || 'rgba(0,0,0,0)');
  8940. Node95.a('node.gradient','');
  8941. Node95.a('node.gradientcolor','');
  8942. Node95.a('node.text','MW');
  8943. Node95.a('node.textalign','left');
  8944. Node95.a('node.textvAlign','middle');
  8945. Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]);
  8946. Node95.a('node.color','rgba(0,0,0,1)');
  8947. Node95.a('node.font',' '+ Node95fontSize + 'px "Arial"');
  8948. Node95.a('node.textvisible',true);
  8949. Node95.a('node.linefeed',false);
  8950. if (false) {
  8951. Node95.a('node.textfunc',function(g) {
  8952. g.beginPath();
  8953. var str=Node95.a('node.text') || 'MW';
  8954. var color=Node95.a('node.color') || 'rgba(0,0,0,1)';
  8955. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"left",color,' '+ Node95fontSize + 'px "Arial"', 0,g);
  8956. });
  8957. }
  8958. if (false) {
  8959. Node95.a('node.underlinepoints',[Node95lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]);
  8960. Node95.a('node.underlinevisible',false);
  8961. Node95.a('node.underlineBorderWidth', 1);
  8962. }
  8963. dataModel.add(Node95);
  8964. zoomNodeList.push({
  8965. node: Node95,
  8966. borderWidth: 0,
  8967. attr: 'node.borderwidth'
  8968. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8969. var Node96 = new ht.Node();
  8970. var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'left', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 68*_ratio.ratioX, Node96height = 18*_ratio.ratioY;
  8971. (function () {
  8972. if (Node96align === 'left') {
  8973. Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
  8974. Node96textWidth = Node96width;
  8975. Node96lineStart = 1;
  8976. } else if (Node96align === 'right') {
  8977. Node96textStart = 0;
  8978. Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
  8979. Node96lineStart = (Node96width - (ht.Default.getTextSize('MVR', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
  8980. } else if (Node96align === 'center') {
  8981. Node96textStart = -3;
  8982. Node96textWidth = Node96width;
  8983. Node96lineStart = Node96width - ht.Default.getTextSize('MVR', ' '+ Node96fontSize + 'px "Arial"').width - 11;
  8984. }
  8985. })();
  8986. Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
  8987. Node96.setPosition(1302*ratio.ratioX, 584*ratio.ratioY);
  8988. Node96.setWidth(Node96width);
  8989. Node96.setHeight(Node96height);
  8990. Node96._nodeType = 'text';
  8991. Node96._disallowEvert = true;
  8992. Node96.setRotation(0*Math.PI/180);
  8993. Node96.a('node.width', Node96width);
  8994. Node96.a('node.height', Node96height);
  8995. Node96.a('node.rect', [0, 0, Node96width, Node96height]);
  8996. Node96.a('node.bordercolor','rgba(0,0,0,1)');
  8997. Node96.a('node.borderwidth', 0);
  8998. Node96.a('node.background','' || 'rgba(0,0,0,0)');
  8999. Node96.a('node.gradient','');
  9000. Node96.a('node.gradientcolor','');
  9001. Node96.a('node.text','MVR');
  9002. Node96.a('node.textalign','left');
  9003. Node96.a('node.textvAlign','middle');
  9004. Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
  9005. Node96.a('node.color','rgba(0,0,0,1)');
  9006. Node96.a('node.font',' '+ Node96fontSize + 'px "Arial"');
  9007. Node96.a('node.textvisible',true);
  9008. Node96.a('node.linefeed',false);
  9009. if (false) {
  9010. Node96.a('node.textfunc',function(g) {
  9011. g.beginPath();
  9012. var str=Node96.a('node.text') || 'MVR';
  9013. var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
  9014. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
  9015. });
  9016. }
  9017. if (false) {
  9018. Node96.a('node.underlinepoints',[Node96lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('MVR', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
  9019. Node96.a('node.underlinevisible',false);
  9020. Node96.a('node.underlineBorderWidth', 1);
  9021. }
  9022. dataModel.add(Node96);
  9023. zoomNodeList.push({
  9024. node: Node96,
  9025. borderWidth: 0,
  9026. attr: 'node.borderwidth'
  9027. }); var Node97points=[1455, 617,1455, 548],
  9028. Node97rect=ht.Default.unionPoint([{x:1455,y:617},{x:1455,y:548}]),
  9029. Node97compspts=[];
  9030. _ratio = GD.getRatioWithRotation(0, ratio);
  9031. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  9032. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  9033. for(var i=0;i<Node97points.length;i++){
  9034. if(i%2==0){
  9035. Node97compspts.push(Node97points[i]-Node97rect.x);
  9036. }else{
  9037. Node97compspts.push(Node97points[i]-Node97rect.y);
  9038. }
  9039. }
  9040. var Node97ptslength=Node97compspts.length;
  9041. if (Node97rect.height === 0) {
  9042. Node97compspts[0] -= 0;
  9043. Node97compspts[Node97ptslength-2] += 0;
  9044. } else if (Node97rect.width === 0){
  9045. Node97compspts[1] -= 0;
  9046. Node97compspts[Node97ptslength-1] += 0;
  9047. } else {
  9048. Node97compspts[0] -= 0;
  9049. Node97compspts[1] -= 0;
  9050. Node97compspts[Node97ptslength-2] += 0;
  9051. Node97compspts[Node97ptslength-1] += 0;
  9052. }
  9053. Node97 = new ht.Node();
  9054. Node97.borderWidth = 1;
  9055. Node97rect.width = Node97rect.width === 0 ? 0.0001 : Node97rect.width;
  9056. Node97rect.height = Node97rect.height === 0 ? 0.0001 : Node97rect.height;
  9057. var Node97endCompspts = [Node97compspts[Node97ptslength-2],Node97compspts[Node97ptslength-1],0,0];
  9058. var Node97startCompspts = [Node97compspts[0],Node97compspts[1],0,0];
  9059. Node97.setImage(GD.getPolyLineJSON());
  9060. Node97.setPosition(Node97rect.x+Node97rect.width/2,Node97rect.y+Node97rect.height/2);
  9061. Node97.setSize(Node97rect.width,Node97rect.height);
  9062. Node97.setStyle("opacity",1);
  9063. Node97.s({'pixelPerfect':true});
  9064. Node97borderwidth=1;
  9065. Node97.setRotation(0);
  9066. dataModel.add(Node97);
  9067. Node97.a('node.points',Node97compspts);
  9068. Node97.a('node.segments',[1,2]);
  9069. Node97.a('node.color','rgba(255,128,0,1)');
  9070. Node97.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9071. Node97.a('node.borderColor','rgba(255,128,0,1)');
  9072. Node97.a('node.background','rgba(255,128,0,1)');
  9073. Node97.a('node.gradient','');
  9074. Node97.a('node.gradientcolor','rgba(255,128,0,1)');
  9075. Node97.a('node.endCompspts',Node97endCompspts);
  9076. Node97.a('node.startCompspts',Node97startCompspts);
  9077. (function (node, img, compspts, endCompspts, startCompspts) {
  9078. var position = node.getPosition(),
  9079. w = node.getWidth()*_ratio.ratioX,
  9080. h = node.getHeight()*_ratio.ratioY;
  9081. function resetPoints(rx, ry) {
  9082. for (var i = 0, len = compspts.length; i < len; i++) {
  9083. if (i%2 === 0) {
  9084. compspts[i]*=rx;
  9085. } else {
  9086. compspts[i]*=ry;
  9087. }
  9088. }
  9089. endCompspts[0] = compspts[compspts.length-2];
  9090. endCompspts[1] = compspts[compspts.length-1];
  9091. endCompspts[2] *= rx;
  9092. endCompspts[3] *= ry;
  9093. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9094. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9095. startCompspts[0] = compspts[0];
  9096. startCompspts[1] = compspts[1];
  9097. startCompspts[2] *= rx;
  9098. startCompspts[3] *= ry;
  9099. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9100. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9101. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9102. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9103. }
  9104. node.setSize(w, h);
  9105. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9106. node.a('node.width', w);
  9107. node.a('node.height', h);
  9108. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9109. node.borderWidth = 1;
  9110. node.a('node.borderwidth',node.borderWidth);
  9111. node._nodename = 'Node97';
  9112. node._nodeType = 'line';
  9113. zoomNodeList.push({
  9114. node: node,
  9115. attr: 'node.borderwidth'
  9116. });
  9117. var setWidth = node.setWidth,
  9118. setHeight = node.setHeight,
  9119. timer, rx = 1, ry = 1;
  9120. node.setWidth = function (width) {
  9121. var _width = this.getWidth();
  9122. rx = width / _width;
  9123. node.a('node.width', width);
  9124. setWidth.apply(this, arguments);
  9125. resetPoints(rx, 1);
  9126. }
  9127. node.setHeight = function (height) {
  9128. var _height = this.getHeight();
  9129. ry = height / _height;
  9130. node.a('node.height', height);
  9131. setHeight.apply(this, arguments);
  9132. resetPoints(1, ry);
  9133. }
  9134. })(Node97, Node97.getImage(), Node97compspts, Node97endCompspts, Node97startCompspts);
  9135. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9136. var Node98_0type = 'oval';
  9137. var Node98_0 = new ht.Node(),
  9138. Node98_0BorderWidth = 2*2;
  9139. if (Node98_0type === 'arc') {
  9140. Node98_0BorderWidth *= 2;
  9141. }
  9142. Node98_0.setImage(GD.getRectJSON(21.36609*_ratio.ratioX, 15.45178*_ratio.ratioY, Node98_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  9143. Node98_0.setPosition(1434*ratio.ratioX, 511*ratio.ratioY);
  9144. Node98_0.setSize(21.36609*_ratio.ratioX, 15.45178*_ratio.ratioY);
  9145. Node98_0.s({
  9146. 'pixelPerfect':true
  9147. /*@AddPara@*/
  9148. });
  9149. Node98_0.a('node.width', 21.36609*_ratio.ratioX);
  9150. Node98_0.a('node.height', 15.45178*_ratio.ratioY);
  9151. Node98_0.a('node.type', Node98_0type);
  9152. Node98_0.a('node.rect', [0, 0, 21.36609*_ratio.ratioX, 15.45178*_ratio.ratioY]);
  9153. Node98_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  9154. Node98_0.a('node.gradientcolor', '');
  9155. Node98_0.a('node.gradient', '');
  9156. Node98_0.a('node.borderwidth', Node98_0BorderWidth);
  9157. Node98_0.a('node.color', 'rgba(255,128,0,1)');
  9158. Node98_0.a('node.fillrect', [0,0,0,0]);
  9159. Node98_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  9160. Node98_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  9161. Node98_0.a('node.fillgradient', '');
  9162. if (Node98_0type !== 'rect') {
  9163. Node98_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  9164. Node98_0.a('node.arcTo', parseFloat('@arcTo@'));
  9165. Node98_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  9166. }
  9167. if (Node98_0type === 'arc') {
  9168. Node98_0.a('node.arcOval', true);
  9169. }
  9170. Node98_0.setRotation(0*Math.PI/180);
  9171. Node98_0.borderWidth = Node98_0BorderWidth;
  9172. Node98_0.borderFillwidth = Node98_0BorderWidth;
  9173. dataModel.add(Node98_0);
  9174. Node98_0._nodename = 'Node98_0'
  9175. Node98_0._nodeType = 'rect';
  9176. zoomNodeList.push({
  9177. node: Node98_0,
  9178. attr: 'node.borderwidth'
  9179. });
  9180. (function (node, _img) {
  9181. var setWidth = node.setWidth,
  9182. setHeight = node.setHeight;
  9183. node.setWidth = function (width) {
  9184. if (width === this.getWidth()) return ;
  9185. var height = this.getHeight();
  9186. this.a('node.width', width);
  9187. this.a('node.rect', [0,0,width, height]);
  9188. setWidth.apply(this, arguments);
  9189. }
  9190. node.setHeight = function (height) {
  9191. if (height === this.getHeight()) return ;
  9192. var width = this.getWidth();
  9193. this.a('node.height', height);
  9194. this.a('node.rect', [0,0,width, height]);
  9195. setHeight.apply(this, arguments);
  9196. }
  9197. })(Node98_0, Node98_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9198. var Node98_1type = 'oval';
  9199. var Node98_1 = new ht.Node(),
  9200. Node98_1BorderWidth = 2*2;
  9201. if (Node98_1type === 'arc') {
  9202. Node98_1BorderWidth *= 2;
  9203. }
  9204. Node98_1.setImage(GD.getRectJSON(21.36609*_ratio.ratioX, 15.45178*_ratio.ratioY, Node98_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  9205. Node98_1.setPosition(1434*ratio.ratioX, 524*ratio.ratioY);
  9206. Node98_1.setSize(21.36609*_ratio.ratioX, 15.45178*_ratio.ratioY);
  9207. Node98_1.s({
  9208. 'pixelPerfect':true
  9209. /*@AddPara@*/
  9210. });
  9211. Node98_1.a('node.width', 21.36609*_ratio.ratioX);
  9212. Node98_1.a('node.height', 15.45178*_ratio.ratioY);
  9213. Node98_1.a('node.type', Node98_1type);
  9214. Node98_1.a('node.rect', [0, 0, 21.36609*_ratio.ratioX, 15.45178*_ratio.ratioY]);
  9215. Node98_1.a('node.background', 'rgba(255,255,255,0.003921569)');
  9216. Node98_1.a('node.gradientcolor', '');
  9217. Node98_1.a('node.gradient', '');
  9218. Node98_1.a('node.borderwidth', Node98_1BorderWidth);
  9219. Node98_1.a('node.color', 'rgba(255,128,0,1)');
  9220. Node98_1.a('node.fillrect', [0,0,0,0]);
  9221. Node98_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  9222. Node98_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  9223. Node98_1.a('node.fillgradient', '');
  9224. if (Node98_1type !== 'rect') {
  9225. Node98_1.a('node.arcFrom', parseFloat('@arcFrom@'));
  9226. Node98_1.a('node.arcTo', parseFloat('@arcTo@'));
  9227. Node98_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  9228. }
  9229. if (Node98_1type === 'arc') {
  9230. Node98_1.a('node.arcOval', true);
  9231. }
  9232. Node98_1.setRotation(0*Math.PI/180);
  9233. Node98_1.borderWidth = Node98_1BorderWidth;
  9234. Node98_1.borderFillwidth = Node98_1BorderWidth;
  9235. dataModel.add(Node98_1);
  9236. Node98_1._nodename = 'Node98_1'
  9237. Node98_1._nodeType = 'rect';
  9238. zoomNodeList.push({
  9239. node: Node98_1,
  9240. attr: 'node.borderwidth'
  9241. });
  9242. (function (node, _img) {
  9243. var setWidth = node.setWidth,
  9244. setHeight = node.setHeight;
  9245. node.setWidth = function (width) {
  9246. if (width === this.getWidth()) return ;
  9247. var height = this.getHeight();
  9248. this.a('node.width', width);
  9249. this.a('node.rect', [0,0,width, height]);
  9250. setWidth.apply(this, arguments);
  9251. }
  9252. node.setHeight = function (height) {
  9253. if (height === this.getHeight()) return ;
  9254. var width = this.getWidth();
  9255. this.a('node.height', height);
  9256. this.a('node.rect', [0,0,width, height]);
  9257. setHeight.apply(this, arguments);
  9258. }
  9259. })(Node98_1, Node98_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9260. var Node98_2type = 'oval';
  9261. var Node98_2 = new ht.Node(),
  9262. Node98_2BorderWidth = 2*2;
  9263. if (Node98_2type === 'arc') {
  9264. Node98_2BorderWidth *= 2;
  9265. }
  9266. Node98_2.setImage(GD.getRectJSON(21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY, Node98_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  9267. Node98_2.setPosition(1418*ratio.ratioX, 517*ratio.ratioY);
  9268. Node98_2.setSize(21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY);
  9269. Node98_2.s({
  9270. 'pixelPerfect':true
  9271. /*@AddPara@*/
  9272. });
  9273. Node98_2.a('node.width', 21.36609*_ratio.ratioX);
  9274. Node98_2.a('node.height', 15.45181*_ratio.ratioY);
  9275. Node98_2.a('node.type', Node98_2type);
  9276. Node98_2.a('node.rect', [0, 0, 21.36609*_ratio.ratioX, 15.45181*_ratio.ratioY]);
  9277. Node98_2.a('node.background', 'rgba(255,255,255,0.003921569)');
  9278. Node98_2.a('node.gradientcolor', '');
  9279. Node98_2.a('node.gradient', '');
  9280. Node98_2.a('node.borderwidth', Node98_2BorderWidth);
  9281. Node98_2.a('node.color', 'rgba(255,128,0,1)');
  9282. Node98_2.a('node.fillrect', [0,0,0,0]);
  9283. Node98_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  9284. Node98_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  9285. Node98_2.a('node.fillgradient', '');
  9286. if (Node98_2type !== 'rect') {
  9287. Node98_2.a('node.arcFrom', parseFloat('@arcFrom@'));
  9288. Node98_2.a('node.arcTo', parseFloat('@arcTo@'));
  9289. Node98_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  9290. }
  9291. if (Node98_2type === 'arc') {
  9292. Node98_2.a('node.arcOval', true);
  9293. }
  9294. Node98_2.setRotation(0*Math.PI/180);
  9295. Node98_2.borderWidth = Node98_2BorderWidth;
  9296. Node98_2.borderFillwidth = Node98_2BorderWidth;
  9297. dataModel.add(Node98_2);
  9298. Node98_2._nodename = 'Node98_2'
  9299. Node98_2._nodeType = 'rect';
  9300. zoomNodeList.push({
  9301. node: Node98_2,
  9302. attr: 'node.borderwidth'
  9303. });
  9304. (function (node, _img) {
  9305. var setWidth = node.setWidth,
  9306. setHeight = node.setHeight;
  9307. node.setWidth = function (width) {
  9308. if (width === this.getWidth()) return ;
  9309. var height = this.getHeight();
  9310. this.a('node.width', width);
  9311. this.a('node.rect', [0,0,width, height]);
  9312. setWidth.apply(this, arguments);
  9313. }
  9314. node.setHeight = function (height) {
  9315. if (height === this.getHeight()) return ;
  9316. var width = this.getWidth();
  9317. this.a('node.height', height);
  9318. this.a('node.rect', [0,0,width, height]);
  9319. setHeight.apply(this, arguments);
  9320. }
  9321. })(Node98_2, Node98_2.getImage());var Node98_3points=[1434, 507,1434, 511],
  9322. Node98_3rect=ht.Default.unionPoint([{x:1434,y:507},{x:1434,y:511}]),
  9323. Node98_3compspts=[];
  9324. _ratio = GD.getRatioWithRotation(0, ratio);
  9325. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  9326. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  9327. for(var i=0;i<Node98_3points.length;i++){
  9328. if(i%2==0){
  9329. Node98_3compspts.push(Node98_3points[i]-Node98_3rect.x);
  9330. }else{
  9331. Node98_3compspts.push(Node98_3points[i]-Node98_3rect.y);
  9332. }
  9333. }
  9334. var Node98_3ptslength=Node98_3compspts.length;
  9335. if (Node98_3rect.height === 0) {
  9336. Node98_3compspts[0] -= 0;
  9337. Node98_3compspts[Node98_3ptslength-2] += 0;
  9338. } else if (Node98_3rect.width === 0){
  9339. Node98_3compspts[1] -= 0;
  9340. Node98_3compspts[Node98_3ptslength-1] += 0;
  9341. } else {
  9342. Node98_3compspts[0] -= 0;
  9343. Node98_3compspts[1] -= 0;
  9344. Node98_3compspts[Node98_3ptslength-2] += 0;
  9345. Node98_3compspts[Node98_3ptslength-1] += 0;
  9346. }
  9347. Node98_3 = new ht.Node();
  9348. Node98_3.borderWidth = 2;
  9349. Node98_3rect.width = Node98_3rect.width === 0 ? 0.0001 : Node98_3rect.width;
  9350. Node98_3rect.height = Node98_3rect.height === 0 ? 0.0001 : Node98_3rect.height;
  9351. var Node98_3endCompspts = [Node98_3compspts[Node98_3ptslength-2],Node98_3compspts[Node98_3ptslength-1],0,0];
  9352. var Node98_3startCompspts = [Node98_3compspts[0],Node98_3compspts[1],0,0];
  9353. Node98_3.setImage(GD.getPolyLineJSON());
  9354. Node98_3.setPosition(Node98_3rect.x+Node98_3rect.width/2,Node98_3rect.y+Node98_3rect.height/2);
  9355. Node98_3.setSize(Node98_3rect.width,Node98_3rect.height);
  9356. Node98_3.setStyle("opacity",1);
  9357. Node98_3.s({'pixelPerfect':true});
  9358. Node98_3borderwidth=2;
  9359. Node98_3.setRotation(0);
  9360. dataModel.add(Node98_3);
  9361. Node98_3.a('node.points',Node98_3compspts);
  9362. Node98_3.a('node.segments',[1,2]);
  9363. Node98_3.a('node.color','rgba(255,128,0,1)');
  9364. Node98_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9365. Node98_3.a('node.borderColor','rgba(255,128,0,1)');
  9366. Node98_3.a('node.background','rgba(255,128,0,1)');
  9367. Node98_3.a('node.gradient','');
  9368. Node98_3.a('node.gradientcolor','rgba(255,128,0,1)');
  9369. Node98_3.a('node.endCompspts',Node98_3endCompspts);
  9370. Node98_3.a('node.startCompspts',Node98_3startCompspts);
  9371. (function (node, img, compspts, endCompspts, startCompspts) {
  9372. var position = node.getPosition(),
  9373. w = node.getWidth()*_ratio.ratioX,
  9374. h = node.getHeight()*_ratio.ratioY;
  9375. function resetPoints(rx, ry) {
  9376. for (var i = 0, len = compspts.length; i < len; i++) {
  9377. if (i%2 === 0) {
  9378. compspts[i]*=rx;
  9379. } else {
  9380. compspts[i]*=ry;
  9381. }
  9382. }
  9383. endCompspts[0] = compspts[compspts.length-2];
  9384. endCompspts[1] = compspts[compspts.length-1];
  9385. endCompspts[2] *= rx;
  9386. endCompspts[3] *= ry;
  9387. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9388. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9389. startCompspts[0] = compspts[0];
  9390. startCompspts[1] = compspts[1];
  9391. startCompspts[2] *= rx;
  9392. startCompspts[3] *= ry;
  9393. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9394. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9395. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9396. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9397. }
  9398. node.setSize(w, h);
  9399. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9400. node.a('node.width', w);
  9401. node.a('node.height', h);
  9402. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9403. node.borderWidth = 2;
  9404. node.a('node.borderwidth',node.borderWidth);
  9405. node._nodename = 'Node98_3';
  9406. node._nodeType = 'line';
  9407. zoomNodeList.push({
  9408. node: node,
  9409. attr: 'node.borderwidth'
  9410. });
  9411. var setWidth = node.setWidth,
  9412. setHeight = node.setHeight,
  9413. timer, rx = 1, ry = 1;
  9414. node.setWidth = function (width) {
  9415. var _width = this.getWidth();
  9416. rx = width / _width;
  9417. node.a('node.width', width);
  9418. setWidth.apply(this, arguments);
  9419. resetPoints(rx, 1);
  9420. }
  9421. node.setHeight = function (height) {
  9422. var _height = this.getHeight();
  9423. ry = height / _height;
  9424. node.a('node.height', height);
  9425. setHeight.apply(this, arguments);
  9426. resetPoints(1, ry);
  9427. }
  9428. })(Node98_3, Node98_3.getImage(), Node98_3compspts, Node98_3endCompspts, Node98_3startCompspts);
  9429. var Node98_4points=[1434, 511,1439, 514],
  9430. Node98_4rect=ht.Default.unionPoint([{x:1434,y:511},{x:1439,y:514}]),
  9431. Node98_4compspts=[];
  9432. _ratio = GD.getRatioWithRotation(0, ratio);
  9433. var _startratio = GD.getRatioWithRotation(3.68201217139115, ratio),
  9434. _endratio = GD.getRatioWithRotation(0.540419517801362, ratio);
  9435. for(var i=0;i<Node98_4points.length;i++){
  9436. if(i%2==0){
  9437. Node98_4compspts.push(Node98_4points[i]-Node98_4rect.x);
  9438. }else{
  9439. Node98_4compspts.push(Node98_4points[i]-Node98_4rect.y);
  9440. }
  9441. }
  9442. var Node98_4ptslength=Node98_4compspts.length;
  9443. if (Node98_4rect.height === 0) {
  9444. Node98_4compspts[0] -= 0;
  9445. Node98_4compspts[Node98_4ptslength-2] += 0;
  9446. } else if (Node98_4rect.width === 0){
  9447. Node98_4compspts[1] -= 0;
  9448. Node98_4compspts[Node98_4ptslength-1] += 0;
  9449. } else {
  9450. Node98_4compspts[0] -= 0;
  9451. Node98_4compspts[1] -= 0;
  9452. Node98_4compspts[Node98_4ptslength-2] += 0;
  9453. Node98_4compspts[Node98_4ptslength-1] += 0;
  9454. }
  9455. Node98_4 = new ht.Node();
  9456. Node98_4.borderWidth = 2;
  9457. Node98_4rect.width = Node98_4rect.width === 0 ? 0.0001 : Node98_4rect.width;
  9458. Node98_4rect.height = Node98_4rect.height === 0 ? 0.0001 : Node98_4rect.height;
  9459. var Node98_4endCompspts = [Node98_4compspts[Node98_4ptslength-2],Node98_4compspts[Node98_4ptslength-1],0,0];
  9460. var Node98_4startCompspts = [Node98_4compspts[0],Node98_4compspts[1],0,0];
  9461. Node98_4.setImage(GD.getPolyLineJSON());
  9462. Node98_4.setPosition(Node98_4rect.x+Node98_4rect.width/2,Node98_4rect.y+Node98_4rect.height/2);
  9463. Node98_4.setSize(Node98_4rect.width,Node98_4rect.height);
  9464. Node98_4.setStyle("opacity",1);
  9465. Node98_4.s({'pixelPerfect':true});
  9466. Node98_4borderwidth=2;
  9467. Node98_4.setRotation(0);
  9468. dataModel.add(Node98_4);
  9469. Node98_4.a('node.points',Node98_4compspts);
  9470. Node98_4.a('node.segments',[1,2]);
  9471. Node98_4.a('node.color','rgba(255,128,0,1)');
  9472. Node98_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9473. Node98_4.a('node.borderColor','rgba(255,128,0,1)');
  9474. Node98_4.a('node.background','rgba(255,128,0,1)');
  9475. Node98_4.a('node.gradient','');
  9476. Node98_4.a('node.gradientcolor','rgba(255,128,0,1)');
  9477. Node98_4.a('node.endCompspts',Node98_4endCompspts);
  9478. Node98_4.a('node.startCompspts',Node98_4startCompspts);
  9479. (function (node, img, compspts, endCompspts, startCompspts) {
  9480. var position = node.getPosition(),
  9481. w = node.getWidth()*_ratio.ratioX,
  9482. h = node.getHeight()*_ratio.ratioY;
  9483. function resetPoints(rx, ry) {
  9484. for (var i = 0, len = compspts.length; i < len; i++) {
  9485. if (i%2 === 0) {
  9486. compspts[i]*=rx;
  9487. } else {
  9488. compspts[i]*=ry;
  9489. }
  9490. }
  9491. endCompspts[0] = compspts[compspts.length-2];
  9492. endCompspts[1] = compspts[compspts.length-1];
  9493. endCompspts[2] *= rx;
  9494. endCompspts[3] *= ry;
  9495. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9496. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9497. startCompspts[0] = compspts[0];
  9498. startCompspts[1] = compspts[1];
  9499. startCompspts[2] *= rx;
  9500. startCompspts[3] *= ry;
  9501. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9502. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9503. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9504. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9505. }
  9506. node.setSize(w, h);
  9507. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9508. node.a('node.width', w);
  9509. node.a('node.height', h);
  9510. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9511. node.borderWidth = 2;
  9512. node.a('node.borderwidth',node.borderWidth);
  9513. node._nodename = 'Node98_4';
  9514. node._nodeType = 'line';
  9515. zoomNodeList.push({
  9516. node: node,
  9517. attr: 'node.borderwidth'
  9518. });
  9519. var setWidth = node.setWidth,
  9520. setHeight = node.setHeight,
  9521. timer, rx = 1, ry = 1;
  9522. node.setWidth = function (width) {
  9523. var _width = this.getWidth();
  9524. rx = width / _width;
  9525. node.a('node.width', width);
  9526. setWidth.apply(this, arguments);
  9527. resetPoints(rx, 1);
  9528. }
  9529. node.setHeight = function (height) {
  9530. var _height = this.getHeight();
  9531. ry = height / _height;
  9532. node.a('node.height', height);
  9533. setHeight.apply(this, arguments);
  9534. resetPoints(1, ry);
  9535. }
  9536. })(Node98_4, Node98_4.getImage(), Node98_4compspts, Node98_4endCompspts, Node98_4startCompspts);
  9537. var Node98_5points=[1434, 511,1428, 514],
  9538. Node98_5rect=ht.Default.unionPoint([{x:1434,y:511},{x:1428,y:514}]),
  9539. Node98_5compspts=[];
  9540. _ratio = GD.getRatioWithRotation(0, ratio);
  9541. var _startratio = GD.getRatioWithRotation(-0.463647609000806, ratio),
  9542. _endratio = GD.getRatioWithRotation(2.67794504458899, ratio);
  9543. for(var i=0;i<Node98_5points.length;i++){
  9544. if(i%2==0){
  9545. Node98_5compspts.push(Node98_5points[i]-Node98_5rect.x);
  9546. }else{
  9547. Node98_5compspts.push(Node98_5points[i]-Node98_5rect.y);
  9548. }
  9549. }
  9550. var Node98_5ptslength=Node98_5compspts.length;
  9551. if (Node98_5rect.height === 0) {
  9552. Node98_5compspts[0] -= 0;
  9553. Node98_5compspts[Node98_5ptslength-2] += 0;
  9554. } else if (Node98_5rect.width === 0){
  9555. Node98_5compspts[1] -= 0;
  9556. Node98_5compspts[Node98_5ptslength-1] += 0;
  9557. } else {
  9558. Node98_5compspts[0] -= 0;
  9559. Node98_5compspts[1] -= 0;
  9560. Node98_5compspts[Node98_5ptslength-2] += 0;
  9561. Node98_5compspts[Node98_5ptslength-1] += 0;
  9562. }
  9563. Node98_5 = new ht.Node();
  9564. Node98_5.borderWidth = 2;
  9565. Node98_5rect.width = Node98_5rect.width === 0 ? 0.0001 : Node98_5rect.width;
  9566. Node98_5rect.height = Node98_5rect.height === 0 ? 0.0001 : Node98_5rect.height;
  9567. var Node98_5endCompspts = [Node98_5compspts[Node98_5ptslength-2],Node98_5compspts[Node98_5ptslength-1],0,0];
  9568. var Node98_5startCompspts = [Node98_5compspts[0],Node98_5compspts[1],0,0];
  9569. Node98_5.setImage(GD.getPolyLineJSON());
  9570. Node98_5.setPosition(Node98_5rect.x+Node98_5rect.width/2,Node98_5rect.y+Node98_5rect.height/2);
  9571. Node98_5.setSize(Node98_5rect.width,Node98_5rect.height);
  9572. Node98_5.setStyle("opacity",1);
  9573. Node98_5.s({'pixelPerfect':true});
  9574. Node98_5borderwidth=2;
  9575. Node98_5.setRotation(0);
  9576. dataModel.add(Node98_5);
  9577. Node98_5.a('node.points',Node98_5compspts);
  9578. Node98_5.a('node.segments',[1,2]);
  9579. Node98_5.a('node.color','rgba(255,128,0,1)');
  9580. Node98_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9581. Node98_5.a('node.borderColor','rgba(255,128,0,1)');
  9582. Node98_5.a('node.background','rgba(255,128,0,1)');
  9583. Node98_5.a('node.gradient','');
  9584. Node98_5.a('node.gradientcolor','rgba(255,128,0,1)');
  9585. Node98_5.a('node.endCompspts',Node98_5endCompspts);
  9586. Node98_5.a('node.startCompspts',Node98_5startCompspts);
  9587. (function (node, img, compspts, endCompspts, startCompspts) {
  9588. var position = node.getPosition(),
  9589. w = node.getWidth()*_ratio.ratioX,
  9590. h = node.getHeight()*_ratio.ratioY;
  9591. function resetPoints(rx, ry) {
  9592. for (var i = 0, len = compspts.length; i < len; i++) {
  9593. if (i%2 === 0) {
  9594. compspts[i]*=rx;
  9595. } else {
  9596. compspts[i]*=ry;
  9597. }
  9598. }
  9599. endCompspts[0] = compspts[compspts.length-2];
  9600. endCompspts[1] = compspts[compspts.length-1];
  9601. endCompspts[2] *= rx;
  9602. endCompspts[3] *= ry;
  9603. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9604. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9605. startCompspts[0] = compspts[0];
  9606. startCompspts[1] = compspts[1];
  9607. startCompspts[2] *= rx;
  9608. startCompspts[3] *= ry;
  9609. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9610. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9611. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9612. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9613. }
  9614. node.setSize(w, h);
  9615. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9616. node.a('node.width', w);
  9617. node.a('node.height', h);
  9618. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9619. node.borderWidth = 2;
  9620. node.a('node.borderwidth',node.borderWidth);
  9621. node._nodename = 'Node98_5';
  9622. node._nodeType = 'line';
  9623. zoomNodeList.push({
  9624. node: node,
  9625. attr: 'node.borderwidth'
  9626. });
  9627. var setWidth = node.setWidth,
  9628. setHeight = node.setHeight,
  9629. timer, rx = 1, ry = 1;
  9630. node.setWidth = function (width) {
  9631. var _width = this.getWidth();
  9632. rx = width / _width;
  9633. node.a('node.width', width);
  9634. setWidth.apply(this, arguments);
  9635. resetPoints(rx, 1);
  9636. }
  9637. node.setHeight = function (height) {
  9638. var _height = this.getHeight();
  9639. ry = height / _height;
  9640. node.a('node.height', height);
  9641. setHeight.apply(this, arguments);
  9642. resetPoints(1, ry);
  9643. }
  9644. })(Node98_5, Node98_5.getImage(), Node98_5compspts, Node98_5endCompspts, Node98_5startCompspts);
  9645. var Node98_6points=[1434, 520,1434, 524],
  9646. Node98_6rect=ht.Default.unionPoint([{x:1434,y:520},{x:1434,y:524}]),
  9647. Node98_6compspts=[];
  9648. _ratio = GD.getRatioWithRotation(0, ratio);
  9649. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  9650. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  9651. for(var i=0;i<Node98_6points.length;i++){
  9652. if(i%2==0){
  9653. Node98_6compspts.push(Node98_6points[i]-Node98_6rect.x);
  9654. }else{
  9655. Node98_6compspts.push(Node98_6points[i]-Node98_6rect.y);
  9656. }
  9657. }
  9658. var Node98_6ptslength=Node98_6compspts.length;
  9659. if (Node98_6rect.height === 0) {
  9660. Node98_6compspts[0] -= 0;
  9661. Node98_6compspts[Node98_6ptslength-2] += 0;
  9662. } else if (Node98_6rect.width === 0){
  9663. Node98_6compspts[1] -= 0;
  9664. Node98_6compspts[Node98_6ptslength-1] += 0;
  9665. } else {
  9666. Node98_6compspts[0] -= 0;
  9667. Node98_6compspts[1] -= 0;
  9668. Node98_6compspts[Node98_6ptslength-2] += 0;
  9669. Node98_6compspts[Node98_6ptslength-1] += 0;
  9670. }
  9671. Node98_6 = new ht.Node();
  9672. Node98_6.borderWidth = 2;
  9673. Node98_6rect.width = Node98_6rect.width === 0 ? 0.0001 : Node98_6rect.width;
  9674. Node98_6rect.height = Node98_6rect.height === 0 ? 0.0001 : Node98_6rect.height;
  9675. var Node98_6endCompspts = [Node98_6compspts[Node98_6ptslength-2],Node98_6compspts[Node98_6ptslength-1],0,0];
  9676. var Node98_6startCompspts = [Node98_6compspts[0],Node98_6compspts[1],0,0];
  9677. Node98_6.setImage(GD.getPolyLineJSON());
  9678. Node98_6.setPosition(Node98_6rect.x+Node98_6rect.width/2,Node98_6rect.y+Node98_6rect.height/2);
  9679. Node98_6.setSize(Node98_6rect.width,Node98_6rect.height);
  9680. Node98_6.setStyle("opacity",1);
  9681. Node98_6.s({'pixelPerfect':true});
  9682. Node98_6borderwidth=2;
  9683. Node98_6.setRotation(0);
  9684. dataModel.add(Node98_6);
  9685. Node98_6.a('node.points',Node98_6compspts);
  9686. Node98_6.a('node.segments',[1,2]);
  9687. Node98_6.a('node.color','rgba(255,128,0,1)');
  9688. Node98_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9689. Node98_6.a('node.borderColor','rgba(255,128,0,1)');
  9690. Node98_6.a('node.background','rgba(255,128,0,1)');
  9691. Node98_6.a('node.gradient','');
  9692. Node98_6.a('node.gradientcolor','rgba(255,128,0,1)');
  9693. Node98_6.a('node.endCompspts',Node98_6endCompspts);
  9694. Node98_6.a('node.startCompspts',Node98_6startCompspts);
  9695. (function (node, img, compspts, endCompspts, startCompspts) {
  9696. var position = node.getPosition(),
  9697. w = node.getWidth()*_ratio.ratioX,
  9698. h = node.getHeight()*_ratio.ratioY;
  9699. function resetPoints(rx, ry) {
  9700. for (var i = 0, len = compspts.length; i < len; i++) {
  9701. if (i%2 === 0) {
  9702. compspts[i]*=rx;
  9703. } else {
  9704. compspts[i]*=ry;
  9705. }
  9706. }
  9707. endCompspts[0] = compspts[compspts.length-2];
  9708. endCompspts[1] = compspts[compspts.length-1];
  9709. endCompspts[2] *= rx;
  9710. endCompspts[3] *= ry;
  9711. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9712. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9713. startCompspts[0] = compspts[0];
  9714. startCompspts[1] = compspts[1];
  9715. startCompspts[2] *= rx;
  9716. startCompspts[3] *= ry;
  9717. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9718. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9719. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9720. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9721. }
  9722. node.setSize(w, h);
  9723. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9724. node.a('node.width', w);
  9725. node.a('node.height', h);
  9726. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9727. node.borderWidth = 2;
  9728. node.a('node.borderwidth',node.borderWidth);
  9729. node._nodename = 'Node98_6';
  9730. node._nodeType = 'line';
  9731. zoomNodeList.push({
  9732. node: node,
  9733. attr: 'node.borderwidth'
  9734. });
  9735. var setWidth = node.setWidth,
  9736. setHeight = node.setHeight,
  9737. timer, rx = 1, ry = 1;
  9738. node.setWidth = function (width) {
  9739. var _width = this.getWidth();
  9740. rx = width / _width;
  9741. node.a('node.width', width);
  9742. setWidth.apply(this, arguments);
  9743. resetPoints(rx, 1);
  9744. }
  9745. node.setHeight = function (height) {
  9746. var _height = this.getHeight();
  9747. ry = height / _height;
  9748. node.a('node.height', height);
  9749. setHeight.apply(this, arguments);
  9750. resetPoints(1, ry);
  9751. }
  9752. })(Node98_6, Node98_6.getImage(), Node98_6compspts, Node98_6endCompspts, Node98_6startCompspts);
  9753. var Node98_7points=[1434, 524,1439, 527],
  9754. Node98_7rect=ht.Default.unionPoint([{x:1434,y:524},{x:1439,y:527}]),
  9755. Node98_7compspts=[];
  9756. _ratio = GD.getRatioWithRotation(0, ratio);
  9757. var _startratio = GD.getRatioWithRotation(3.68201217139115, ratio),
  9758. _endratio = GD.getRatioWithRotation(0.540419517801362, ratio);
  9759. for(var i=0;i<Node98_7points.length;i++){
  9760. if(i%2==0){
  9761. Node98_7compspts.push(Node98_7points[i]-Node98_7rect.x);
  9762. }else{
  9763. Node98_7compspts.push(Node98_7points[i]-Node98_7rect.y);
  9764. }
  9765. }
  9766. var Node98_7ptslength=Node98_7compspts.length;
  9767. if (Node98_7rect.height === 0) {
  9768. Node98_7compspts[0] -= 0;
  9769. Node98_7compspts[Node98_7ptslength-2] += 0;
  9770. } else if (Node98_7rect.width === 0){
  9771. Node98_7compspts[1] -= 0;
  9772. Node98_7compspts[Node98_7ptslength-1] += 0;
  9773. } else {
  9774. Node98_7compspts[0] -= 0;
  9775. Node98_7compspts[1] -= 0;
  9776. Node98_7compspts[Node98_7ptslength-2] += 0;
  9777. Node98_7compspts[Node98_7ptslength-1] += 0;
  9778. }
  9779. Node98_7 = new ht.Node();
  9780. Node98_7.borderWidth = 2;
  9781. Node98_7rect.width = Node98_7rect.width === 0 ? 0.0001 : Node98_7rect.width;
  9782. Node98_7rect.height = Node98_7rect.height === 0 ? 0.0001 : Node98_7rect.height;
  9783. var Node98_7endCompspts = [Node98_7compspts[Node98_7ptslength-2],Node98_7compspts[Node98_7ptslength-1],0,0];
  9784. var Node98_7startCompspts = [Node98_7compspts[0],Node98_7compspts[1],0,0];
  9785. Node98_7.setImage(GD.getPolyLineJSON());
  9786. Node98_7.setPosition(Node98_7rect.x+Node98_7rect.width/2,Node98_7rect.y+Node98_7rect.height/2);
  9787. Node98_7.setSize(Node98_7rect.width,Node98_7rect.height);
  9788. Node98_7.setStyle("opacity",1);
  9789. Node98_7.s({'pixelPerfect':true});
  9790. Node98_7borderwidth=2;
  9791. Node98_7.setRotation(0);
  9792. dataModel.add(Node98_7);
  9793. Node98_7.a('node.points',Node98_7compspts);
  9794. Node98_7.a('node.segments',[1,2]);
  9795. Node98_7.a('node.color','rgba(255,128,0,1)');
  9796. Node98_7.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9797. Node98_7.a('node.borderColor','rgba(255,128,0,1)');
  9798. Node98_7.a('node.background','rgba(255,128,0,1)');
  9799. Node98_7.a('node.gradient','');
  9800. Node98_7.a('node.gradientcolor','rgba(255,128,0,1)');
  9801. Node98_7.a('node.endCompspts',Node98_7endCompspts);
  9802. Node98_7.a('node.startCompspts',Node98_7startCompspts);
  9803. (function (node, img, compspts, endCompspts, startCompspts) {
  9804. var position = node.getPosition(),
  9805. w = node.getWidth()*_ratio.ratioX,
  9806. h = node.getHeight()*_ratio.ratioY;
  9807. function resetPoints(rx, ry) {
  9808. for (var i = 0, len = compspts.length; i < len; i++) {
  9809. if (i%2 === 0) {
  9810. compspts[i]*=rx;
  9811. } else {
  9812. compspts[i]*=ry;
  9813. }
  9814. }
  9815. endCompspts[0] = compspts[compspts.length-2];
  9816. endCompspts[1] = compspts[compspts.length-1];
  9817. endCompspts[2] *= rx;
  9818. endCompspts[3] *= ry;
  9819. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9820. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9821. startCompspts[0] = compspts[0];
  9822. startCompspts[1] = compspts[1];
  9823. startCompspts[2] *= rx;
  9824. startCompspts[3] *= ry;
  9825. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9826. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9827. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9828. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9829. }
  9830. node.setSize(w, h);
  9831. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9832. node.a('node.width', w);
  9833. node.a('node.height', h);
  9834. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9835. node.borderWidth = 2;
  9836. node.a('node.borderwidth',node.borderWidth);
  9837. node._nodename = 'Node98_7';
  9838. node._nodeType = 'line';
  9839. zoomNodeList.push({
  9840. node: node,
  9841. attr: 'node.borderwidth'
  9842. });
  9843. var setWidth = node.setWidth,
  9844. setHeight = node.setHeight,
  9845. timer, rx = 1, ry = 1;
  9846. node.setWidth = function (width) {
  9847. var _width = this.getWidth();
  9848. rx = width / _width;
  9849. node.a('node.width', width);
  9850. setWidth.apply(this, arguments);
  9851. resetPoints(rx, 1);
  9852. }
  9853. node.setHeight = function (height) {
  9854. var _height = this.getHeight();
  9855. ry = height / _height;
  9856. node.a('node.height', height);
  9857. setHeight.apply(this, arguments);
  9858. resetPoints(1, ry);
  9859. }
  9860. })(Node98_7, Node98_7.getImage(), Node98_7compspts, Node98_7endCompspts, Node98_7startCompspts);
  9861. var Node98_8points=[1434, 524,1428, 527],
  9862. Node98_8rect=ht.Default.unionPoint([{x:1434,y:524},{x:1428,y:527}]),
  9863. Node98_8compspts=[];
  9864. _ratio = GD.getRatioWithRotation(0, ratio);
  9865. var _startratio = GD.getRatioWithRotation(-0.463647609000806, ratio),
  9866. _endratio = GD.getRatioWithRotation(2.67794504458899, ratio);
  9867. for(var i=0;i<Node98_8points.length;i++){
  9868. if(i%2==0){
  9869. Node98_8compspts.push(Node98_8points[i]-Node98_8rect.x);
  9870. }else{
  9871. Node98_8compspts.push(Node98_8points[i]-Node98_8rect.y);
  9872. }
  9873. }
  9874. var Node98_8ptslength=Node98_8compspts.length;
  9875. if (Node98_8rect.height === 0) {
  9876. Node98_8compspts[0] -= 0;
  9877. Node98_8compspts[Node98_8ptslength-2] += 0;
  9878. } else if (Node98_8rect.width === 0){
  9879. Node98_8compspts[1] -= 0;
  9880. Node98_8compspts[Node98_8ptslength-1] += 0;
  9881. } else {
  9882. Node98_8compspts[0] -= 0;
  9883. Node98_8compspts[1] -= 0;
  9884. Node98_8compspts[Node98_8ptslength-2] += 0;
  9885. Node98_8compspts[Node98_8ptslength-1] += 0;
  9886. }
  9887. Node98_8 = new ht.Node();
  9888. Node98_8.borderWidth = 2;
  9889. Node98_8rect.width = Node98_8rect.width === 0 ? 0.0001 : Node98_8rect.width;
  9890. Node98_8rect.height = Node98_8rect.height === 0 ? 0.0001 : Node98_8rect.height;
  9891. var Node98_8endCompspts = [Node98_8compspts[Node98_8ptslength-2],Node98_8compspts[Node98_8ptslength-1],0,0];
  9892. var Node98_8startCompspts = [Node98_8compspts[0],Node98_8compspts[1],0,0];
  9893. Node98_8.setImage(GD.getPolyLineJSON());
  9894. Node98_8.setPosition(Node98_8rect.x+Node98_8rect.width/2,Node98_8rect.y+Node98_8rect.height/2);
  9895. Node98_8.setSize(Node98_8rect.width,Node98_8rect.height);
  9896. Node98_8.setStyle("opacity",1);
  9897. Node98_8.s({'pixelPerfect':true});
  9898. Node98_8borderwidth=2;
  9899. Node98_8.setRotation(0);
  9900. dataModel.add(Node98_8);
  9901. Node98_8.a('node.points',Node98_8compspts);
  9902. Node98_8.a('node.segments',[1,2]);
  9903. Node98_8.a('node.color','rgba(255,128,0,1)');
  9904. Node98_8.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9905. Node98_8.a('node.borderColor','rgba(255,128,0,1)');
  9906. Node98_8.a('node.background','rgba(255,128,0,1)');
  9907. Node98_8.a('node.gradient','');
  9908. Node98_8.a('node.gradientcolor','rgba(255,128,0,1)');
  9909. Node98_8.a('node.endCompspts',Node98_8endCompspts);
  9910. Node98_8.a('node.startCompspts',Node98_8startCompspts);
  9911. (function (node, img, compspts, endCompspts, startCompspts) {
  9912. var position = node.getPosition(),
  9913. w = node.getWidth()*_ratio.ratioX,
  9914. h = node.getHeight()*_ratio.ratioY;
  9915. function resetPoints(rx, ry) {
  9916. for (var i = 0, len = compspts.length; i < len; i++) {
  9917. if (i%2 === 0) {
  9918. compspts[i]*=rx;
  9919. } else {
  9920. compspts[i]*=ry;
  9921. }
  9922. }
  9923. endCompspts[0] = compspts[compspts.length-2];
  9924. endCompspts[1] = compspts[compspts.length-1];
  9925. endCompspts[2] *= rx;
  9926. endCompspts[3] *= ry;
  9927. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9928. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9929. startCompspts[0] = compspts[0];
  9930. startCompspts[1] = compspts[1];
  9931. startCompspts[2] *= rx;
  9932. startCompspts[3] *= ry;
  9933. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9934. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9935. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9936. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9937. }
  9938. node.setSize(w, h);
  9939. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9940. node.a('node.width', w);
  9941. node.a('node.height', h);
  9942. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9943. node.borderWidth = 2;
  9944. node.a('node.borderwidth',node.borderWidth);
  9945. node._nodename = 'Node98_8';
  9946. node._nodeType = 'line';
  9947. zoomNodeList.push({
  9948. node: node,
  9949. attr: 'node.borderwidth'
  9950. });
  9951. var setWidth = node.setWidth,
  9952. setHeight = node.setHeight,
  9953. timer, rx = 1, ry = 1;
  9954. node.setWidth = function (width) {
  9955. var _width = this.getWidth();
  9956. rx = width / _width;
  9957. node.a('node.width', width);
  9958. setWidth.apply(this, arguments);
  9959. resetPoints(rx, 1);
  9960. }
  9961. node.setHeight = function (height) {
  9962. var _height = this.getHeight();
  9963. ry = height / _height;
  9964. node.a('node.height', height);
  9965. setHeight.apply(this, arguments);
  9966. resetPoints(1, ry);
  9967. }
  9968. })(Node98_8, Node98_8.getImage(), Node98_8compspts, Node98_8endCompspts, Node98_8startCompspts);
  9969. var Node98_9points=[1411, 516,1420, 513],
  9970. Node98_9rect=ht.Default.unionPoint([{x:1411,y:516},{x:1420,y:513}]),
  9971. Node98_9compspts=[];
  9972. _ratio = GD.getRatioWithRotation(0, ratio);
  9973. var _startratio = GD.getRatioWithRotation(2.81984209025245, ratio),
  9974. _endratio = GD.getRatioWithRotation(-0.321750563337339, ratio);
  9975. for(var i=0;i<Node98_9points.length;i++){
  9976. if(i%2==0){
  9977. Node98_9compspts.push(Node98_9points[i]-Node98_9rect.x);
  9978. }else{
  9979. Node98_9compspts.push(Node98_9points[i]-Node98_9rect.y);
  9980. }
  9981. }
  9982. var Node98_9ptslength=Node98_9compspts.length;
  9983. if (Node98_9rect.height === 0) {
  9984. Node98_9compspts[0] -= 0;
  9985. Node98_9compspts[Node98_9ptslength-2] += 0;
  9986. } else if (Node98_9rect.width === 0){
  9987. Node98_9compspts[1] -= 0;
  9988. Node98_9compspts[Node98_9ptslength-1] += 0;
  9989. } else {
  9990. Node98_9compspts[0] -= 0;
  9991. Node98_9compspts[1] -= 0;
  9992. Node98_9compspts[Node98_9ptslength-2] += 0;
  9993. Node98_9compspts[Node98_9ptslength-1] += 0;
  9994. }
  9995. Node98_9 = new ht.Node();
  9996. Node98_9.borderWidth = 2;
  9997. Node98_9rect.width = Node98_9rect.width === 0 ? 0.0001 : Node98_9rect.width;
  9998. Node98_9rect.height = Node98_9rect.height === 0 ? 0.0001 : Node98_9rect.height;
  9999. var Node98_9endCompspts = [Node98_9compspts[Node98_9ptslength-2],Node98_9compspts[Node98_9ptslength-1],0,0];
  10000. var Node98_9startCompspts = [Node98_9compspts[0],Node98_9compspts[1],0,0];
  10001. Node98_9.setImage(GD.getPolyLineJSON());
  10002. Node98_9.setPosition(Node98_9rect.x+Node98_9rect.width/2,Node98_9rect.y+Node98_9rect.height/2);
  10003. Node98_9.setSize(Node98_9rect.width,Node98_9rect.height);
  10004. Node98_9.setStyle("opacity",1);
  10005. Node98_9.s({'pixelPerfect':true});
  10006. Node98_9borderwidth=2;
  10007. Node98_9.setRotation(0);
  10008. dataModel.add(Node98_9);
  10009. Node98_9.a('node.points',Node98_9compspts);
  10010. Node98_9.a('node.segments',[1,2]);
  10011. Node98_9.a('node.color','rgba(255,128,0,1)');
  10012. Node98_9.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10013. Node98_9.a('node.borderColor','rgba(255,128,0,1)');
  10014. Node98_9.a('node.background','rgba(255,128,0,1)');
  10015. Node98_9.a('node.gradient','');
  10016. Node98_9.a('node.gradientcolor','rgba(255,128,0,1)');
  10017. Node98_9.a('node.endCompspts',Node98_9endCompspts);
  10018. Node98_9.a('node.startCompspts',Node98_9startCompspts);
  10019. (function (node, img, compspts, endCompspts, startCompspts) {
  10020. var position = node.getPosition(),
  10021. w = node.getWidth()*_ratio.ratioX,
  10022. h = node.getHeight()*_ratio.ratioY;
  10023. function resetPoints(rx, ry) {
  10024. for (var i = 0, len = compspts.length; i < len; i++) {
  10025. if (i%2 === 0) {
  10026. compspts[i]*=rx;
  10027. } else {
  10028. compspts[i]*=ry;
  10029. }
  10030. }
  10031. endCompspts[0] = compspts[compspts.length-2];
  10032. endCompspts[1] = compspts[compspts.length-1];
  10033. endCompspts[2] *= rx;
  10034. endCompspts[3] *= ry;
  10035. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10036. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10037. startCompspts[0] = compspts[0];
  10038. startCompspts[1] = compspts[1];
  10039. startCompspts[2] *= rx;
  10040. startCompspts[3] *= ry;
  10041. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10042. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10043. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10044. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10045. }
  10046. node.setSize(w, h);
  10047. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10048. node.a('node.width', w);
  10049. node.a('node.height', h);
  10050. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10051. node.borderWidth = 2;
  10052. node.a('node.borderwidth',node.borderWidth);
  10053. node._nodename = 'Node98_9';
  10054. node._nodeType = 'line';
  10055. zoomNodeList.push({
  10056. node: node,
  10057. attr: 'node.borderwidth'
  10058. });
  10059. var setWidth = node.setWidth,
  10060. setHeight = node.setHeight,
  10061. timer, rx = 1, ry = 1;
  10062. node.setWidth = function (width) {
  10063. var _width = this.getWidth();
  10064. rx = width / _width;
  10065. node.a('node.width', width);
  10066. setWidth.apply(this, arguments);
  10067. resetPoints(rx, 1);
  10068. }
  10069. node.setHeight = function (height) {
  10070. var _height = this.getHeight();
  10071. ry = height / _height;
  10072. node.a('node.height', height);
  10073. setHeight.apply(this, arguments);
  10074. resetPoints(1, ry);
  10075. }
  10076. })(Node98_9, Node98_9.getImage(), Node98_9compspts, Node98_9endCompspts, Node98_9startCompspts);
  10077. var Node98_10points=[1420, 513,1420, 522],
  10078. Node98_10rect=ht.Default.unionPoint([{x:1420,y:513},{x:1420,y:522}]),
  10079. Node98_10compspts=[];
  10080. _ratio = GD.getRatioWithRotation(0, ratio);
  10081. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  10082. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  10083. for(var i=0;i<Node98_10points.length;i++){
  10084. if(i%2==0){
  10085. Node98_10compspts.push(Node98_10points[i]-Node98_10rect.x);
  10086. }else{
  10087. Node98_10compspts.push(Node98_10points[i]-Node98_10rect.y);
  10088. }
  10089. }
  10090. var Node98_10ptslength=Node98_10compspts.length;
  10091. if (Node98_10rect.height === 0) {
  10092. Node98_10compspts[0] -= 0;
  10093. Node98_10compspts[Node98_10ptslength-2] += 0;
  10094. } else if (Node98_10rect.width === 0){
  10095. Node98_10compspts[1] -= 0;
  10096. Node98_10compspts[Node98_10ptslength-1] += 0;
  10097. } else {
  10098. Node98_10compspts[0] -= 0;
  10099. Node98_10compspts[1] -= 0;
  10100. Node98_10compspts[Node98_10ptslength-2] += 0;
  10101. Node98_10compspts[Node98_10ptslength-1] += 0;
  10102. }
  10103. Node98_10 = new ht.Node();
  10104. Node98_10.borderWidth = 2;
  10105. Node98_10rect.width = Node98_10rect.width === 0 ? 0.0001 : Node98_10rect.width;
  10106. Node98_10rect.height = Node98_10rect.height === 0 ? 0.0001 : Node98_10rect.height;
  10107. var Node98_10endCompspts = [Node98_10compspts[Node98_10ptslength-2],Node98_10compspts[Node98_10ptslength-1],0,0];
  10108. var Node98_10startCompspts = [Node98_10compspts[0],Node98_10compspts[1],0,0];
  10109. Node98_10.setImage(GD.getPolyLineJSON());
  10110. Node98_10.setPosition(Node98_10rect.x+Node98_10rect.width/2,Node98_10rect.y+Node98_10rect.height/2);
  10111. Node98_10.setSize(Node98_10rect.width,Node98_10rect.height);
  10112. Node98_10.setStyle("opacity",1);
  10113. Node98_10.s({'pixelPerfect':true});
  10114. Node98_10borderwidth=2;
  10115. Node98_10.setRotation(0);
  10116. dataModel.add(Node98_10);
  10117. Node98_10.a('node.points',Node98_10compspts);
  10118. Node98_10.a('node.segments',[1,2]);
  10119. Node98_10.a('node.color','rgba(255,128,0,1)');
  10120. Node98_10.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10121. Node98_10.a('node.borderColor','rgba(255,128,0,1)');
  10122. Node98_10.a('node.background','rgba(255,128,0,1)');
  10123. Node98_10.a('node.gradient','');
  10124. Node98_10.a('node.gradientcolor','rgba(255,128,0,1)');
  10125. Node98_10.a('node.endCompspts',Node98_10endCompspts);
  10126. Node98_10.a('node.startCompspts',Node98_10startCompspts);
  10127. (function (node, img, compspts, endCompspts, startCompspts) {
  10128. var position = node.getPosition(),
  10129. w = node.getWidth()*_ratio.ratioX,
  10130. h = node.getHeight()*_ratio.ratioY;
  10131. function resetPoints(rx, ry) {
  10132. for (var i = 0, len = compspts.length; i < len; i++) {
  10133. if (i%2 === 0) {
  10134. compspts[i]*=rx;
  10135. } else {
  10136. compspts[i]*=ry;
  10137. }
  10138. }
  10139. endCompspts[0] = compspts[compspts.length-2];
  10140. endCompspts[1] = compspts[compspts.length-1];
  10141. endCompspts[2] *= rx;
  10142. endCompspts[3] *= ry;
  10143. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10144. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10145. startCompspts[0] = compspts[0];
  10146. startCompspts[1] = compspts[1];
  10147. startCompspts[2] *= rx;
  10148. startCompspts[3] *= ry;
  10149. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10150. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10151. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10152. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10153. }
  10154. node.setSize(w, h);
  10155. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10156. node.a('node.width', w);
  10157. node.a('node.height', h);
  10158. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10159. node.borderWidth = 2;
  10160. node.a('node.borderwidth',node.borderWidth);
  10161. node._nodename = 'Node98_10';
  10162. node._nodeType = 'line';
  10163. zoomNodeList.push({
  10164. node: node,
  10165. attr: 'node.borderwidth'
  10166. });
  10167. var setWidth = node.setWidth,
  10168. setHeight = node.setHeight,
  10169. timer, rx = 1, ry = 1;
  10170. node.setWidth = function (width) {
  10171. var _width = this.getWidth();
  10172. rx = width / _width;
  10173. node.a('node.width', width);
  10174. setWidth.apply(this, arguments);
  10175. resetPoints(rx, 1);
  10176. }
  10177. node.setHeight = function (height) {
  10178. var _height = this.getHeight();
  10179. ry = height / _height;
  10180. node.a('node.height', height);
  10181. setHeight.apply(this, arguments);
  10182. resetPoints(1, ry);
  10183. }
  10184. })(Node98_10, Node98_10.getImage(), Node98_10compspts, Node98_10endCompspts, Node98_10startCompspts);
  10185. var Node98_11points=[1411, 519,1420, 522],
  10186. Node98_11rect=ht.Default.unionPoint([{x:1411,y:519},{x:1420,y:522}]),
  10187. Node98_11compspts=[];
  10188. _ratio = GD.getRatioWithRotation(0, ratio);
  10189. var _startratio = GD.getRatioWithRotation(3.46334321692713, ratio),
  10190. _endratio = GD.getRatioWithRotation(0.321750563337339, ratio);
  10191. for(var i=0;i<Node98_11points.length;i++){
  10192. if(i%2==0){
  10193. Node98_11compspts.push(Node98_11points[i]-Node98_11rect.x);
  10194. }else{
  10195. Node98_11compspts.push(Node98_11points[i]-Node98_11rect.y);
  10196. }
  10197. }
  10198. var Node98_11ptslength=Node98_11compspts.length;
  10199. if (Node98_11rect.height === 0) {
  10200. Node98_11compspts[0] -= 0;
  10201. Node98_11compspts[Node98_11ptslength-2] += 0;
  10202. } else if (Node98_11rect.width === 0){
  10203. Node98_11compspts[1] -= 0;
  10204. Node98_11compspts[Node98_11ptslength-1] += 0;
  10205. } else {
  10206. Node98_11compspts[0] -= 0;
  10207. Node98_11compspts[1] -= 0;
  10208. Node98_11compspts[Node98_11ptslength-2] += 0;
  10209. Node98_11compspts[Node98_11ptslength-1] += 0;
  10210. }
  10211. Node98_11 = new ht.Node();
  10212. Node98_11.borderWidth = 2;
  10213. Node98_11rect.width = Node98_11rect.width === 0 ? 0.0001 : Node98_11rect.width;
  10214. Node98_11rect.height = Node98_11rect.height === 0 ? 0.0001 : Node98_11rect.height;
  10215. var Node98_11endCompspts = [Node98_11compspts[Node98_11ptslength-2],Node98_11compspts[Node98_11ptslength-1],0,0];
  10216. var Node98_11startCompspts = [Node98_11compspts[0],Node98_11compspts[1],0,0];
  10217. Node98_11.setImage(GD.getPolyLineJSON());
  10218. Node98_11.setPosition(Node98_11rect.x+Node98_11rect.width/2,Node98_11rect.y+Node98_11rect.height/2);
  10219. Node98_11.setSize(Node98_11rect.width,Node98_11rect.height);
  10220. Node98_11.setStyle("opacity",1);
  10221. Node98_11.s({'pixelPerfect':true});
  10222. Node98_11borderwidth=2;
  10223. Node98_11.setRotation(0);
  10224. dataModel.add(Node98_11);
  10225. Node98_11.a('node.points',Node98_11compspts);
  10226. Node98_11.a('node.segments',[1,2]);
  10227. Node98_11.a('node.color','rgba(255,128,0,1)');
  10228. Node98_11.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10229. Node98_11.a('node.borderColor','rgba(255,128,0,1)');
  10230. Node98_11.a('node.background','rgba(255,128,0,1)');
  10231. Node98_11.a('node.gradient','');
  10232. Node98_11.a('node.gradientcolor','rgba(255,128,0,1)');
  10233. Node98_11.a('node.endCompspts',Node98_11endCompspts);
  10234. Node98_11.a('node.startCompspts',Node98_11startCompspts);
  10235. (function (node, img, compspts, endCompspts, startCompspts) {
  10236. var position = node.getPosition(),
  10237. w = node.getWidth()*_ratio.ratioX,
  10238. h = node.getHeight()*_ratio.ratioY;
  10239. function resetPoints(rx, ry) {
  10240. for (var i = 0, len = compspts.length; i < len; i++) {
  10241. if (i%2 === 0) {
  10242. compspts[i]*=rx;
  10243. } else {
  10244. compspts[i]*=ry;
  10245. }
  10246. }
  10247. endCompspts[0] = compspts[compspts.length-2];
  10248. endCompspts[1] = compspts[compspts.length-1];
  10249. endCompspts[2] *= rx;
  10250. endCompspts[3] *= ry;
  10251. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10252. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10253. startCompspts[0] = compspts[0];
  10254. startCompspts[1] = compspts[1];
  10255. startCompspts[2] *= rx;
  10256. startCompspts[3] *= ry;
  10257. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10258. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10259. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10260. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10261. }
  10262. node.setSize(w, h);
  10263. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10264. node.a('node.width', w);
  10265. node.a('node.height', h);
  10266. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10267. node.borderWidth = 2;
  10268. node.a('node.borderwidth',node.borderWidth);
  10269. node._nodename = 'Node98_11';
  10270. node._nodeType = 'line';
  10271. zoomNodeList.push({
  10272. node: node,
  10273. attr: 'node.borderwidth'
  10274. });
  10275. var setWidth = node.setWidth,
  10276. setHeight = node.setHeight,
  10277. timer, rx = 1, ry = 1;
  10278. node.setWidth = function (width) {
  10279. var _width = this.getWidth();
  10280. rx = width / _width;
  10281. node.a('node.width', width);
  10282. setWidth.apply(this, arguments);
  10283. resetPoints(rx, 1);
  10284. }
  10285. node.setHeight = function (height) {
  10286. var _height = this.getHeight();
  10287. ry = height / _height;
  10288. node.a('node.height', height);
  10289. setHeight.apply(this, arguments);
  10290. resetPoints(1, ry);
  10291. }
  10292. })(Node98_11, Node98_11.getImage(), Node98_11compspts, Node98_11endCompspts, Node98_11startCompspts);
  10293. var Node99points=[1428, 547,1482, 547],
  10294. Node99rect=ht.Default.unionPoint([{x:1428,y:547},{x:1482,y:547}]),
  10295. Node99compspts=[];
  10296. _ratio = GD.getRatioWithRotation(0, ratio);
  10297. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  10298. _endratio = GD.getRatioWithRotation(0, ratio);
  10299. for(var i=0;i<Node99points.length;i++){
  10300. if(i%2==0){
  10301. Node99compspts.push(Node99points[i]-Node99rect.x);
  10302. }else{
  10303. Node99compspts.push(Node99points[i]-Node99rect.y);
  10304. }
  10305. }
  10306. var Node99ptslength=Node99compspts.length;
  10307. if (Node99rect.height === 0) {
  10308. Node99compspts[0] -= 0;
  10309. Node99compspts[Node99ptslength-2] += 0;
  10310. } else if (Node99rect.width === 0){
  10311. Node99compspts[1] -= 0;
  10312. Node99compspts[Node99ptslength-1] += 0;
  10313. } else {
  10314. Node99compspts[0] -= 0;
  10315. Node99compspts[1] -= 0;
  10316. Node99compspts[Node99ptslength-2] += 0;
  10317. Node99compspts[Node99ptslength-1] += 0;
  10318. }
  10319. Node99 = new ht.Node();
  10320. Node99.borderWidth = 1;
  10321. Node99rect.width = Node99rect.width === 0 ? 0.0001 : Node99rect.width;
  10322. Node99rect.height = Node99rect.height === 0 ? 0.0001 : Node99rect.height;
  10323. var Node99endCompspts = [Node99compspts[Node99ptslength-2],Node99compspts[Node99ptslength-1],0,0];
  10324. var Node99startCompspts = [Node99compspts[0],Node99compspts[1],0,0];
  10325. Node99.setImage(GD.getPolyLineJSON());
  10326. Node99.setPosition(Node99rect.x+Node99rect.width/2,Node99rect.y+Node99rect.height/2);
  10327. Node99.setSize(Node99rect.width,Node99rect.height);
  10328. Node99.setStyle("opacity",1);
  10329. Node99.s({'pixelPerfect':true});
  10330. Node99borderwidth=1;
  10331. Node99.setRotation(0);
  10332. dataModel.add(Node99);
  10333. Node99.a('node.points',Node99compspts);
  10334. Node99.a('node.segments',[1,2]);
  10335. Node99.a('node.color','rgba(255,128,0,1)');
  10336. Node99.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10337. Node99.a('node.borderColor','rgba(255,128,0,1)');
  10338. Node99.a('node.background','rgba(255,128,0,1)');
  10339. Node99.a('node.gradient','');
  10340. Node99.a('node.gradientcolor','rgba(255,128,0,1)');
  10341. Node99.a('node.endCompspts',Node99endCompspts);
  10342. Node99.a('node.startCompspts',Node99startCompspts);
  10343. (function (node, img, compspts, endCompspts, startCompspts) {
  10344. var position = node.getPosition(),
  10345. w = node.getWidth()*_ratio.ratioX,
  10346. h = node.getHeight()*_ratio.ratioY;
  10347. function resetPoints(rx, ry) {
  10348. for (var i = 0, len = compspts.length; i < len; i++) {
  10349. if (i%2 === 0) {
  10350. compspts[i]*=rx;
  10351. } else {
  10352. compspts[i]*=ry;
  10353. }
  10354. }
  10355. endCompspts[0] = compspts[compspts.length-2];
  10356. endCompspts[1] = compspts[compspts.length-1];
  10357. endCompspts[2] *= rx;
  10358. endCompspts[3] *= ry;
  10359. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10360. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10361. startCompspts[0] = compspts[0];
  10362. startCompspts[1] = compspts[1];
  10363. startCompspts[2] *= rx;
  10364. startCompspts[3] *= ry;
  10365. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10366. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10367. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10368. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10369. }
  10370. node.setSize(w, h);
  10371. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10372. node.a('node.width', w);
  10373. node.a('node.height', h);
  10374. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10375. node.borderWidth = 1;
  10376. node.a('node.borderwidth',node.borderWidth);
  10377. node._nodename = 'Node99';
  10378. node._nodeType = 'line';
  10379. zoomNodeList.push({
  10380. node: node,
  10381. attr: 'node.borderwidth'
  10382. });
  10383. var setWidth = node.setWidth,
  10384. setHeight = node.setHeight,
  10385. timer, rx = 1, ry = 1;
  10386. node.setWidth = function (width) {
  10387. var _width = this.getWidth();
  10388. rx = width / _width;
  10389. node.a('node.width', width);
  10390. setWidth.apply(this, arguments);
  10391. resetPoints(rx, 1);
  10392. }
  10393. node.setHeight = function (height) {
  10394. var _height = this.getHeight();
  10395. ry = height / _height;
  10396. node.a('node.height', height);
  10397. setHeight.apply(this, arguments);
  10398. resetPoints(1, ry);
  10399. }
  10400. })(Node99, Node99.getImage(), Node99compspts, Node99endCompspts, Node99startCompspts);
  10401. var Node100points=[1428, 547,1428, 530],
  10402. Node100rect=ht.Default.unionPoint([{x:1428,y:547},{x:1428,y:530}]),
  10403. Node100compspts=[];
  10404. _ratio = GD.getRatioWithRotation(0, ratio);
  10405. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  10406. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  10407. for(var i=0;i<Node100points.length;i++){
  10408. if(i%2==0){
  10409. Node100compspts.push(Node100points[i]-Node100rect.x);
  10410. }else{
  10411. Node100compspts.push(Node100points[i]-Node100rect.y);
  10412. }
  10413. }
  10414. var Node100ptslength=Node100compspts.length;
  10415. if (Node100rect.height === 0) {
  10416. Node100compspts[0] -= 0;
  10417. Node100compspts[Node100ptslength-2] += 0;
  10418. } else if (Node100rect.width === 0){
  10419. Node100compspts[1] -= 0;
  10420. Node100compspts[Node100ptslength-1] += 0;
  10421. } else {
  10422. Node100compspts[0] -= 0;
  10423. Node100compspts[1] -= 0;
  10424. Node100compspts[Node100ptslength-2] += 0;
  10425. Node100compspts[Node100ptslength-1] += 0;
  10426. }
  10427. Node100 = new ht.Node();
  10428. Node100.borderWidth = 1;
  10429. Node100rect.width = Node100rect.width === 0 ? 0.0001 : Node100rect.width;
  10430. Node100rect.height = Node100rect.height === 0 ? 0.0001 : Node100rect.height;
  10431. var Node100endCompspts = [Node100compspts[Node100ptslength-2],Node100compspts[Node100ptslength-1],0,0];
  10432. var Node100startCompspts = [Node100compspts[0],Node100compspts[1],0,0];
  10433. Node100.setImage(GD.getPolyLineJSON());
  10434. Node100.setPosition(Node100rect.x+Node100rect.width/2,Node100rect.y+Node100rect.height/2);
  10435. Node100.setSize(Node100rect.width,Node100rect.height);
  10436. Node100.setStyle("opacity",1);
  10437. Node100.s({'pixelPerfect':true});
  10438. Node100borderwidth=1;
  10439. Node100.setRotation(0);
  10440. dataModel.add(Node100);
  10441. Node100.a('node.points',Node100compspts);
  10442. Node100.a('node.segments',[1,2]);
  10443. Node100.a('node.color','rgba(255,128,0,1)');
  10444. Node100.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10445. Node100.a('node.borderColor','rgba(255,128,0,1)');
  10446. Node100.a('node.background','rgba(255,128,0,1)');
  10447. Node100.a('node.gradient','');
  10448. Node100.a('node.gradientcolor','rgba(255,128,0,1)');
  10449. Node100.a('node.endCompspts',Node100endCompspts);
  10450. Node100.a('node.startCompspts',Node100startCompspts);
  10451. (function (node, img, compspts, endCompspts, startCompspts) {
  10452. var position = node.getPosition(),
  10453. w = node.getWidth()*_ratio.ratioX,
  10454. h = node.getHeight()*_ratio.ratioY;
  10455. function resetPoints(rx, ry) {
  10456. for (var i = 0, len = compspts.length; i < len; i++) {
  10457. if (i%2 === 0) {
  10458. compspts[i]*=rx;
  10459. } else {
  10460. compspts[i]*=ry;
  10461. }
  10462. }
  10463. endCompspts[0] = compspts[compspts.length-2];
  10464. endCompspts[1] = compspts[compspts.length-1];
  10465. endCompspts[2] *= rx;
  10466. endCompspts[3] *= ry;
  10467. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10468. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10469. startCompspts[0] = compspts[0];
  10470. startCompspts[1] = compspts[1];
  10471. startCompspts[2] *= rx;
  10472. startCompspts[3] *= ry;
  10473. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10474. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10475. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10476. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10477. }
  10478. node.setSize(w, h);
  10479. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10480. node.a('node.width', w);
  10481. node.a('node.height', h);
  10482. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10483. node.borderWidth = 1;
  10484. node.a('node.borderwidth',node.borderWidth);
  10485. node._nodename = 'Node100';
  10486. node._nodeType = 'line';
  10487. zoomNodeList.push({
  10488. node: node,
  10489. attr: 'node.borderwidth'
  10490. });
  10491. var setWidth = node.setWidth,
  10492. setHeight = node.setHeight,
  10493. timer, rx = 1, ry = 1;
  10494. node.setWidth = function (width) {
  10495. var _width = this.getWidth();
  10496. rx = width / _width;
  10497. node.a('node.width', width);
  10498. setWidth.apply(this, arguments);
  10499. resetPoints(rx, 1);
  10500. }
  10501. node.setHeight = function (height) {
  10502. var _height = this.getHeight();
  10503. ry = height / _height;
  10504. node.a('node.height', height);
  10505. setHeight.apply(this, arguments);
  10506. resetPoints(1, ry);
  10507. }
  10508. })(Node100, Node100.getImage(), Node100compspts, Node100endCompspts, Node100startCompspts);
  10509. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10510. var Node101_0type = 'rect';
  10511. var Node101_0 = new ht.Node(),
  10512. Node101_0BorderWidth = 2*2;
  10513. if (Node101_0type === 'arc') {
  10514. Node101_0BorderWidth *= 2;
  10515. }
  10516. Node101_0.setImage(GD.getRectJSON(16.41943*_ratio.ratioX, 24.47043*_ratio.ratioY, Node101_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10517. Node101_0.setPosition(1480*ratio.ratioX, 520*ratio.ratioY);
  10518. Node101_0.setSize(16.41943*_ratio.ratioX, 24.47043*_ratio.ratioY);
  10519. Node101_0.s({
  10520. 'pixelPerfect':true
  10521. /*@AddPara@*/
  10522. });
  10523. Node101_0.a('node.width', 16.41943*_ratio.ratioX);
  10524. Node101_0.a('node.height', 24.47043*_ratio.ratioY);
  10525. Node101_0.a('node.type', Node101_0type);
  10526. Node101_0.a('node.rect', [0, 0, 16.41943*_ratio.ratioX, 24.47043*_ratio.ratioY]);
  10527. Node101_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  10528. Node101_0.a('node.gradientcolor', '');
  10529. Node101_0.a('node.gradient', '');
  10530. Node101_0.a('node.borderwidth', Node101_0BorderWidth);
  10531. Node101_0.a('node.color', 'rgba(255,128,0,1)');
  10532. Node101_0.a('node.fillrect', [0,0,0,0]);
  10533. Node101_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10534. Node101_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10535. Node101_0.a('node.fillgradient', '');
  10536. if (Node101_0type !== 'rect') {
  10537. Node101_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  10538. Node101_0.a('node.arcTo', parseFloat('@arcTo@'));
  10539. Node101_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10540. }
  10541. if (Node101_0type === 'arc') {
  10542. Node101_0.a('node.arcOval', true);
  10543. }
  10544. Node101_0.setRotation(0*Math.PI/180);
  10545. Node101_0.borderWidth = Node101_0BorderWidth;
  10546. Node101_0.borderFillwidth = Node101_0BorderWidth;
  10547. dataModel.add(Node101_0);
  10548. Node101_0._nodename = 'Node101_0'
  10549. Node101_0._nodeType = 'rect';
  10550. zoomNodeList.push({
  10551. node: Node101_0,
  10552. attr: 'node.borderwidth'
  10553. });
  10554. (function (node, _img) {
  10555. var setWidth = node.setWidth,
  10556. setHeight = node.setHeight;
  10557. node.setWidth = function (width) {
  10558. if (width === this.getWidth()) return ;
  10559. var height = this.getHeight();
  10560. this.a('node.width', width);
  10561. this.a('node.rect', [0,0,width, height]);
  10562. setWidth.apply(this, arguments);
  10563. }
  10564. node.setHeight = function (height) {
  10565. if (height === this.getHeight()) return ;
  10566. var width = this.getWidth();
  10567. this.a('node.height', height);
  10568. this.a('node.rect', [0,0,width, height]);
  10569. setHeight.apply(this, arguments);
  10570. }
  10571. })(Node101_0, Node101_0.getImage());var Node101_1points=[1480, 532,1480, 540],
  10572. Node101_1rect=ht.Default.unionPoint([{x:1480,y:532},{x:1480,y:540}]),
  10573. Node101_1compspts=[];
  10574. _ratio = GD.getRatioWithRotation(0, ratio);
  10575. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  10576. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  10577. for(var i=0;i<Node101_1points.length;i++){
  10578. if(i%2==0){
  10579. Node101_1compspts.push(Node101_1points[i]-Node101_1rect.x);
  10580. }else{
  10581. Node101_1compspts.push(Node101_1points[i]-Node101_1rect.y);
  10582. }
  10583. }
  10584. var Node101_1ptslength=Node101_1compspts.length;
  10585. if (Node101_1rect.height === 0) {
  10586. Node101_1compspts[0] -= 0;
  10587. Node101_1compspts[Node101_1ptslength-2] += 0;
  10588. } else if (Node101_1rect.width === 0){
  10589. Node101_1compspts[1] -= 0;
  10590. Node101_1compspts[Node101_1ptslength-1] += 0;
  10591. } else {
  10592. Node101_1compspts[0] -= 0;
  10593. Node101_1compspts[1] -= 0;
  10594. Node101_1compspts[Node101_1ptslength-2] += 0;
  10595. Node101_1compspts[Node101_1ptslength-1] += 0;
  10596. }
  10597. Node101_1 = new ht.Node();
  10598. Node101_1.borderWidth = 2;
  10599. Node101_1rect.width = Node101_1rect.width === 0 ? 0.0001 : Node101_1rect.width;
  10600. Node101_1rect.height = Node101_1rect.height === 0 ? 0.0001 : Node101_1rect.height;
  10601. var Node101_1endCompspts = [Node101_1compspts[Node101_1ptslength-2],Node101_1compspts[Node101_1ptslength-1],0,0];
  10602. var Node101_1startCompspts = [Node101_1compspts[0],Node101_1compspts[1],0,0];
  10603. Node101_1.setImage(GD.getPolyLineJSON());
  10604. Node101_1.setPosition(Node101_1rect.x+Node101_1rect.width/2,Node101_1rect.y+Node101_1rect.height/2);
  10605. Node101_1.setSize(Node101_1rect.width,Node101_1rect.height);
  10606. Node101_1.setStyle("opacity",1);
  10607. Node101_1.s({'pixelPerfect':true});
  10608. Node101_1borderwidth=2;
  10609. Node101_1.setRotation(0);
  10610. dataModel.add(Node101_1);
  10611. Node101_1.a('node.points',Node101_1compspts);
  10612. Node101_1.a('node.segments',[1,2]);
  10613. Node101_1.a('node.color','rgba(255,128,0,1)');
  10614. Node101_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10615. Node101_1.a('node.borderColor','rgba(255,128,0,1)');
  10616. Node101_1.a('node.background','rgba(255,128,0,1)');
  10617. Node101_1.a('node.gradient','');
  10618. Node101_1.a('node.gradientcolor','rgba(255,128,0,1)');
  10619. Node101_1.a('node.endCompspts',Node101_1endCompspts);
  10620. Node101_1.a('node.startCompspts',Node101_1startCompspts);
  10621. (function (node, img, compspts, endCompspts, startCompspts) {
  10622. var position = node.getPosition(),
  10623. w = node.getWidth()*_ratio.ratioX,
  10624. h = node.getHeight()*_ratio.ratioY;
  10625. function resetPoints(rx, ry) {
  10626. for (var i = 0, len = compspts.length; i < len; i++) {
  10627. if (i%2 === 0) {
  10628. compspts[i]*=rx;
  10629. } else {
  10630. compspts[i]*=ry;
  10631. }
  10632. }
  10633. endCompspts[0] = compspts[compspts.length-2];
  10634. endCompspts[1] = compspts[compspts.length-1];
  10635. endCompspts[2] *= rx;
  10636. endCompspts[3] *= ry;
  10637. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10638. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10639. startCompspts[0] = compspts[0];
  10640. startCompspts[1] = compspts[1];
  10641. startCompspts[2] *= rx;
  10642. startCompspts[3] *= ry;
  10643. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10644. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10645. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10646. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10647. }
  10648. node.setSize(w, h);
  10649. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10650. node.a('node.width', w);
  10651. node.a('node.height', h);
  10652. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10653. node.borderWidth = 2;
  10654. node.a('node.borderwidth',node.borderWidth);
  10655. node._nodename = 'Node101_1';
  10656. node._nodeType = 'line';
  10657. zoomNodeList.push({
  10658. node: node,
  10659. attr: 'node.borderwidth'
  10660. });
  10661. var setWidth = node.setWidth,
  10662. setHeight = node.setHeight,
  10663. timer, rx = 1, ry = 1;
  10664. node.setWidth = function (width) {
  10665. var _width = this.getWidth();
  10666. rx = width / _width;
  10667. node.a('node.width', width);
  10668. setWidth.apply(this, arguments);
  10669. resetPoints(rx, 1);
  10670. }
  10671. node.setHeight = function (height) {
  10672. var _height = this.getHeight();
  10673. ry = height / _height;
  10674. node.a('node.height', height);
  10675. setHeight.apply(this, arguments);
  10676. resetPoints(1, ry);
  10677. }
  10678. })(Node101_1, Node101_1.getImage(), Node101_1compspts, Node101_1endCompspts, Node101_1startCompspts);
  10679. var Node101_2points=[1480, 493,1480, 519],
  10680. Node101_2rect=ht.Default.unionPoint([{x:1480,y:493},{x:1480,y:519}]),
  10681. Node101_2compspts=[];
  10682. _ratio = GD.getRatioWithRotation(0, ratio);
  10683. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  10684. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  10685. for(var i=0;i<Node101_2points.length;i++){
  10686. if(i%2==0){
  10687. Node101_2compspts.push(Node101_2points[i]-Node101_2rect.x);
  10688. }else{
  10689. Node101_2compspts.push(Node101_2points[i]-Node101_2rect.y);
  10690. }
  10691. }
  10692. var Node101_2ptslength=Node101_2compspts.length;
  10693. if (Node101_2rect.height === 0) {
  10694. Node101_2compspts[0] -= 0;
  10695. Node101_2compspts[Node101_2ptslength-2] += 0;
  10696. } else if (Node101_2rect.width === 0){
  10697. Node101_2compspts[1] -= 0;
  10698. Node101_2compspts[Node101_2ptslength-1] += 0;
  10699. } else {
  10700. Node101_2compspts[0] -= 0;
  10701. Node101_2compspts[1] -= 0;
  10702. Node101_2compspts[Node101_2ptslength-2] += 0;
  10703. Node101_2compspts[Node101_2ptslength-1] += 0;
  10704. }
  10705. Node101_2 = new ht.Node();
  10706. Node101_2.borderWidth = 2;
  10707. Node101_2rect.width = Node101_2rect.width === 0 ? 0.0001 : Node101_2rect.width;
  10708. Node101_2rect.height = Node101_2rect.height === 0 ? 0.0001 : Node101_2rect.height;
  10709. var Node101_2endCompspts = [Node101_2compspts[Node101_2ptslength-2],Node101_2compspts[Node101_2ptslength-1],0,0];
  10710. var Node101_2startCompspts = [Node101_2compspts[0],Node101_2compspts[1],0,0];
  10711. Node101_2.setImage(GD.getPolyLineJSON());
  10712. Node101_2.setPosition(Node101_2rect.x+Node101_2rect.width/2,Node101_2rect.y+Node101_2rect.height/2);
  10713. Node101_2.setSize(Node101_2rect.width,Node101_2rect.height);
  10714. Node101_2.setStyle("opacity",1);
  10715. Node101_2.s({'pixelPerfect':true});
  10716. Node101_2borderwidth=2;
  10717. Node101_2.setRotation(0);
  10718. dataModel.add(Node101_2);
  10719. Node101_2.a('node.points',Node101_2compspts);
  10720. Node101_2.a('node.segments',[1,2]);
  10721. Node101_2.a('node.color','rgba(255,128,0,1)');
  10722. Node101_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10723. Node101_2.a('node.borderColor','rgba(255,128,0,1)');
  10724. Node101_2.a('node.background','rgba(255,128,0,1)');
  10725. Node101_2.a('node.gradient','');
  10726. Node101_2.a('node.gradientcolor','rgba(255,128,0,1)');
  10727. Node101_2.a('node.endCompspts',Node101_2endCompspts);
  10728. Node101_2.a('node.startCompspts',Node101_2startCompspts);
  10729. (function (node, img, compspts, endCompspts, startCompspts) {
  10730. var position = node.getPosition(),
  10731. w = node.getWidth()*_ratio.ratioX,
  10732. h = node.getHeight()*_ratio.ratioY;
  10733. function resetPoints(rx, ry) {
  10734. for (var i = 0, len = compspts.length; i < len; i++) {
  10735. if (i%2 === 0) {
  10736. compspts[i]*=rx;
  10737. } else {
  10738. compspts[i]*=ry;
  10739. }
  10740. }
  10741. endCompspts[0] = compspts[compspts.length-2];
  10742. endCompspts[1] = compspts[compspts.length-1];
  10743. endCompspts[2] *= rx;
  10744. endCompspts[3] *= ry;
  10745. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10746. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10747. startCompspts[0] = compspts[0];
  10748. startCompspts[1] = compspts[1];
  10749. startCompspts[2] *= rx;
  10750. startCompspts[3] *= ry;
  10751. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10752. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10753. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10754. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10755. }
  10756. node.setSize(w, h);
  10757. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10758. node.a('node.width', w);
  10759. node.a('node.height', h);
  10760. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10761. node.borderWidth = 2;
  10762. node.a('node.borderwidth',node.borderWidth);
  10763. node._nodename = 'Node101_2';
  10764. node._nodeType = 'line';
  10765. zoomNodeList.push({
  10766. node: node,
  10767. attr: 'node.borderwidth'
  10768. });
  10769. var setWidth = node.setWidth,
  10770. setHeight = node.setHeight,
  10771. timer, rx = 1, ry = 1;
  10772. node.setWidth = function (width) {
  10773. var _width = this.getWidth();
  10774. rx = width / _width;
  10775. node.a('node.width', width);
  10776. setWidth.apply(this, arguments);
  10777. resetPoints(rx, 1);
  10778. }
  10779. node.setHeight = function (height) {
  10780. var _height = this.getHeight();
  10781. ry = height / _height;
  10782. node.a('node.height', height);
  10783. setHeight.apply(this, arguments);
  10784. resetPoints(1, ry);
  10785. }
  10786. })(Node101_2, Node101_2.getImage(), Node101_2compspts, Node101_2endCompspts, Node101_2startCompspts);
  10787. var Node101_3rect=ht.Default.unionPoint([{x: 1474, y: 512},{x: 1474, y: 512},{x: 1485, y: 512},{x: 1480, y: 520}]),
  10788. Node101_3points=[1474,512,1474,512,1485,512,1480,520],
  10789. Node101_3compsPoints=[],
  10790. Node101_3SetPoints = [{x: 1474, y: 512},{x: 1474, y: 512},{x: 1485, y: 512},{x: 1480, y: 520}],
  10791. Node101_3setSegments = [1,2,2,2];
  10792. _ratio = GD.getRatioWithRotation(0, ratio);
  10793. for(var i=0;i<Node101_3points.length;i++){
  10794. if(i%2==0){
  10795. Node101_3compsPoints.push(Node101_3points[i]-Node101_3rect.x);
  10796. }else{
  10797. Node101_3compsPoints.push(Node101_3points[i]-Node101_3rect.y);
  10798. }
  10799. }
  10800. var Node101_3 = new ht.Node();
  10801. Node101_3.setImage(GD.getPolyGonJSON());
  10802. Node101_3.setPosition(Node101_3rect.x + Node101_3rect.width/2, Node101_3rect.y + Node101_3rect.height/2);
  10803. Node101_3.setSize(Node101_3rect.width, Node101_3rect.height);
  10804. Node101_3.setRotation(0);
  10805. Node101_3.borderWidth=0;
  10806. Node101_3.borderFillwidth=0*2;
  10807. Node101_3.s({'pixelPerfect':true});
  10808. dataModel.add(Node101_3);
  10809. // Node101_3.a('node.width', Node101_3rect.width*_ratio.ratioX);
  10810. // Node101_3.a('node.height', Node101_3rect.height*_ratio.ratioY);
  10811. Node101_3.a('node.clip', function(g,width,height,data) {
  10812. var clippoints = Node101_3SetPoints;
  10813. if(clippoints.length<=3) return;
  10814. if(Node101_3.a('Node101_3.isFill')=="false") return;
  10815. var clipcompsPoints=[];
  10816. var rect = ht.Default.unionPoint(clippoints);
  10817. for(var i=0;i<clippoints.length;i++){
  10818. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  10819. }
  10820. var clipsegments=Node101_3setSegments;
  10821. g.beginPath();
  10822. drawPoints(g,clipcompsPoints,clipsegments);
  10823. g.clip();
  10824. })
  10825. Node101_3.a('node.type', 'shape');
  10826. Node101_3.a('node.comsPoints', Node101_3compsPoints);
  10827. Node101_3.a('node.closePath', true);
  10828. Node101_3.a('node.borderwidth', 0);
  10829. Node101_3.a('node.color', 'rgba(255,128,0,0)');
  10830. Node101_3.a('node.background','rgba(255,128,0,1)');
  10831. Node101_3.a('node.closePath', true);
  10832. Node101_3.a('node.closePath', true);
  10833. Node101_3.a('node.gradient','');
  10834. Node101_3.a('node.gradientcolor','rgba(255,128,0,1)');
  10835. Node101_3.a('node.isFill','false');
  10836. Node101_3.a('node.original',[0,0,0,0]);
  10837. Node101_3.a('node.fillrect',[0,0,0,0]);
  10838. Node101_3.a('node.fillbackcolor','rgba(255,128,0,1)');
  10839. Node101_3.a('node.fillgradient','');
  10840. Node101_3.a('node.fillgradientcolor','rgba(255,128,0,1)');
  10841. Node101_3.a('node.segments',Node101_3setSegments);
  10842. Node101_3.a('node.borderPattern',"");
  10843. (function (node, nodecompsPoints, setPoints) {
  10844. var w = node.getWidth()*_ratio.ratioX,
  10845. h = node.getHeight()*_ratio.ratioY,
  10846. img = node.getImage();
  10847. function resetPoints(rx, ry) {
  10848. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  10849. if (i%2 === 0) {
  10850. nodecompsPoints[i]*=rx;
  10851. } else {
  10852. nodecompsPoints[i]*=ry;
  10853. }
  10854. if (setPoints[i]) {
  10855. setPoints[i].x *= rx;
  10856. setPoints[i].y *= ry;
  10857. }
  10858. }
  10859. }
  10860. node.setSize(w, h);
  10861. node.a('node.width', w);
  10862. node.a('node.height', h);
  10863. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10864. var position = node.getPosition();
  10865. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10866. node._nodename = 'Node101_3';
  10867. node._nodeType = 'polygon';
  10868. zoomNodeList.push({
  10869. node: node,
  10870. attr: 'node.borderwidth'
  10871. });
  10872. // 重载setWidth, setHeight
  10873. var setWidth = node.setWidth,
  10874. setHeight = node.setHeight,
  10875. timer, rx = 1, ry = 1;
  10876. node.setWidth = function (width) {
  10877. var _width = this.getWidth();
  10878. rx = width / _width;
  10879. node.a('node.width', width);
  10880. setWidth.apply(this, arguments);
  10881. resetPoints(rx, 1);
  10882. }
  10883. node.setHeight = function (height) {
  10884. var _height = this.getHeight();
  10885. ry = height / _height;
  10886. node.a('node.height', height);
  10887. setHeight.apply(this, arguments);
  10888. resetPoints(1, ry);
  10889. }
  10890. })(Node101_3, Node101_3compsPoints, Node101_3SetPoints );
  10891. var Node101_4points=[1475, 545,1484, 545],
  10892. Node101_4rect=ht.Default.unionPoint([{x:1475,y:545},{x:1484,y:545}]),
  10893. Node101_4compspts=[];
  10894. _ratio = GD.getRatioWithRotation(0, ratio);
  10895. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  10896. _endratio = GD.getRatioWithRotation(0, ratio);
  10897. for(var i=0;i<Node101_4points.length;i++){
  10898. if(i%2==0){
  10899. Node101_4compspts.push(Node101_4points[i]-Node101_4rect.x);
  10900. }else{
  10901. Node101_4compspts.push(Node101_4points[i]-Node101_4rect.y);
  10902. }
  10903. }
  10904. var Node101_4ptslength=Node101_4compspts.length;
  10905. if (Node101_4rect.height === 0) {
  10906. Node101_4compspts[0] -= 0;
  10907. Node101_4compspts[Node101_4ptslength-2] += 0;
  10908. } else if (Node101_4rect.width === 0){
  10909. Node101_4compspts[1] -= 0;
  10910. Node101_4compspts[Node101_4ptslength-1] += 0;
  10911. } else {
  10912. Node101_4compspts[0] -= 0;
  10913. Node101_4compspts[1] -= 0;
  10914. Node101_4compspts[Node101_4ptslength-2] += 0;
  10915. Node101_4compspts[Node101_4ptslength-1] += 0;
  10916. }
  10917. Node101_4 = new ht.Node();
  10918. Node101_4.borderWidth = 2;
  10919. Node101_4rect.width = Node101_4rect.width === 0 ? 0.0001 : Node101_4rect.width;
  10920. Node101_4rect.height = Node101_4rect.height === 0 ? 0.0001 : Node101_4rect.height;
  10921. var Node101_4endCompspts = [Node101_4compspts[Node101_4ptslength-2],Node101_4compspts[Node101_4ptslength-1],0,0];
  10922. var Node101_4startCompspts = [Node101_4compspts[0],Node101_4compspts[1],0,0];
  10923. Node101_4.setImage(GD.getPolyLineJSON());
  10924. Node101_4.setPosition(Node101_4rect.x+Node101_4rect.width/2,Node101_4rect.y+Node101_4rect.height/2);
  10925. Node101_4.setSize(Node101_4rect.width,Node101_4rect.height);
  10926. Node101_4.setStyle("opacity",1);
  10927. Node101_4.s({'pixelPerfect':true});
  10928. Node101_4borderwidth=2;
  10929. Node101_4.setRotation(0);
  10930. dataModel.add(Node101_4);
  10931. Node101_4.a('node.points',Node101_4compspts);
  10932. Node101_4.a('node.segments',[1,2]);
  10933. Node101_4.a('node.color','rgba(255,128,0,1)');
  10934. Node101_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10935. Node101_4.a('node.borderColor','rgba(255,128,0,1)');
  10936. Node101_4.a('node.background','rgba(255,128,0,1)');
  10937. Node101_4.a('node.gradient','');
  10938. Node101_4.a('node.gradientcolor','rgba(255,128,0,1)');
  10939. Node101_4.a('node.endCompspts',Node101_4endCompspts);
  10940. Node101_4.a('node.startCompspts',Node101_4startCompspts);
  10941. (function (node, img, compspts, endCompspts, startCompspts) {
  10942. var position = node.getPosition(),
  10943. w = node.getWidth()*_ratio.ratioX,
  10944. h = node.getHeight()*_ratio.ratioY;
  10945. function resetPoints(rx, ry) {
  10946. for (var i = 0, len = compspts.length; i < len; i++) {
  10947. if (i%2 === 0) {
  10948. compspts[i]*=rx;
  10949. } else {
  10950. compspts[i]*=ry;
  10951. }
  10952. }
  10953. endCompspts[0] = compspts[compspts.length-2];
  10954. endCompspts[1] = compspts[compspts.length-1];
  10955. endCompspts[2] *= rx;
  10956. endCompspts[3] *= ry;
  10957. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10958. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10959. startCompspts[0] = compspts[0];
  10960. startCompspts[1] = compspts[1];
  10961. startCompspts[2] *= rx;
  10962. startCompspts[3] *= ry;
  10963. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10964. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10965. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10966. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10967. }
  10968. node.setSize(w, h);
  10969. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10970. node.a('node.width', w);
  10971. node.a('node.height', h);
  10972. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10973. node.borderWidth = 2;
  10974. node.a('node.borderwidth',node.borderWidth);
  10975. node._nodename = 'Node101_4';
  10976. node._nodeType = 'line';
  10977. zoomNodeList.push({
  10978. node: node,
  10979. attr: 'node.borderwidth'
  10980. });
  10981. var setWidth = node.setWidth,
  10982. setHeight = node.setHeight,
  10983. timer, rx = 1, ry = 1;
  10984. node.setWidth = function (width) {
  10985. var _width = this.getWidth();
  10986. rx = width / _width;
  10987. node.a('node.width', width);
  10988. setWidth.apply(this, arguments);
  10989. resetPoints(rx, 1);
  10990. }
  10991. node.setHeight = function (height) {
  10992. var _height = this.getHeight();
  10993. ry = height / _height;
  10994. node.a('node.height', height);
  10995. setHeight.apply(this, arguments);
  10996. resetPoints(1, ry);
  10997. }
  10998. })(Node101_4, Node101_4.getImage(), Node101_4compspts, Node101_4endCompspts, Node101_4startCompspts);
  10999. var Node101_5points=[1472, 543,1488, 543],
  11000. Node101_5rect=ht.Default.unionPoint([{x:1472,y:543},{x:1488,y:543}]),
  11001. Node101_5compspts=[];
  11002. _ratio = GD.getRatioWithRotation(0, ratio);
  11003. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  11004. _endratio = GD.getRatioWithRotation(0, ratio);
  11005. for(var i=0;i<Node101_5points.length;i++){
  11006. if(i%2==0){
  11007. Node101_5compspts.push(Node101_5points[i]-Node101_5rect.x);
  11008. }else{
  11009. Node101_5compspts.push(Node101_5points[i]-Node101_5rect.y);
  11010. }
  11011. }
  11012. var Node101_5ptslength=Node101_5compspts.length;
  11013. if (Node101_5rect.height === 0) {
  11014. Node101_5compspts[0] -= 0;
  11015. Node101_5compspts[Node101_5ptslength-2] += 0;
  11016. } else if (Node101_5rect.width === 0){
  11017. Node101_5compspts[1] -= 0;
  11018. Node101_5compspts[Node101_5ptslength-1] += 0;
  11019. } else {
  11020. Node101_5compspts[0] -= 0;
  11021. Node101_5compspts[1] -= 0;
  11022. Node101_5compspts[Node101_5ptslength-2] += 0;
  11023. Node101_5compspts[Node101_5ptslength-1] += 0;
  11024. }
  11025. Node101_5 = new ht.Node();
  11026. Node101_5.borderWidth = 2;
  11027. Node101_5rect.width = Node101_5rect.width === 0 ? 0.0001 : Node101_5rect.width;
  11028. Node101_5rect.height = Node101_5rect.height === 0 ? 0.0001 : Node101_5rect.height;
  11029. var Node101_5endCompspts = [Node101_5compspts[Node101_5ptslength-2],Node101_5compspts[Node101_5ptslength-1],0,0];
  11030. var Node101_5startCompspts = [Node101_5compspts[0],Node101_5compspts[1],0,0];
  11031. Node101_5.setImage(GD.getPolyLineJSON());
  11032. Node101_5.setPosition(Node101_5rect.x+Node101_5rect.width/2,Node101_5rect.y+Node101_5rect.height/2);
  11033. Node101_5.setSize(Node101_5rect.width,Node101_5rect.height);
  11034. Node101_5.setStyle("opacity",1);
  11035. Node101_5.s({'pixelPerfect':true});
  11036. Node101_5borderwidth=2;
  11037. Node101_5.setRotation(0);
  11038. dataModel.add(Node101_5);
  11039. Node101_5.a('node.points',Node101_5compspts);
  11040. Node101_5.a('node.segments',[1,2]);
  11041. Node101_5.a('node.color','rgba(255,128,0,1)');
  11042. Node101_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  11043. Node101_5.a('node.borderColor','rgba(255,128,0,1)');
  11044. Node101_5.a('node.background','rgba(255,128,0,1)');
  11045. Node101_5.a('node.gradient','');
  11046. Node101_5.a('node.gradientcolor','rgba(255,128,0,1)');
  11047. Node101_5.a('node.endCompspts',Node101_5endCompspts);
  11048. Node101_5.a('node.startCompspts',Node101_5startCompspts);
  11049. (function (node, img, compspts, endCompspts, startCompspts) {
  11050. var position = node.getPosition(),
  11051. w = node.getWidth()*_ratio.ratioX,
  11052. h = node.getHeight()*_ratio.ratioY;
  11053. function resetPoints(rx, ry) {
  11054. for (var i = 0, len = compspts.length; i < len; i++) {
  11055. if (i%2 === 0) {
  11056. compspts[i]*=rx;
  11057. } else {
  11058. compspts[i]*=ry;
  11059. }
  11060. }
  11061. endCompspts[0] = compspts[compspts.length-2];
  11062. endCompspts[1] = compspts[compspts.length-1];
  11063. endCompspts[2] *= rx;
  11064. endCompspts[3] *= ry;
  11065. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  11066. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  11067. startCompspts[0] = compspts[0];
  11068. startCompspts[1] = compspts[1];
  11069. startCompspts[2] *= rx;
  11070. startCompspts[3] *= ry;
  11071. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  11072. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  11073. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  11074. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  11075. }
  11076. node.setSize(w, h);
  11077. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11078. node.a('node.width', w);
  11079. node.a('node.height', h);
  11080. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11081. node.borderWidth = 2;
  11082. node.a('node.borderwidth',node.borderWidth);
  11083. node._nodename = 'Node101_5';
  11084. node._nodeType = 'line';
  11085. zoomNodeList.push({
  11086. node: node,
  11087. attr: 'node.borderwidth'
  11088. });
  11089. var setWidth = node.setWidth,
  11090. setHeight = node.setHeight,
  11091. timer, rx = 1, ry = 1;
  11092. node.setWidth = function (width) {
  11093. var _width = this.getWidth();
  11094. rx = width / _width;
  11095. node.a('node.width', width);
  11096. setWidth.apply(this, arguments);
  11097. resetPoints(rx, 1);
  11098. }
  11099. node.setHeight = function (height) {
  11100. var _height = this.getHeight();
  11101. ry = height / _height;
  11102. node.a('node.height', height);
  11103. setHeight.apply(this, arguments);
  11104. resetPoints(1, ry);
  11105. }
  11106. })(Node101_5, Node101_5.getImage(), Node101_5compspts, Node101_5endCompspts, Node101_5startCompspts);
  11107. var Node101_6points=[1470, 540,1490, 540],
  11108. Node101_6rect=ht.Default.unionPoint([{x:1470,y:540},{x:1490,y:540}]),
  11109. Node101_6compspts=[];
  11110. _ratio = GD.getRatioWithRotation(0, ratio);
  11111. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  11112. _endratio = GD.getRatioWithRotation(0, ratio);
  11113. for(var i=0;i<Node101_6points.length;i++){
  11114. if(i%2==0){
  11115. Node101_6compspts.push(Node101_6points[i]-Node101_6rect.x);
  11116. }else{
  11117. Node101_6compspts.push(Node101_6points[i]-Node101_6rect.y);
  11118. }
  11119. }
  11120. var Node101_6ptslength=Node101_6compspts.length;
  11121. if (Node101_6rect.height === 0) {
  11122. Node101_6compspts[0] -= 0;
  11123. Node101_6compspts[Node101_6ptslength-2] += 0;
  11124. } else if (Node101_6rect.width === 0){
  11125. Node101_6compspts[1] -= 0;
  11126. Node101_6compspts[Node101_6ptslength-1] += 0;
  11127. } else {
  11128. Node101_6compspts[0] -= 0;
  11129. Node101_6compspts[1] -= 0;
  11130. Node101_6compspts[Node101_6ptslength-2] += 0;
  11131. Node101_6compspts[Node101_6ptslength-1] += 0;
  11132. }
  11133. Node101_6 = new ht.Node();
  11134. Node101_6.borderWidth = 2;
  11135. Node101_6rect.width = Node101_6rect.width === 0 ? 0.0001 : Node101_6rect.width;
  11136. Node101_6rect.height = Node101_6rect.height === 0 ? 0.0001 : Node101_6rect.height;
  11137. var Node101_6endCompspts = [Node101_6compspts[Node101_6ptslength-2],Node101_6compspts[Node101_6ptslength-1],0,0];
  11138. var Node101_6startCompspts = [Node101_6compspts[0],Node101_6compspts[1],0,0];
  11139. Node101_6.setImage(GD.getPolyLineJSON());
  11140. Node101_6.setPosition(Node101_6rect.x+Node101_6rect.width/2,Node101_6rect.y+Node101_6rect.height/2);
  11141. Node101_6.setSize(Node101_6rect.width,Node101_6rect.height);
  11142. Node101_6.setStyle("opacity",1);
  11143. Node101_6.s({'pixelPerfect':true});
  11144. Node101_6borderwidth=2;
  11145. Node101_6.setRotation(0);
  11146. dataModel.add(Node101_6);
  11147. Node101_6.a('node.points',Node101_6compspts);
  11148. Node101_6.a('node.segments',[1,2]);
  11149. Node101_6.a('node.color','rgba(255,128,0,1)');
  11150. Node101_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  11151. Node101_6.a('node.borderColor','rgba(255,128,0,1)');
  11152. Node101_6.a('node.background','rgba(255,128,0,1)');
  11153. Node101_6.a('node.gradient','');
  11154. Node101_6.a('node.gradientcolor','rgba(255,128,0,1)');
  11155. Node101_6.a('node.endCompspts',Node101_6endCompspts);
  11156. Node101_6.a('node.startCompspts',Node101_6startCompspts);
  11157. (function (node, img, compspts, endCompspts, startCompspts) {
  11158. var position = node.getPosition(),
  11159. w = node.getWidth()*_ratio.ratioX,
  11160. h = node.getHeight()*_ratio.ratioY;
  11161. function resetPoints(rx, ry) {
  11162. for (var i = 0, len = compspts.length; i < len; i++) {
  11163. if (i%2 === 0) {
  11164. compspts[i]*=rx;
  11165. } else {
  11166. compspts[i]*=ry;
  11167. }
  11168. }
  11169. endCompspts[0] = compspts[compspts.length-2];
  11170. endCompspts[1] = compspts[compspts.length-1];
  11171. endCompspts[2] *= rx;
  11172. endCompspts[3] *= ry;
  11173. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  11174. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  11175. startCompspts[0] = compspts[0];
  11176. startCompspts[1] = compspts[1];
  11177. startCompspts[2] *= rx;
  11178. startCompspts[3] *= ry;
  11179. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  11180. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  11181. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  11182. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  11183. }
  11184. node.setSize(w, h);
  11185. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11186. node.a('node.width', w);
  11187. node.a('node.height', h);
  11188. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11189. node.borderWidth = 2;
  11190. node.a('node.borderwidth',node.borderWidth);
  11191. node._nodename = 'Node101_6';
  11192. node._nodeType = 'line';
  11193. zoomNodeList.push({
  11194. node: node,
  11195. attr: 'node.borderwidth'
  11196. });
  11197. var setWidth = node.setWidth,
  11198. setHeight = node.setHeight,
  11199. timer, rx = 1, ry = 1;
  11200. node.setWidth = function (width) {
  11201. var _width = this.getWidth();
  11202. rx = width / _width;
  11203. node.a('node.width', width);
  11204. setWidth.apply(this, arguments);
  11205. resetPoints(rx, 1);
  11206. }
  11207. node.setHeight = function (height) {
  11208. var _height = this.getHeight();
  11209. ry = height / _height;
  11210. node.a('node.height', height);
  11211. setHeight.apply(this, arguments);
  11212. resetPoints(1, ry);
  11213. }
  11214. })(Node101_6, Node101_6.getImage(), Node101_6compspts, Node101_6endCompspts, Node101_6startCompspts);
  11215. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11216. var Node101boundtype = 'rect';
  11217. var Node101bound = new ht.Node(),
  11218. Node101boundBorderWidth = 0*2;
  11219. if (Node101boundtype === 'arc') {
  11220. Node101boundBorderWidth *= 0;
  11221. }
  11222. Node101bound.setImage(GD.getRectJSON(20.42773*_ratio.ratioX, 52.51434*_ratio.ratioY, Node101boundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11223. Node101bound.setPosition(1480*ratio.ratioX, 519*ratio.ratioY);
  11224. Node101bound.setSize(20.42773*_ratio.ratioX, 52.51434*_ratio.ratioY);
  11225. Node101bound.s({
  11226. 'pixelPerfect':true
  11227. /*@AddPara@*/
  11228. });
  11229. Node101bound.a('node.width', 20.42773*_ratio.ratioX);
  11230. Node101bound.a('node.height', 52.51434*_ratio.ratioY);
  11231. Node101bound.a('node.type', Node101boundtype);
  11232. Node101bound.a('node.rect', [0, 0, 20.42773*_ratio.ratioX, 52.51434*_ratio.ratioY]);
  11233. Node101bound.a('node.background', 'rgba(255,255,255,0.003921569)');
  11234. Node101bound.a('node.gradientcolor', '');
  11235. Node101bound.a('node.gradient', '');
  11236. Node101bound.a('node.borderwidth', Node101boundBorderWidth);
  11237. Node101bound.a('node.color', 'rgba(0,0,0,1)');
  11238. Node101bound.a('node.fillrect', [0,0,0,0]);
  11239. Node101bound.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11240. Node101bound.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11241. Node101bound.a('node.fillgradient', '');
  11242. if (Node101boundtype !== 'rect') {
  11243. Node101bound.a('node.arcFrom', parseFloat('@arcFrom@'));
  11244. Node101bound.a('node.arcTo', parseFloat('@arcTo@'));
  11245. Node101bound.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11246. }
  11247. if (Node101boundtype === 'arc') {
  11248. Node101bound.a('node.arcOval', true);
  11249. }
  11250. Node101bound.setRotation(0*Math.PI/180);
  11251. Node101bound.borderWidth = Node101boundBorderWidth;
  11252. Node101bound.borderFillwidth = Node101boundBorderWidth;
  11253. dataModel.add(Node101bound);
  11254. Node101bound._nodename = 'Node101bound'
  11255. Node101bound._nodeType = 'rect';
  11256. zoomNodeList.push({
  11257. node: Node101bound,
  11258. attr: 'node.borderwidth'
  11259. });
  11260. (function (node, _img) {
  11261. var setWidth = node.setWidth,
  11262. setHeight = node.setHeight;
  11263. node.setWidth = function (width) {
  11264. if (width === this.getWidth()) return ;
  11265. var height = this.getHeight();
  11266. this.a('node.width', width);
  11267. this.a('node.rect', [0,0,width, height]);
  11268. setWidth.apply(this, arguments);
  11269. }
  11270. node.setHeight = function (height) {
  11271. if (height === this.getHeight()) return ;
  11272. var width = this.getWidth();
  11273. this.a('node.height', height);
  11274. this.a('node.rect', [0,0,width, height]);
  11275. setHeight.apply(this, arguments);
  11276. }
  11277. })(Node101bound, Node101bound.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11278. var Node102 = new ht.Node();
  11279. var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 13.3333*_ratio.ratioY,Node102width = 58*_ratio.ratioX, Node102height = 19*_ratio.ratioY;
  11280. (function () {
  11281. if (Node102align === 'left') {
  11282. Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
  11283. Node102textWidth = Node102width;
  11284. Node102lineStart = 1;
  11285. } else if (Node102align === 'right') {
  11286. Node102textStart = 0;
  11287. Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
  11288. Node102lineStart = (Node102width - (ht.Default.getTextSize('I母PT', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
  11289. } else if (Node102align === 'center') {
  11290. Node102textStart = -3;
  11291. Node102textWidth = Node102width;
  11292. Node102lineStart = Node102width - ht.Default.getTextSize('I母PT', ' '+ Node102fontSize + 'px "Arial"').width - 11;
  11293. }
  11294. })();
  11295. Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
  11296. Node102.setPosition(1439*ratio.ratioX, 470*ratio.ratioY);
  11297. Node102.setWidth(Node102width);
  11298. Node102.setHeight(Node102height);
  11299. Node102._nodeType = 'text';
  11300. Node102._disallowEvert = true;
  11301. Node102.setRotation(0*Math.PI/180);
  11302. Node102.a('node.width', Node102width);
  11303. Node102.a('node.height', Node102height);
  11304. Node102.a('node.rect', [0, 0, Node102width, Node102height]);
  11305. Node102.a('node.bordercolor','rgba(0,0,0,1)');
  11306. Node102.a('node.borderwidth', 0);
  11307. Node102.a('node.background','' || 'rgba(0,0,0,0)');
  11308. Node102.a('node.gradient','');
  11309. Node102.a('node.gradientcolor','');
  11310. Node102.a('node.text','I母PT');
  11311. Node102.a('node.textalign','left');
  11312. Node102.a('node.textvAlign','middle');
  11313. Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
  11314. Node102.a('node.color','rgba(0,0,0,1)');
  11315. Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
  11316. Node102.a('node.textvisible',true);
  11317. Node102.a('node.linefeed',false);
  11318. if (false) {
  11319. Node102.a('node.textfunc',function(g) {
  11320. g.beginPath();
  11321. var str=Node102.a('node.text') || 'I母PT';
  11322. var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
  11323. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
  11324. });
  11325. }
  11326. if (false) {
  11327. Node102.a('node.underlinepoints',[Node102lineStart, (19 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('I母PT', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
  11328. Node102.a('node.underlinevisible',false);
  11329. Node102.a('node.underlineBorderWidth', 1);
  11330. }
  11331. dataModel.add(Node102);
  11332. zoomNodeList.push({
  11333. node: Node102,
  11334. borderWidth: 0,
  11335. attr: 'node.borderwidth'
  11336. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11337. var Node103 = new ht.Node();
  11338. var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 50*_ratio.ratioX, Node103height = 18*_ratio.ratioY;
  11339. (function () {
  11340. if (Node103align === 'left') {
  11341. Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
  11342. Node103textWidth = Node103width;
  11343. Node103lineStart = 1;
  11344. } else if (Node103align === 'right') {
  11345. Node103textStart = 0;
  11346. Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
  11347. Node103lineStart = (Node103width - (ht.Default.getTextSize('319', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
  11348. } else if (Node103align === 'center') {
  11349. Node103textStart = -3;
  11350. Node103textWidth = Node103width;
  11351. Node103lineStart = Node103width - ht.Default.getTextSize('319', ' '+ Node103fontSize + 'px "Arial"').width - 11;
  11352. }
  11353. })();
  11354. Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
  11355. Node103.setPosition(1515*ratio.ratioX, 591*ratio.ratioY);
  11356. Node103.setWidth(Node103width);
  11357. Node103.setHeight(Node103height);
  11358. Node103._nodeType = 'text';
  11359. Node103._disallowEvert = true;
  11360. Node103.setRotation(0*Math.PI/180);
  11361. Node103.a('node.width', Node103width);
  11362. Node103.a('node.height', Node103height);
  11363. Node103.a('node.rect', [0, 0, Node103width, Node103height]);
  11364. Node103.a('node.bordercolor','rgba(0,0,0,1)');
  11365. Node103.a('node.borderwidth', 0);
  11366. Node103.a('node.background','' || 'rgba(0,0,0,0)');
  11367. Node103.a('node.gradient','');
  11368. Node103.a('node.gradientcolor','');
  11369. Node103.a('node.text','319');
  11370. Node103.a('node.textalign','left');
  11371. Node103.a('node.textvAlign','middle');
  11372. Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
  11373. Node103.a('node.color','rgba(0,0,0,1)');
  11374. Node103.a('node.font',' '+ Node103fontSize + 'px "Arial"');
  11375. Node103.a('node.textvisible',true);
  11376. Node103.a('node.linefeed',false);
  11377. if (false) {
  11378. Node103.a('node.textfunc',function(g) {
  11379. g.beginPath();
  11380. var str=Node103.a('node.text') || '319';
  11381. var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
  11382. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
  11383. });
  11384. }
  11385. if (false) {
  11386. Node103.a('node.underlinepoints',[Node103lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('319', ' '+ Node103fontSize + 'px "Arial"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
  11387. Node103.a('node.underlinevisible',false);
  11388. Node103.a('node.underlineBorderWidth', 1);
  11389. }
  11390. dataModel.add(Node103);
  11391. zoomNodeList.push({
  11392. node: Node103,
  11393. borderWidth: 0,
  11394. attr: 'node.borderwidth'
  11395. }); var Node104points=[894, 527,787, 527],
  11396. Node104rect=ht.Default.unionPoint([{x:894,y:527},{x:787,y:527}]),
  11397. Node104compspts=[];
  11398. _ratio = GD.getRatioWithRotation(0, ratio);
  11399. var _startratio = GD.getRatioWithRotation(0, ratio),
  11400. _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
  11401. for(var i=0;i<Node104points.length;i++){
  11402. if(i%2==0){
  11403. Node104compspts.push(Node104points[i]-Node104rect.x);
  11404. }else{
  11405. Node104compspts.push(Node104points[i]-Node104rect.y);
  11406. }
  11407. }
  11408. var Node104ptslength=Node104compspts.length;
  11409. if (Node104rect.height === 0) {
  11410. Node104compspts[0] -= 0;
  11411. Node104compspts[Node104ptslength-2] += 0;
  11412. } else if (Node104rect.width === 0){
  11413. Node104compspts[1] -= 0;
  11414. Node104compspts[Node104ptslength-1] += 0;
  11415. } else {
  11416. Node104compspts[0] -= 0;
  11417. Node104compspts[1] -= 0;
  11418. Node104compspts[Node104ptslength-2] += 0;
  11419. Node104compspts[Node104ptslength-1] += 0;
  11420. }
  11421. Node104 = new ht.Node();
  11422. Node104.borderWidth = 1;
  11423. Node104rect.width = Node104rect.width === 0 ? 0.0001 : Node104rect.width;
  11424. Node104rect.height = Node104rect.height === 0 ? 0.0001 : Node104rect.height;
  11425. var Node104endCompspts = [Node104compspts[Node104ptslength-2],Node104compspts[Node104ptslength-1],0,0];
  11426. var Node104startCompspts = [Node104compspts[0],Node104compspts[1],0,0];
  11427. Node104.setImage(GD.getPolyLineJSON());
  11428. Node104.setPosition(Node104rect.x+Node104rect.width/2,Node104rect.y+Node104rect.height/2);
  11429. Node104.setSize(Node104rect.width,Node104rect.height);
  11430. Node104.setStyle("opacity",1);
  11431. Node104.s({'pixelPerfect':true});
  11432. Node104borderwidth=1;
  11433. Node104.setRotation(0);
  11434. dataModel.add(Node104);
  11435. Node104.a('node.points',Node104compspts);
  11436. Node104.a('node.segments',[1,2]);
  11437. Node104.a('node.color','rgba(255,128,0,1)');
  11438. Node104.a('node.borderPattern',getDashStyle("@borderPattern@"));
  11439. Node104.a('node.borderColor','rgba(255,128,0,1)');
  11440. Node104.a('node.background','rgba(255,128,0,1)');
  11441. Node104.a('node.gradient','');
  11442. Node104.a('node.gradientcolor','rgba(255,128,0,1)');
  11443. Node104.a('node.endCompspts',Node104endCompspts);
  11444. Node104.a('node.startCompspts',Node104startCompspts);
  11445. (function (node, img, compspts, endCompspts, startCompspts) {
  11446. var position = node.getPosition(),
  11447. w = node.getWidth()*_ratio.ratioX,
  11448. h = node.getHeight()*_ratio.ratioY;
  11449. function resetPoints(rx, ry) {
  11450. for (var i = 0, len = compspts.length; i < len; i++) {
  11451. if (i%2 === 0) {
  11452. compspts[i]*=rx;
  11453. } else {
  11454. compspts[i]*=ry;
  11455. }
  11456. }
  11457. endCompspts[0] = compspts[compspts.length-2];
  11458. endCompspts[1] = compspts[compspts.length-1];
  11459. endCompspts[2] *= rx;
  11460. endCompspts[3] *= ry;
  11461. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  11462. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  11463. startCompspts[0] = compspts[0];
  11464. startCompspts[1] = compspts[1];
  11465. startCompspts[2] *= rx;
  11466. startCompspts[3] *= ry;
  11467. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  11468. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  11469. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  11470. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  11471. }
  11472. node.setSize(w, h);
  11473. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11474. node.a('node.width', w);
  11475. node.a('node.height', h);
  11476. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11477. node.borderWidth = 1;
  11478. node.a('node.borderwidth',node.borderWidth);
  11479. node._nodename = 'Node104';
  11480. node._nodeType = 'line';
  11481. zoomNodeList.push({
  11482. node: node,
  11483. attr: 'node.borderwidth'
  11484. });
  11485. var setWidth = node.setWidth,
  11486. setHeight = node.setHeight,
  11487. timer, rx = 1, ry = 1;
  11488. node.setWidth = function (width) {
  11489. var _width = this.getWidth();
  11490. rx = width / _width;
  11491. node.a('node.width', width);
  11492. setWidth.apply(this, arguments);
  11493. resetPoints(rx, 1);
  11494. }
  11495. node.setHeight = function (height) {
  11496. var _height = this.getHeight();
  11497. ry = height / _height;
  11498. node.a('node.height', height);
  11499. setHeight.apply(this, arguments);
  11500. resetPoints(1, ry);
  11501. }
  11502. })(Node104, Node104.getImage(), Node104compspts, Node104endCompspts, Node104startCompspts);
  11503. var Node105rect=ht.Default.unionPoint([{x: 782, y: 537},{x: 782, y: 537},{x: 793, y: 537},{x: 788, y: 547}]),
  11504. Node105points=[782,537,782,537,793,537,788,547],
  11505. Node105compsPoints=[],
  11506. Node105SetPoints = [{x: 782, y: 537},{x: 782, y: 537},{x: 793, y: 537},{x: 788, y: 547}],
  11507. Node105setSegments = [1,2,2,2];
  11508. _ratio = GD.getRatioWithRotation(0, ratio);
  11509. for(var i=0;i<Node105points.length;i++){
  11510. if(i%2==0){
  11511. Node105compsPoints.push(Node105points[i]-Node105rect.x);
  11512. }else{
  11513. Node105compsPoints.push(Node105points[i]-Node105rect.y);
  11514. }
  11515. }
  11516. var Node105 = new ht.Node();
  11517. Node105.setImage(GD.getPolyGonJSON());
  11518. Node105.setPosition(Node105rect.x + Node105rect.width/2, Node105rect.y + Node105rect.height/2);
  11519. Node105.setSize(Node105rect.width, Node105rect.height);
  11520. Node105.setRotation(0);
  11521. Node105.borderWidth=0;
  11522. Node105.borderFillwidth=0*2;
  11523. Node105.s({'pixelPerfect':true});
  11524. dataModel.add(Node105);
  11525. // Node105.a('node.width', Node105rect.width*_ratio.ratioX);
  11526. // Node105.a('node.height', Node105rect.height*_ratio.ratioY);
  11527. Node105.a('node.clip', function(g,width,height,data) {
  11528. var clippoints = Node105SetPoints;
  11529. if(clippoints.length<=3) return;
  11530. if(Node105.a('Node105.isFill')=="false") return;
  11531. var clipcompsPoints=[];
  11532. var rect = ht.Default.unionPoint(clippoints);
  11533. for(var i=0;i<clippoints.length;i++){
  11534. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  11535. }
  11536. var clipsegments=Node105setSegments;
  11537. g.beginPath();
  11538. drawPoints(g,clipcompsPoints,clipsegments);
  11539. g.clip();
  11540. })
  11541. Node105.a('node.type', 'shape');
  11542. Node105.a('node.comsPoints', Node105compsPoints);
  11543. Node105.a('node.closePath', true);
  11544. Node105.a('node.borderwidth', 0);
  11545. Node105.a('node.color', 'rgba(0,0,0,0)');
  11546. Node105.a('node.background','rgba(255,128,0,1)');
  11547. Node105.a('node.closePath', true);
  11548. Node105.a('node.closePath', true);
  11549. Node105.a('node.gradient','');
  11550. Node105.a('node.gradientcolor','rgba(255,128,0,1)');
  11551. Node105.a('node.isFill','false');
  11552. Node105.a('node.original',[0,0,0,0]);
  11553. Node105.a('node.fillrect',[0,0,0,0]);
  11554. Node105.a('node.fillbackcolor','rgba(255,128,0,1)');
  11555. Node105.a('node.fillgradient','');
  11556. Node105.a('node.fillgradientcolor','rgba(255,128,0,1)');
  11557. Node105.a('node.segments',Node105setSegments);
  11558. Node105.a('node.borderPattern',"");
  11559. (function (node, nodecompsPoints, setPoints) {
  11560. var w = node.getWidth()*_ratio.ratioX,
  11561. h = node.getHeight()*_ratio.ratioY,
  11562. img = node.getImage();
  11563. function resetPoints(rx, ry) {
  11564. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  11565. if (i%2 === 0) {
  11566. nodecompsPoints[i]*=rx;
  11567. } else {
  11568. nodecompsPoints[i]*=ry;
  11569. }
  11570. if (setPoints[i]) {
  11571. setPoints[i].x *= rx;
  11572. setPoints[i].y *= ry;
  11573. }
  11574. }
  11575. }
  11576. node.setSize(w, h);
  11577. node.a('node.width', w);
  11578. node.a('node.height', h);
  11579. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11580. var position = node.getPosition();
  11581. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11582. node._nodename = 'Node105';
  11583. node._nodeType = 'polygon';
  11584. zoomNodeList.push({
  11585. node: node,
  11586. attr: 'node.borderwidth'
  11587. });
  11588. // 重载setWidth, setHeight
  11589. var setWidth = node.setWidth,
  11590. setHeight = node.setHeight,
  11591. timer, rx = 1, ry = 1;
  11592. node.setWidth = function (width) {
  11593. var _width = this.getWidth();
  11594. rx = width / _width;
  11595. node.a('node.width', width);
  11596. setWidth.apply(this, arguments);
  11597. resetPoints(rx, 1);
  11598. }
  11599. node.setHeight = function (height) {
  11600. var _height = this.getHeight();
  11601. ry = height / _height;
  11602. node.a('node.height', height);
  11603. setHeight.apply(this, arguments);
  11604. resetPoints(1, ry);
  11605. }
  11606. })(Node105, Node105compsPoints, Node105SetPoints );
  11607. var Node106rect=ht.Default.unionPoint([{x: 782, y: 548},{x: 782, y: 548},{x: 793, y: 548},{x: 787, y: 557}]),
  11608. Node106points=[782,548,782,548,793,548,787,557],
  11609. Node106compsPoints=[],
  11610. Node106SetPoints = [{x: 782, y: 548},{x: 782, y: 548},{x: 793, y: 548},{x: 787, y: 557}],
  11611. Node106setSegments = [1,2,2,2];
  11612. _ratio = GD.getRatioWithRotation(3.141593, ratio);
  11613. for(var i=0;i<Node106points.length;i++){
  11614. if(i%2==0){
  11615. Node106compsPoints.push(Node106points[i]-Node106rect.x);
  11616. }else{
  11617. Node106compsPoints.push(Node106points[i]-Node106rect.y);
  11618. }
  11619. }
  11620. var Node106 = new ht.Node();
  11621. Node106.setImage(GD.getPolyGonJSON());
  11622. Node106.setPosition(Node106rect.x + Node106rect.width/2, Node106rect.y + Node106rect.height/2);
  11623. Node106.setSize(Node106rect.width, Node106rect.height);
  11624. Node106.setRotation(3.141593);
  11625. Node106.borderWidth=0;
  11626. Node106.borderFillwidth=0*2;
  11627. Node106.s({'pixelPerfect':true});
  11628. dataModel.add(Node106);
  11629. // Node106.a('node.width', Node106rect.width*_ratio.ratioX);
  11630. // Node106.a('node.height', Node106rect.height*_ratio.ratioY);
  11631. Node106.a('node.clip', function(g,width,height,data) {
  11632. var clippoints = Node106SetPoints;
  11633. if(clippoints.length<=3) return;
  11634. if(Node106.a('Node106.isFill')=="false") return;
  11635. var clipcompsPoints=[];
  11636. var rect = ht.Default.unionPoint(clippoints);
  11637. for(var i=0;i<clippoints.length;i++){
  11638. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  11639. }
  11640. var clipsegments=Node106setSegments;
  11641. g.beginPath();
  11642. drawPoints(g,clipcompsPoints,clipsegments);
  11643. g.clip();
  11644. })
  11645. Node106.a('node.type', 'shape');
  11646. Node106.a('node.comsPoints', Node106compsPoints);
  11647. Node106.a('node.closePath', true);
  11648. Node106.a('node.borderwidth', 0);
  11649. Node106.a('node.color', 'rgba(0,0,0,0)');
  11650. Node106.a('node.background','rgba(255,128,0,1)');
  11651. Node106.a('node.closePath', true);
  11652. Node106.a('node.closePath', true);
  11653. Node106.a('node.gradient','');
  11654. Node106.a('node.gradientcolor','rgba(255,128,0,1)');
  11655. Node106.a('node.isFill','false');
  11656. Node106.a('node.original',[0,0,0,0]);
  11657. Node106.a('node.fillrect',[0,0,0,0]);
  11658. Node106.a('node.fillbackcolor','rgba(255,128,0,1)');
  11659. Node106.a('node.fillgradient','');
  11660. Node106.a('node.fillgradientcolor','rgba(255,128,0,1)');
  11661. Node106.a('node.segments',Node106setSegments);
  11662. Node106.a('node.borderPattern',"");
  11663. (function (node, nodecompsPoints, setPoints) {
  11664. var w = node.getWidth()*_ratio.ratioX,
  11665. h = node.getHeight()*_ratio.ratioY,
  11666. img = node.getImage();
  11667. function resetPoints(rx, ry) {
  11668. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  11669. if (i%2 === 0) {
  11670. nodecompsPoints[i]*=rx;
  11671. } else {
  11672. nodecompsPoints[i]*=ry;
  11673. }
  11674. if (setPoints[i]) {
  11675. setPoints[i].x *= rx;
  11676. setPoints[i].y *= ry;
  11677. }
  11678. }
  11679. }
  11680. node.setSize(w, h);
  11681. node.a('node.width', w);
  11682. node.a('node.height', h);
  11683. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11684. var position = node.getPosition();
  11685. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11686. node._nodename = 'Node106';
  11687. node._nodeType = 'polygon';
  11688. zoomNodeList.push({
  11689. node: node,
  11690. attr: 'node.borderwidth'
  11691. });
  11692. // 重载setWidth, setHeight
  11693. var setWidth = node.setWidth,
  11694. setHeight = node.setHeight,
  11695. timer, rx = 1, ry = 1;
  11696. node.setWidth = function (width) {
  11697. var _width = this.getWidth();
  11698. rx = width / _width;
  11699. node.a('node.width', width);
  11700. setWidth.apply(this, arguments);
  11701. resetPoints(rx, 1);
  11702. }
  11703. node.setHeight = function (height) {
  11704. var _height = this.getHeight();
  11705. ry = height / _height;
  11706. node.a('node.height', height);
  11707. setHeight.apply(this, arguments);
  11708. resetPoints(1, ry);
  11709. }
  11710. })(Node106, Node106compsPoints, Node106SetPoints );
  11711. var Node107points=[788, 558,788, 569],
  11712. Node107rect=ht.Default.unionPoint([{x:788,y:558},{x:788,y:569}]),
  11713. Node107compspts=[];
  11714. _ratio = GD.getRatioWithRotation(0, ratio);
  11715. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  11716. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  11717. for(var i=0;i<Node107points.length;i++){
  11718. if(i%2==0){
  11719. Node107compspts.push(Node107points[i]-Node107rect.x);
  11720. }else{
  11721. Node107compspts.push(Node107points[i]-Node107rect.y);
  11722. }
  11723. }
  11724. var Node107ptslength=Node107compspts.length;
  11725. if (Node107rect.height === 0) {
  11726. Node107compspts[0] -= 0;
  11727. Node107compspts[Node107ptslength-2] += 0;
  11728. } else if (Node107rect.width === 0){
  11729. Node107compspts[1] -= 0;
  11730. Node107compspts[Node107ptslength-1] += 0;
  11731. } else {
  11732. Node107compspts[0] -= 0;
  11733. Node107compspts[1] -= 0;
  11734. Node107compspts[Node107ptslength-2] += 0;
  11735. Node107compspts[Node107ptslength-1] += 0;
  11736. }
  11737. Node107 = new ht.Node();
  11738. Node107.borderWidth = 2;
  11739. Node107rect.width = Node107rect.width === 0 ? 0.0001 : Node107rect.width;
  11740. Node107rect.height = Node107rect.height === 0 ? 0.0001 : Node107rect.height;
  11741. var Node107endCompspts = [Node107compspts[Node107ptslength-2],Node107compspts[Node107ptslength-1],0,0];
  11742. var Node107startCompspts = [Node107compspts[0],Node107compspts[1],0,0];
  11743. Node107.setImage(GD.getPolyLineJSON());
  11744. Node107.setPosition(Node107rect.x+Node107rect.width/2,Node107rect.y+Node107rect.height/2);
  11745. Node107.setSize(Node107rect.width,Node107rect.height);
  11746. Node107.setStyle("opacity",1);
  11747. Node107.s({'pixelPerfect':true});
  11748. Node107borderwidth=2;
  11749. Node107.setRotation(0);
  11750. dataModel.add(Node107);
  11751. Node107.a('node.points',Node107compspts);
  11752. Node107.a('node.segments',[1,2]);
  11753. Node107.a('node.color','rgba(255,128,0,1)');
  11754. Node107.a('node.borderPattern',getDashStyle("@borderPattern@"));
  11755. Node107.a('node.borderColor','rgba(255,128,0,1)');
  11756. Node107.a('node.background','rgba(255,128,0,1)');
  11757. Node107.a('node.gradient','');
  11758. Node107.a('node.gradientcolor','rgba(255,128,0,1)');
  11759. Node107.a('node.endCompspts',Node107endCompspts);
  11760. Node107.a('node.startCompspts',Node107startCompspts);
  11761. (function (node, img, compspts, endCompspts, startCompspts) {
  11762. var position = node.getPosition(),
  11763. w = node.getWidth()*_ratio.ratioX,
  11764. h = node.getHeight()*_ratio.ratioY;
  11765. function resetPoints(rx, ry) {
  11766. for (var i = 0, len = compspts.length; i < len; i++) {
  11767. if (i%2 === 0) {
  11768. compspts[i]*=rx;
  11769. } else {
  11770. compspts[i]*=ry;
  11771. }
  11772. }
  11773. endCompspts[0] = compspts[compspts.length-2];
  11774. endCompspts[1] = compspts[compspts.length-1];
  11775. endCompspts[2] *= rx;
  11776. endCompspts[3] *= ry;
  11777. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  11778. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  11779. startCompspts[0] = compspts[0];
  11780. startCompspts[1] = compspts[1];
  11781. startCompspts[2] *= rx;
  11782. startCompspts[3] *= ry;
  11783. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  11784. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  11785. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  11786. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  11787. }
  11788. node.setSize(w, h);
  11789. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11790. node.a('node.width', w);
  11791. node.a('node.height', h);
  11792. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11793. node.borderWidth = 2;
  11794. node.a('node.borderwidth',node.borderWidth);
  11795. node._nodename = 'Node107';
  11796. node._nodeType = 'line';
  11797. zoomNodeList.push({
  11798. node: node,
  11799. attr: 'node.borderwidth'
  11800. });
  11801. var setWidth = node.setWidth,
  11802. setHeight = node.setHeight,
  11803. timer, rx = 1, ry = 1;
  11804. node.setWidth = function (width) {
  11805. var _width = this.getWidth();
  11806. rx = width / _width;
  11807. node.a('node.width', width);
  11808. setWidth.apply(this, arguments);
  11809. resetPoints(rx, 1);
  11810. }
  11811. node.setHeight = function (height) {
  11812. var _height = this.getHeight();
  11813. ry = height / _height;
  11814. node.a('node.height', height);
  11815. setHeight.apply(this, arguments);
  11816. resetPoints(1, ry);
  11817. }
  11818. })(Node107, Node107.getImage(), Node107compspts, Node107endCompspts, Node107startCompspts);
  11819. var Node108points=[788, 527,788, 537],
  11820. Node108rect=ht.Default.unionPoint([{x:788,y:527},{x:788,y:537}]),
  11821. Node108compspts=[];
  11822. _ratio = GD.getRatioWithRotation(0, ratio);
  11823. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  11824. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  11825. for(var i=0;i<Node108points.length;i++){
  11826. if(i%2==0){
  11827. Node108compspts.push(Node108points[i]-Node108rect.x);
  11828. }else{
  11829. Node108compspts.push(Node108points[i]-Node108rect.y);
  11830. }
  11831. }
  11832. var Node108ptslength=Node108compspts.length;
  11833. if (Node108rect.height === 0) {
  11834. Node108compspts[0] -= 0;
  11835. Node108compspts[Node108ptslength-2] += 0;
  11836. } else if (Node108rect.width === 0){
  11837. Node108compspts[1] -= 0;
  11838. Node108compspts[Node108ptslength-1] += 0;
  11839. } else {
  11840. Node108compspts[0] -= 0;
  11841. Node108compspts[1] -= 0;
  11842. Node108compspts[Node108ptslength-2] += 0;
  11843. Node108compspts[Node108ptslength-1] += 0;
  11844. }
  11845. Node108 = new ht.Node();
  11846. Node108.borderWidth = 2;
  11847. Node108rect.width = Node108rect.width === 0 ? 0.0001 : Node108rect.width;
  11848. Node108rect.height = Node108rect.height === 0 ? 0.0001 : Node108rect.height;
  11849. var Node108endCompspts = [Node108compspts[Node108ptslength-2],Node108compspts[Node108ptslength-1],0,0];
  11850. var Node108startCompspts = [Node108compspts[0],Node108compspts[1],0,0];
  11851. Node108.setImage(GD.getPolyLineJSON());
  11852. Node108.setPosition(Node108rect.x+Node108rect.width/2,Node108rect.y+Node108rect.height/2);
  11853. Node108.setSize(Node108rect.width,Node108rect.height);
  11854. Node108.setStyle("opacity",1);
  11855. Node108.s({'pixelPerfect':true});
  11856. Node108borderwidth=2;
  11857. Node108.setRotation(0);
  11858. dataModel.add(Node108);
  11859. Node108.a('node.points',Node108compspts);
  11860. Node108.a('node.segments',[1,2]);
  11861. Node108.a('node.color','rgba(255,128,0,1)');
  11862. Node108.a('node.borderPattern',getDashStyle("@borderPattern@"));
  11863. Node108.a('node.borderColor','rgba(255,128,0,1)');
  11864. Node108.a('node.background','rgba(255,128,0,1)');
  11865. Node108.a('node.gradient','');
  11866. Node108.a('node.gradientcolor','rgba(255,128,0,1)');
  11867. Node108.a('node.endCompspts',Node108endCompspts);
  11868. Node108.a('node.startCompspts',Node108startCompspts);
  11869. (function (node, img, compspts, endCompspts, startCompspts) {
  11870. var position = node.getPosition(),
  11871. w = node.getWidth()*_ratio.ratioX,
  11872. h = node.getHeight()*_ratio.ratioY;
  11873. function resetPoints(rx, ry) {
  11874. for (var i = 0, len = compspts.length; i < len; i++) {
  11875. if (i%2 === 0) {
  11876. compspts[i]*=rx;
  11877. } else {
  11878. compspts[i]*=ry;
  11879. }
  11880. }
  11881. endCompspts[0] = compspts[compspts.length-2];
  11882. endCompspts[1] = compspts[compspts.length-1];
  11883. endCompspts[2] *= rx;
  11884. endCompspts[3] *= ry;
  11885. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  11886. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  11887. startCompspts[0] = compspts[0];
  11888. startCompspts[1] = compspts[1];
  11889. startCompspts[2] *= rx;
  11890. startCompspts[3] *= ry;
  11891. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  11892. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  11893. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  11894. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  11895. }
  11896. node.setSize(w, h);
  11897. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  11898. node.a('node.width', w);
  11899. node.a('node.height', h);
  11900. resetPoints(_ratio.ratioX, _ratio.ratioY);
  11901. node.borderWidth = 2;
  11902. node.a('node.borderwidth',node.borderWidth);
  11903. node._nodename = 'Node108';
  11904. node._nodeType = 'line';
  11905. zoomNodeList.push({
  11906. node: node,
  11907. attr: 'node.borderwidth'
  11908. });
  11909. var setWidth = node.setWidth,
  11910. setHeight = node.setHeight,
  11911. timer, rx = 1, ry = 1;
  11912. node.setWidth = function (width) {
  11913. var _width = this.getWidth();
  11914. rx = width / _width;
  11915. node.a('node.width', width);
  11916. setWidth.apply(this, arguments);
  11917. resetPoints(rx, 1);
  11918. }
  11919. node.setHeight = function (height) {
  11920. var _height = this.getHeight();
  11921. ry = height / _height;
  11922. node.a('node.height', height);
  11923. setHeight.apply(this, arguments);
  11924. resetPoints(1, ry);
  11925. }
  11926. })(Node108, Node108.getImage(), Node108compspts, Node108endCompspts, Node108startCompspts);
  11927. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11928. var Node109 = new ht.Node();
  11929. var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'left', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 43*_ratio.ratioX, Node109height = 18*_ratio.ratioY;
  11930. (function () {
  11931. if (Node109align === 'left') {
  11932. Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
  11933. Node109textWidth = Node109width;
  11934. Node109lineStart = 1;
  11935. } else if (Node109align === 'right') {
  11936. Node109textStart = 0;
  11937. Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
  11938. Node109lineStart = (Node109width - (ht.Default.getTextSize('2010', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
  11939. } else if (Node109align === 'center') {
  11940. Node109textStart = -3;
  11941. Node109textWidth = Node109width;
  11942. Node109lineStart = Node109width - ht.Default.getTextSize('2010', ' '+ Node109fontSize + 'px "Arial"').width - 11;
  11943. }
  11944. })();
  11945. Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
  11946. Node109.setPosition(890*ratio.ratioX, 558*ratio.ratioY);
  11947. Node109.setWidth(Node109width);
  11948. Node109.setHeight(Node109height);
  11949. Node109._nodeType = 'text';
  11950. Node109._disallowEvert = true;
  11951. Node109.setRotation(0*Math.PI/180);
  11952. Node109.a('node.width', Node109width);
  11953. Node109.a('node.height', Node109height);
  11954. Node109.a('node.rect', [0, 0, Node109width, Node109height]);
  11955. Node109.a('node.bordercolor','rgba(0,0,0,1)');
  11956. Node109.a('node.borderwidth', 0);
  11957. Node109.a('node.background','' || 'rgba(0,0,0,0)');
  11958. Node109.a('node.gradient','');
  11959. Node109.a('node.gradientcolor','');
  11960. Node109.a('node.text','2010');
  11961. Node109.a('node.textalign','left');
  11962. Node109.a('node.textvAlign','middle');
  11963. Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
  11964. Node109.a('node.color','rgba(0,0,0,1)');
  11965. Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"');
  11966. Node109.a('node.textvisible',true);
  11967. Node109.a('node.linefeed',false);
  11968. if (false) {
  11969. Node109.a('node.textfunc',function(g) {
  11970. g.beginPath();
  11971. var str=Node109.a('node.text') || '2010';
  11972. var color=Node109.a('node.color') || 'rgba(0,0,0,1)';
  11973. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"left",color,' '+ Node109fontSize + 'px "Arial"', 0,g);
  11974. });
  11975. }
  11976. if (false) {
  11977. Node109.a('node.underlinepoints',[Node109lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('2010', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
  11978. Node109.a('node.underlinevisible',false);
  11979. Node109.a('node.underlineBorderWidth', 1);
  11980. }
  11981. dataModel.add(Node109);
  11982. zoomNodeList.push({
  11983. node: Node109,
  11984. borderWidth: 0,
  11985. attr: 'node.borderwidth'
  11986. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11987. var Node110 = new ht.Node();
  11988. var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 43*_ratio.ratioX, Node110height = 18*_ratio.ratioY;
  11989. (function () {
  11990. if (Node110align === 'left') {
  11991. Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
  11992. Node110textWidth = Node110width;
  11993. Node110lineStart = 1;
  11994. } else if (Node110align === 'right') {
  11995. Node110textStart = 0;
  11996. Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
  11997. Node110lineStart = (Node110width - (ht.Default.getTextSize('301', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
  11998. } else if (Node110align === 'center') {
  11999. Node110textStart = -3;
  12000. Node110textWidth = Node110width;
  12001. Node110lineStart = Node110width - ht.Default.getTextSize('301', ' '+ Node110fontSize + 'px "Arial"').width - 11;
  12002. }
  12003. })();
  12004. Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
  12005. Node110.setPosition(980*ratio.ratioX, 592*ratio.ratioY);
  12006. Node110.setWidth(Node110width);
  12007. Node110.setHeight(Node110height);
  12008. Node110._nodeType = 'text';
  12009. Node110._disallowEvert = true;
  12010. Node110.setRotation(0*Math.PI/180);
  12011. Node110.a('node.width', Node110width);
  12012. Node110.a('node.height', Node110height);
  12013. Node110.a('node.rect', [0, 0, Node110width, Node110height]);
  12014. Node110.a('node.bordercolor','rgba(0,0,0,1)');
  12015. Node110.a('node.borderwidth', 0);
  12016. Node110.a('node.background','' || 'rgba(0,0,0,0)');
  12017. Node110.a('node.gradient','');
  12018. Node110.a('node.gradientcolor','');
  12019. Node110.a('node.text','301');
  12020. Node110.a('node.textalign','left');
  12021. Node110.a('node.textvAlign','middle');
  12022. Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
  12023. Node110.a('node.color','rgba(0,0,0,1)');
  12024. Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
  12025. Node110.a('node.textvisible',true);
  12026. Node110.a('node.linefeed',false);
  12027. if (false) {
  12028. Node110.a('node.textfunc',function(g) {
  12029. g.beginPath();
  12030. var str=Node110.a('node.text') || '301';
  12031. var color=Node110.a('node.color') || 'rgba(0,0,0,1)';
  12032. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
  12033. });
  12034. }
  12035. if (false) {
  12036. Node110.a('node.underlinepoints',[Node110lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('301', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
  12037. Node110.a('node.underlinevisible',false);
  12038. Node110.a('node.underlineBorderWidth', 1);
  12039. }
  12040. dataModel.add(Node110);
  12041. zoomNodeList.push({
  12042. node: Node110,
  12043. borderWidth: 0,
  12044. attr: 'node.borderwidth'
  12045. }); var Node111points=[905, 733,905, 672],
  12046. Node111rect=ht.Default.unionPoint([{x:905,y:733},{x:905,y:672}]),
  12047. Node111compspts=[];
  12048. _ratio = GD.getRatioWithRotation(0, ratio);
  12049. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  12050. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  12051. for(var i=0;i<Node111points.length;i++){
  12052. if(i%2==0){
  12053. Node111compspts.push(Node111points[i]-Node111rect.x);
  12054. }else{
  12055. Node111compspts.push(Node111points[i]-Node111rect.y);
  12056. }
  12057. }
  12058. var Node111ptslength=Node111compspts.length;
  12059. if (Node111rect.height === 0) {
  12060. Node111compspts[0] -= 0;
  12061. Node111compspts[Node111ptslength-2] += 0;
  12062. } else if (Node111rect.width === 0){
  12063. Node111compspts[1] -= 0;
  12064. Node111compspts[Node111ptslength-1] += 0;
  12065. } else {
  12066. Node111compspts[0] -= 0;
  12067. Node111compspts[1] -= 0;
  12068. Node111compspts[Node111ptslength-2] += 0;
  12069. Node111compspts[Node111ptslength-1] += 0;
  12070. }
  12071. Node111 = new ht.Node();
  12072. Node111.borderWidth = 1;
  12073. Node111rect.width = Node111rect.width === 0 ? 0.0001 : Node111rect.width;
  12074. Node111rect.height = Node111rect.height === 0 ? 0.0001 : Node111rect.height;
  12075. var Node111endCompspts = [Node111compspts[Node111ptslength-2],Node111compspts[Node111ptslength-1],0,0];
  12076. var Node111startCompspts = [Node111compspts[0],Node111compspts[1],0,0];
  12077. Node111.setImage(GD.getPolyLineJSON());
  12078. Node111.setPosition(Node111rect.x+Node111rect.width/2,Node111rect.y+Node111rect.height/2);
  12079. Node111.setSize(Node111rect.width,Node111rect.height);
  12080. Node111.setStyle("opacity",1);
  12081. Node111.s({'pixelPerfect':true});
  12082. Node111borderwidth=1;
  12083. Node111.setRotation(0);
  12084. dataModel.add(Node111);
  12085. Node111.a('node.points',Node111compspts);
  12086. Node111.a('node.segments',[1,2]);
  12087. Node111.a('node.color','rgba(255,128,0,1)');
  12088. Node111.a('node.borderPattern',getDashStyle("@borderPattern@"));
  12089. Node111.a('node.borderColor','rgba(255,128,0,1)');
  12090. Node111.a('node.background','rgba(255,128,0,1)');
  12091. Node111.a('node.gradient','');
  12092. Node111.a('node.gradientcolor','rgba(255,128,0,1)');
  12093. Node111.a('node.endCompspts',Node111endCompspts);
  12094. Node111.a('node.startCompspts',Node111startCompspts);
  12095. (function (node, img, compspts, endCompspts, startCompspts) {
  12096. var position = node.getPosition(),
  12097. w = node.getWidth()*_ratio.ratioX,
  12098. h = node.getHeight()*_ratio.ratioY;
  12099. function resetPoints(rx, ry) {
  12100. for (var i = 0, len = compspts.length; i < len; i++) {
  12101. if (i%2 === 0) {
  12102. compspts[i]*=rx;
  12103. } else {
  12104. compspts[i]*=ry;
  12105. }
  12106. }
  12107. endCompspts[0] = compspts[compspts.length-2];
  12108. endCompspts[1] = compspts[compspts.length-1];
  12109. endCompspts[2] *= rx;
  12110. endCompspts[3] *= ry;
  12111. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  12112. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  12113. startCompspts[0] = compspts[0];
  12114. startCompspts[1] = compspts[1];
  12115. startCompspts[2] *= rx;
  12116. startCompspts[3] *= ry;
  12117. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  12118. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  12119. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  12120. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  12121. }
  12122. node.setSize(w, h);
  12123. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12124. node.a('node.width', w);
  12125. node.a('node.height', h);
  12126. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12127. node.borderWidth = 1;
  12128. node.a('node.borderwidth',node.borderWidth);
  12129. node._nodename = 'Node111';
  12130. node._nodeType = 'line';
  12131. zoomNodeList.push({
  12132. node: node,
  12133. attr: 'node.borderwidth'
  12134. });
  12135. var setWidth = node.setWidth,
  12136. setHeight = node.setHeight,
  12137. timer, rx = 1, ry = 1;
  12138. node.setWidth = function (width) {
  12139. var _width = this.getWidth();
  12140. rx = width / _width;
  12141. node.a('node.width', width);
  12142. setWidth.apply(this, arguments);
  12143. resetPoints(rx, 1);
  12144. }
  12145. node.setHeight = function (height) {
  12146. var _height = this.getHeight();
  12147. ry = height / _height;
  12148. node.a('node.height', height);
  12149. setHeight.apply(this, arguments);
  12150. resetPoints(1, ry);
  12151. }
  12152. })(Node111, Node111.getImage(), Node111compspts, Node111endCompspts, Node111startCompspts);
  12153. var Node112points=[905, 629,905, 619],
  12154. Node112rect=ht.Default.unionPoint([{x:905,y:629},{x:905,y:619}]),
  12155. Node112compspts=[];
  12156. _ratio = GD.getRatioWithRotation(0, ratio);
  12157. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  12158. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  12159. for(var i=0;i<Node112points.length;i++){
  12160. if(i%2==0){
  12161. Node112compspts.push(Node112points[i]-Node112rect.x);
  12162. }else{
  12163. Node112compspts.push(Node112points[i]-Node112rect.y);
  12164. }
  12165. }
  12166. var Node112ptslength=Node112compspts.length;
  12167. if (Node112rect.height === 0) {
  12168. Node112compspts[0] -= 0;
  12169. Node112compspts[Node112ptslength-2] += 0;
  12170. } else if (Node112rect.width === 0){
  12171. Node112compspts[1] -= 0;
  12172. Node112compspts[Node112ptslength-1] += 0;
  12173. } else {
  12174. Node112compspts[0] -= 0;
  12175. Node112compspts[1] -= 0;
  12176. Node112compspts[Node112ptslength-2] += 0;
  12177. Node112compspts[Node112ptslength-1] += 0;
  12178. }
  12179. Node112 = new ht.Node();
  12180. Node112.borderWidth = 1;
  12181. Node112rect.width = Node112rect.width === 0 ? 0.0001 : Node112rect.width;
  12182. Node112rect.height = Node112rect.height === 0 ? 0.0001 : Node112rect.height;
  12183. var Node112endCompspts = [Node112compspts[Node112ptslength-2],Node112compspts[Node112ptslength-1],0,0];
  12184. var Node112startCompspts = [Node112compspts[0],Node112compspts[1],0,0];
  12185. Node112.setImage(GD.getPolyLineJSON());
  12186. Node112.setPosition(Node112rect.x+Node112rect.width/2,Node112rect.y+Node112rect.height/2);
  12187. Node112.setSize(Node112rect.width,Node112rect.height);
  12188. Node112.setStyle("opacity",1);
  12189. Node112.s({'pixelPerfect':true});
  12190. Node112borderwidth=1;
  12191. Node112.setRotation(0);
  12192. dataModel.add(Node112);
  12193. Node112.a('node.points',Node112compspts);
  12194. Node112.a('node.segments',[1,2]);
  12195. Node112.a('node.color','rgba(255,128,0,1)');
  12196. Node112.a('node.borderPattern',getDashStyle("@borderPattern@"));
  12197. Node112.a('node.borderColor','rgba(255,128,0,1)');
  12198. Node112.a('node.background','rgba(255,128,0,1)');
  12199. Node112.a('node.gradient','');
  12200. Node112.a('node.gradientcolor','rgba(255,128,0,1)');
  12201. Node112.a('node.endCompspts',Node112endCompspts);
  12202. Node112.a('node.startCompspts',Node112startCompspts);
  12203. (function (node, img, compspts, endCompspts, startCompspts) {
  12204. var position = node.getPosition(),
  12205. w = node.getWidth()*_ratio.ratioX,
  12206. h = node.getHeight()*_ratio.ratioY;
  12207. function resetPoints(rx, ry) {
  12208. for (var i = 0, len = compspts.length; i < len; i++) {
  12209. if (i%2 === 0) {
  12210. compspts[i]*=rx;
  12211. } else {
  12212. compspts[i]*=ry;
  12213. }
  12214. }
  12215. endCompspts[0] = compspts[compspts.length-2];
  12216. endCompspts[1] = compspts[compspts.length-1];
  12217. endCompspts[2] *= rx;
  12218. endCompspts[3] *= ry;
  12219. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  12220. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  12221. startCompspts[0] = compspts[0];
  12222. startCompspts[1] = compspts[1];
  12223. startCompspts[2] *= rx;
  12224. startCompspts[3] *= ry;
  12225. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  12226. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  12227. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  12228. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  12229. }
  12230. node.setSize(w, h);
  12231. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12232. node.a('node.width', w);
  12233. node.a('node.height', h);
  12234. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12235. node.borderWidth = 1;
  12236. node.a('node.borderwidth',node.borderWidth);
  12237. node._nodename = 'Node112';
  12238. node._nodeType = 'line';
  12239. zoomNodeList.push({
  12240. node: node,
  12241. attr: 'node.borderwidth'
  12242. });
  12243. var setWidth = node.setWidth,
  12244. setHeight = node.setHeight,
  12245. timer, rx = 1, ry = 1;
  12246. node.setWidth = function (width) {
  12247. var _width = this.getWidth();
  12248. rx = width / _width;
  12249. node.a('node.width', width);
  12250. setWidth.apply(this, arguments);
  12251. resetPoints(rx, 1);
  12252. }
  12253. node.setHeight = function (height) {
  12254. var _height = this.getHeight();
  12255. ry = height / _height;
  12256. node.a('node.height', height);
  12257. setHeight.apply(this, arguments);
  12258. resetPoints(1, ry);
  12259. }
  12260. })(Node112, Node112.getImage(), Node112compspts, Node112endCompspts, Node112startCompspts);
  12261. var Node113rect=ht.Default.unionPoint([{x: 901, y: 734},{x: 901, y: 734},{x: 910, y: 734},{x: 905, y: 742}]),
  12262. Node113points=[901,734,901,734,910,734,905,742],
  12263. Node113compsPoints=[],
  12264. Node113SetPoints = [{x: 901, y: 734},{x: 901, y: 734},{x: 910, y: 734},{x: 905, y: 742}],
  12265. Node113setSegments = [1,2,2,2];
  12266. _ratio = GD.getRatioWithRotation(0, ratio);
  12267. for(var i=0;i<Node113points.length;i++){
  12268. if(i%2==0){
  12269. Node113compsPoints.push(Node113points[i]-Node113rect.x);
  12270. }else{
  12271. Node113compsPoints.push(Node113points[i]-Node113rect.y);
  12272. }
  12273. }
  12274. var Node113 = new ht.Node();
  12275. Node113.setImage(GD.getPolyGonJSON());
  12276. Node113.setPosition(Node113rect.x + Node113rect.width/2, Node113rect.y + Node113rect.height/2);
  12277. Node113.setSize(Node113rect.width, Node113rect.height);
  12278. Node113.setRotation(0);
  12279. Node113.borderWidth=0;
  12280. Node113.borderFillwidth=0*2;
  12281. Node113.s({'pixelPerfect':true});
  12282. dataModel.add(Node113);
  12283. // Node113.a('node.width', Node113rect.width*_ratio.ratioX);
  12284. // Node113.a('node.height', Node113rect.height*_ratio.ratioY);
  12285. Node113.a('node.clip', function(g,width,height,data) {
  12286. var clippoints = Node113SetPoints;
  12287. if(clippoints.length<=3) return;
  12288. if(Node113.a('Node113.isFill')=="false") return;
  12289. var clipcompsPoints=[];
  12290. var rect = ht.Default.unionPoint(clippoints);
  12291. for(var i=0;i<clippoints.length;i++){
  12292. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  12293. }
  12294. var clipsegments=Node113setSegments;
  12295. g.beginPath();
  12296. drawPoints(g,clipcompsPoints,clipsegments);
  12297. g.clip();
  12298. })
  12299. Node113.a('node.type', 'shape');
  12300. Node113.a('node.comsPoints', Node113compsPoints);
  12301. Node113.a('node.closePath', true);
  12302. Node113.a('node.borderwidth', 0);
  12303. Node113.a('node.color', 'rgba(0,0,0,0)');
  12304. Node113.a('node.background','rgba(255,128,0,1)');
  12305. Node113.a('node.closePath', true);
  12306. Node113.a('node.closePath', true);
  12307. Node113.a('node.gradient','');
  12308. Node113.a('node.gradientcolor','rgba(255,128,0,1)');
  12309. Node113.a('node.isFill','false');
  12310. Node113.a('node.original',[0,0,0,0]);
  12311. Node113.a('node.fillrect',[0,0,0,0]);
  12312. Node113.a('node.fillbackcolor','rgba(255,128,0,1)');
  12313. Node113.a('node.fillgradient','');
  12314. Node113.a('node.fillgradientcolor','rgba(255,128,0,1)');
  12315. Node113.a('node.segments',Node113setSegments);
  12316. Node113.a('node.borderPattern',"");
  12317. (function (node, nodecompsPoints, setPoints) {
  12318. var w = node.getWidth()*_ratio.ratioX,
  12319. h = node.getHeight()*_ratio.ratioY,
  12320. img = node.getImage();
  12321. function resetPoints(rx, ry) {
  12322. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  12323. if (i%2 === 0) {
  12324. nodecompsPoints[i]*=rx;
  12325. } else {
  12326. nodecompsPoints[i]*=ry;
  12327. }
  12328. if (setPoints[i]) {
  12329. setPoints[i].x *= rx;
  12330. setPoints[i].y *= ry;
  12331. }
  12332. }
  12333. }
  12334. node.setSize(w, h);
  12335. node.a('node.width', w);
  12336. node.a('node.height', h);
  12337. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12338. var position = node.getPosition();
  12339. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12340. node._nodename = 'Node113';
  12341. node._nodeType = 'polygon';
  12342. zoomNodeList.push({
  12343. node: node,
  12344. attr: 'node.borderwidth'
  12345. });
  12346. // 重载setWidth, setHeight
  12347. var setWidth = node.setWidth,
  12348. setHeight = node.setHeight,
  12349. timer, rx = 1, ry = 1;
  12350. node.setWidth = function (width) {
  12351. var _width = this.getWidth();
  12352. rx = width / _width;
  12353. node.a('node.width', width);
  12354. setWidth.apply(this, arguments);
  12355. resetPoints(rx, 1);
  12356. }
  12357. node.setHeight = function (height) {
  12358. var _height = this.getHeight();
  12359. ry = height / _height;
  12360. node.a('node.height', height);
  12361. setHeight.apply(this, arguments);
  12362. resetPoints(1, ry);
  12363. }
  12364. })(Node113, Node113compsPoints, Node113SetPoints );
  12365. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12366. var Node114 = new ht.Node();
  12367. var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'left', Node114fontSize = 13.3333*_ratio.ratioY,Node114width = 68*_ratio.ratioX, Node114height = 18*_ratio.ratioY;
  12368. (function () {
  12369. if (Node114align === 'left') {
  12370. Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9;
  12371. Node114textWidth = Node114width;
  12372. Node114lineStart = 1;
  12373. } else if (Node114align === 'right') {
  12374. Node114textStart = 0;
  12375. Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2;
  12376. Node114lineStart = (Node114width - (ht.Default.getTextSize('312', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
  12377. } else if (Node114align === 'center') {
  12378. Node114textStart = -3;
  12379. Node114textWidth = Node114width;
  12380. Node114lineStart = Node114width - ht.Default.getTextSize('312', ' '+ Node114fontSize + 'px "Arial"').width - 11;
  12381. }
  12382. })();
  12383. Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
  12384. Node114.setPosition(882*ratio.ratioX, 654*ratio.ratioY);
  12385. Node114.setWidth(Node114width);
  12386. Node114.setHeight(Node114height);
  12387. Node114._nodeType = 'text';
  12388. Node114._disallowEvert = true;
  12389. Node114.setRotation(0*Math.PI/180);
  12390. Node114.a('node.width', Node114width);
  12391. Node114.a('node.height', Node114height);
  12392. Node114.a('node.rect', [0, 0, Node114width, Node114height]);
  12393. Node114.a('node.bordercolor','rgba(0,0,0,1)');
  12394. Node114.a('node.borderwidth', 0);
  12395. Node114.a('node.background','' || 'rgba(0,0,0,0)');
  12396. Node114.a('node.gradient','');
  12397. Node114.a('node.gradientcolor','');
  12398. Node114.a('node.text','312');
  12399. Node114.a('node.textalign','left');
  12400. Node114.a('node.textvAlign','middle');
  12401. Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]);
  12402. Node114.a('node.color','rgba(0,0,0,1)');
  12403. Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"');
  12404. Node114.a('node.textvisible',true);
  12405. Node114.a('node.linefeed',false);
  12406. if (false) {
  12407. Node114.a('node.textfunc',function(g) {
  12408. g.beginPath();
  12409. var str=Node114.a('node.text') || '312';
  12410. var color=Node114.a('node.color') || 'rgba(0,0,0,1)';
  12411. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node114width,Node114height,13.3333*_ratio.ratioY,"left",color,' '+ Node114fontSize + 'px "Arial"', 0,g);
  12412. });
  12413. }
  12414. if (false) {
  12415. Node114.a('node.underlinepoints',[Node114lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('312', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]);
  12416. Node114.a('node.underlinevisible',false);
  12417. Node114.a('node.underlineBorderWidth', 1);
  12418. }
  12419. dataModel.add(Node114);
  12420. zoomNodeList.push({
  12421. node: Node114,
  12422. borderWidth: 0,
  12423. attr: 'node.borderwidth'
  12424. }); var Node115points=[878, 679,933, 679],
  12425. Node115rect=ht.Default.unionPoint([{x:878,y:679},{x:933,y:679}]),
  12426. Node115compspts=[];
  12427. _ratio = GD.getRatioWithRotation(0, ratio);
  12428. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  12429. _endratio = GD.getRatioWithRotation(0, ratio);
  12430. for(var i=0;i<Node115points.length;i++){
  12431. if(i%2==0){
  12432. Node115compspts.push(Node115points[i]-Node115rect.x);
  12433. }else{
  12434. Node115compspts.push(Node115points[i]-Node115rect.y);
  12435. }
  12436. }
  12437. var Node115ptslength=Node115compspts.length;
  12438. if (Node115rect.height === 0) {
  12439. Node115compspts[0] -= 0;
  12440. Node115compspts[Node115ptslength-2] += 0;
  12441. } else if (Node115rect.width === 0){
  12442. Node115compspts[1] -= 0;
  12443. Node115compspts[Node115ptslength-1] += 0;
  12444. } else {
  12445. Node115compspts[0] -= 0;
  12446. Node115compspts[1] -= 0;
  12447. Node115compspts[Node115ptslength-2] += 0;
  12448. Node115compspts[Node115ptslength-1] += 0;
  12449. }
  12450. Node115 = new ht.Node();
  12451. Node115.borderWidth = 1;
  12452. Node115rect.width = Node115rect.width === 0 ? 0.0001 : Node115rect.width;
  12453. Node115rect.height = Node115rect.height === 0 ? 0.0001 : Node115rect.height;
  12454. var Node115endCompspts = [Node115compspts[Node115ptslength-2],Node115compspts[Node115ptslength-1],0,0];
  12455. var Node115startCompspts = [Node115compspts[0],Node115compspts[1],0,0];
  12456. Node115.setImage(GD.getPolyLineJSON());
  12457. Node115.setPosition(Node115rect.x+Node115rect.width/2,Node115rect.y+Node115rect.height/2);
  12458. Node115.setSize(Node115rect.width,Node115rect.height);
  12459. Node115.setStyle("opacity",1);
  12460. Node115.s({'pixelPerfect':true});
  12461. Node115borderwidth=1;
  12462. Node115.setRotation(0);
  12463. dataModel.add(Node115);
  12464. Node115.a('node.points',Node115compspts);
  12465. Node115.a('node.segments',[1,2]);
  12466. Node115.a('node.color','rgba(255,128,0,1)');
  12467. Node115.a('node.borderPattern',getDashStyle("@borderPattern@"));
  12468. Node115.a('node.borderColor','rgba(255,128,0,1)');
  12469. Node115.a('node.background','rgba(255,128,0,1)');
  12470. Node115.a('node.gradient','');
  12471. Node115.a('node.gradientcolor','rgba(255,128,0,1)');
  12472. Node115.a('node.endCompspts',Node115endCompspts);
  12473. Node115.a('node.startCompspts',Node115startCompspts);
  12474. (function (node, img, compspts, endCompspts, startCompspts) {
  12475. var position = node.getPosition(),
  12476. w = node.getWidth()*_ratio.ratioX,
  12477. h = node.getHeight()*_ratio.ratioY;
  12478. function resetPoints(rx, ry) {
  12479. for (var i = 0, len = compspts.length; i < len; i++) {
  12480. if (i%2 === 0) {
  12481. compspts[i]*=rx;
  12482. } else {
  12483. compspts[i]*=ry;
  12484. }
  12485. }
  12486. endCompspts[0] = compspts[compspts.length-2];
  12487. endCompspts[1] = compspts[compspts.length-1];
  12488. endCompspts[2] *= rx;
  12489. endCompspts[3] *= ry;
  12490. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  12491. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  12492. startCompspts[0] = compspts[0];
  12493. startCompspts[1] = compspts[1];
  12494. startCompspts[2] *= rx;
  12495. startCompspts[3] *= ry;
  12496. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  12497. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  12498. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  12499. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  12500. }
  12501. node.setSize(w, h);
  12502. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12503. node.a('node.width', w);
  12504. node.a('node.height', h);
  12505. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12506. node.borderWidth = 1;
  12507. node.a('node.borderwidth',node.borderWidth);
  12508. node._nodename = 'Node115';
  12509. node._nodeType = 'line';
  12510. zoomNodeList.push({
  12511. node: node,
  12512. attr: 'node.borderwidth'
  12513. });
  12514. var setWidth = node.setWidth,
  12515. setHeight = node.setHeight,
  12516. timer, rx = 1, ry = 1;
  12517. node.setWidth = function (width) {
  12518. var _width = this.getWidth();
  12519. rx = width / _width;
  12520. node.a('node.width', width);
  12521. setWidth.apply(this, arguments);
  12522. resetPoints(rx, 1);
  12523. }
  12524. node.setHeight = function (height) {
  12525. var _height = this.getHeight();
  12526. ry = height / _height;
  12527. node.a('node.height', height);
  12528. setHeight.apply(this, arguments);
  12529. resetPoints(1, ry);
  12530. }
  12531. })(Node115, Node115.getImage(), Node115compspts, Node115endCompspts, Node115startCompspts);
  12532. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12533. var Node116_0type = 'rect';
  12534. var Node116_0 = new ht.Node(),
  12535. Node116_0BorderWidth = 2*2;
  12536. if (Node116_0type === 'arc') {
  12537. Node116_0BorderWidth *= 2;
  12538. }
  12539. Node116_0.setImage(GD.getRectJSON(16.41937*_ratio.ratioX, 24.4704*_ratio.ratioY, Node116_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12540. Node116_0.setPosition(877*ratio.ratioX, 706*ratio.ratioY);
  12541. Node116_0.setSize(16.41937*_ratio.ratioX, 24.4704*_ratio.ratioY);
  12542. Node116_0.s({
  12543. 'pixelPerfect':true
  12544. /*@AddPara@*/
  12545. });
  12546. Node116_0.a('node.width', 16.41937*_ratio.ratioX);
  12547. Node116_0.a('node.height', 24.4704*_ratio.ratioY);
  12548. Node116_0.a('node.type', Node116_0type);
  12549. Node116_0.a('node.rect', [0, 0, 16.41937*_ratio.ratioX, 24.4704*_ratio.ratioY]);
  12550. Node116_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  12551. Node116_0.a('node.gradientcolor', '');
  12552. Node116_0.a('node.gradient', '');
  12553. Node116_0.a('node.borderwidth', Node116_0BorderWidth);
  12554. Node116_0.a('node.color', 'rgba(255,128,0,1)');
  12555. Node116_0.a('node.fillrect', [0,0,0,0]);
  12556. Node116_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12557. Node116_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12558. Node116_0.a('node.fillgradient', '');
  12559. if (Node116_0type !== 'rect') {
  12560. Node116_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  12561. Node116_0.a('node.arcTo', parseFloat('@arcTo@'));
  12562. Node116_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12563. }
  12564. if (Node116_0type === 'arc') {
  12565. Node116_0.a('node.arcOval', true);
  12566. }
  12567. Node116_0.setRotation(0*Math.PI/180);
  12568. Node116_0.borderWidth = Node116_0BorderWidth;
  12569. Node116_0.borderFillwidth = Node116_0BorderWidth;
  12570. dataModel.add(Node116_0);
  12571. Node116_0._nodename = 'Node116_0'
  12572. Node116_0._nodeType = 'rect';
  12573. zoomNodeList.push({
  12574. node: Node116_0,
  12575. attr: 'node.borderwidth'
  12576. });
  12577. (function (node, _img) {
  12578. var setWidth = node.setWidth,
  12579. setHeight = node.setHeight;
  12580. node.setWidth = function (width) {
  12581. if (width === this.getWidth()) return ;
  12582. var height = this.getHeight();
  12583. this.a('node.width', width);
  12584. this.a('node.rect', [0,0,width, height]);
  12585. setWidth.apply(this, arguments);
  12586. }
  12587. node.setHeight = function (height) {
  12588. if (height === this.getHeight()) return ;
  12589. var width = this.getWidth();
  12590. this.a('node.height', height);
  12591. this.a('node.rect', [0,0,width, height]);
  12592. setHeight.apply(this, arguments);
  12593. }
  12594. })(Node116_0, Node116_0.getImage());var Node116_1points=[878, 718,878, 726],
  12595. Node116_1rect=ht.Default.unionPoint([{x:878,y:718},{x:878,y:726}]),
  12596. Node116_1compspts=[];
  12597. _ratio = GD.getRatioWithRotation(0, ratio);
  12598. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  12599. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  12600. for(var i=0;i<Node116_1points.length;i++){
  12601. if(i%2==0){
  12602. Node116_1compspts.push(Node116_1points[i]-Node116_1rect.x);
  12603. }else{
  12604. Node116_1compspts.push(Node116_1points[i]-Node116_1rect.y);
  12605. }
  12606. }
  12607. var Node116_1ptslength=Node116_1compspts.length;
  12608. if (Node116_1rect.height === 0) {
  12609. Node116_1compspts[0] -= 0;
  12610. Node116_1compspts[Node116_1ptslength-2] += 0;
  12611. } else if (Node116_1rect.width === 0){
  12612. Node116_1compspts[1] -= 0;
  12613. Node116_1compspts[Node116_1ptslength-1] += 0;
  12614. } else {
  12615. Node116_1compspts[0] -= 0;
  12616. Node116_1compspts[1] -= 0;
  12617. Node116_1compspts[Node116_1ptslength-2] += 0;
  12618. Node116_1compspts[Node116_1ptslength-1] += 0;
  12619. }
  12620. Node116_1 = new ht.Node();
  12621. Node116_1.borderWidth = 2;
  12622. Node116_1rect.width = Node116_1rect.width === 0 ? 0.0001 : Node116_1rect.width;
  12623. Node116_1rect.height = Node116_1rect.height === 0 ? 0.0001 : Node116_1rect.height;
  12624. var Node116_1endCompspts = [Node116_1compspts[Node116_1ptslength-2],Node116_1compspts[Node116_1ptslength-1],0,0];
  12625. var Node116_1startCompspts = [Node116_1compspts[0],Node116_1compspts[1],0,0];
  12626. Node116_1.setImage(GD.getPolyLineJSON());
  12627. Node116_1.setPosition(Node116_1rect.x+Node116_1rect.width/2,Node116_1rect.y+Node116_1rect.height/2);
  12628. Node116_1.setSize(Node116_1rect.width,Node116_1rect.height);
  12629. Node116_1.setStyle("opacity",1);
  12630. Node116_1.s({'pixelPerfect':true});
  12631. Node116_1borderwidth=2;
  12632. Node116_1.setRotation(0);
  12633. dataModel.add(Node116_1);
  12634. Node116_1.a('node.points',Node116_1compspts);
  12635. Node116_1.a('node.segments',[1,2]);
  12636. Node116_1.a('node.color','rgba(255,128,0,1)');
  12637. Node116_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  12638. Node116_1.a('node.borderColor','rgba(255,128,0,1)');
  12639. Node116_1.a('node.background','rgba(255,128,0,1)');
  12640. Node116_1.a('node.gradient','');
  12641. Node116_1.a('node.gradientcolor','rgba(255,128,0,1)');
  12642. Node116_1.a('node.endCompspts',Node116_1endCompspts);
  12643. Node116_1.a('node.startCompspts',Node116_1startCompspts);
  12644. (function (node, img, compspts, endCompspts, startCompspts) {
  12645. var position = node.getPosition(),
  12646. w = node.getWidth()*_ratio.ratioX,
  12647. h = node.getHeight()*_ratio.ratioY;
  12648. function resetPoints(rx, ry) {
  12649. for (var i = 0, len = compspts.length; i < len; i++) {
  12650. if (i%2 === 0) {
  12651. compspts[i]*=rx;
  12652. } else {
  12653. compspts[i]*=ry;
  12654. }
  12655. }
  12656. endCompspts[0] = compspts[compspts.length-2];
  12657. endCompspts[1] = compspts[compspts.length-1];
  12658. endCompspts[2] *= rx;
  12659. endCompspts[3] *= ry;
  12660. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  12661. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  12662. startCompspts[0] = compspts[0];
  12663. startCompspts[1] = compspts[1];
  12664. startCompspts[2] *= rx;
  12665. startCompspts[3] *= ry;
  12666. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  12667. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  12668. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  12669. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  12670. }
  12671. node.setSize(w, h);
  12672. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12673. node.a('node.width', w);
  12674. node.a('node.height', h);
  12675. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12676. node.borderWidth = 2;
  12677. node.a('node.borderwidth',node.borderWidth);
  12678. node._nodename = 'Node116_1';
  12679. node._nodeType = 'line';
  12680. zoomNodeList.push({
  12681. node: node,
  12682. attr: 'node.borderwidth'
  12683. });
  12684. var setWidth = node.setWidth,
  12685. setHeight = node.setHeight,
  12686. timer, rx = 1, ry = 1;
  12687. node.setWidth = function (width) {
  12688. var _width = this.getWidth();
  12689. rx = width / _width;
  12690. node.a('node.width', width);
  12691. setWidth.apply(this, arguments);
  12692. resetPoints(rx, 1);
  12693. }
  12694. node.setHeight = function (height) {
  12695. var _height = this.getHeight();
  12696. ry = height / _height;
  12697. node.a('node.height', height);
  12698. setHeight.apply(this, arguments);
  12699. resetPoints(1, ry);
  12700. }
  12701. })(Node116_1, Node116_1.getImage(), Node116_1compspts, Node116_1endCompspts, Node116_1startCompspts);
  12702. var Node116_2points=[877, 679,877, 705],
  12703. Node116_2rect=ht.Default.unionPoint([{x:877,y:679},{x:877,y:705}]),
  12704. Node116_2compspts=[];
  12705. _ratio = GD.getRatioWithRotation(0, ratio);
  12706. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  12707. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  12708. for(var i=0;i<Node116_2points.length;i++){
  12709. if(i%2==0){
  12710. Node116_2compspts.push(Node116_2points[i]-Node116_2rect.x);
  12711. }else{
  12712. Node116_2compspts.push(Node116_2points[i]-Node116_2rect.y);
  12713. }
  12714. }
  12715. var Node116_2ptslength=Node116_2compspts.length;
  12716. if (Node116_2rect.height === 0) {
  12717. Node116_2compspts[0] -= 0;
  12718. Node116_2compspts[Node116_2ptslength-2] += 0;
  12719. } else if (Node116_2rect.width === 0){
  12720. Node116_2compspts[1] -= 0;
  12721. Node116_2compspts[Node116_2ptslength-1] += 0;
  12722. } else {
  12723. Node116_2compspts[0] -= 0;
  12724. Node116_2compspts[1] -= 0;
  12725. Node116_2compspts[Node116_2ptslength-2] += 0;
  12726. Node116_2compspts[Node116_2ptslength-1] += 0;
  12727. }
  12728. Node116_2 = new ht.Node();
  12729. Node116_2.borderWidth = 2;
  12730. Node116_2rect.width = Node116_2rect.width === 0 ? 0.0001 : Node116_2rect.width;
  12731. Node116_2rect.height = Node116_2rect.height === 0 ? 0.0001 : Node116_2rect.height;
  12732. var Node116_2endCompspts = [Node116_2compspts[Node116_2ptslength-2],Node116_2compspts[Node116_2ptslength-1],0,0];
  12733. var Node116_2startCompspts = [Node116_2compspts[0],Node116_2compspts[1],0,0];
  12734. Node116_2.setImage(GD.getPolyLineJSON());
  12735. Node116_2.setPosition(Node116_2rect.x+Node116_2rect.width/2,Node116_2rect.y+Node116_2rect.height/2);
  12736. Node116_2.setSize(Node116_2rect.width,Node116_2rect.height);
  12737. Node116_2.setStyle("opacity",1);
  12738. Node116_2.s({'pixelPerfect':true});
  12739. Node116_2borderwidth=2;
  12740. Node116_2.setRotation(0);
  12741. dataModel.add(Node116_2);
  12742. Node116_2.a('node.points',Node116_2compspts);
  12743. Node116_2.a('node.segments',[1,2]);
  12744. Node116_2.a('node.color','rgba(255,128,0,1)');
  12745. Node116_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  12746. Node116_2.a('node.borderColor','rgba(255,128,0,1)');
  12747. Node116_2.a('node.background','rgba(255,128,0,1)');
  12748. Node116_2.a('node.gradient','');
  12749. Node116_2.a('node.gradientcolor','rgba(255,128,0,1)');
  12750. Node116_2.a('node.endCompspts',Node116_2endCompspts);
  12751. Node116_2.a('node.startCompspts',Node116_2startCompspts);
  12752. (function (node, img, compspts, endCompspts, startCompspts) {
  12753. var position = node.getPosition(),
  12754. w = node.getWidth()*_ratio.ratioX,
  12755. h = node.getHeight()*_ratio.ratioY;
  12756. function resetPoints(rx, ry) {
  12757. for (var i = 0, len = compspts.length; i < len; i++) {
  12758. if (i%2 === 0) {
  12759. compspts[i]*=rx;
  12760. } else {
  12761. compspts[i]*=ry;
  12762. }
  12763. }
  12764. endCompspts[0] = compspts[compspts.length-2];
  12765. endCompspts[1] = compspts[compspts.length-1];
  12766. endCompspts[2] *= rx;
  12767. endCompspts[3] *= ry;
  12768. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  12769. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  12770. startCompspts[0] = compspts[0];
  12771. startCompspts[1] = compspts[1];
  12772. startCompspts[2] *= rx;
  12773. startCompspts[3] *= ry;
  12774. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  12775. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  12776. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  12777. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  12778. }
  12779. node.setSize(w, h);
  12780. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12781. node.a('node.width', w);
  12782. node.a('node.height', h);
  12783. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12784. node.borderWidth = 2;
  12785. node.a('node.borderwidth',node.borderWidth);
  12786. node._nodename = 'Node116_2';
  12787. node._nodeType = 'line';
  12788. zoomNodeList.push({
  12789. node: node,
  12790. attr: 'node.borderwidth'
  12791. });
  12792. var setWidth = node.setWidth,
  12793. setHeight = node.setHeight,
  12794. timer, rx = 1, ry = 1;
  12795. node.setWidth = function (width) {
  12796. var _width = this.getWidth();
  12797. rx = width / _width;
  12798. node.a('node.width', width);
  12799. setWidth.apply(this, arguments);
  12800. resetPoints(rx, 1);
  12801. }
  12802. node.setHeight = function (height) {
  12803. var _height = this.getHeight();
  12804. ry = height / _height;
  12805. node.a('node.height', height);
  12806. setHeight.apply(this, arguments);
  12807. resetPoints(1, ry);
  12808. }
  12809. })(Node116_2, Node116_2.getImage(), Node116_2compspts, Node116_2endCompspts, Node116_2startCompspts);
  12810. var Node116_3rect=ht.Default.unionPoint([{x: 871, y: 698},{x: 871, y: 698},{x: 882, y: 698},{x: 877, y: 706}]),
  12811. Node116_3points=[871,698,871,698,882,698,877,706],
  12812. Node116_3compsPoints=[],
  12813. Node116_3SetPoints = [{x: 871, y: 698},{x: 871, y: 698},{x: 882, y: 698},{x: 877, y: 706}],
  12814. Node116_3setSegments = [1,2,2,2];
  12815. _ratio = GD.getRatioWithRotation(0, ratio);
  12816. for(var i=0;i<Node116_3points.length;i++){
  12817. if(i%2==0){
  12818. Node116_3compsPoints.push(Node116_3points[i]-Node116_3rect.x);
  12819. }else{
  12820. Node116_3compsPoints.push(Node116_3points[i]-Node116_3rect.y);
  12821. }
  12822. }
  12823. var Node116_3 = new ht.Node();
  12824. Node116_3.setImage(GD.getPolyGonJSON());
  12825. Node116_3.setPosition(Node116_3rect.x + Node116_3rect.width/2, Node116_3rect.y + Node116_3rect.height/2);
  12826. Node116_3.setSize(Node116_3rect.width, Node116_3rect.height);
  12827. Node116_3.setRotation(0);
  12828. Node116_3.borderWidth=0;
  12829. Node116_3.borderFillwidth=0*2;
  12830. Node116_3.s({'pixelPerfect':true});
  12831. dataModel.add(Node116_3);
  12832. // Node116_3.a('node.width', Node116_3rect.width*_ratio.ratioX);
  12833. // Node116_3.a('node.height', Node116_3rect.height*_ratio.ratioY);
  12834. Node116_3.a('node.clip', function(g,width,height,data) {
  12835. var clippoints = Node116_3SetPoints;
  12836. if(clippoints.length<=3) return;
  12837. if(Node116_3.a('Node116_3.isFill')=="false") return;
  12838. var clipcompsPoints=[];
  12839. var rect = ht.Default.unionPoint(clippoints);
  12840. for(var i=0;i<clippoints.length;i++){
  12841. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  12842. }
  12843. var clipsegments=Node116_3setSegments;
  12844. g.beginPath();
  12845. drawPoints(g,clipcompsPoints,clipsegments);
  12846. g.clip();
  12847. })
  12848. Node116_3.a('node.type', 'shape');
  12849. Node116_3.a('node.comsPoints', Node116_3compsPoints);
  12850. Node116_3.a('node.closePath', true);
  12851. Node116_3.a('node.borderwidth', 0);
  12852. Node116_3.a('node.color', 'rgba(255,128,0,0)');
  12853. Node116_3.a('node.background','rgba(255,128,0,1)');
  12854. Node116_3.a('node.closePath', true);
  12855. Node116_3.a('node.closePath', true);
  12856. Node116_3.a('node.gradient','');
  12857. Node116_3.a('node.gradientcolor','rgba(255,128,0,1)');
  12858. Node116_3.a('node.isFill','false');
  12859. Node116_3.a('node.original',[0,0,0,0]);
  12860. Node116_3.a('node.fillrect',[0,0,0,0]);
  12861. Node116_3.a('node.fillbackcolor','rgba(255,128,0,1)');
  12862. Node116_3.a('node.fillgradient','');
  12863. Node116_3.a('node.fillgradientcolor','rgba(255,128,0,1)');
  12864. Node116_3.a('node.segments',Node116_3setSegments);
  12865. Node116_3.a('node.borderPattern',"");
  12866. (function (node, nodecompsPoints, setPoints) {
  12867. var w = node.getWidth()*_ratio.ratioX,
  12868. h = node.getHeight()*_ratio.ratioY,
  12869. img = node.getImage();
  12870. function resetPoints(rx, ry) {
  12871. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  12872. if (i%2 === 0) {
  12873. nodecompsPoints[i]*=rx;
  12874. } else {
  12875. nodecompsPoints[i]*=ry;
  12876. }
  12877. if (setPoints[i]) {
  12878. setPoints[i].x *= rx;
  12879. setPoints[i].y *= ry;
  12880. }
  12881. }
  12882. }
  12883. node.setSize(w, h);
  12884. node.a('node.width', w);
  12885. node.a('node.height', h);
  12886. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12887. var position = node.getPosition();
  12888. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12889. node._nodename = 'Node116_3';
  12890. node._nodeType = 'polygon';
  12891. zoomNodeList.push({
  12892. node: node,
  12893. attr: 'node.borderwidth'
  12894. });
  12895. // 重载setWidth, setHeight
  12896. var setWidth = node.setWidth,
  12897. setHeight = node.setHeight,
  12898. timer, rx = 1, ry = 1;
  12899. node.setWidth = function (width) {
  12900. var _width = this.getWidth();
  12901. rx = width / _width;
  12902. node.a('node.width', width);
  12903. setWidth.apply(this, arguments);
  12904. resetPoints(rx, 1);
  12905. }
  12906. node.setHeight = function (height) {
  12907. var _height = this.getHeight();
  12908. ry = height / _height;
  12909. node.a('node.height', height);
  12910. setHeight.apply(this, arguments);
  12911. resetPoints(1, ry);
  12912. }
  12913. })(Node116_3, Node116_3compsPoints, Node116_3SetPoints );
  12914. var Node116_4points=[873, 731,882, 731],
  12915. Node116_4rect=ht.Default.unionPoint([{x:873,y:731},{x:882,y:731}]),
  12916. Node116_4compspts=[];
  12917. _ratio = GD.getRatioWithRotation(0, ratio);
  12918. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  12919. _endratio = GD.getRatioWithRotation(0, ratio);
  12920. for(var i=0;i<Node116_4points.length;i++){
  12921. if(i%2==0){
  12922. Node116_4compspts.push(Node116_4points[i]-Node116_4rect.x);
  12923. }else{
  12924. Node116_4compspts.push(Node116_4points[i]-Node116_4rect.y);
  12925. }
  12926. }
  12927. var Node116_4ptslength=Node116_4compspts.length;
  12928. if (Node116_4rect.height === 0) {
  12929. Node116_4compspts[0] -= 0;
  12930. Node116_4compspts[Node116_4ptslength-2] += 0;
  12931. } else if (Node116_4rect.width === 0){
  12932. Node116_4compspts[1] -= 0;
  12933. Node116_4compspts[Node116_4ptslength-1] += 0;
  12934. } else {
  12935. Node116_4compspts[0] -= 0;
  12936. Node116_4compspts[1] -= 0;
  12937. Node116_4compspts[Node116_4ptslength-2] += 0;
  12938. Node116_4compspts[Node116_4ptslength-1] += 0;
  12939. }
  12940. Node116_4 = new ht.Node();
  12941. Node116_4.borderWidth = 2;
  12942. Node116_4rect.width = Node116_4rect.width === 0 ? 0.0001 : Node116_4rect.width;
  12943. Node116_4rect.height = Node116_4rect.height === 0 ? 0.0001 : Node116_4rect.height;
  12944. var Node116_4endCompspts = [Node116_4compspts[Node116_4ptslength-2],Node116_4compspts[Node116_4ptslength-1],0,0];
  12945. var Node116_4startCompspts = [Node116_4compspts[0],Node116_4compspts[1],0,0];
  12946. Node116_4.setImage(GD.getPolyLineJSON());
  12947. Node116_4.setPosition(Node116_4rect.x+Node116_4rect.width/2,Node116_4rect.y+Node116_4rect.height/2);
  12948. Node116_4.setSize(Node116_4rect.width,Node116_4rect.height);
  12949. Node116_4.setStyle("opacity",1);
  12950. Node116_4.s({'pixelPerfect':true});
  12951. Node116_4borderwidth=2;
  12952. Node116_4.setRotation(0);
  12953. dataModel.add(Node116_4);
  12954. Node116_4.a('node.points',Node116_4compspts);
  12955. Node116_4.a('node.segments',[1,2]);
  12956. Node116_4.a('node.color','rgba(255,128,0,1)');
  12957. Node116_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
  12958. Node116_4.a('node.borderColor','rgba(255,128,0,1)');
  12959. Node116_4.a('node.background','rgba(255,128,0,1)');
  12960. Node116_4.a('node.gradient','');
  12961. Node116_4.a('node.gradientcolor','rgba(255,128,0,1)');
  12962. Node116_4.a('node.endCompspts',Node116_4endCompspts);
  12963. Node116_4.a('node.startCompspts',Node116_4startCompspts);
  12964. (function (node, img, compspts, endCompspts, startCompspts) {
  12965. var position = node.getPosition(),
  12966. w = node.getWidth()*_ratio.ratioX,
  12967. h = node.getHeight()*_ratio.ratioY;
  12968. function resetPoints(rx, ry) {
  12969. for (var i = 0, len = compspts.length; i < len; i++) {
  12970. if (i%2 === 0) {
  12971. compspts[i]*=rx;
  12972. } else {
  12973. compspts[i]*=ry;
  12974. }
  12975. }
  12976. endCompspts[0] = compspts[compspts.length-2];
  12977. endCompspts[1] = compspts[compspts.length-1];
  12978. endCompspts[2] *= rx;
  12979. endCompspts[3] *= ry;
  12980. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  12981. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  12982. startCompspts[0] = compspts[0];
  12983. startCompspts[1] = compspts[1];
  12984. startCompspts[2] *= rx;
  12985. startCompspts[3] *= ry;
  12986. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  12987. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  12988. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  12989. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  12990. }
  12991. node.setSize(w, h);
  12992. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  12993. node.a('node.width', w);
  12994. node.a('node.height', h);
  12995. resetPoints(_ratio.ratioX, _ratio.ratioY);
  12996. node.borderWidth = 2;
  12997. node.a('node.borderwidth',node.borderWidth);
  12998. node._nodename = 'Node116_4';
  12999. node._nodeType = 'line';
  13000. zoomNodeList.push({
  13001. node: node,
  13002. attr: 'node.borderwidth'
  13003. });
  13004. var setWidth = node.setWidth,
  13005. setHeight = node.setHeight,
  13006. timer, rx = 1, ry = 1;
  13007. node.setWidth = function (width) {
  13008. var _width = this.getWidth();
  13009. rx = width / _width;
  13010. node.a('node.width', width);
  13011. setWidth.apply(this, arguments);
  13012. resetPoints(rx, 1);
  13013. }
  13014. node.setHeight = function (height) {
  13015. var _height = this.getHeight();
  13016. ry = height / _height;
  13017. node.a('node.height', height);
  13018. setHeight.apply(this, arguments);
  13019. resetPoints(1, ry);
  13020. }
  13021. })(Node116_4, Node116_4.getImage(), Node116_4compspts, Node116_4endCompspts, Node116_4startCompspts);
  13022. var Node116_5points=[869, 729,885, 729],
  13023. Node116_5rect=ht.Default.unionPoint([{x:869,y:729},{x:885,y:729}]),
  13024. Node116_5compspts=[];
  13025. _ratio = GD.getRatioWithRotation(0, ratio);
  13026. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  13027. _endratio = GD.getRatioWithRotation(0, ratio);
  13028. for(var i=0;i<Node116_5points.length;i++){
  13029. if(i%2==0){
  13030. Node116_5compspts.push(Node116_5points[i]-Node116_5rect.x);
  13031. }else{
  13032. Node116_5compspts.push(Node116_5points[i]-Node116_5rect.y);
  13033. }
  13034. }
  13035. var Node116_5ptslength=Node116_5compspts.length;
  13036. if (Node116_5rect.height === 0) {
  13037. Node116_5compspts[0] -= 0;
  13038. Node116_5compspts[Node116_5ptslength-2] += 0;
  13039. } else if (Node116_5rect.width === 0){
  13040. Node116_5compspts[1] -= 0;
  13041. Node116_5compspts[Node116_5ptslength-1] += 0;
  13042. } else {
  13043. Node116_5compspts[0] -= 0;
  13044. Node116_5compspts[1] -= 0;
  13045. Node116_5compspts[Node116_5ptslength-2] += 0;
  13046. Node116_5compspts[Node116_5ptslength-1] += 0;
  13047. }
  13048. Node116_5 = new ht.Node();
  13049. Node116_5.borderWidth = 2;
  13050. Node116_5rect.width = Node116_5rect.width === 0 ? 0.0001 : Node116_5rect.width;
  13051. Node116_5rect.height = Node116_5rect.height === 0 ? 0.0001 : Node116_5rect.height;
  13052. var Node116_5endCompspts = [Node116_5compspts[Node116_5ptslength-2],Node116_5compspts[Node116_5ptslength-1],0,0];
  13053. var Node116_5startCompspts = [Node116_5compspts[0],Node116_5compspts[1],0,0];
  13054. Node116_5.setImage(GD.getPolyLineJSON());
  13055. Node116_5.setPosition(Node116_5rect.x+Node116_5rect.width/2,Node116_5rect.y+Node116_5rect.height/2);
  13056. Node116_5.setSize(Node116_5rect.width,Node116_5rect.height);
  13057. Node116_5.setStyle("opacity",1);
  13058. Node116_5.s({'pixelPerfect':true});
  13059. Node116_5borderwidth=2;
  13060. Node116_5.setRotation(0);
  13061. dataModel.add(Node116_5);
  13062. Node116_5.a('node.points',Node116_5compspts);
  13063. Node116_5.a('node.segments',[1,2]);
  13064. Node116_5.a('node.color','rgba(255,128,0,1)');
  13065. Node116_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13066. Node116_5.a('node.borderColor','rgba(255,128,0,1)');
  13067. Node116_5.a('node.background','rgba(255,128,0,1)');
  13068. Node116_5.a('node.gradient','');
  13069. Node116_5.a('node.gradientcolor','rgba(255,128,0,1)');
  13070. Node116_5.a('node.endCompspts',Node116_5endCompspts);
  13071. Node116_5.a('node.startCompspts',Node116_5startCompspts);
  13072. (function (node, img, compspts, endCompspts, startCompspts) {
  13073. var position = node.getPosition(),
  13074. w = node.getWidth()*_ratio.ratioX,
  13075. h = node.getHeight()*_ratio.ratioY;
  13076. function resetPoints(rx, ry) {
  13077. for (var i = 0, len = compspts.length; i < len; i++) {
  13078. if (i%2 === 0) {
  13079. compspts[i]*=rx;
  13080. } else {
  13081. compspts[i]*=ry;
  13082. }
  13083. }
  13084. endCompspts[0] = compspts[compspts.length-2];
  13085. endCompspts[1] = compspts[compspts.length-1];
  13086. endCompspts[2] *= rx;
  13087. endCompspts[3] *= ry;
  13088. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  13089. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  13090. startCompspts[0] = compspts[0];
  13091. startCompspts[1] = compspts[1];
  13092. startCompspts[2] *= rx;
  13093. startCompspts[3] *= ry;
  13094. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  13095. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  13096. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  13097. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  13098. }
  13099. node.setSize(w, h);
  13100. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13101. node.a('node.width', w);
  13102. node.a('node.height', h);
  13103. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13104. node.borderWidth = 2;
  13105. node.a('node.borderwidth',node.borderWidth);
  13106. node._nodename = 'Node116_5';
  13107. node._nodeType = 'line';
  13108. zoomNodeList.push({
  13109. node: node,
  13110. attr: 'node.borderwidth'
  13111. });
  13112. var setWidth = node.setWidth,
  13113. setHeight = node.setHeight,
  13114. timer, rx = 1, ry = 1;
  13115. node.setWidth = function (width) {
  13116. var _width = this.getWidth();
  13117. rx = width / _width;
  13118. node.a('node.width', width);
  13119. setWidth.apply(this, arguments);
  13120. resetPoints(rx, 1);
  13121. }
  13122. node.setHeight = function (height) {
  13123. var _height = this.getHeight();
  13124. ry = height / _height;
  13125. node.a('node.height', height);
  13126. setHeight.apply(this, arguments);
  13127. resetPoints(1, ry);
  13128. }
  13129. })(Node116_5, Node116_5.getImage(), Node116_5compspts, Node116_5endCompspts, Node116_5startCompspts);
  13130. var Node116_6points=[867, 726,888, 726],
  13131. Node116_6rect=ht.Default.unionPoint([{x:867,y:726},{x:888,y:726}]),
  13132. Node116_6compspts=[];
  13133. _ratio = GD.getRatioWithRotation(0, ratio);
  13134. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  13135. _endratio = GD.getRatioWithRotation(0, ratio);
  13136. for(var i=0;i<Node116_6points.length;i++){
  13137. if(i%2==0){
  13138. Node116_6compspts.push(Node116_6points[i]-Node116_6rect.x);
  13139. }else{
  13140. Node116_6compspts.push(Node116_6points[i]-Node116_6rect.y);
  13141. }
  13142. }
  13143. var Node116_6ptslength=Node116_6compspts.length;
  13144. if (Node116_6rect.height === 0) {
  13145. Node116_6compspts[0] -= 0;
  13146. Node116_6compspts[Node116_6ptslength-2] += 0;
  13147. } else if (Node116_6rect.width === 0){
  13148. Node116_6compspts[1] -= 0;
  13149. Node116_6compspts[Node116_6ptslength-1] += 0;
  13150. } else {
  13151. Node116_6compspts[0] -= 0;
  13152. Node116_6compspts[1] -= 0;
  13153. Node116_6compspts[Node116_6ptslength-2] += 0;
  13154. Node116_6compspts[Node116_6ptslength-1] += 0;
  13155. }
  13156. Node116_6 = new ht.Node();
  13157. Node116_6.borderWidth = 2;
  13158. Node116_6rect.width = Node116_6rect.width === 0 ? 0.0001 : Node116_6rect.width;
  13159. Node116_6rect.height = Node116_6rect.height === 0 ? 0.0001 : Node116_6rect.height;
  13160. var Node116_6endCompspts = [Node116_6compspts[Node116_6ptslength-2],Node116_6compspts[Node116_6ptslength-1],0,0];
  13161. var Node116_6startCompspts = [Node116_6compspts[0],Node116_6compspts[1],0,0];
  13162. Node116_6.setImage(GD.getPolyLineJSON());
  13163. Node116_6.setPosition(Node116_6rect.x+Node116_6rect.width/2,Node116_6rect.y+Node116_6rect.height/2);
  13164. Node116_6.setSize(Node116_6rect.width,Node116_6rect.height);
  13165. Node116_6.setStyle("opacity",1);
  13166. Node116_6.s({'pixelPerfect':true});
  13167. Node116_6borderwidth=2;
  13168. Node116_6.setRotation(0);
  13169. dataModel.add(Node116_6);
  13170. Node116_6.a('node.points',Node116_6compspts);
  13171. Node116_6.a('node.segments',[1,2]);
  13172. Node116_6.a('node.color','rgba(255,128,0,1)');
  13173. Node116_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13174. Node116_6.a('node.borderColor','rgba(255,128,0,1)');
  13175. Node116_6.a('node.background','rgba(255,128,0,1)');
  13176. Node116_6.a('node.gradient','');
  13177. Node116_6.a('node.gradientcolor','rgba(255,128,0,1)');
  13178. Node116_6.a('node.endCompspts',Node116_6endCompspts);
  13179. Node116_6.a('node.startCompspts',Node116_6startCompspts);
  13180. (function (node, img, compspts, endCompspts, startCompspts) {
  13181. var position = node.getPosition(),
  13182. w = node.getWidth()*_ratio.ratioX,
  13183. h = node.getHeight()*_ratio.ratioY;
  13184. function resetPoints(rx, ry) {
  13185. for (var i = 0, len = compspts.length; i < len; i++) {
  13186. if (i%2 === 0) {
  13187. compspts[i]*=rx;
  13188. } else {
  13189. compspts[i]*=ry;
  13190. }
  13191. }
  13192. endCompspts[0] = compspts[compspts.length-2];
  13193. endCompspts[1] = compspts[compspts.length-1];
  13194. endCompspts[2] *= rx;
  13195. endCompspts[3] *= ry;
  13196. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  13197. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  13198. startCompspts[0] = compspts[0];
  13199. startCompspts[1] = compspts[1];
  13200. startCompspts[2] *= rx;
  13201. startCompspts[3] *= ry;
  13202. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  13203. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  13204. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  13205. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  13206. }
  13207. node.setSize(w, h);
  13208. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13209. node.a('node.width', w);
  13210. node.a('node.height', h);
  13211. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13212. node.borderWidth = 2;
  13213. node.a('node.borderwidth',node.borderWidth);
  13214. node._nodename = 'Node116_6';
  13215. node._nodeType = 'line';
  13216. zoomNodeList.push({
  13217. node: node,
  13218. attr: 'node.borderwidth'
  13219. });
  13220. var setWidth = node.setWidth,
  13221. setHeight = node.setHeight,
  13222. timer, rx = 1, ry = 1;
  13223. node.setWidth = function (width) {
  13224. var _width = this.getWidth();
  13225. rx = width / _width;
  13226. node.a('node.width', width);
  13227. setWidth.apply(this, arguments);
  13228. resetPoints(rx, 1);
  13229. }
  13230. node.setHeight = function (height) {
  13231. var _height = this.getHeight();
  13232. ry = height / _height;
  13233. node.a('node.height', height);
  13234. setHeight.apply(this, arguments);
  13235. resetPoints(1, ry);
  13236. }
  13237. })(Node116_6, Node116_6.getImage(), Node116_6compspts, Node116_6endCompspts, Node116_6startCompspts);
  13238. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13239. var Node117 = new ht.Node();
  13240. var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'left', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 68*_ratio.ratioX, Node117height = 18*_ratio.ratioY;
  13241. (function () {
  13242. if (Node117align === 'left') {
  13243. Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
  13244. Node117textWidth = Node117width;
  13245. Node117lineStart = 1;
  13246. } else if (Node117align === 'right') {
  13247. Node117textStart = 0;
  13248. Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
  13249. Node117lineStart = (Node117width - (ht.Default.getTextSize('312-10', ' '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5;
  13250. } else if (Node117align === 'center') {
  13251. Node117textStart = -3;
  13252. Node117textWidth = Node117width;
  13253. Node117lineStart = Node117width - ht.Default.getTextSize('312-10', ' '+ Node117fontSize + 'px "Arial"').width - 11;
  13254. }
  13255. })();
  13256. Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "Arial"'))
  13257. Node117.setPosition(987*ratio.ratioX, 713*ratio.ratioY);
  13258. Node117.setWidth(Node117width);
  13259. Node117.setHeight(Node117height);
  13260. Node117._nodeType = 'text';
  13261. Node117._disallowEvert = true;
  13262. Node117.setRotation(0*Math.PI/180);
  13263. Node117.a('node.width', Node117width);
  13264. Node117.a('node.height', Node117height);
  13265. Node117.a('node.rect', [0, 0, Node117width, Node117height]);
  13266. Node117.a('node.bordercolor','rgba(0,0,0,1)');
  13267. Node117.a('node.borderwidth', 0);
  13268. Node117.a('node.background','' || 'rgba(0,0,0,0)');
  13269. Node117.a('node.gradient','');
  13270. Node117.a('node.gradientcolor','');
  13271. Node117.a('node.text','312-10');
  13272. Node117.a('node.textalign','left');
  13273. Node117.a('node.textvAlign','middle');
  13274. Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
  13275. Node117.a('node.color','rgba(0,0,0,1)');
  13276. Node117.a('node.font',' '+ Node117fontSize + 'px "Arial"');
  13277. Node117.a('node.textvisible',true);
  13278. Node117.a('node.linefeed',false);
  13279. if (false) {
  13280. Node117.a('node.textfunc',function(g) {
  13281. g.beginPath();
  13282. var str=Node117.a('node.text') || '312-10';
  13283. var color=Node117.a('node.color') || 'rgba(0,0,0,1)';
  13284. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"left",color,' '+ Node117fontSize + 'px "Arial"', 0,g);
  13285. });
  13286. }
  13287. if (false) {
  13288. Node117.a('node.underlinepoints',[Node117lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('312-10', ' '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
  13289. Node117.a('node.underlinevisible',false);
  13290. Node117.a('node.underlineBorderWidth', 1);
  13291. }
  13292. dataModel.add(Node117);
  13293. zoomNodeList.push({
  13294. node: Node117,
  13295. borderWidth: 0,
  13296. attr: 'node.borderwidth'
  13297. }); var Node118points=[1277, 733,1277, 672],
  13298. Node118rect=ht.Default.unionPoint([{x:1277,y:733},{x:1277,y:672}]),
  13299. Node118compspts=[];
  13300. _ratio = GD.getRatioWithRotation(0, ratio);
  13301. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  13302. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  13303. for(var i=0;i<Node118points.length;i++){
  13304. if(i%2==0){
  13305. Node118compspts.push(Node118points[i]-Node118rect.x);
  13306. }else{
  13307. Node118compspts.push(Node118points[i]-Node118rect.y);
  13308. }
  13309. }
  13310. var Node118ptslength=Node118compspts.length;
  13311. if (Node118rect.height === 0) {
  13312. Node118compspts[0] -= 0;
  13313. Node118compspts[Node118ptslength-2] += 0;
  13314. } else if (Node118rect.width === 0){
  13315. Node118compspts[1] -= 0;
  13316. Node118compspts[Node118ptslength-1] += 0;
  13317. } else {
  13318. Node118compspts[0] -= 0;
  13319. Node118compspts[1] -= 0;
  13320. Node118compspts[Node118ptslength-2] += 0;
  13321. Node118compspts[Node118ptslength-1] += 0;
  13322. }
  13323. Node118 = new ht.Node();
  13324. Node118.borderWidth = 1;
  13325. Node118rect.width = Node118rect.width === 0 ? 0.0001 : Node118rect.width;
  13326. Node118rect.height = Node118rect.height === 0 ? 0.0001 : Node118rect.height;
  13327. var Node118endCompspts = [Node118compspts[Node118ptslength-2],Node118compspts[Node118ptslength-1],0,0];
  13328. var Node118startCompspts = [Node118compspts[0],Node118compspts[1],0,0];
  13329. Node118.setImage(GD.getPolyLineJSON());
  13330. Node118.setPosition(Node118rect.x+Node118rect.width/2,Node118rect.y+Node118rect.height/2);
  13331. Node118.setSize(Node118rect.width,Node118rect.height);
  13332. Node118.setStyle("opacity",1);
  13333. Node118.s({'pixelPerfect':true});
  13334. Node118borderwidth=1;
  13335. Node118.setRotation(0);
  13336. dataModel.add(Node118);
  13337. Node118.a('node.points',Node118compspts);
  13338. Node118.a('node.segments',[1,2]);
  13339. Node118.a('node.color','rgba(255,128,0,1)');
  13340. Node118.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13341. Node118.a('node.borderColor','rgba(255,128,0,1)');
  13342. Node118.a('node.background','rgba(255,128,0,1)');
  13343. Node118.a('node.gradient','');
  13344. Node118.a('node.gradientcolor','rgba(255,128,0,1)');
  13345. Node118.a('node.endCompspts',Node118endCompspts);
  13346. Node118.a('node.startCompspts',Node118startCompspts);
  13347. (function (node, img, compspts, endCompspts, startCompspts) {
  13348. var position = node.getPosition(),
  13349. w = node.getWidth()*_ratio.ratioX,
  13350. h = node.getHeight()*_ratio.ratioY;
  13351. function resetPoints(rx, ry) {
  13352. for (var i = 0, len = compspts.length; i < len; i++) {
  13353. if (i%2 === 0) {
  13354. compspts[i]*=rx;
  13355. } else {
  13356. compspts[i]*=ry;
  13357. }
  13358. }
  13359. endCompspts[0] = compspts[compspts.length-2];
  13360. endCompspts[1] = compspts[compspts.length-1];
  13361. endCompspts[2] *= rx;
  13362. endCompspts[3] *= ry;
  13363. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  13364. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  13365. startCompspts[0] = compspts[0];
  13366. startCompspts[1] = compspts[1];
  13367. startCompspts[2] *= rx;
  13368. startCompspts[3] *= ry;
  13369. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  13370. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  13371. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  13372. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  13373. }
  13374. node.setSize(w, h);
  13375. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13376. node.a('node.width', w);
  13377. node.a('node.height', h);
  13378. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13379. node.borderWidth = 1;
  13380. node.a('node.borderwidth',node.borderWidth);
  13381. node._nodename = 'Node118';
  13382. node._nodeType = 'line';
  13383. zoomNodeList.push({
  13384. node: node,
  13385. attr: 'node.borderwidth'
  13386. });
  13387. var setWidth = node.setWidth,
  13388. setHeight = node.setHeight,
  13389. timer, rx = 1, ry = 1;
  13390. node.setWidth = function (width) {
  13391. var _width = this.getWidth();
  13392. rx = width / _width;
  13393. node.a('node.width', width);
  13394. setWidth.apply(this, arguments);
  13395. resetPoints(rx, 1);
  13396. }
  13397. node.setHeight = function (height) {
  13398. var _height = this.getHeight();
  13399. ry = height / _height;
  13400. node.a('node.height', height);
  13401. setHeight.apply(this, arguments);
  13402. resetPoints(1, ry);
  13403. }
  13404. })(Node118, Node118.getImage(), Node118compspts, Node118endCompspts, Node118startCompspts);
  13405. var Node119points=[1277, 629,1277, 619],
  13406. Node119rect=ht.Default.unionPoint([{x:1277,y:629},{x:1277,y:619}]),
  13407. Node119compspts=[];
  13408. _ratio = GD.getRatioWithRotation(0, ratio);
  13409. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  13410. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  13411. for(var i=0;i<Node119points.length;i++){
  13412. if(i%2==0){
  13413. Node119compspts.push(Node119points[i]-Node119rect.x);
  13414. }else{
  13415. Node119compspts.push(Node119points[i]-Node119rect.y);
  13416. }
  13417. }
  13418. var Node119ptslength=Node119compspts.length;
  13419. if (Node119rect.height === 0) {
  13420. Node119compspts[0] -= 0;
  13421. Node119compspts[Node119ptslength-2] += 0;
  13422. } else if (Node119rect.width === 0){
  13423. Node119compspts[1] -= 0;
  13424. Node119compspts[Node119ptslength-1] += 0;
  13425. } else {
  13426. Node119compspts[0] -= 0;
  13427. Node119compspts[1] -= 0;
  13428. Node119compspts[Node119ptslength-2] += 0;
  13429. Node119compspts[Node119ptslength-1] += 0;
  13430. }
  13431. Node119 = new ht.Node();
  13432. Node119.borderWidth = 1;
  13433. Node119rect.width = Node119rect.width === 0 ? 0.0001 : Node119rect.width;
  13434. Node119rect.height = Node119rect.height === 0 ? 0.0001 : Node119rect.height;
  13435. var Node119endCompspts = [Node119compspts[Node119ptslength-2],Node119compspts[Node119ptslength-1],0,0];
  13436. var Node119startCompspts = [Node119compspts[0],Node119compspts[1],0,0];
  13437. Node119.setImage(GD.getPolyLineJSON());
  13438. Node119.setPosition(Node119rect.x+Node119rect.width/2,Node119rect.y+Node119rect.height/2);
  13439. Node119.setSize(Node119rect.width,Node119rect.height);
  13440. Node119.setStyle("opacity",1);
  13441. Node119.s({'pixelPerfect':true});
  13442. Node119borderwidth=1;
  13443. Node119.setRotation(0);
  13444. dataModel.add(Node119);
  13445. Node119.a('node.points',Node119compspts);
  13446. Node119.a('node.segments',[1,2]);
  13447. Node119.a('node.color','rgba(255,128,0,1)');
  13448. Node119.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13449. Node119.a('node.borderColor','rgba(255,128,0,1)');
  13450. Node119.a('node.background','rgba(255,128,0,1)');
  13451. Node119.a('node.gradient','');
  13452. Node119.a('node.gradientcolor','rgba(255,128,0,1)');
  13453. Node119.a('node.endCompspts',Node119endCompspts);
  13454. Node119.a('node.startCompspts',Node119startCompspts);
  13455. (function (node, img, compspts, endCompspts, startCompspts) {
  13456. var position = node.getPosition(),
  13457. w = node.getWidth()*_ratio.ratioX,
  13458. h = node.getHeight()*_ratio.ratioY;
  13459. function resetPoints(rx, ry) {
  13460. for (var i = 0, len = compspts.length; i < len; i++) {
  13461. if (i%2 === 0) {
  13462. compspts[i]*=rx;
  13463. } else {
  13464. compspts[i]*=ry;
  13465. }
  13466. }
  13467. endCompspts[0] = compspts[compspts.length-2];
  13468. endCompspts[1] = compspts[compspts.length-1];
  13469. endCompspts[2] *= rx;
  13470. endCompspts[3] *= ry;
  13471. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  13472. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  13473. startCompspts[0] = compspts[0];
  13474. startCompspts[1] = compspts[1];
  13475. startCompspts[2] *= rx;
  13476. startCompspts[3] *= ry;
  13477. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  13478. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  13479. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  13480. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  13481. }
  13482. node.setSize(w, h);
  13483. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13484. node.a('node.width', w);
  13485. node.a('node.height', h);
  13486. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13487. node.borderWidth = 1;
  13488. node.a('node.borderwidth',node.borderWidth);
  13489. node._nodename = 'Node119';
  13490. node._nodeType = 'line';
  13491. zoomNodeList.push({
  13492. node: node,
  13493. attr: 'node.borderwidth'
  13494. });
  13495. var setWidth = node.setWidth,
  13496. setHeight = node.setHeight,
  13497. timer, rx = 1, ry = 1;
  13498. node.setWidth = function (width) {
  13499. var _width = this.getWidth();
  13500. rx = width / _width;
  13501. node.a('node.width', width);
  13502. setWidth.apply(this, arguments);
  13503. resetPoints(rx, 1);
  13504. }
  13505. node.setHeight = function (height) {
  13506. var _height = this.getHeight();
  13507. ry = height / _height;
  13508. node.a('node.height', height);
  13509. setHeight.apply(this, arguments);
  13510. resetPoints(1, ry);
  13511. }
  13512. })(Node119, Node119.getImage(), Node119compspts, Node119endCompspts, Node119startCompspts);
  13513. var Node120rect=ht.Default.unionPoint([{x: 1272, y: 734},{x: 1272, y: 734},{x: 1283, y: 734},{x: 1277, y: 742}]),
  13514. Node120points=[1272,734,1272,734,1283,734,1277,742],
  13515. Node120compsPoints=[],
  13516. Node120SetPoints = [{x: 1272, y: 734},{x: 1272, y: 734},{x: 1283, y: 734},{x: 1277, y: 742}],
  13517. Node120setSegments = [1,2,2,2];
  13518. _ratio = GD.getRatioWithRotation(0, ratio);
  13519. for(var i=0;i<Node120points.length;i++){
  13520. if(i%2==0){
  13521. Node120compsPoints.push(Node120points[i]-Node120rect.x);
  13522. }else{
  13523. Node120compsPoints.push(Node120points[i]-Node120rect.y);
  13524. }
  13525. }
  13526. var Node120 = new ht.Node();
  13527. Node120.setImage(GD.getPolyGonJSON());
  13528. Node120.setPosition(Node120rect.x + Node120rect.width/2, Node120rect.y + Node120rect.height/2);
  13529. Node120.setSize(Node120rect.width, Node120rect.height);
  13530. Node120.setRotation(0);
  13531. Node120.borderWidth=0;
  13532. Node120.borderFillwidth=0*2;
  13533. Node120.s({'pixelPerfect':true});
  13534. dataModel.add(Node120);
  13535. // Node120.a('node.width', Node120rect.width*_ratio.ratioX);
  13536. // Node120.a('node.height', Node120rect.height*_ratio.ratioY);
  13537. Node120.a('node.clip', function(g,width,height,data) {
  13538. var clippoints = Node120SetPoints;
  13539. if(clippoints.length<=3) return;
  13540. if(Node120.a('Node120.isFill')=="false") return;
  13541. var clipcompsPoints=[];
  13542. var rect = ht.Default.unionPoint(clippoints);
  13543. for(var i=0;i<clippoints.length;i++){
  13544. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  13545. }
  13546. var clipsegments=Node120setSegments;
  13547. g.beginPath();
  13548. drawPoints(g,clipcompsPoints,clipsegments);
  13549. g.clip();
  13550. })
  13551. Node120.a('node.type', 'shape');
  13552. Node120.a('node.comsPoints', Node120compsPoints);
  13553. Node120.a('node.closePath', true);
  13554. Node120.a('node.borderwidth', 0);
  13555. Node120.a('node.color', 'rgba(0,0,0,0)');
  13556. Node120.a('node.background','rgba(255,128,0,1)');
  13557. Node120.a('node.closePath', true);
  13558. Node120.a('node.closePath', true);
  13559. Node120.a('node.gradient','');
  13560. Node120.a('node.gradientcolor','rgba(255,128,0,1)');
  13561. Node120.a('node.isFill','false');
  13562. Node120.a('node.original',[0,0,0,0]);
  13563. Node120.a('node.fillrect',[0,0,0,0]);
  13564. Node120.a('node.fillbackcolor','rgba(255,128,0,1)');
  13565. Node120.a('node.fillgradient','');
  13566. Node120.a('node.fillgradientcolor','rgba(255,128,0,1)');
  13567. Node120.a('node.segments',Node120setSegments);
  13568. Node120.a('node.borderPattern',"");
  13569. (function (node, nodecompsPoints, setPoints) {
  13570. var w = node.getWidth()*_ratio.ratioX,
  13571. h = node.getHeight()*_ratio.ratioY,
  13572. img = node.getImage();
  13573. function resetPoints(rx, ry) {
  13574. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  13575. if (i%2 === 0) {
  13576. nodecompsPoints[i]*=rx;
  13577. } else {
  13578. nodecompsPoints[i]*=ry;
  13579. }
  13580. if (setPoints[i]) {
  13581. setPoints[i].x *= rx;
  13582. setPoints[i].y *= ry;
  13583. }
  13584. }
  13585. }
  13586. node.setSize(w, h);
  13587. node.a('node.width', w);
  13588. node.a('node.height', h);
  13589. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13590. var position = node.getPosition();
  13591. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13592. node._nodename = 'Node120';
  13593. node._nodeType = 'polygon';
  13594. zoomNodeList.push({
  13595. node: node,
  13596. attr: 'node.borderwidth'
  13597. });
  13598. // 重载setWidth, setHeight
  13599. var setWidth = node.setWidth,
  13600. setHeight = node.setHeight,
  13601. timer, rx = 1, ry = 1;
  13602. node.setWidth = function (width) {
  13603. var _width = this.getWidth();
  13604. rx = width / _width;
  13605. node.a('node.width', width);
  13606. setWidth.apply(this, arguments);
  13607. resetPoints(rx, 1);
  13608. }
  13609. node.setHeight = function (height) {
  13610. var _height = this.getHeight();
  13611. ry = height / _height;
  13612. node.a('node.height', height);
  13613. setHeight.apply(this, arguments);
  13614. resetPoints(1, ry);
  13615. }
  13616. })(Node120, Node120compsPoints, Node120SetPoints );
  13617. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13618. var Node121 = new ht.Node();
  13619. var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'left', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 68*_ratio.ratioX, Node121height = 18*_ratio.ratioY;
  13620. (function () {
  13621. if (Node121align === 'left') {
  13622. Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
  13623. Node121textWidth = Node121width;
  13624. Node121lineStart = 1;
  13625. } else if (Node121align === 'right') {
  13626. Node121textStart = 0;
  13627. Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
  13628. Node121lineStart = (Node121width - (ht.Default.getTextSize('313', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
  13629. } else if (Node121align === 'center') {
  13630. Node121textStart = -3;
  13631. Node121textWidth = Node121width;
  13632. Node121lineStart = Node121width - ht.Default.getTextSize('313', ' '+ Node121fontSize + 'px "Arial"').width - 11;
  13633. }
  13634. })();
  13635. Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
  13636. Node121.setPosition(1254*ratio.ratioX, 654*ratio.ratioY);
  13637. Node121.setWidth(Node121width);
  13638. Node121.setHeight(Node121height);
  13639. Node121._nodeType = 'text';
  13640. Node121._disallowEvert = true;
  13641. Node121.setRotation(0*Math.PI/180);
  13642. Node121.a('node.width', Node121width);
  13643. Node121.a('node.height', Node121height);
  13644. Node121.a('node.rect', [0, 0, Node121width, Node121height]);
  13645. Node121.a('node.bordercolor','rgba(0,0,0,1)');
  13646. Node121.a('node.borderwidth', 0);
  13647. Node121.a('node.background','' || 'rgba(0,0,0,0)');
  13648. Node121.a('node.gradient','');
  13649. Node121.a('node.gradientcolor','');
  13650. Node121.a('node.text','313');
  13651. Node121.a('node.textalign','left');
  13652. Node121.a('node.textvAlign','middle');
  13653. Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
  13654. Node121.a('node.color','rgba(0,0,0,1)');
  13655. Node121.a('node.font',' '+ Node121fontSize + 'px "Arial"');
  13656. Node121.a('node.textvisible',true);
  13657. Node121.a('node.linefeed',false);
  13658. if (false) {
  13659. Node121.a('node.textfunc',function(g) {
  13660. g.beginPath();
  13661. var str=Node121.a('node.text') || '313';
  13662. var color=Node121.a('node.color') || 'rgba(0,0,0,1)';
  13663. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"left",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
  13664. });
  13665. }
  13666. if (false) {
  13667. Node121.a('node.underlinepoints',[Node121lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('313', ' '+ Node121fontSize + 'px "Arial"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]);
  13668. Node121.a('node.underlinevisible',false);
  13669. Node121.a('node.underlineBorderWidth', 1);
  13670. }
  13671. dataModel.add(Node121);
  13672. zoomNodeList.push({
  13673. node: Node121,
  13674. borderWidth: 0,
  13675. attr: 'node.borderwidth'
  13676. }); var Node122points=[1250, 679,1304, 679],
  13677. Node122rect=ht.Default.unionPoint([{x:1250,y:679},{x:1304,y:679}]),
  13678. Node122compspts=[];
  13679. _ratio = GD.getRatioWithRotation(0, ratio);
  13680. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  13681. _endratio = GD.getRatioWithRotation(0, ratio);
  13682. for(var i=0;i<Node122points.length;i++){
  13683. if(i%2==0){
  13684. Node122compspts.push(Node122points[i]-Node122rect.x);
  13685. }else{
  13686. Node122compspts.push(Node122points[i]-Node122rect.y);
  13687. }
  13688. }
  13689. var Node122ptslength=Node122compspts.length;
  13690. if (Node122rect.height === 0) {
  13691. Node122compspts[0] -= 0;
  13692. Node122compspts[Node122ptslength-2] += 0;
  13693. } else if (Node122rect.width === 0){
  13694. Node122compspts[1] -= 0;
  13695. Node122compspts[Node122ptslength-1] += 0;
  13696. } else {
  13697. Node122compspts[0] -= 0;
  13698. Node122compspts[1] -= 0;
  13699. Node122compspts[Node122ptslength-2] += 0;
  13700. Node122compspts[Node122ptslength-1] += 0;
  13701. }
  13702. Node122 = new ht.Node();
  13703. Node122.borderWidth = 1;
  13704. Node122rect.width = Node122rect.width === 0 ? 0.0001 : Node122rect.width;
  13705. Node122rect.height = Node122rect.height === 0 ? 0.0001 : Node122rect.height;
  13706. var Node122endCompspts = [Node122compspts[Node122ptslength-2],Node122compspts[Node122ptslength-1],0,0];
  13707. var Node122startCompspts = [Node122compspts[0],Node122compspts[1],0,0];
  13708. Node122.setImage(GD.getPolyLineJSON());
  13709. Node122.setPosition(Node122rect.x+Node122rect.width/2,Node122rect.y+Node122rect.height/2);
  13710. Node122.setSize(Node122rect.width,Node122rect.height);
  13711. Node122.setStyle("opacity",1);
  13712. Node122.s({'pixelPerfect':true});
  13713. Node122borderwidth=1;
  13714. Node122.setRotation(0);
  13715. dataModel.add(Node122);
  13716. Node122.a('node.points',Node122compspts);
  13717. Node122.a('node.segments',[1,2]);
  13718. Node122.a('node.color','rgba(255,128,0,1)');
  13719. Node122.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13720. Node122.a('node.borderColor','rgba(255,128,0,1)');
  13721. Node122.a('node.background','rgba(255,128,0,1)');
  13722. Node122.a('node.gradient','');
  13723. Node122.a('node.gradientcolor','rgba(255,128,0,1)');
  13724. Node122.a('node.endCompspts',Node122endCompspts);
  13725. Node122.a('node.startCompspts',Node122startCompspts);
  13726. (function (node, img, compspts, endCompspts, startCompspts) {
  13727. var position = node.getPosition(),
  13728. w = node.getWidth()*_ratio.ratioX,
  13729. h = node.getHeight()*_ratio.ratioY;
  13730. function resetPoints(rx, ry) {
  13731. for (var i = 0, len = compspts.length; i < len; i++) {
  13732. if (i%2 === 0) {
  13733. compspts[i]*=rx;
  13734. } else {
  13735. compspts[i]*=ry;
  13736. }
  13737. }
  13738. endCompspts[0] = compspts[compspts.length-2];
  13739. endCompspts[1] = compspts[compspts.length-1];
  13740. endCompspts[2] *= rx;
  13741. endCompspts[3] *= ry;
  13742. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  13743. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  13744. startCompspts[0] = compspts[0];
  13745. startCompspts[1] = compspts[1];
  13746. startCompspts[2] *= rx;
  13747. startCompspts[3] *= ry;
  13748. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  13749. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  13750. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  13751. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  13752. }
  13753. node.setSize(w, h);
  13754. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13755. node.a('node.width', w);
  13756. node.a('node.height', h);
  13757. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13758. node.borderWidth = 1;
  13759. node.a('node.borderwidth',node.borderWidth);
  13760. node._nodename = 'Node122';
  13761. node._nodeType = 'line';
  13762. zoomNodeList.push({
  13763. node: node,
  13764. attr: 'node.borderwidth'
  13765. });
  13766. var setWidth = node.setWidth,
  13767. setHeight = node.setHeight,
  13768. timer, rx = 1, ry = 1;
  13769. node.setWidth = function (width) {
  13770. var _width = this.getWidth();
  13771. rx = width / _width;
  13772. node.a('node.width', width);
  13773. setWidth.apply(this, arguments);
  13774. resetPoints(rx, 1);
  13775. }
  13776. node.setHeight = function (height) {
  13777. var _height = this.getHeight();
  13778. ry = height / _height;
  13779. node.a('node.height', height);
  13780. setHeight.apply(this, arguments);
  13781. resetPoints(1, ry);
  13782. }
  13783. })(Node122, Node122.getImage(), Node122compspts, Node122endCompspts, Node122startCompspts);
  13784. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13785. var Node123_0type = 'rect';
  13786. var Node123_0 = new ht.Node(),
  13787. Node123_0BorderWidth = 2*2;
  13788. if (Node123_0type === 'arc') {
  13789. Node123_0BorderWidth *= 2;
  13790. }
  13791. Node123_0.setImage(GD.getRectJSON(16.41943*_ratio.ratioX, 24.4704*_ratio.ratioY, Node123_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  13792. Node123_0.setPosition(1249*ratio.ratioX, 706*ratio.ratioY);
  13793. Node123_0.setSize(16.41943*_ratio.ratioX, 24.4704*_ratio.ratioY);
  13794. Node123_0.s({
  13795. 'pixelPerfect':true
  13796. /*@AddPara@*/
  13797. });
  13798. Node123_0.a('node.width', 16.41943*_ratio.ratioX);
  13799. Node123_0.a('node.height', 24.4704*_ratio.ratioY);
  13800. Node123_0.a('node.type', Node123_0type);
  13801. Node123_0.a('node.rect', [0, 0, 16.41943*_ratio.ratioX, 24.4704*_ratio.ratioY]);
  13802. Node123_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  13803. Node123_0.a('node.gradientcolor', '');
  13804. Node123_0.a('node.gradient', '');
  13805. Node123_0.a('node.borderwidth', Node123_0BorderWidth);
  13806. Node123_0.a('node.color', 'rgba(255,128,0,1)');
  13807. Node123_0.a('node.fillrect', [0,0,0,0]);
  13808. Node123_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  13809. Node123_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  13810. Node123_0.a('node.fillgradient', '');
  13811. if (Node123_0type !== 'rect') {
  13812. Node123_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  13813. Node123_0.a('node.arcTo', parseFloat('@arcTo@'));
  13814. Node123_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  13815. }
  13816. if (Node123_0type === 'arc') {
  13817. Node123_0.a('node.arcOval', true);
  13818. }
  13819. Node123_0.setRotation(0*Math.PI/180);
  13820. Node123_0.borderWidth = Node123_0BorderWidth;
  13821. Node123_0.borderFillwidth = Node123_0BorderWidth;
  13822. dataModel.add(Node123_0);
  13823. Node123_0._nodename = 'Node123_0'
  13824. Node123_0._nodeType = 'rect';
  13825. zoomNodeList.push({
  13826. node: Node123_0,
  13827. attr: 'node.borderwidth'
  13828. });
  13829. (function (node, _img) {
  13830. var setWidth = node.setWidth,
  13831. setHeight = node.setHeight;
  13832. node.setWidth = function (width) {
  13833. if (width === this.getWidth()) return ;
  13834. var height = this.getHeight();
  13835. this.a('node.width', width);
  13836. this.a('node.rect', [0,0,width, height]);
  13837. setWidth.apply(this, arguments);
  13838. }
  13839. node.setHeight = function (height) {
  13840. if (height === this.getHeight()) return ;
  13841. var width = this.getWidth();
  13842. this.a('node.height', height);
  13843. this.a('node.rect', [0,0,width, height]);
  13844. setHeight.apply(this, arguments);
  13845. }
  13846. })(Node123_0, Node123_0.getImage());var Node123_1points=[1250, 718,1250, 726],
  13847. Node123_1rect=ht.Default.unionPoint([{x:1250,y:718},{x:1250,y:726}]),
  13848. Node123_1compspts=[];
  13849. _ratio = GD.getRatioWithRotation(0, ratio);
  13850. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  13851. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  13852. for(var i=0;i<Node123_1points.length;i++){
  13853. if(i%2==0){
  13854. Node123_1compspts.push(Node123_1points[i]-Node123_1rect.x);
  13855. }else{
  13856. Node123_1compspts.push(Node123_1points[i]-Node123_1rect.y);
  13857. }
  13858. }
  13859. var Node123_1ptslength=Node123_1compspts.length;
  13860. if (Node123_1rect.height === 0) {
  13861. Node123_1compspts[0] -= 0;
  13862. Node123_1compspts[Node123_1ptslength-2] += 0;
  13863. } else if (Node123_1rect.width === 0){
  13864. Node123_1compspts[1] -= 0;
  13865. Node123_1compspts[Node123_1ptslength-1] += 0;
  13866. } else {
  13867. Node123_1compspts[0] -= 0;
  13868. Node123_1compspts[1] -= 0;
  13869. Node123_1compspts[Node123_1ptslength-2] += 0;
  13870. Node123_1compspts[Node123_1ptslength-1] += 0;
  13871. }
  13872. Node123_1 = new ht.Node();
  13873. Node123_1.borderWidth = 2;
  13874. Node123_1rect.width = Node123_1rect.width === 0 ? 0.0001 : Node123_1rect.width;
  13875. Node123_1rect.height = Node123_1rect.height === 0 ? 0.0001 : Node123_1rect.height;
  13876. var Node123_1endCompspts = [Node123_1compspts[Node123_1ptslength-2],Node123_1compspts[Node123_1ptslength-1],0,0];
  13877. var Node123_1startCompspts = [Node123_1compspts[0],Node123_1compspts[1],0,0];
  13878. Node123_1.setImage(GD.getPolyLineJSON());
  13879. Node123_1.setPosition(Node123_1rect.x+Node123_1rect.width/2,Node123_1rect.y+Node123_1rect.height/2);
  13880. Node123_1.setSize(Node123_1rect.width,Node123_1rect.height);
  13881. Node123_1.setStyle("opacity",1);
  13882. Node123_1.s({'pixelPerfect':true});
  13883. Node123_1borderwidth=2;
  13884. Node123_1.setRotation(0);
  13885. dataModel.add(Node123_1);
  13886. Node123_1.a('node.points',Node123_1compspts);
  13887. Node123_1.a('node.segments',[1,2]);
  13888. Node123_1.a('node.color','rgba(255,128,0,1)');
  13889. Node123_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13890. Node123_1.a('node.borderColor','rgba(255,128,0,1)');
  13891. Node123_1.a('node.background','rgba(255,128,0,1)');
  13892. Node123_1.a('node.gradient','');
  13893. Node123_1.a('node.gradientcolor','rgba(255,128,0,1)');
  13894. Node123_1.a('node.endCompspts',Node123_1endCompspts);
  13895. Node123_1.a('node.startCompspts',Node123_1startCompspts);
  13896. (function (node, img, compspts, endCompspts, startCompspts) {
  13897. var position = node.getPosition(),
  13898. w = node.getWidth()*_ratio.ratioX,
  13899. h = node.getHeight()*_ratio.ratioY;
  13900. function resetPoints(rx, ry) {
  13901. for (var i = 0, len = compspts.length; i < len; i++) {
  13902. if (i%2 === 0) {
  13903. compspts[i]*=rx;
  13904. } else {
  13905. compspts[i]*=ry;
  13906. }
  13907. }
  13908. endCompspts[0] = compspts[compspts.length-2];
  13909. endCompspts[1] = compspts[compspts.length-1];
  13910. endCompspts[2] *= rx;
  13911. endCompspts[3] *= ry;
  13912. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  13913. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  13914. startCompspts[0] = compspts[0];
  13915. startCompspts[1] = compspts[1];
  13916. startCompspts[2] *= rx;
  13917. startCompspts[3] *= ry;
  13918. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  13919. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  13920. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  13921. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  13922. }
  13923. node.setSize(w, h);
  13924. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  13925. node.a('node.width', w);
  13926. node.a('node.height', h);
  13927. resetPoints(_ratio.ratioX, _ratio.ratioY);
  13928. node.borderWidth = 2;
  13929. node.a('node.borderwidth',node.borderWidth);
  13930. node._nodename = 'Node123_1';
  13931. node._nodeType = 'line';
  13932. zoomNodeList.push({
  13933. node: node,
  13934. attr: 'node.borderwidth'
  13935. });
  13936. var setWidth = node.setWidth,
  13937. setHeight = node.setHeight,
  13938. timer, rx = 1, ry = 1;
  13939. node.setWidth = function (width) {
  13940. var _width = this.getWidth();
  13941. rx = width / _width;
  13942. node.a('node.width', width);
  13943. setWidth.apply(this, arguments);
  13944. resetPoints(rx, 1);
  13945. }
  13946. node.setHeight = function (height) {
  13947. var _height = this.getHeight();
  13948. ry = height / _height;
  13949. node.a('node.height', height);
  13950. setHeight.apply(this, arguments);
  13951. resetPoints(1, ry);
  13952. }
  13953. })(Node123_1, Node123_1.getImage(), Node123_1compspts, Node123_1endCompspts, Node123_1startCompspts);
  13954. var Node123_2points=[1249, 679,1249, 705],
  13955. Node123_2rect=ht.Default.unionPoint([{x:1249,y:679},{x:1249,y:705}]),
  13956. Node123_2compspts=[];
  13957. _ratio = GD.getRatioWithRotation(0, ratio);
  13958. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  13959. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  13960. for(var i=0;i<Node123_2points.length;i++){
  13961. if(i%2==0){
  13962. Node123_2compspts.push(Node123_2points[i]-Node123_2rect.x);
  13963. }else{
  13964. Node123_2compspts.push(Node123_2points[i]-Node123_2rect.y);
  13965. }
  13966. }
  13967. var Node123_2ptslength=Node123_2compspts.length;
  13968. if (Node123_2rect.height === 0) {
  13969. Node123_2compspts[0] -= 0;
  13970. Node123_2compspts[Node123_2ptslength-2] += 0;
  13971. } else if (Node123_2rect.width === 0){
  13972. Node123_2compspts[1] -= 0;
  13973. Node123_2compspts[Node123_2ptslength-1] += 0;
  13974. } else {
  13975. Node123_2compspts[0] -= 0;
  13976. Node123_2compspts[1] -= 0;
  13977. Node123_2compspts[Node123_2ptslength-2] += 0;
  13978. Node123_2compspts[Node123_2ptslength-1] += 0;
  13979. }
  13980. Node123_2 = new ht.Node();
  13981. Node123_2.borderWidth = 2;
  13982. Node123_2rect.width = Node123_2rect.width === 0 ? 0.0001 : Node123_2rect.width;
  13983. Node123_2rect.height = Node123_2rect.height === 0 ? 0.0001 : Node123_2rect.height;
  13984. var Node123_2endCompspts = [Node123_2compspts[Node123_2ptslength-2],Node123_2compspts[Node123_2ptslength-1],0,0];
  13985. var Node123_2startCompspts = [Node123_2compspts[0],Node123_2compspts[1],0,0];
  13986. Node123_2.setImage(GD.getPolyLineJSON());
  13987. Node123_2.setPosition(Node123_2rect.x+Node123_2rect.width/2,Node123_2rect.y+Node123_2rect.height/2);
  13988. Node123_2.setSize(Node123_2rect.width,Node123_2rect.height);
  13989. Node123_2.setStyle("opacity",1);
  13990. Node123_2.s({'pixelPerfect':true});
  13991. Node123_2borderwidth=2;
  13992. Node123_2.setRotation(0);
  13993. dataModel.add(Node123_2);
  13994. Node123_2.a('node.points',Node123_2compspts);
  13995. Node123_2.a('node.segments',[1,2]);
  13996. Node123_2.a('node.color','rgba(255,128,0,1)');
  13997. Node123_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  13998. Node123_2.a('node.borderColor','rgba(255,128,0,1)');
  13999. Node123_2.a('node.background','rgba(255,128,0,1)');
  14000. Node123_2.a('node.gradient','');
  14001. Node123_2.a('node.gradientcolor','rgba(255,128,0,1)');
  14002. Node123_2.a('node.endCompspts',Node123_2endCompspts);
  14003. Node123_2.a('node.startCompspts',Node123_2startCompspts);
  14004. (function (node, img, compspts, endCompspts, startCompspts) {
  14005. var position = node.getPosition(),
  14006. w = node.getWidth()*_ratio.ratioX,
  14007. h = node.getHeight()*_ratio.ratioY;
  14008. function resetPoints(rx, ry) {
  14009. for (var i = 0, len = compspts.length; i < len; i++) {
  14010. if (i%2 === 0) {
  14011. compspts[i]*=rx;
  14012. } else {
  14013. compspts[i]*=ry;
  14014. }
  14015. }
  14016. endCompspts[0] = compspts[compspts.length-2];
  14017. endCompspts[1] = compspts[compspts.length-1];
  14018. endCompspts[2] *= rx;
  14019. endCompspts[3] *= ry;
  14020. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  14021. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  14022. startCompspts[0] = compspts[0];
  14023. startCompspts[1] = compspts[1];
  14024. startCompspts[2] *= rx;
  14025. startCompspts[3] *= ry;
  14026. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  14027. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  14028. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  14029. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  14030. }
  14031. node.setSize(w, h);
  14032. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  14033. node.a('node.width', w);
  14034. node.a('node.height', h);
  14035. resetPoints(_ratio.ratioX, _ratio.ratioY);
  14036. node.borderWidth = 2;
  14037. node.a('node.borderwidth',node.borderWidth);
  14038. node._nodename = 'Node123_2';
  14039. node._nodeType = 'line';
  14040. zoomNodeList.push({
  14041. node: node,
  14042. attr: 'node.borderwidth'
  14043. });
  14044. var setWidth = node.setWidth,
  14045. setHeight = node.setHeight,
  14046. timer, rx = 1, ry = 1;
  14047. node.setWidth = function (width) {
  14048. var _width = this.getWidth();
  14049. rx = width / _width;
  14050. node.a('node.width', width);
  14051. setWidth.apply(this, arguments);
  14052. resetPoints(rx, 1);
  14053. }
  14054. node.setHeight = function (height) {
  14055. var _height = this.getHeight();
  14056. ry = height / _height;
  14057. node.a('node.height', height);
  14058. setHeight.apply(this, arguments);
  14059. resetPoints(1, ry);
  14060. }
  14061. })(Node123_2, Node123_2.getImage(), Node123_2compspts, Node123_2endCompspts, Node123_2startCompspts);
  14062. var Node123_3rect=ht.Default.unionPoint([{x: 1243, y: 698},{x: 1243, y: 698},{x: 1254, y: 698},{x: 1249, y: 706}]),
  14063. Node123_3points=[1243,698,1243,698,1254,698,1249,706],
  14064. Node123_3compsPoints=[],
  14065. Node123_3SetPoints = [{x: 1243, y: 698},{x: 1243, y: 698},{x: 1254, y: 698},{x: 1249, y: 706}],
  14066. Node123_3setSegments = [1,2,2,2];
  14067. _ratio = GD.getRatioWithRotation(0, ratio);
  14068. for(var i=0;i<Node123_3points.length;i++){
  14069. if(i%2==0){
  14070. Node123_3compsPoints.push(Node123_3points[i]-Node123_3rect.x);
  14071. }else{
  14072. Node123_3compsPoints.push(Node123_3points[i]-Node123_3rect.y);
  14073. }
  14074. }
  14075. var Node123_3 = new ht.Node();
  14076. Node123_3.setImage(GD.getPolyGonJSON());
  14077. Node123_3.setPosition(Node123_3rect.x + Node123_3rect.width/2, Node123_3rect.y + Node123_3rect.height/2);
  14078. Node123_3.setSize(Node123_3rect.width, Node123_3rect.height);
  14079. Node123_3.setRotation(0);
  14080. Node123_3.borderWidth=0;
  14081. Node123_3.borderFillwidth=0*2;
  14082. Node123_3.s({'pixelPerfect':true});
  14083. dataModel.add(Node123_3);
  14084. // Node123_3.a('node.width', Node123_3rect.width*_ratio.ratioX);
  14085. // Node123_3.a('node.height', Node123_3rect.height*_ratio.ratioY);
  14086. Node123_3.a('node.clip', function(g,width,height,data) {
  14087. var clippoints = Node123_3SetPoints;
  14088. if(clippoints.length<=3) return;
  14089. if(Node123_3.a('Node123_3.isFill')=="false") return;
  14090. var clipcompsPoints=[];
  14091. var rect = ht.Default.unionPoint(clippoints);
  14092. for(var i=0;i<clippoints.length;i++){
  14093. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  14094. }
  14095. var clipsegments=Node123_3setSegments;
  14096. g.beginPath();
  14097. drawPoints(g,clipcompsPoints,clipsegments);
  14098. g.clip();
  14099. })
  14100. Node123_3.a('node.type', 'shape');
  14101. Node123_3.a('node.comsPoints', Node123_3compsPoints);
  14102. Node123_3.a('node.closePath', true);
  14103. Node123_3.a('node.borderwidth', 0);
  14104. Node123_3.a('node.color', 'rgba(255,128,0,0)');
  14105. Node123_3.a('node.background','rgba(255,128,0,1)');
  14106. Node123_3.a('node.closePath', true);
  14107. Node123_3.a('node.closePath', true);
  14108. Node123_3.a('node.gradient','');
  14109. Node123_3.a('node.gradientcolor','rgba(255,128,0,1)');
  14110. Node123_3.a('node.isFill','false');
  14111. Node123_3.a('node.original',[0,0,0,0]);
  14112. Node123_3.a('node.fillrect',[0,0,0,0]);
  14113. Node123_3.a('node.fillbackcolor','rgba(255,128,0,1)');
  14114. Node123_3.a('node.fillgradient','');
  14115. Node123_3.a('node.fillgradientcolor','rgba(255,128,0,1)');
  14116. Node123_3.a('node.segments',Node123_3setSegments);
  14117. Node123_3.a('node.borderPattern',"");
  14118. (function (node, nodecompsPoints, setPoints) {
  14119. var w = node.getWidth()*_ratio.ratioX,
  14120. h = node.getHeight()*_ratio.ratioY,
  14121. img = node.getImage();
  14122. function resetPoints(rx, ry) {
  14123. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  14124. if (i%2 === 0) {
  14125. nodecompsPoints[i]*=rx;
  14126. } else {
  14127. nodecompsPoints[i]*=ry;
  14128. }
  14129. if (setPoints[i]) {
  14130. setPoints[i].x *= rx;
  14131. setPoints[i].y *= ry;
  14132. }
  14133. }
  14134. }
  14135. node.setSize(w, h);
  14136. node.a('node.width', w);
  14137. node.a('node.height', h);
  14138. resetPoints(_ratio.ratioX, _ratio.ratioY);
  14139. var position = node.getPosition();
  14140. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  14141. node._nodename = 'Node123_3';
  14142. node._nodeType = 'polygon';
  14143. zoomNodeList.push({
  14144. node: node,
  14145. attr: 'node.borderwidth'
  14146. });
  14147. // 重载setWidth, setHeight
  14148. var setWidth = node.setWidth,
  14149. setHeight = node.setHeight,
  14150. timer, rx = 1, ry = 1;
  14151. node.setWidth = function (width) {
  14152. var _width = this.getWidth();
  14153. rx = width / _width;
  14154. node.a('node.width', width);
  14155. setWidth.apply(this, arguments);
  14156. resetPoints(rx, 1);
  14157. }
  14158. node.setHeight = function (height) {
  14159. var _height = this.getHeight();
  14160. ry = height / _height;
  14161. node.a('node.height', height);
  14162. setHeight.apply(this, arguments);
  14163. resetPoints(1, ry);
  14164. }
  14165. })(Node123_3, Node123_3compsPoints, Node123_3SetPoints );
  14166. var Node123_4points=[1245, 731,1253, 731],
  14167. Node123_4rect=ht.Default.unionPoint([{x:1245,y:731},{x:1253,y:731}]),
  14168. Node123_4compspts=[];
  14169. _ratio = GD.getRatioWithRotation(0, ratio);
  14170. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  14171. _endratio = GD.getRatioWithRotation(0, ratio);
  14172. for(var i=0;i<Node123_4points.length;i++){
  14173. if(i%2==0){
  14174. Node123_4compspts.push(Node123_4points[i]-Node123_4rect.x);
  14175. }else{
  14176. Node123_4compspts.push(Node123_4points[i]-Node123_4rect.y);
  14177. }
  14178. }
  14179. var Node123_4ptslength=Node123_4compspts.length;
  14180. if (Node123_4rect.height === 0) {
  14181. Node123_4compspts[0] -= 0;
  14182. Node123_4compspts[Node123_4ptslength-2] += 0;
  14183. } else if (Node123_4rect.width === 0){
  14184. Node123_4compspts[1] -= 0;
  14185. Node123_4compspts[Node123_4ptslength-1] += 0;
  14186. } else {
  14187. Node123_4compspts[0] -= 0;
  14188. Node123_4compspts[1] -= 0;
  14189. Node123_4compspts[Node123_4ptslength-2] += 0;
  14190. Node123_4compspts[Node123_4ptslength-1] += 0;
  14191. }
  14192. Node123_4 = new ht.Node();
  14193. Node123_4.borderWidth = 2;
  14194. Node123_4rect.width = Node123_4rect.width === 0 ? 0.0001 : Node123_4rect.width;
  14195. Node123_4rect.height = Node123_4rect.height === 0 ? 0.0001 : Node123_4rect.height;
  14196. var Node123_4endCompspts = [Node123_4compspts[Node123_4ptslength-2],Node123_4compspts[Node123_4ptslength-1],0,0];
  14197. var Node123_4startCompspts = [Node123_4compspts[0],Node123_4compspts[1],0,0];
  14198. Node123_4.setImage(GD.getPolyLineJSON());
  14199. Node123_4.setPosition(Node123_4rect.x+Node123_4rect.width/2,Node123_4rect.y+Node123_4rect.height/2);
  14200. Node123_4.setSize(Node123_4rect.width,Node123_4rect.height);
  14201. Node123_4.setStyle("opacity",1);
  14202. Node123_4.s({'pixelPerfect':true});
  14203. Node123_4borderwidth=2;
  14204. Node123_4.setRotation(0);
  14205. dataModel.add(Node123_4);
  14206. Node123_4.a('node.points',Node123_4compspts);
  14207. Node123_4.a('node.segments',[1,2]);
  14208. Node123_4.a('node.color','rgba(255,128,0,1)');
  14209. Node123_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
  14210. Node123_4.a('node.borderColor','rgba(255,128,0,1)');
  14211. Node123_4.a('node.background','rgba(255,128,0,1)');
  14212. Node123_4.a('node.gradient','');
  14213. Node123_4.a('node.gradientcolor','rgba(255,128,0,1)');
  14214. Node123_4.a('node.endCompspts',Node123_4endCompspts);
  14215. Node123_4.a('node.startCompspts',Node123_4startCompspts);
  14216. (function (node, img, compspts, endCompspts, startCompspts) {
  14217. var position = node.getPosition(),
  14218. w = node.getWidth()*_ratio.ratioX,
  14219. h = node.getHeight()*_ratio.ratioY;
  14220. function resetPoints(rx, ry) {
  14221. for (var i = 0, len = compspts.length; i < len; i++) {
  14222. if (i%2 === 0) {
  14223. compspts[i]*=rx;
  14224. } else {
  14225. compspts[i]*=ry;
  14226. }
  14227. }
  14228. endCompspts[0] = compspts[compspts.length-2];
  14229. endCompspts[1] = compspts[compspts.length-1];
  14230. endCompspts[2] *= rx;
  14231. endCompspts[3] *= ry;
  14232. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  14233. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  14234. startCompspts[0] = compspts[0];
  14235. startCompspts[1] = compspts[1];
  14236. startCompspts[2] *= rx;
  14237. startCompspts[3] *= ry;
  14238. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  14239. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  14240. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  14241. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  14242. }
  14243. node.setSize(w, h);
  14244. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  14245. node.a('node.width', w);
  14246. node.a('node.height', h);
  14247. resetPoints(_ratio.ratioX, _ratio.ratioY);
  14248. node.borderWidth = 2;
  14249. node.a('node.borderwidth',node.borderWidth);
  14250. node._nodename = 'Node123_4';
  14251. node._nodeType = 'line';
  14252. zoomNodeList.push({
  14253. node: node,
  14254. attr: 'node.borderwidth'
  14255. });
  14256. var setWidth = node.setWidth,
  14257. setHeight = node.setHeight,
  14258. timer, rx = 1, ry = 1;
  14259. node.setWidth = function (width) {
  14260. var _width = this.getWidth();
  14261. rx = width / _width;
  14262. node.a('node.width', width);
  14263. setWidth.apply(this, arguments);
  14264. resetPoints(rx, 1);
  14265. }
  14266. node.setHeight = function (height) {
  14267. var _height = this.getHeight();
  14268. ry = height / _height;
  14269. node.a('node.height', height);
  14270. setHeight.apply(this, arguments);
  14271. resetPoints(1, ry);
  14272. }
  14273. })(Node123_4, Node123_4.getImage(), Node123_4compspts, Node123_4endCompspts, Node123_4startCompspts);
  14274. var Node123_5points=[1241, 729,1257, 729],
  14275. Node123_5rect=ht.Default.unionPoint([{x:1241,y:729},{x:1257,y:729}]),
  14276. Node123_5compspts=[];
  14277. _ratio = GD.getRatioWithRotation(0, ratio);
  14278. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  14279. _endratio = GD.getRatioWithRotation(0, ratio);
  14280. for(var i=0;i<Node123_5points.length;i++){
  14281. if(i%2==0){
  14282. Node123_5compspts.push(Node123_5points[i]-Node123_5rect.x);
  14283. }else{
  14284. Node123_5compspts.push(Node123_5points[i]-Node123_5rect.y);
  14285. }
  14286. }
  14287. var Node123_5ptslength=Node123_5compspts.length;
  14288. if (Node123_5rect.height === 0) {
  14289. Node123_5compspts[0] -= 0;
  14290. Node123_5compspts[Node123_5ptslength-2] += 0;
  14291. } else if (Node123_5rect.width === 0){
  14292. Node123_5compspts[1] -= 0;
  14293. Node123_5compspts[Node123_5ptslength-1] += 0;
  14294. } else {
  14295. Node123_5compspts[0] -= 0;
  14296. Node123_5compspts[1] -= 0;
  14297. Node123_5compspts[Node123_5ptslength-2] += 0;
  14298. Node123_5compspts[Node123_5ptslength-1] += 0;
  14299. }
  14300. Node123_5 = new ht.Node();
  14301. Node123_5.borderWidth = 2;
  14302. Node123_5rect.width = Node123_5rect.width === 0 ? 0.0001 : Node123_5rect.width;
  14303. Node123_5rect.height = Node123_5rect.height === 0 ? 0.0001 : Node123_5rect.height;
  14304. var Node123_5endCompspts = [Node123_5compspts[Node123_5ptslength-2],Node123_5compspts[Node123_5ptslength-1],0,0];
  14305. var Node123_5startCompspts = [Node123_5compspts[0],Node123_5compspts[1],0,0];
  14306. Node123_5.setImage(GD.getPolyLineJSON());
  14307. Node123_5.setPosition(Node123_5rect.x+Node123_5rect.width/2,Node123_5rect.y+Node123_5rect.height/2);
  14308. Node123_5.setSize(Node123_5rect.width,Node123_5rect.height);
  14309. Node123_5.setStyle("opacity",1);
  14310. Node123_5.s({'pixelPerfect':true});
  14311. Node123_5borderwidth=2;
  14312. Node123_5.setRotation(0);
  14313. dataModel.add(Node123_5);
  14314. Node123_5.a('node.points',Node123_5compspts);
  14315. Node123_5.a('node.segments',[1,2]);
  14316. Node123_5.a('node.color','rgba(255,128,0,1)');
  14317. Node123_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  14318. Node123_5.a('node.borderColor','rgba(255,128,0,1)');
  14319. Node123_5.a('node.background','rgba(255,128,0,1)');
  14320. Node123_5.a('node.gradient','');
  14321. Node123_5.a('node.gradientcolor','rgba(255,128,0,1)');
  14322. Node123_5.a('node.endCompspts',Node123_5endCompspts);
  14323. Node123_5.a('node.startCompspts',Node123_5startCompspts);
  14324. (function (node, img, compspts, endCompspts, startCompspts) {
  14325. var position = node.getPosition(),
  14326. w = node.getWidth()*_ratio.ratioX,
  14327. h = node.getHeight()*_ratio.ratioY;
  14328. function resetPoints(rx, ry) {
  14329. for (var i = 0, len = compspts.length; i < len; i++) {
  14330. if (i%2 === 0) {
  14331. compspts[i]*=rx;
  14332. } else {
  14333. compspts[i]*=ry;
  14334. }
  14335. }
  14336. endCompspts[0] = compspts[compspts.length-2];
  14337. endCompspts[1] = compspts[compspts.length-1];
  14338. endCompspts[2] *= rx;
  14339. endCompspts[3] *= ry;
  14340. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  14341. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  14342. startCompspts[0] = compspts[0];
  14343. startCompspts[1] = compspts[1];
  14344. startCompspts[2] *= rx;
  14345. startCompspts[3] *= ry;
  14346. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  14347. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  14348. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  14349. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  14350. }
  14351. node.setSize(w, h);
  14352. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  14353. node.a('node.width', w);
  14354. node.a('node.height', h);
  14355. resetPoints(_ratio.ratioX, _ratio.ratioY);
  14356. node.borderWidth = 2;
  14357. node.a('node.borderwidth',node.borderWidth);
  14358. node._nodename = 'Node123_5';
  14359. node._nodeType = 'line';
  14360. zoomNodeList.push({
  14361. node: node,
  14362. attr: 'node.borderwidth'
  14363. });
  14364. var setWidth = node.setWidth,
  14365. setHeight = node.setHeight,
  14366. timer, rx = 1, ry = 1;
  14367. node.setWidth = function (width) {
  14368. var _width = this.getWidth();
  14369. rx = width / _width;
  14370. node.a('node.width', width);
  14371. setWidth.apply(this, arguments);
  14372. resetPoints(rx, 1);
  14373. }
  14374. node.setHeight = function (height) {
  14375. var _height = this.getHeight();
  14376. ry = height / _height;
  14377. node.a('node.height', height);
  14378. setHeight.apply(this, arguments);
  14379. resetPoints(1, ry);
  14380. }
  14381. })(Node123_5, Node123_5.getImage(), Node123_5compspts, Node123_5endCompspts, Node123_5startCompspts);
  14382. var Node123_6points=[1239, 726,1259, 726],
  14383. Node123_6rect=ht.Default.unionPoint([{x:1239,y:726},{x:1259,y:726}]),
  14384. Node123_6compspts=[];
  14385. _ratio = GD.getRatioWithRotation(0, ratio);
  14386. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  14387. _endratio = GD.getRatioWithRotation(0, ratio);
  14388. for(var i=0;i<Node123_6points.length;i++){
  14389. if(i%2==0){
  14390. Node123_6compspts.push(Node123_6points[i]-Node123_6rect.x);
  14391. }else{
  14392. Node123_6compspts.push(Node123_6points[i]-Node123_6rect.y);
  14393. }
  14394. }
  14395. var Node123_6ptslength=Node123_6compspts.length;
  14396. if (Node123_6rect.height === 0) {
  14397. Node123_6compspts[0] -= 0;
  14398. Node123_6compspts[Node123_6ptslength-2] += 0;
  14399. } else if (Node123_6rect.width === 0){
  14400. Node123_6compspts[1] -= 0;
  14401. Node123_6compspts[Node123_6ptslength-1] += 0;
  14402. } else {
  14403. Node123_6compspts[0] -= 0;
  14404. Node123_6compspts[1] -= 0;
  14405. Node123_6compspts[Node123_6ptslength-2] += 0;
  14406. Node123_6compspts[Node123_6ptslength-1] += 0;
  14407. }
  14408. Node123_6 = new ht.Node();
  14409. Node123_6.borderWidth = 2;
  14410. Node123_6rect.width = Node123_6rect.width === 0 ? 0.0001 : Node123_6rect.width;
  14411. Node123_6rect.height = Node123_6rect.height === 0 ? 0.0001 : Node123_6rect.height;
  14412. var Node123_6endCompspts = [Node123_6compspts[Node123_6ptslength-2],Node123_6compspts[Node123_6ptslength-1],0,0];
  14413. var Node123_6startCompspts = [Node123_6compspts[0],Node123_6compspts[1],0,0];
  14414. Node123_6.setImage(GD.getPolyLineJSON());
  14415. Node123_6.setPosition(Node123_6rect.x+Node123_6rect.width/2,Node123_6rect.y+Node123_6rect.height/2);
  14416. Node123_6.setSize(Node123_6rect.width,Node123_6rect.height);
  14417. Node123_6.setStyle("opacity",1);
  14418. Node123_6.s({'pixelPerfect':true});
  14419. Node123_6borderwidth=2;
  14420. Node123_6.setRotation(0);
  14421. dataModel.add(Node123_6);
  14422. Node123_6.a('node.points',Node123_6compspts);
  14423. Node123_6.a('node.segments',[1,2]);
  14424. Node123_6.a('node.color','rgba(255,128,0,1)');
  14425. Node123_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  14426. Node123_6.a('node.borderColor','rgba(255,128,0,1)');
  14427. Node123_6.a('node.background','rgba(255,128,0,1)');
  14428. Node123_6.a('node.gradient','');
  14429. Node123_6.a('node.gradientcolor','rgba(255,128,0,1)');
  14430. Node123_6.a('node.endCompspts',Node123_6endCompspts);
  14431. Node123_6.a('node.startCompspts',Node123_6startCompspts);
  14432. (function (node, img, compspts, endCompspts, startCompspts) {
  14433. var position = node.getPosition(),
  14434. w = node.getWidth()*_ratio.ratioX,
  14435. h = node.getHeight()*_ratio.ratioY;
  14436. function resetPoints(rx, ry) {
  14437. for (var i = 0, len = compspts.length; i < len; i++) {
  14438. if (i%2 === 0) {
  14439. compspts[i]*=rx;
  14440. } else {
  14441. compspts[i]*=ry;
  14442. }
  14443. }
  14444. endCompspts[0] = compspts[compspts.length-2];
  14445. endCompspts[1] = compspts[compspts.length-1];
  14446. endCompspts[2] *= rx;
  14447. endCompspts[3] *= ry;
  14448. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  14449. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  14450. startCompspts[0] = compspts[0];
  14451. startCompspts[1] = compspts[1];
  14452. startCompspts[2] *= rx;
  14453. startCompspts[3] *= ry;
  14454. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  14455. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  14456. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  14457. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  14458. }
  14459. node.setSize(w, h);
  14460. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  14461. node.a('node.width', w);
  14462. node.a('node.height', h);
  14463. resetPoints(_ratio.ratioX, _ratio.ratioY);
  14464. node.borderWidth = 2;
  14465. node.a('node.borderwidth',node.borderWidth);
  14466. node._nodename = 'Node123_6';
  14467. node._nodeType = 'line';
  14468. zoomNodeList.push({
  14469. node: node,
  14470. attr: 'node.borderwidth'
  14471. });
  14472. var setWidth = node.setWidth,
  14473. setHeight = node.setHeight,
  14474. timer, rx = 1, ry = 1;
  14475. node.setWidth = function (width) {
  14476. var _width = this.getWidth();
  14477. rx = width / _width;
  14478. node.a('node.width', width);
  14479. setWidth.apply(this, arguments);
  14480. resetPoints(rx, 1);
  14481. }
  14482. node.setHeight = function (height) {
  14483. var _height = this.getHeight();
  14484. ry = height / _height;
  14485. node.a('node.height', height);
  14486. setHeight.apply(this, arguments);
  14487. resetPoints(1, ry);
  14488. }
  14489. })(Node123_6, Node123_6.getImage(), Node123_6compspts, Node123_6endCompspts, Node123_6startCompspts);
  14490. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14491. var Node124 = new ht.Node();
  14492. var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 68*_ratio.ratioX, Node124height = 18*_ratio.ratioY;
  14493. (function () {
  14494. if (Node124align === 'left') {
  14495. Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
  14496. Node124textWidth = Node124width;
  14497. Node124lineStart = 1;
  14498. } else if (Node124align === 'right') {
  14499. Node124textStart = 0;
  14500. Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
  14501. Node124lineStart = (Node124width - (ht.Default.getTextSize('313-10', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
  14502. } else if (Node124align === 'center') {
  14503. Node124textStart = -3;
  14504. Node124textWidth = Node124width;
  14505. Node124lineStart = Node124width - ht.Default.getTextSize('313-10', ' '+ Node124fontSize + 'px "Arial"').width - 11;
  14506. }
  14507. })();
  14508. Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
  14509. Node124.setPosition(1359*ratio.ratioX, 713*ratio.ratioY);
  14510. Node124.setWidth(Node124width);
  14511. Node124.setHeight(Node124height);
  14512. Node124._nodeType = 'text';
  14513. Node124._disallowEvert = true;
  14514. Node124.setRotation(0*Math.PI/180);
  14515. Node124.a('node.width', Node124width);
  14516. Node124.a('node.height', Node124height);
  14517. Node124.a('node.rect', [0, 0, Node124width, Node124height]);
  14518. Node124.a('node.bordercolor','rgba(0,0,0,1)');
  14519. Node124.a('node.borderwidth', 0);
  14520. Node124.a('node.background','' || 'rgba(0,0,0,0)');
  14521. Node124.a('node.gradient','');
  14522. Node124.a('node.gradientcolor','');
  14523. Node124.a('node.text','313-10');
  14524. Node124.a('node.textalign','left');
  14525. Node124.a('node.textvAlign','middle');
  14526. Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
  14527. Node124.a('node.color','rgba(0,0,0,1)');
  14528. Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
  14529. Node124.a('node.textvisible',true);
  14530. Node124.a('node.linefeed',false);
  14531. if (false) {
  14532. Node124.a('node.textfunc',function(g) {
  14533. g.beginPath();
  14534. var str=Node124.a('node.text') || '313-10';
  14535. var color=Node124.a('node.color') || 'rgba(0,0,0,1)';
  14536. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
  14537. });
  14538. }
  14539. if (false) {
  14540. Node124.a('node.underlinepoints',[Node124lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('313-10', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
  14541. Node124.a('node.underlinevisible',false);
  14542. Node124.a('node.underlineBorderWidth', 1);
  14543. }
  14544. dataModel.add(Node124);
  14545. zoomNodeList.push({
  14546. node: Node124,
  14547. borderWidth: 0,
  14548. attr: 'node.borderwidth'
  14549. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14550. var Node125type = 'rect';
  14551. var Node125 = new ht.Node(),
  14552. Node125BorderWidth = 0*2;
  14553. if (Node125type === 'arc') {
  14554. Node125BorderWidth *= 0;
  14555. }
  14556. Node125.setImage(GD.getRectJSON(96.14758*_ratio.ratioX, 19.82983*_ratio.ratioY, Node125type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14557. Node125.setPosition(546*ratio.ratioX, 755*ratio.ratioY);
  14558. Node125.setSize(96.14758*_ratio.ratioX, 19.82983*_ratio.ratioY);
  14559. Node125.s({
  14560. 'pixelPerfect':true
  14561. /*@AddPara@*/
  14562. });
  14563. Node125.a('node.width', 96.14758*_ratio.ratioX);
  14564. Node125.a('node.height', 19.82983*_ratio.ratioY);
  14565. Node125.a('node.type', Node125type);
  14566. Node125.a('node.rect', [0, 0, 96.14758*_ratio.ratioX, 19.82983*_ratio.ratioY]);
  14567. Node125.a('node.background', 'rgba(0,0,192,1)');
  14568. Node125.a('node.gradientcolor', 'rgba(0,0,192,1)');
  14569. Node125.a('node.gradient', '');
  14570. Node125.a('node.borderwidth', Node125BorderWidth);
  14571. Node125.a('node.color', 'rgba(0,0,0,0)');
  14572. Node125.a('node.fillrect', [0,0,0,0]);
  14573. Node125.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14574. Node125.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14575. Node125.a('node.fillgradient', '');
  14576. if (Node125type !== 'rect') {
  14577. Node125.a('node.arcFrom', parseFloat('@arcFrom@'));
  14578. Node125.a('node.arcTo', parseFloat('@arcTo@'));
  14579. Node125.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14580. }
  14581. if (Node125type === 'arc') {
  14582. Node125.a('node.arcOval', true);
  14583. }
  14584. Node125.setRotation(0*Math.PI/180);
  14585. Node125.borderWidth = Node125BorderWidth;
  14586. Node125.borderFillwidth = Node125BorderWidth;
  14587. dataModel.add(Node125);
  14588. Node125._nodename = 'Node125'
  14589. Node125._nodeType = 'rect';
  14590. zoomNodeList.push({
  14591. node: Node125,
  14592. attr: 'node.borderwidth'
  14593. });
  14594. (function (node, _img) {
  14595. var setWidth = node.setWidth,
  14596. setHeight = node.setHeight;
  14597. node.setWidth = function (width) {
  14598. if (width === this.getWidth()) return ;
  14599. var height = this.getHeight();
  14600. this.a('node.width', width);
  14601. this.a('node.rect', [0,0,width, height]);
  14602. setWidth.apply(this, arguments);
  14603. }
  14604. node.setHeight = function (height) {
  14605. if (height === this.getHeight()) return ;
  14606. var width = this.getWidth();
  14607. this.a('node.height', height);
  14608. this.a('node.rect', [0,0,width, height]);
  14609. setHeight.apply(this, arguments);
  14610. }
  14611. })(Node125, Node125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14612. var Node126 = new ht.Node();
  14613. var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 116*_ratio.ratioX, Node126height = 28*_ratio.ratioY;
  14614. (function () {
  14615. if (Node126align === 'left') {
  14616. Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
  14617. Node126textWidth = Node126width;
  14618. Node126lineStart = 1;
  14619. } else if (Node126align === 'right') {
  14620. Node126textStart = 0;
  14621. Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
  14622. Node126lineStart = (Node126width - (ht.Default.getTextSize('集电 I 线', ' '+ Node126fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  14623. } else if (Node126align === 'center') {
  14624. Node126textStart = -3;
  14625. Node126textWidth = Node126width;
  14626. Node126lineStart = Node126width - ht.Default.getTextSize('集电 I 线', ' '+ Node126fontSize + 'px "微软雅黑"').width - 11;
  14627. }
  14628. })();
  14629. Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "微软雅黑"'))
  14630. Node126.setPosition(574*ratio.ratioX, 754*ratio.ratioY);
  14631. Node126.setWidth(Node126width);
  14632. Node126.setHeight(Node126height);
  14633. Node126._nodeType = 'text';
  14634. Node126._disallowEvert = true;
  14635. Node126.setRotation(0*Math.PI/180);
  14636. Node126.a('node.width', Node126width);
  14637. Node126.a('node.height', Node126height);
  14638. Node126.a('node.rect', [0, 0, Node126width, Node126height]);
  14639. Node126.a('node.bordercolor','rgba(255,255,255,1)');
  14640. Node126.a('node.borderwidth', 0);
  14641. Node126.a('node.background','' || 'rgba(0,0,0,0)');
  14642. Node126.a('node.gradient','');
  14643. Node126.a('node.gradientcolor','');
  14644. Node126.a('node.text','集电 I 线');
  14645. Node126.a('node.textalign','left');
  14646. Node126.a('node.textvAlign','middle');
  14647. Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
  14648. Node126.a('node.color','rgba(255,255,255,1)');
  14649. Node126.a('node.font',' '+ Node126fontSize + 'px "微软雅黑"');
  14650. Node126.a('node.textvisible',true);
  14651. Node126.a('node.linefeed',false);
  14652. if (false) {
  14653. Node126.a('node.textfunc',function(g) {
  14654. g.beginPath();
  14655. var str=Node126.a('node.text') || '集电 I 线';
  14656. var color=Node126.a('node.color') || 'rgba(255,255,255,1)';
  14657. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "微软雅黑"', 0,g);
  14658. });
  14659. }
  14660. if (false) {
  14661. Node126.a('node.underlinepoints',[Node126lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('集电 I 线', ' '+ Node126fontSize + 'px "微软雅黑"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
  14662. Node126.a('node.underlinevisible',false);
  14663. Node126.a('node.underlineBorderWidth', 1);
  14664. }
  14665. dataModel.add(Node126);
  14666. zoomNodeList.push({
  14667. node: Node126,
  14668. borderWidth: 0,
  14669. attr: 'node.borderwidth'
  14670. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14671. var Node127type = 'rect';
  14672. var Node127 = new ht.Node(),
  14673. Node127BorderWidth = 0*2;
  14674. if (Node127type === 'arc') {
  14675. Node127BorderWidth *= 0;
  14676. }
  14677. Node127.setImage(GD.getRectJSON(96.14758*_ratio.ratioX, 19.82983*_ratio.ratioY, Node127type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14678. Node127.setPosition(907*ratio.ratioX, 755*ratio.ratioY);
  14679. Node127.setSize(96.14758*_ratio.ratioX, 19.82983*_ratio.ratioY);
  14680. Node127.s({
  14681. 'pixelPerfect':true
  14682. /*@AddPara@*/
  14683. });
  14684. Node127.a('node.width', 96.14758*_ratio.ratioX);
  14685. Node127.a('node.height', 19.82983*_ratio.ratioY);
  14686. Node127.a('node.type', Node127type);
  14687. Node127.a('node.rect', [0, 0, 96.14758*_ratio.ratioX, 19.82983*_ratio.ratioY]);
  14688. Node127.a('node.background', 'rgba(0,0,192,1)');
  14689. Node127.a('node.gradientcolor', 'rgba(0,0,192,1)');
  14690. Node127.a('node.gradient', '');
  14691. Node127.a('node.borderwidth', Node127BorderWidth);
  14692. Node127.a('node.color', 'rgba(0,0,0,0)');
  14693. Node127.a('node.fillrect', [0,0,0,0]);
  14694. Node127.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14695. Node127.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14696. Node127.a('node.fillgradient', '');
  14697. if (Node127type !== 'rect') {
  14698. Node127.a('node.arcFrom', parseFloat('@arcFrom@'));
  14699. Node127.a('node.arcTo', parseFloat('@arcTo@'));
  14700. Node127.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14701. }
  14702. if (Node127type === 'arc') {
  14703. Node127.a('node.arcOval', true);
  14704. }
  14705. Node127.setRotation(0*Math.PI/180);
  14706. Node127.borderWidth = Node127BorderWidth;
  14707. Node127.borderFillwidth = Node127BorderWidth;
  14708. dataModel.add(Node127);
  14709. Node127._nodename = 'Node127'
  14710. Node127._nodeType = 'rect';
  14711. zoomNodeList.push({
  14712. node: Node127,
  14713. attr: 'node.borderwidth'
  14714. });
  14715. (function (node, _img) {
  14716. var setWidth = node.setWidth,
  14717. setHeight = node.setHeight;
  14718. node.setWidth = function (width) {
  14719. if (width === this.getWidth()) return ;
  14720. var height = this.getHeight();
  14721. this.a('node.width', width);
  14722. this.a('node.rect', [0,0,width, height]);
  14723. setWidth.apply(this, arguments);
  14724. }
  14725. node.setHeight = function (height) {
  14726. if (height === this.getHeight()) return ;
  14727. var width = this.getWidth();
  14728. this.a('node.height', height);
  14729. this.a('node.rect', [0,0,width, height]);
  14730. setHeight.apply(this, arguments);
  14731. }
  14732. })(Node127, Node127.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14733. var Node128 = new ht.Node();
  14734. var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'left', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 116*_ratio.ratioX, Node128height = 28*_ratio.ratioY;
  14735. (function () {
  14736. if (Node128align === 'left') {
  14737. Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
  14738. Node128textWidth = Node128width;
  14739. Node128lineStart = 1;
  14740. } else if (Node128align === 'right') {
  14741. Node128textStart = 0;
  14742. Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
  14743. Node128lineStart = (Node128width - (ht.Default.getTextSize('集电 I I 线', ' '+ Node128fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  14744. } else if (Node128align === 'center') {
  14745. Node128textStart = -3;
  14746. Node128textWidth = Node128width;
  14747. Node128lineStart = Node128width - ht.Default.getTextSize('集电 I I 线', ' '+ Node128fontSize + 'px "微软雅黑"').width - 11;
  14748. }
  14749. })();
  14750. Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "微软雅黑"'))
  14751. Node128.setPosition(932*ratio.ratioX, 754*ratio.ratioY);
  14752. Node128.setWidth(Node128width);
  14753. Node128.setHeight(Node128height);
  14754. Node128._nodeType = 'text';
  14755. Node128._disallowEvert = true;
  14756. Node128.setRotation(0*Math.PI/180);
  14757. Node128.a('node.width', Node128width);
  14758. Node128.a('node.height', Node128height);
  14759. Node128.a('node.rect', [0, 0, Node128width, Node128height]);
  14760. Node128.a('node.bordercolor','rgba(255,255,255,1)');
  14761. Node128.a('node.borderwidth', 0);
  14762. Node128.a('node.background','' || 'rgba(0,0,0,0)');
  14763. Node128.a('node.gradient','');
  14764. Node128.a('node.gradientcolor','');
  14765. Node128.a('node.text','集电 I I 线');
  14766. Node128.a('node.textalign','left');
  14767. Node128.a('node.textvAlign','middle');
  14768. Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
  14769. Node128.a('node.color','rgba(255,255,255,1)');
  14770. Node128.a('node.font',' '+ Node128fontSize + 'px "微软雅黑"');
  14771. Node128.a('node.textvisible',true);
  14772. Node128.a('node.linefeed',false);
  14773. if (false) {
  14774. Node128.a('node.textfunc',function(g) {
  14775. g.beginPath();
  14776. var str=Node128.a('node.text') || '集电 I I 线';
  14777. var color=Node128.a('node.color') || 'rgba(255,255,255,1)';
  14778. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"left",color,' '+ Node128fontSize + 'px "微软雅黑"', 0,g);
  14779. });
  14780. }
  14781. if (false) {
  14782. Node128.a('node.underlinepoints',[Node128lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('集电 I I 线', ' '+ Node128fontSize + 'px "微软雅黑"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
  14783. Node128.a('node.underlinevisible',false);
  14784. Node128.a('node.underlineBorderWidth', 1);
  14785. }
  14786. dataModel.add(Node128);
  14787. zoomNodeList.push({
  14788. node: Node128,
  14789. borderWidth: 0,
  14790. attr: 'node.borderwidth'
  14791. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14792. var Node129type = 'rect';
  14793. var Node129 = new ht.Node(),
  14794. Node129BorderWidth = 0*2;
  14795. if (Node129type === 'arc') {
  14796. Node129BorderWidth *= 0;
  14797. }
  14798. Node129.setImage(GD.getRectJSON(96.14771*_ratio.ratioX, 19.82983*_ratio.ratioY, Node129type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14799. Node129.setPosition(1281*ratio.ratioX, 755*ratio.ratioY);
  14800. Node129.setSize(96.14771*_ratio.ratioX, 19.82983*_ratio.ratioY);
  14801. Node129.s({
  14802. 'pixelPerfect':true
  14803. /*@AddPara@*/
  14804. });
  14805. Node129.a('node.width', 96.14771*_ratio.ratioX);
  14806. Node129.a('node.height', 19.82983*_ratio.ratioY);
  14807. Node129.a('node.type', Node129type);
  14808. Node129.a('node.rect', [0, 0, 96.14771*_ratio.ratioX, 19.82983*_ratio.ratioY]);
  14809. Node129.a('node.background', 'rgba(0,0,192,1)');
  14810. Node129.a('node.gradientcolor', 'rgba(0,0,192,1)');
  14811. Node129.a('node.gradient', '');
  14812. Node129.a('node.borderwidth', Node129BorderWidth);
  14813. Node129.a('node.color', 'rgba(0,0,0,0)');
  14814. Node129.a('node.fillrect', [0,0,0,0]);
  14815. Node129.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14816. Node129.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14817. Node129.a('node.fillgradient', '');
  14818. if (Node129type !== 'rect') {
  14819. Node129.a('node.arcFrom', parseFloat('@arcFrom@'));
  14820. Node129.a('node.arcTo', parseFloat('@arcTo@'));
  14821. Node129.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14822. }
  14823. if (Node129type === 'arc') {
  14824. Node129.a('node.arcOval', true);
  14825. }
  14826. Node129.setRotation(0*Math.PI/180);
  14827. Node129.borderWidth = Node129BorderWidth;
  14828. Node129.borderFillwidth = Node129BorderWidth;
  14829. dataModel.add(Node129);
  14830. Node129._nodename = 'Node129'
  14831. Node129._nodeType = 'rect';
  14832. zoomNodeList.push({
  14833. node: Node129,
  14834. attr: 'node.borderwidth'
  14835. });
  14836. (function (node, _img) {
  14837. var setWidth = node.setWidth,
  14838. setHeight = node.setHeight;
  14839. node.setWidth = function (width) {
  14840. if (width === this.getWidth()) return ;
  14841. var height = this.getHeight();
  14842. this.a('node.width', width);
  14843. this.a('node.rect', [0,0,width, height]);
  14844. setWidth.apply(this, arguments);
  14845. }
  14846. node.setHeight = function (height) {
  14847. if (height === this.getHeight()) return ;
  14848. var width = this.getWidth();
  14849. this.a('node.height', height);
  14850. this.a('node.rect', [0,0,width, height]);
  14851. setHeight.apply(this, arguments);
  14852. }
  14853. })(Node129, Node129.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14854. var Node130 = new ht.Node();
  14855. var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 116*_ratio.ratioX, Node130height = 28*_ratio.ratioY;
  14856. (function () {
  14857. if (Node130align === 'left') {
  14858. Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
  14859. Node130textWidth = Node130width;
  14860. Node130lineStart = 1;
  14861. } else if (Node130align === 'right') {
  14862. Node130textStart = 0;
  14863. Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
  14864. Node130lineStart = (Node130width - (ht.Default.getTextSize('1# 站 变', ' '+ Node130fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  14865. } else if (Node130align === 'center') {
  14866. Node130textStart = -3;
  14867. Node130textWidth = Node130width;
  14868. Node130lineStart = Node130width - ht.Default.getTextSize('1# 站 变', ' '+ Node130fontSize + 'px "微软雅黑"').width - 11;
  14869. }
  14870. })();
  14871. Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "微软雅黑"'))
  14872. Node130.setPosition(1310*ratio.ratioX, 754*ratio.ratioY);
  14873. Node130.setWidth(Node130width);
  14874. Node130.setHeight(Node130height);
  14875. Node130._nodeType = 'text';
  14876. Node130._disallowEvert = true;
  14877. Node130.setRotation(0*Math.PI/180);
  14878. Node130.a('node.width', Node130width);
  14879. Node130.a('node.height', Node130height);
  14880. Node130.a('node.rect', [0, 0, Node130width, Node130height]);
  14881. Node130.a('node.bordercolor','rgba(255,255,255,1)');
  14882. Node130.a('node.borderwidth', 0);
  14883. Node130.a('node.background','' || 'rgba(0,0,0,0)');
  14884. Node130.a('node.gradient','');
  14885. Node130.a('node.gradientcolor','');
  14886. Node130.a('node.text','1# 站 变');
  14887. Node130.a('node.textalign','left');
  14888. Node130.a('node.textvAlign','middle');
  14889. Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
  14890. Node130.a('node.color','rgba(255,255,255,1)');
  14891. Node130.a('node.font',' '+ Node130fontSize + 'px "微软雅黑"');
  14892. Node130.a('node.textvisible',true);
  14893. Node130.a('node.linefeed',false);
  14894. if (false) {
  14895. Node130.a('node.textfunc',function(g) {
  14896. g.beginPath();
  14897. var str=Node130.a('node.text') || '1# 站 变';
  14898. var color=Node130.a('node.color') || 'rgba(255,255,255,1)';
  14899. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"left",color,' '+ Node130fontSize + 'px "微软雅黑"', 0,g);
  14900. });
  14901. }
  14902. if (false) {
  14903. Node130.a('node.underlinepoints',[Node130lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('1# 站 变', ' '+ Node130fontSize + 'px "微软雅黑"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
  14904. Node130.a('node.underlinevisible',false);
  14905. Node130.a('node.underlineBorderWidth', 1);
  14906. }
  14907. dataModel.add(Node130);
  14908. zoomNodeList.push({
  14909. node: Node130,
  14910. borderWidth: 0,
  14911. attr: 'node.borderwidth'
  14912. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14913. var Node131_0 = new ht.Node();
  14914. var Node131_0textStart, Node131_0textWidth, Node131_0lineStart, Node131_0align = 'left', Node131_0fontSize = 13.3333*_ratio.ratioY,Node131_0width = 68*_ratio.ratioX, Node131_0height = 18*_ratio.ratioY;
  14915. (function () {
  14916. if (Node131_0align === 'left') {
  14917. Node131_0textStart = Node131_0fontSize * 0.2 > 2 ? Node131_0fontSize * 0.2 - 4 : Node131_0fontSize * 0.2 - 9;
  14918. Node131_0textWidth = Node131_0width;
  14919. Node131_0lineStart = 1;
  14920. } else if (Node131_0align === 'right') {
  14921. Node131_0textStart = 0;
  14922. Node131_0textWidth =Node131_0fontSize <= 8 ? Node131_0width + Node131_0fontSize * 0.2 + 6 : Node131_0width - Node131_0fontSize * 0.2;
  14923. Node131_0lineStart = (Node131_0width - (ht.Default.getTextSize('MW', ' '+ Node131_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  14924. } else if (Node131_0align === 'center') {
  14925. Node131_0textStart = -3;
  14926. Node131_0textWidth = Node131_0width;
  14927. Node131_0lineStart = Node131_0width - ht.Default.getTextSize('MW', ' '+ Node131_0fontSize + 'px "Arial"').width - 11;
  14928. }
  14929. })();
  14930. Node131_0.setImage(GD.getTextJSON(Node131_0width, Node131_0height, true, false, false, ' '+ Node131_0fontSize + 'px "Arial"'))
  14931. Node131_0.setPosition(705*ratio.ratioX, 553*ratio.ratioY);
  14932. Node131_0.setWidth(Node131_0width);
  14933. Node131_0.setHeight(Node131_0height);
  14934. Node131_0._nodeType = 'text';
  14935. Node131_0._disallowEvert = true;
  14936. Node131_0.setRotation(0*Math.PI/180);
  14937. Node131_0.a('node.width', Node131_0width);
  14938. Node131_0.a('node.height', Node131_0height);
  14939. Node131_0.a('node.rect', [0, 0, Node131_0width, Node131_0height]);
  14940. Node131_0.a('node.bordercolor','rgba(0,0,0,1)');
  14941. Node131_0.a('node.borderwidth', 0);
  14942. Node131_0.a('node.background','' || 'rgba(0,0,0,0)');
  14943. Node131_0.a('node.gradient','');
  14944. Node131_0.a('node.gradientcolor','');
  14945. Node131_0.a('node.text','MW');
  14946. Node131_0.a('node.textalign','left');
  14947. Node131_0.a('node.textvAlign','middle');
  14948. Node131_0.a('node.textrect', [Node131_0textStart, 0, Node131_0textWidth, Node131_0height]);
  14949. Node131_0.a('node.color','rgba(0,0,0,1)');
  14950. Node131_0.a('node.font',' '+ Node131_0fontSize + 'px "Arial"');
  14951. Node131_0.a('node.textvisible',true);
  14952. Node131_0.a('node.linefeed',false);
  14953. if (false) {
  14954. Node131_0.a('node.textfunc',function(g) {
  14955. g.beginPath();
  14956. var str=Node131_0.a('node.text') || 'MW';
  14957. var color=Node131_0.a('node.color') || 'rgba(0,0,0,1)';
  14958. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131_0width,Node131_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node131_0fontSize + 'px "Arial"', 0,g);
  14959. });
  14960. }
  14961. if (false) {
  14962. Node131_0.a('node.underlinepoints',[Node131_0lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node131_0fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node131_0fontSize + 'px "Arial"').width + 6, (Node131_0height - Node131_0fontSize) * 0.5*_ratio.ratioY + Node131_0fontSize + 2 ]);
  14963. Node131_0.a('node.underlinevisible',false);
  14964. Node131_0.a('node.underlineBorderWidth', 1);
  14965. }
  14966. dataModel.add(Node131_0);
  14967. zoomNodeList.push({
  14968. node: Node131_0,
  14969. borderWidth: 0,
  14970. attr: 'node.borderwidth'
  14971. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14972. var Node131_1 = new ht.Node();
  14973. var Node131_1textStart, Node131_1textWidth, Node131_1lineStart, Node131_1align = 'left', Node131_1fontSize = 13.3333*_ratio.ratioY,Node131_1width = 68*_ratio.ratioX, Node131_1height = 18*_ratio.ratioY;
  14974. (function () {
  14975. if (Node131_1align === 'left') {
  14976. Node131_1textStart = Node131_1fontSize * 0.2 > 2 ? Node131_1fontSize * 0.2 - 4 : Node131_1fontSize * 0.2 - 9;
  14977. Node131_1textWidth = Node131_1width;
  14978. Node131_1lineStart = 1;
  14979. } else if (Node131_1align === 'right') {
  14980. Node131_1textStart = 0;
  14981. Node131_1textWidth =Node131_1fontSize <= 8 ? Node131_1width + Node131_1fontSize * 0.2 + 6 : Node131_1width - Node131_1fontSize * 0.2;
  14982. Node131_1lineStart = (Node131_1width - (ht.Default.getTextSize('MVR', ' '+ Node131_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  14983. } else if (Node131_1align === 'center') {
  14984. Node131_1textStart = -3;
  14985. Node131_1textWidth = Node131_1width;
  14986. Node131_1lineStart = Node131_1width - ht.Default.getTextSize('MVR', ' '+ Node131_1fontSize + 'px "Arial"').width - 11;
  14987. }
  14988. })();
  14989. Node131_1.setImage(GD.getTextJSON(Node131_1width, Node131_1height, true, false, false, ' '+ Node131_1fontSize + 'px "Arial"'))
  14990. Node131_1.setPosition(705*ratio.ratioX, 577*ratio.ratioY);
  14991. Node131_1.setWidth(Node131_1width);
  14992. Node131_1.setHeight(Node131_1height);
  14993. Node131_1._nodeType = 'text';
  14994. Node131_1._disallowEvert = true;
  14995. Node131_1.setRotation(0*Math.PI/180);
  14996. Node131_1.a('node.width', Node131_1width);
  14997. Node131_1.a('node.height', Node131_1height);
  14998. Node131_1.a('node.rect', [0, 0, Node131_1width, Node131_1height]);
  14999. Node131_1.a('node.bordercolor','rgba(0,0,0,1)');
  15000. Node131_1.a('node.borderwidth', 0);
  15001. Node131_1.a('node.background','' || 'rgba(0,0,0,0)');
  15002. Node131_1.a('node.gradient','');
  15003. Node131_1.a('node.gradientcolor','');
  15004. Node131_1.a('node.text','MVR');
  15005. Node131_1.a('node.textalign','left');
  15006. Node131_1.a('node.textvAlign','middle');
  15007. Node131_1.a('node.textrect', [Node131_1textStart, 0, Node131_1textWidth, Node131_1height]);
  15008. Node131_1.a('node.color','rgba(0,0,0,1)');
  15009. Node131_1.a('node.font',' '+ Node131_1fontSize + 'px "Arial"');
  15010. Node131_1.a('node.textvisible',true);
  15011. Node131_1.a('node.linefeed',false);
  15012. if (false) {
  15013. Node131_1.a('node.textfunc',function(g) {
  15014. g.beginPath();
  15015. var str=Node131_1.a('node.text') || 'MVR';
  15016. var color=Node131_1.a('node.color') || 'rgba(0,0,0,1)';
  15017. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131_1width,Node131_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node131_1fontSize + 'px "Arial"', 0,g);
  15018. });
  15019. }
  15020. if (false) {
  15021. Node131_1.a('node.underlinepoints',[Node131_1lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node131_1fontSize + 2 , ht.Default.getTextSize('MVR', ' '+ Node131_1fontSize + 'px "Arial"').width + 6, (Node131_1height - Node131_1fontSize) * 0.5*_ratio.ratioY + Node131_1fontSize + 2 ]);
  15022. Node131_1.a('node.underlinevisible',false);
  15023. Node131_1.a('node.underlineBorderWidth', 1);
  15024. }
  15025. dataModel.add(Node131_1);
  15026. zoomNodeList.push({
  15027. node: Node131_1,
  15028. borderWidth: 0,
  15029. attr: 'node.borderwidth'
  15030. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15031. var Node132_0 = new ht.Node();
  15032. var Node132_0textStart, Node132_0textWidth, Node132_0lineStart, Node132_0align = 'left', Node132_0fontSize = 13.3333*_ratio.ratioY,Node132_0width = 68*_ratio.ratioX, Node132_0height = 18*_ratio.ratioY;
  15033. (function () {
  15034. if (Node132_0align === 'left') {
  15035. Node132_0textStart = Node132_0fontSize * 0.2 > 2 ? Node132_0fontSize * 0.2 - 4 : Node132_0fontSize * 0.2 - 9;
  15036. Node132_0textWidth = Node132_0width;
  15037. Node132_0lineStart = 1;
  15038. } else if (Node132_0align === 'right') {
  15039. Node132_0textStart = 0;
  15040. Node132_0textWidth =Node132_0fontSize <= 8 ? Node132_0width + Node132_0fontSize * 0.2 + 6 : Node132_0width - Node132_0fontSize * 0.2;
  15041. Node132_0lineStart = (Node132_0width - (ht.Default.getTextSize('MW', ' '+ Node132_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  15042. } else if (Node132_0align === 'center') {
  15043. Node132_0textStart = -3;
  15044. Node132_0textWidth = Node132_0width;
  15045. Node132_0lineStart = Node132_0width - ht.Default.getTextSize('MW', ' '+ Node132_0fontSize + 'px "Arial"').width - 11;
  15046. }
  15047. })();
  15048. Node132_0.setImage(GD.getTextJSON(Node132_0width, Node132_0height, true, false, false, ' '+ Node132_0fontSize + 'px "Arial"'))
  15049. Node132_0.setPosition(983*ratio.ratioX, 790*ratio.ratioY);
  15050. Node132_0.setWidth(Node132_0width);
  15051. Node132_0.setHeight(Node132_0height);
  15052. Node132_0._nodeType = 'text';
  15053. Node132_0._disallowEvert = true;
  15054. Node132_0.setRotation(0*Math.PI/180);
  15055. Node132_0.a('node.width', Node132_0width);
  15056. Node132_0.a('node.height', Node132_0height);
  15057. Node132_0.a('node.rect', [0, 0, Node132_0width, Node132_0height]);
  15058. Node132_0.a('node.bordercolor','rgba(0,0,0,1)');
  15059. Node132_0.a('node.borderwidth', 0);
  15060. Node132_0.a('node.background','' || 'rgba(0,0,0,0)');
  15061. Node132_0.a('node.gradient','');
  15062. Node132_0.a('node.gradientcolor','');
  15063. Node132_0.a('node.text','MW');
  15064. Node132_0.a('node.textalign','left');
  15065. Node132_0.a('node.textvAlign','middle');
  15066. Node132_0.a('node.textrect', [Node132_0textStart, 0, Node132_0textWidth, Node132_0height]);
  15067. Node132_0.a('node.color','rgba(0,0,0,1)');
  15068. Node132_0.a('node.font',' '+ Node132_0fontSize + 'px "Arial"');
  15069. Node132_0.a('node.textvisible',true);
  15070. Node132_0.a('node.linefeed',false);
  15071. if (false) {
  15072. Node132_0.a('node.textfunc',function(g) {
  15073. g.beginPath();
  15074. var str=Node132_0.a('node.text') || 'MW';
  15075. var color=Node132_0.a('node.color') || 'rgba(0,0,0,1)';
  15076. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132_0width,Node132_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node132_0fontSize + 'px "Arial"', 0,g);
  15077. });
  15078. }
  15079. if (false) {
  15080. Node132_0.a('node.underlinepoints',[Node132_0lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node132_0fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node132_0fontSize + 'px "Arial"').width + 6, (Node132_0height - Node132_0fontSize) * 0.5*_ratio.ratioY + Node132_0fontSize + 2 ]);
  15081. Node132_0.a('node.underlinevisible',false);
  15082. Node132_0.a('node.underlineBorderWidth', 1);
  15083. }
  15084. dataModel.add(Node132_0);
  15085. zoomNodeList.push({
  15086. node: Node132_0,
  15087. borderWidth: 0,
  15088. attr: 'node.borderwidth'
  15089. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15090. var Node132_1 = new ht.Node();
  15091. var Node132_1textStart, Node132_1textWidth, Node132_1lineStart, Node132_1align = 'left', Node132_1fontSize = 13.3333*_ratio.ratioY,Node132_1width = 68*_ratio.ratioX, Node132_1height = 18*_ratio.ratioY;
  15092. (function () {
  15093. if (Node132_1align === 'left') {
  15094. Node132_1textStart = Node132_1fontSize * 0.2 > 2 ? Node132_1fontSize * 0.2 - 4 : Node132_1fontSize * 0.2 - 9;
  15095. Node132_1textWidth = Node132_1width;
  15096. Node132_1lineStart = 1;
  15097. } else if (Node132_1align === 'right') {
  15098. Node132_1textStart = 0;
  15099. Node132_1textWidth =Node132_1fontSize <= 8 ? Node132_1width + Node132_1fontSize * 0.2 + 6 : Node132_1width - Node132_1fontSize * 0.2;
  15100. Node132_1lineStart = (Node132_1width - (ht.Default.getTextSize('MVR', ' '+ Node132_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  15101. } else if (Node132_1align === 'center') {
  15102. Node132_1textStart = -3;
  15103. Node132_1textWidth = Node132_1width;
  15104. Node132_1lineStart = Node132_1width - ht.Default.getTextSize('MVR', ' '+ Node132_1fontSize + 'px "Arial"').width - 11;
  15105. }
  15106. })();
  15107. Node132_1.setImage(GD.getTextJSON(Node132_1width, Node132_1height, true, false, false, ' '+ Node132_1fontSize + 'px "Arial"'))
  15108. Node132_1.setPosition(981*ratio.ratioX, 807*ratio.ratioY);
  15109. Node132_1.setWidth(Node132_1width);
  15110. Node132_1.setHeight(Node132_1height);
  15111. Node132_1._nodeType = 'text';
  15112. Node132_1._disallowEvert = true;
  15113. Node132_1.setRotation(0*Math.PI/180);
  15114. Node132_1.a('node.width', Node132_1width);
  15115. Node132_1.a('node.height', Node132_1height);
  15116. Node132_1.a('node.rect', [0, 0, Node132_1width, Node132_1height]);
  15117. Node132_1.a('node.bordercolor','rgba(0,0,0,1)');
  15118. Node132_1.a('node.borderwidth', 0);
  15119. Node132_1.a('node.background','' || 'rgba(0,0,0,0)');
  15120. Node132_1.a('node.gradient','');
  15121. Node132_1.a('node.gradientcolor','');
  15122. Node132_1.a('node.text','MVR');
  15123. Node132_1.a('node.textalign','left');
  15124. Node132_1.a('node.textvAlign','middle');
  15125. Node132_1.a('node.textrect', [Node132_1textStart, 0, Node132_1textWidth, Node132_1height]);
  15126. Node132_1.a('node.color','rgba(0,0,0,1)');
  15127. Node132_1.a('node.font',' '+ Node132_1fontSize + 'px "Arial"');
  15128. Node132_1.a('node.textvisible',true);
  15129. Node132_1.a('node.linefeed',false);
  15130. if (false) {
  15131. Node132_1.a('node.textfunc',function(g) {
  15132. g.beginPath();
  15133. var str=Node132_1.a('node.text') || 'MVR';
  15134. var color=Node132_1.a('node.color') || 'rgba(0,0,0,1)';
  15135. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132_1width,Node132_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node132_1fontSize + 'px "Arial"', 0,g);
  15136. });
  15137. }
  15138. if (false) {
  15139. Node132_1.a('node.underlinepoints',[Node132_1lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node132_1fontSize + 2 , ht.Default.getTextSize('MVR', ' '+ Node132_1fontSize + 'px "Arial"').width + 6, (Node132_1height - Node132_1fontSize) * 0.5*_ratio.ratioY + Node132_1fontSize + 2 ]);
  15140. Node132_1.a('node.underlinevisible',false);
  15141. Node132_1.a('node.underlineBorderWidth', 1);
  15142. }
  15143. dataModel.add(Node132_1);
  15144. zoomNodeList.push({
  15145. node: Node132_1,
  15146. borderWidth: 0,
  15147. attr: 'node.borderwidth'
  15148. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15149. var Node133_0 = new ht.Node();
  15150. var Node133_0textStart, Node133_0textWidth, Node133_0lineStart, Node133_0align = 'left', Node133_0fontSize = 13.3333*_ratio.ratioY,Node133_0width = 68*_ratio.ratioX, Node133_0height = 18*_ratio.ratioY;
  15151. (function () {
  15152. if (Node133_0align === 'left') {
  15153. Node133_0textStart = Node133_0fontSize * 0.2 > 2 ? Node133_0fontSize * 0.2 - 4 : Node133_0fontSize * 0.2 - 9;
  15154. Node133_0textWidth = Node133_0width;
  15155. Node133_0lineStart = 1;
  15156. } else if (Node133_0align === 'right') {
  15157. Node133_0textStart = 0;
  15158. Node133_0textWidth =Node133_0fontSize <= 8 ? Node133_0width + Node133_0fontSize * 0.2 + 6 : Node133_0width - Node133_0fontSize * 0.2;
  15159. Node133_0lineStart = (Node133_0width - (ht.Default.getTextSize('MW', ' '+ Node133_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  15160. } else if (Node133_0align === 'center') {
  15161. Node133_0textStart = -3;
  15162. Node133_0textWidth = Node133_0width;
  15163. Node133_0lineStart = Node133_0width - ht.Default.getTextSize('MW', ' '+ Node133_0fontSize + 'px "Arial"').width - 11;
  15164. }
  15165. })();
  15166. Node133_0.setImage(GD.getTextJSON(Node133_0width, Node133_0height, true, false, false, ' '+ Node133_0fontSize + 'px "Arial"'))
  15167. Node133_0.setPosition(1359*ratio.ratioX, 790*ratio.ratioY);
  15168. Node133_0.setWidth(Node133_0width);
  15169. Node133_0.setHeight(Node133_0height);
  15170. Node133_0._nodeType = 'text';
  15171. Node133_0._disallowEvert = true;
  15172. Node133_0.setRotation(0*Math.PI/180);
  15173. Node133_0.a('node.width', Node133_0width);
  15174. Node133_0.a('node.height', Node133_0height);
  15175. Node133_0.a('node.rect', [0, 0, Node133_0width, Node133_0height]);
  15176. Node133_0.a('node.bordercolor','rgba(0,0,0,1)');
  15177. Node133_0.a('node.borderwidth', 0);
  15178. Node133_0.a('node.background','' || 'rgba(0,0,0,0)');
  15179. Node133_0.a('node.gradient','');
  15180. Node133_0.a('node.gradientcolor','');
  15181. Node133_0.a('node.text','MW');
  15182. Node133_0.a('node.textalign','left');
  15183. Node133_0.a('node.textvAlign','middle');
  15184. Node133_0.a('node.textrect', [Node133_0textStart, 0, Node133_0textWidth, Node133_0height]);
  15185. Node133_0.a('node.color','rgba(0,0,0,1)');
  15186. Node133_0.a('node.font',' '+ Node133_0fontSize + 'px "Arial"');
  15187. Node133_0.a('node.textvisible',true);
  15188. Node133_0.a('node.linefeed',false);
  15189. if (false) {
  15190. Node133_0.a('node.textfunc',function(g) {
  15191. g.beginPath();
  15192. var str=Node133_0.a('node.text') || 'MW';
  15193. var color=Node133_0.a('node.color') || 'rgba(0,0,0,1)';
  15194. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133_0width,Node133_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node133_0fontSize + 'px "Arial"', 0,g);
  15195. });
  15196. }
  15197. if (false) {
  15198. Node133_0.a('node.underlinepoints',[Node133_0lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node133_0fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node133_0fontSize + 'px "Arial"').width + 6, (Node133_0height - Node133_0fontSize) * 0.5*_ratio.ratioY + Node133_0fontSize + 2 ]);
  15199. Node133_0.a('node.underlinevisible',false);
  15200. Node133_0.a('node.underlineBorderWidth', 1);
  15201. }
  15202. dataModel.add(Node133_0);
  15203. zoomNodeList.push({
  15204. node: Node133_0,
  15205. borderWidth: 0,
  15206. attr: 'node.borderwidth'
  15207. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15208. var Node133_1 = new ht.Node();
  15209. var Node133_1textStart, Node133_1textWidth, Node133_1lineStart, Node133_1align = 'left', Node133_1fontSize = 13.3333*_ratio.ratioY,Node133_1width = 68*_ratio.ratioX, Node133_1height = 18*_ratio.ratioY;
  15210. (function () {
  15211. if (Node133_1align === 'left') {
  15212. Node133_1textStart = Node133_1fontSize * 0.2 > 2 ? Node133_1fontSize * 0.2 - 4 : Node133_1fontSize * 0.2 - 9;
  15213. Node133_1textWidth = Node133_1width;
  15214. Node133_1lineStart = 1;
  15215. } else if (Node133_1align === 'right') {
  15216. Node133_1textStart = 0;
  15217. Node133_1textWidth =Node133_1fontSize <= 8 ? Node133_1width + Node133_1fontSize * 0.2 + 6 : Node133_1width - Node133_1fontSize * 0.2;
  15218. Node133_1lineStart = (Node133_1width - (ht.Default.getTextSize('MVR', ' '+ Node133_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  15219. } else if (Node133_1align === 'center') {
  15220. Node133_1textStart = -3;
  15221. Node133_1textWidth = Node133_1width;
  15222. Node133_1lineStart = Node133_1width - ht.Default.getTextSize('MVR', ' '+ Node133_1fontSize + 'px "Arial"').width - 11;
  15223. }
  15224. })();
  15225. Node133_1.setImage(GD.getTextJSON(Node133_1width, Node133_1height, true, false, false, ' '+ Node133_1fontSize + 'px "Arial"'))
  15226. Node133_1.setPosition(1357*ratio.ratioX, 807*ratio.ratioY);
  15227. Node133_1.setWidth(Node133_1width);
  15228. Node133_1.setHeight(Node133_1height);
  15229. Node133_1._nodeType = 'text';
  15230. Node133_1._disallowEvert = true;
  15231. Node133_1.setRotation(0*Math.PI/180);
  15232. Node133_1.a('node.width', Node133_1width);
  15233. Node133_1.a('node.height', Node133_1height);
  15234. Node133_1.a('node.rect', [0, 0, Node133_1width, Node133_1height]);
  15235. Node133_1.a('node.bordercolor','rgba(0,0,0,1)');
  15236. Node133_1.a('node.borderwidth', 0);
  15237. Node133_1.a('node.background','' || 'rgba(0,0,0,0)');
  15238. Node133_1.a('node.gradient','');
  15239. Node133_1.a('node.gradientcolor','');
  15240. Node133_1.a('node.text','MVR');
  15241. Node133_1.a('node.textalign','left');
  15242. Node133_1.a('node.textvAlign','middle');
  15243. Node133_1.a('node.textrect', [Node133_1textStart, 0, Node133_1textWidth, Node133_1height]);
  15244. Node133_1.a('node.color','rgba(0,0,0,1)');
  15245. Node133_1.a('node.font',' '+ Node133_1fontSize + 'px "Arial"');
  15246. Node133_1.a('node.textvisible',true);
  15247. Node133_1.a('node.linefeed',false);
  15248. if (false) {
  15249. Node133_1.a('node.textfunc',function(g) {
  15250. g.beginPath();
  15251. var str=Node133_1.a('node.text') || 'MVR';
  15252. var color=Node133_1.a('node.color') || 'rgba(0,0,0,1)';
  15253. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133_1width,Node133_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node133_1fontSize + 'px "Arial"', 0,g);
  15254. });
  15255. }
  15256. if (false) {
  15257. Node133_1.a('node.underlinepoints',[Node133_1lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node133_1fontSize + 2 , ht.Default.getTextSize('MVR', ' '+ Node133_1fontSize + 'px "Arial"').width + 6, (Node133_1height - Node133_1fontSize) * 0.5*_ratio.ratioY + Node133_1fontSize + 2 ]);
  15258. Node133_1.a('node.underlinevisible',false);
  15259. Node133_1.a('node.underlineBorderWidth', 1);
  15260. }
  15261. dataModel.add(Node133_1);
  15262. zoomNodeList.push({
  15263. node: Node133_1,
  15264. borderWidth: 0,
  15265. attr: 'node.borderwidth'
  15266. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15267. var Node134_0 = new ht.Node();
  15268. var Node134_0textStart, Node134_0textWidth, Node134_0lineStart, Node134_0align = 'left', Node134_0fontSize = 13.3333*_ratio.ratioY,Node134_0width = 64*_ratio.ratioX, Node134_0height = 23*_ratio.ratioY;
  15269. (function () {
  15270. if (Node134_0align === 'left') {
  15271. Node134_0textStart = Node134_0fontSize * 0.2 > 2 ? Node134_0fontSize * 0.2 - 4 : Node134_0fontSize * 0.2 - 9;
  15272. Node134_0textWidth = Node134_0width;
  15273. Node134_0lineStart = 1;
  15274. } else if (Node134_0align === 'right') {
  15275. Node134_0textStart = 0;
  15276. Node134_0textWidth =Node134_0fontSize <= 8 ? Node134_0width + Node134_0fontSize * 0.2 + 6 : Node134_0width - Node134_0fontSize * 0.2;
  15277. Node134_0lineStart = (Node134_0width - (ht.Default.getTextSize('IA :', ' '+ Node134_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  15278. } else if (Node134_0align === 'center') {
  15279. Node134_0textStart = -3;
  15280. Node134_0textWidth = Node134_0width;
  15281. Node134_0lineStart = Node134_0width - ht.Default.getTextSize('IA :', ' '+ Node134_0fontSize + 'px "Arial"').width - 11;
  15282. }
  15283. })();
  15284. Node134_0.setImage(GD.getTextJSON(Node134_0width, Node134_0height, true, false, false, ' '+ Node134_0fontSize + 'px "Arial"'))
  15285. Node134_0.setPosition(1158*ratio.ratioX, 261*ratio.ratioY);
  15286. Node134_0.setWidth(Node134_0width);
  15287. Node134_0.setHeight(Node134_0height);
  15288. Node134_0._nodeType = 'text';
  15289. Node134_0._disallowEvert = true;
  15290. Node134_0.setRotation(0*Math.PI/180);
  15291. Node134_0.a('node.width', Node134_0width);
  15292. Node134_0.a('node.height', Node134_0height);
  15293. Node134_0.a('node.rect', [0, 0, Node134_0width, Node134_0height]);
  15294. Node134_0.a('node.bordercolor','rgba(0,0,0,1)');
  15295. Node134_0.a('node.borderwidth', 0);
  15296. Node134_0.a('node.background','' || 'rgba(0,0,0,0)');
  15297. Node134_0.a('node.gradient','');
  15298. Node134_0.a('node.gradientcolor','');
  15299. Node134_0.a('node.text','IA :');
  15300. Node134_0.a('node.textalign','left');
  15301. Node134_0.a('node.textvAlign','middle');
  15302. Node134_0.a('node.textrect', [Node134_0textStart, 0, Node134_0textWidth, Node134_0height]);
  15303. Node134_0.a('node.color','rgba(0,0,0,1)');
  15304. Node134_0.a('node.font',' '+ Node134_0fontSize + 'px "Arial"');
  15305. Node134_0.a('node.textvisible',true);
  15306. Node134_0.a('node.linefeed',false);
  15307. if (false) {
  15308. Node134_0.a('node.textfunc',function(g) {
  15309. g.beginPath();
  15310. var str=Node134_0.a('node.text') || 'IA :';
  15311. var color=Node134_0.a('node.color') || 'rgba(0,0,0,1)';
  15312. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134_0width,Node134_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node134_0fontSize + 'px "Arial"', 0,g);
  15313. });
  15314. }
  15315. if (false) {
  15316. Node134_0.a('node.underlinepoints',[Node134_0lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node134_0fontSize + 2 , ht.Default.getTextSize('IA :', ' '+ Node134_0fontSize + 'px "Arial"').width + 6, (Node134_0height - Node134_0fontSize) * 0.5*_ratio.ratioY + Node134_0fontSize + 2 ]);
  15317. Node134_0.a('node.underlinevisible',false);
  15318. Node134_0.a('node.underlineBorderWidth', 1);
  15319. }
  15320. dataModel.add(Node134_0);
  15321. zoomNodeList.push({
  15322. node: Node134_0,
  15323. borderWidth: 0,
  15324. attr: 'node.borderwidth'
  15325. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15326. var Node134_1 = new ht.Node();
  15327. var Node134_1textStart, Node134_1textWidth, Node134_1lineStart, Node134_1align = 'left', Node134_1fontSize = 13.3333*_ratio.ratioY,Node134_1width = 74*_ratio.ratioX, Node134_1height = 23*_ratio.ratioY;
  15328. (function () {
  15329. if (Node134_1align === 'left') {
  15330. Node134_1textStart = Node134_1fontSize * 0.2 > 2 ? Node134_1fontSize * 0.2 - 4 : Node134_1fontSize * 0.2 - 9;
  15331. Node134_1textWidth = Node134_1width;
  15332. Node134_1lineStart = 1;
  15333. } else if (Node134_1align === 'right') {
  15334. Node134_1textStart = 0;
  15335. Node134_1textWidth =Node134_1fontSize <= 8 ? Node134_1width + Node134_1fontSize * 0.2 + 6 : Node134_1width - Node134_1fontSize * 0.2;
  15336. Node134_1lineStart = (Node134_1width - (ht.Default.getTextSize('P :', ' '+ Node134_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  15337. } else if (Node134_1align === 'center') {
  15338. Node134_1textStart = -3;
  15339. Node134_1textWidth = Node134_1width;
  15340. Node134_1lineStart = Node134_1width - ht.Default.getTextSize('P :', ' '+ Node134_1fontSize + 'px "Arial"').width - 11;
  15341. }
  15342. })();
  15343. Node134_1.setImage(GD.getTextJSON(Node134_1width, Node134_1height, true, false, false, ' '+ Node134_1fontSize + 'px "Arial"'))
  15344. Node134_1.setPosition(1167*ratio.ratioX, 283*ratio.ratioY);
  15345. Node134_1.setWidth(Node134_1width);
  15346. Node134_1.setHeight(Node134_1height);
  15347. Node134_1._nodeType = 'text';
  15348. Node134_1._disallowEvert = true;
  15349. Node134_1.setRotation(0*Math.PI/180);
  15350. Node134_1.a('node.width', Node134_1width);
  15351. Node134_1.a('node.height', Node134_1height);
  15352. Node134_1.a('node.rect', [0, 0, Node134_1width, Node134_1height]);
  15353. Node134_1.a('node.bordercolor','rgba(0,0,0,1)');
  15354. Node134_1.a('node.borderwidth', 0);
  15355. Node134_1.a('node.background','' || 'rgba(0,0,0,0)');
  15356. Node134_1.a('node.gradient','');
  15357. Node134_1.a('node.gradientcolor','');
  15358. Node134_1.a('node.text','P :');
  15359. Node134_1.a('node.textalign','left');
  15360. Node134_1.a('node.textvAlign','middle');
  15361. Node134_1.a('node.textrect', [Node134_1textStart, 0, Node134_1textWidth, Node134_1height]);
  15362. Node134_1.a('node.color','rgba(0,0,0,1)');
  15363. Node134_1.a('node.font',' '+ Node134_1fontSize + 'px "Arial"');
  15364. Node134_1.a('node.textvisible',true);
  15365. Node134_1.a('node.linefeed',false);
  15366. if (false) {
  15367. Node134_1.a('node.textfunc',function(g) {
  15368. g.beginPath();
  15369. var str=Node134_1.a('node.text') || 'P :';
  15370. var color=Node134_1.a('node.color') || 'rgba(0,0,0,1)';
  15371. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134_1width,Node134_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node134_1fontSize + 'px "Arial"', 0,g);
  15372. });
  15373. }
  15374. if (false) {
  15375. Node134_1.a('node.underlinepoints',[Node134_1lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node134_1fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node134_1fontSize + 'px "Arial"').width + 6, (Node134_1height - Node134_1fontSize) * 0.5*_ratio.ratioY + Node134_1fontSize + 2 ]);
  15376. Node134_1.a('node.underlinevisible',false);
  15377. Node134_1.a('node.underlineBorderWidth', 1);
  15378. }
  15379. dataModel.add(Node134_1);
  15380. zoomNodeList.push({
  15381. node: Node134_1,
  15382. borderWidth: 0,
  15383. attr: 'node.borderwidth'
  15384. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15385. var Node134_2 = new ht.Node();
  15386. var Node134_2textStart, Node134_2textWidth, Node134_2lineStart, Node134_2align = 'left', Node134_2fontSize = 13.3333*_ratio.ratioY,Node134_2width = 74*_ratio.ratioX, Node134_2height = 23*_ratio.ratioY;
  15387. (function () {
  15388. if (Node134_2align === 'left') {
  15389. Node134_2textStart = Node134_2fontSize * 0.2 > 2 ? Node134_2fontSize * 0.2 - 4 : Node134_2fontSize * 0.2 - 9;
  15390. Node134_2textWidth = Node134_2width;
  15391. Node134_2lineStart = 1;
  15392. } else if (Node134_2align === 'right') {
  15393. Node134_2textStart = 0;
  15394. Node134_2textWidth =Node134_2fontSize <= 8 ? Node134_2width + Node134_2fontSize * 0.2 + 6 : Node134_2width - Node134_2fontSize * 0.2;
  15395. Node134_2lineStart = (Node134_2width - (ht.Default.getTextSize('Q :', ' '+ Node134_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  15396. } else if (Node134_2align === 'center') {
  15397. Node134_2textStart = -3;
  15398. Node134_2textWidth = Node134_2width;
  15399. Node134_2lineStart = Node134_2width - ht.Default.getTextSize('Q :', ' '+ Node134_2fontSize + 'px "Arial"').width - 11;
  15400. }
  15401. })();
  15402. Node134_2.setImage(GD.getTextJSON(Node134_2width, Node134_2height, true, false, false, ' '+ Node134_2fontSize + 'px "Arial"'))
  15403. Node134_2.setPosition(1167*ratio.ratioX, 307*ratio.ratioY);
  15404. Node134_2.setWidth(Node134_2width);
  15405. Node134_2.setHeight(Node134_2height);
  15406. Node134_2._nodeType = 'text';
  15407. Node134_2._disallowEvert = true;
  15408. Node134_2.setRotation(0*Math.PI/180);
  15409. Node134_2.a('node.width', Node134_2width);
  15410. Node134_2.a('node.height', Node134_2height);
  15411. Node134_2.a('node.rect', [0, 0, Node134_2width, Node134_2height]);
  15412. Node134_2.a('node.bordercolor','rgba(0,0,0,1)');
  15413. Node134_2.a('node.borderwidth', 0);
  15414. Node134_2.a('node.background','' || 'rgba(0,0,0,0)');
  15415. Node134_2.a('node.gradient','');
  15416. Node134_2.a('node.gradientcolor','');
  15417. Node134_2.a('node.text','Q :');
  15418. Node134_2.a('node.textalign','left');
  15419. Node134_2.a('node.textvAlign','middle');
  15420. Node134_2.a('node.textrect', [Node134_2textStart, 0, Node134_2textWidth, Node134_2height]);
  15421. Node134_2.a('node.color','rgba(0,0,0,1)');
  15422. Node134_2.a('node.font',' '+ Node134_2fontSize + 'px "Arial"');
  15423. Node134_2.a('node.textvisible',true);
  15424. Node134_2.a('node.linefeed',false);
  15425. if (false) {
  15426. Node134_2.a('node.textfunc',function(g) {
  15427. g.beginPath();
  15428. var str=Node134_2.a('node.text') || 'Q :';
  15429. var color=Node134_2.a('node.color') || 'rgba(0,0,0,1)';
  15430. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134_2width,Node134_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node134_2fontSize + 'px "Arial"', 0,g);
  15431. });
  15432. }
  15433. if (false) {
  15434. Node134_2.a('node.underlinepoints',[Node134_2lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node134_2fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node134_2fontSize + 'px "Arial"').width + 6, (Node134_2height - Node134_2fontSize) * 0.5*_ratio.ratioY + Node134_2fontSize + 2 ]);
  15435. Node134_2.a('node.underlinevisible',false);
  15436. Node134_2.a('node.underlineBorderWidth', 1);
  15437. }
  15438. dataModel.add(Node134_2);
  15439. zoomNodeList.push({
  15440. node: Node134_2,
  15441. borderWidth: 0,
  15442. attr: 'node.borderwidth'
  15443. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15444. var Node134_3 = new ht.Node();
  15445. var Node134_3textStart, Node134_3textWidth, Node134_3lineStart, Node134_3align = 'left', Node134_3fontSize = 13.3333*_ratio.ratioY,Node134_3width = 74*_ratio.ratioX, Node134_3height = 23*_ratio.ratioY;
  15446. (function () {
  15447. if (Node134_3align === 'left') {
  15448. Node134_3textStart = Node134_3fontSize * 0.2 > 2 ? Node134_3fontSize * 0.2 - 4 : Node134_3fontSize * 0.2 - 9;
  15449. Node134_3textWidth = Node134_3width;
  15450. Node134_3lineStart = 1;
  15451. } else if (Node134_3align === 'right') {
  15452. Node134_3textStart = 0;
  15453. Node134_3textWidth =Node134_3fontSize <= 8 ? Node134_3width + Node134_3fontSize * 0.2 + 6 : Node134_3width - Node134_3fontSize * 0.2;
  15454. Node134_3lineStart = (Node134_3width - (ht.Default.getTextSize('COS :', ' '+ Node134_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  15455. } else if (Node134_3align === 'center') {
  15456. Node134_3textStart = -3;
  15457. Node134_3textWidth = Node134_3width;
  15458. Node134_3lineStart = Node134_3width - ht.Default.getTextSize('COS :', ' '+ Node134_3fontSize + 'px "Arial"').width - 11;
  15459. }
  15460. })();
  15461. Node134_3.setImage(GD.getTextJSON(Node134_3width, Node134_3height, true, false, false, ' '+ Node134_3fontSize + 'px "Arial"'))
  15462. Node134_3.setPosition(1147*ratio.ratioX, 332*ratio.ratioY);
  15463. Node134_3.setWidth(Node134_3width);
  15464. Node134_3.setHeight(Node134_3height);
  15465. Node134_3._nodeType = 'text';
  15466. Node134_3._disallowEvert = true;
  15467. Node134_3.setRotation(0*Math.PI/180);
  15468. Node134_3.a('node.width', Node134_3width);
  15469. Node134_3.a('node.height', Node134_3height);
  15470. Node134_3.a('node.rect', [0, 0, Node134_3width, Node134_3height]);
  15471. Node134_3.a('node.bordercolor','rgba(0,0,0,1)');
  15472. Node134_3.a('node.borderwidth', 0);
  15473. Node134_3.a('node.background','' || 'rgba(0,0,0,0)');
  15474. Node134_3.a('node.gradient','');
  15475. Node134_3.a('node.gradientcolor','');
  15476. Node134_3.a('node.text','COS :');
  15477. Node134_3.a('node.textalign','left');
  15478. Node134_3.a('node.textvAlign','middle');
  15479. Node134_3.a('node.textrect', [Node134_3textStart, 0, Node134_3textWidth, Node134_3height]);
  15480. Node134_3.a('node.color','rgba(0,0,0,1)');
  15481. Node134_3.a('node.font',' '+ Node134_3fontSize + 'px "Arial"');
  15482. Node134_3.a('node.textvisible',true);
  15483. Node134_3.a('node.linefeed',false);
  15484. if (false) {
  15485. Node134_3.a('node.textfunc',function(g) {
  15486. g.beginPath();
  15487. var str=Node134_3.a('node.text') || 'COS :';
  15488. var color=Node134_3.a('node.color') || 'rgba(0,0,0,1)';
  15489. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134_3width,Node134_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node134_3fontSize + 'px "Arial"', 0,g);
  15490. });
  15491. }
  15492. if (false) {
  15493. Node134_3.a('node.underlinepoints',[Node134_3lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node134_3fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node134_3fontSize + 'px "Arial"').width + 6, (Node134_3height - Node134_3fontSize) * 0.5*_ratio.ratioY + Node134_3fontSize + 2 ]);
  15494. Node134_3.a('node.underlinevisible',false);
  15495. Node134_3.a('node.underlineBorderWidth', 1);
  15496. }
  15497. dataModel.add(Node134_3);
  15498. zoomNodeList.push({
  15499. node: Node134_3,
  15500. borderWidth: 0,
  15501. attr: 'node.borderwidth'
  15502. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15503. var Node135 = new ht.Node();
  15504. var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'left', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 50*_ratio.ratioX, Node135height = 20*_ratio.ratioY;
  15505. (function () {
  15506. if (Node135align === 'left') {
  15507. Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
  15508. Node135textWidth = Node135width;
  15509. Node135lineStart = 1;
  15510. } else if (Node135align === 'right') {
  15511. Node135textStart = 0;
  15512. Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
  15513. Node135lineStart = (Node135width - (ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
  15514. } else if (Node135align === 'center') {
  15515. Node135textStart = -3;
  15516. Node135textWidth = Node135width;
  15517. Node135lineStart = Node135width - ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width - 11;
  15518. }
  15519. })();
  15520. Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
  15521. Node135.setPosition(241*ratio.ratioX, 215*ratio.ratioY);
  15522. Node135.setWidth(Node135width);
  15523. Node135.setHeight(Node135height);
  15524. Node135._nodeType = 'text';
  15525. Node135._disallowEvert = true;
  15526. Node135.setRotation(0*Math.PI/180);
  15527. Node135.a('node.width', Node135width);
  15528. Node135.a('node.height', Node135height);
  15529. Node135.a('node.rect', [0, 0, Node135width, Node135height]);
  15530. Node135.a('node.bordercolor','rgba(0,0,0,1)');
  15531. Node135.a('node.borderwidth', 0);
  15532. Node135.a('node.background','' || 'rgba(0,0,0,0)');
  15533. Node135.a('node.gradient','');
  15534. Node135.a('node.gradientcolor','');
  15535. Node135.a('node.text','0');
  15536. Node135.a('node.textalign','left');
  15537. Node135.a('node.textvAlign','middle');
  15538. Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
  15539. Node135.a('node.color','rgba(0,0,0,1)');
  15540. Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
  15541. Node135.a('node.textvisible',true);
  15542. Node135.a('node.linefeed',false);
  15543. if (false) {
  15544. Node135.a('node.textfunc',function(g) {
  15545. g.beginPath();
  15546. var str=Node135.a('node.text') || '0';
  15547. var color=Node135.a('node.color') || 'rgba(0,0,0,1)';
  15548. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
  15549. });
  15550. }
  15551. if (false) {
  15552. Node135.a('node.underlinepoints',[Node135lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
  15553. Node135.a('node.underlinevisible',false);
  15554. Node135.a('node.underlineBorderWidth', 1);
  15555. }
  15556. dataModel.add(Node135);
  15557. zoomNodeList.push({
  15558. node: Node135,
  15559. borderWidth: 0,
  15560. attr: 'node.borderwidth'
  15561. }); var Node136points=[454, 229,519, 229],
  15562. Node136rect=ht.Default.unionPoint([{x:454,y:229},{x:519,y:229}]),
  15563. Node136compspts=[];
  15564. _ratio = GD.getRatioWithRotation(0, ratio);
  15565. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  15566. _endratio = GD.getRatioWithRotation(0, ratio);
  15567. for(var i=0;i<Node136points.length;i++){
  15568. if(i%2==0){
  15569. Node136compspts.push(Node136points[i]-Node136rect.x);
  15570. }else{
  15571. Node136compspts.push(Node136points[i]-Node136rect.y);
  15572. }
  15573. }
  15574. var Node136ptslength=Node136compspts.length;
  15575. if (Node136rect.height === 0) {
  15576. Node136compspts[0] -= 0;
  15577. Node136compspts[Node136ptslength-2] += 0;
  15578. } else if (Node136rect.width === 0){
  15579. Node136compspts[1] -= 0;
  15580. Node136compspts[Node136ptslength-1] += 0;
  15581. } else {
  15582. Node136compspts[0] -= 0;
  15583. Node136compspts[1] -= 0;
  15584. Node136compspts[Node136ptslength-2] += 0;
  15585. Node136compspts[Node136ptslength-1] += 0;
  15586. }
  15587. Node136 = new ht.Node();
  15588. Node136.borderWidth = 1;
  15589. Node136rect.width = Node136rect.width === 0 ? 0.0001 : Node136rect.width;
  15590. Node136rect.height = Node136rect.height === 0 ? 0.0001 : Node136rect.height;
  15591. var Node136endCompspts = [Node136compspts[Node136ptslength-2],Node136compspts[Node136ptslength-1],0,0];
  15592. var Node136startCompspts = [Node136compspts[0],Node136compspts[1],0,0];
  15593. Node136.setImage(GD.getPolyLineJSON());
  15594. Node136.setPosition(Node136rect.x+Node136rect.width/2,Node136rect.y+Node136rect.height/2);
  15595. Node136.setSize(Node136rect.width,Node136rect.height);
  15596. Node136.setStyle("opacity",1);
  15597. Node136.s({'pixelPerfect':true});
  15598. Node136borderwidth=1;
  15599. Node136.setRotation(0);
  15600. dataModel.add(Node136);
  15601. Node136.a('node.points',Node136compspts);
  15602. Node136.a('node.segments',[1,2]);
  15603. Node136.a('node.color','rgba(255,0,255,1)');
  15604. Node136.a('node.borderPattern',getDashStyle("@borderPattern@"));
  15605. Node136.a('node.borderColor','rgba(255,0,255,1)');
  15606. Node136.a('node.background','rgba(255,0,255,1)');
  15607. Node136.a('node.gradient','');
  15608. Node136.a('node.gradientcolor','rgba(255,0,255,1)');
  15609. Node136.a('node.endCompspts',Node136endCompspts);
  15610. Node136.a('node.startCompspts',Node136startCompspts);
  15611. (function (node, img, compspts, endCompspts, startCompspts) {
  15612. var position = node.getPosition(),
  15613. w = node.getWidth()*_ratio.ratioX,
  15614. h = node.getHeight()*_ratio.ratioY;
  15615. function resetPoints(rx, ry) {
  15616. for (var i = 0, len = compspts.length; i < len; i++) {
  15617. if (i%2 === 0) {
  15618. compspts[i]*=rx;
  15619. } else {
  15620. compspts[i]*=ry;
  15621. }
  15622. }
  15623. endCompspts[0] = compspts[compspts.length-2];
  15624. endCompspts[1] = compspts[compspts.length-1];
  15625. endCompspts[2] *= rx;
  15626. endCompspts[3] *= ry;
  15627. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  15628. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  15629. startCompspts[0] = compspts[0];
  15630. startCompspts[1] = compspts[1];
  15631. startCompspts[2] *= rx;
  15632. startCompspts[3] *= ry;
  15633. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  15634. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  15635. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  15636. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  15637. }
  15638. node.setSize(w, h);
  15639. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  15640. node.a('node.width', w);
  15641. node.a('node.height', h);
  15642. resetPoints(_ratio.ratioX, _ratio.ratioY);
  15643. node.borderWidth = 1;
  15644. node.a('node.borderwidth',node.borderWidth);
  15645. node._nodename = 'Node136';
  15646. node._nodeType = 'line';
  15647. zoomNodeList.push({
  15648. node: node,
  15649. attr: 'node.borderwidth'
  15650. });
  15651. var setWidth = node.setWidth,
  15652. setHeight = node.setHeight,
  15653. timer, rx = 1, ry = 1;
  15654. node.setWidth = function (width) {
  15655. var _width = this.getWidth();
  15656. rx = width / _width;
  15657. node.a('node.width', width);
  15658. setWidth.apply(this, arguments);
  15659. resetPoints(rx, 1);
  15660. }
  15661. node.setHeight = function (height) {
  15662. var _height = this.getHeight();
  15663. ry = height / _height;
  15664. node.a('node.height', height);
  15665. setHeight.apply(this, arguments);
  15666. resetPoints(1, ry);
  15667. }
  15668. })(Node136, Node136.getImage(), Node136compspts, Node136endCompspts, Node136startCompspts);
  15669. var Node137points=[519, 229,519, 236],
  15670. Node137rect=ht.Default.unionPoint([{x:519,y:229},{x:519,y:236}]),
  15671. Node137compspts=[];
  15672. _ratio = GD.getRatioWithRotation(0, ratio);
  15673. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  15674. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  15675. for(var i=0;i<Node137points.length;i++){
  15676. if(i%2==0){
  15677. Node137compspts.push(Node137points[i]-Node137rect.x);
  15678. }else{
  15679. Node137compspts.push(Node137points[i]-Node137rect.y);
  15680. }
  15681. }
  15682. var Node137ptslength=Node137compspts.length;
  15683. if (Node137rect.height === 0) {
  15684. Node137compspts[0] -= 0;
  15685. Node137compspts[Node137ptslength-2] += 0;
  15686. } else if (Node137rect.width === 0){
  15687. Node137compspts[1] -= 0;
  15688. Node137compspts[Node137ptslength-1] += 0;
  15689. } else {
  15690. Node137compspts[0] -= 0;
  15691. Node137compspts[1] -= 0;
  15692. Node137compspts[Node137ptslength-2] += 0;
  15693. Node137compspts[Node137ptslength-1] += 0;
  15694. }
  15695. Node137 = new ht.Node();
  15696. Node137.borderWidth = 1;
  15697. Node137rect.width = Node137rect.width === 0 ? 0.0001 : Node137rect.width;
  15698. Node137rect.height = Node137rect.height === 0 ? 0.0001 : Node137rect.height;
  15699. var Node137endCompspts = [Node137compspts[Node137ptslength-2],Node137compspts[Node137ptslength-1],0,0];
  15700. var Node137startCompspts = [Node137compspts[0],Node137compspts[1],0,0];
  15701. Node137.setImage(GD.getPolyLineJSON());
  15702. Node137.setPosition(Node137rect.x+Node137rect.width/2,Node137rect.y+Node137rect.height/2);
  15703. Node137.setSize(Node137rect.width,Node137rect.height);
  15704. Node137.setStyle("opacity",1);
  15705. Node137.s({'pixelPerfect':true});
  15706. Node137borderwidth=1;
  15707. Node137.setRotation(0);
  15708. dataModel.add(Node137);
  15709. Node137.a('node.points',Node137compspts);
  15710. Node137.a('node.segments',[1,2]);
  15711. Node137.a('node.color','rgba(255,0,255,1)');
  15712. Node137.a('node.borderPattern',getDashStyle("@borderPattern@"));
  15713. Node137.a('node.borderColor','rgba(255,0,255,1)');
  15714. Node137.a('node.background','rgba(255,0,255,1)');
  15715. Node137.a('node.gradient','');
  15716. Node137.a('node.gradientcolor','rgba(255,0,255,1)');
  15717. Node137.a('node.endCompspts',Node137endCompspts);
  15718. Node137.a('node.startCompspts',Node137startCompspts);
  15719. (function (node, img, compspts, endCompspts, startCompspts) {
  15720. var position = node.getPosition(),
  15721. w = node.getWidth()*_ratio.ratioX,
  15722. h = node.getHeight()*_ratio.ratioY;
  15723. function resetPoints(rx, ry) {
  15724. for (var i = 0, len = compspts.length; i < len; i++) {
  15725. if (i%2 === 0) {
  15726. compspts[i]*=rx;
  15727. } else {
  15728. compspts[i]*=ry;
  15729. }
  15730. }
  15731. endCompspts[0] = compspts[compspts.length-2];
  15732. endCompspts[1] = compspts[compspts.length-1];
  15733. endCompspts[2] *= rx;
  15734. endCompspts[3] *= ry;
  15735. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  15736. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  15737. startCompspts[0] = compspts[0];
  15738. startCompspts[1] = compspts[1];
  15739. startCompspts[2] *= rx;
  15740. startCompspts[3] *= ry;
  15741. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  15742. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  15743. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  15744. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  15745. }
  15746. node.setSize(w, h);
  15747. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  15748. node.a('node.width', w);
  15749. node.a('node.height', h);
  15750. resetPoints(_ratio.ratioX, _ratio.ratioY);
  15751. node.borderWidth = 1;
  15752. node.a('node.borderwidth',node.borderWidth);
  15753. node._nodename = 'Node137';
  15754. node._nodeType = 'line';
  15755. zoomNodeList.push({
  15756. node: node,
  15757. attr: 'node.borderwidth'
  15758. });
  15759. var setWidth = node.setWidth,
  15760. setHeight = node.setHeight,
  15761. timer, rx = 1, ry = 1;
  15762. node.setWidth = function (width) {
  15763. var _width = this.getWidth();
  15764. rx = width / _width;
  15765. node.a('node.width', width);
  15766. setWidth.apply(this, arguments);
  15767. resetPoints(rx, 1);
  15768. }
  15769. node.setHeight = function (height) {
  15770. var _height = this.getHeight();
  15771. ry = height / _height;
  15772. node.a('node.height', height);
  15773. setHeight.apply(this, arguments);
  15774. resetPoints(1, ry);
  15775. }
  15776. })(Node137, Node137.getImage(), Node137compspts, Node137endCompspts, Node137startCompspts);
  15777. var Node138points=[930, 229,996, 229],
  15778. Node138rect=ht.Default.unionPoint([{x:930,y:229},{x:996,y:229}]),
  15779. Node138compspts=[];
  15780. _ratio = GD.getRatioWithRotation(0, ratio);
  15781. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  15782. _endratio = GD.getRatioWithRotation(0, ratio);
  15783. for(var i=0;i<Node138points.length;i++){
  15784. if(i%2==0){
  15785. Node138compspts.push(Node138points[i]-Node138rect.x);
  15786. }else{
  15787. Node138compspts.push(Node138points[i]-Node138rect.y);
  15788. }
  15789. }
  15790. var Node138ptslength=Node138compspts.length;
  15791. if (Node138rect.height === 0) {
  15792. Node138compspts[0] -= 0;
  15793. Node138compspts[Node138ptslength-2] += 0;
  15794. } else if (Node138rect.width === 0){
  15795. Node138compspts[1] -= 0;
  15796. Node138compspts[Node138ptslength-1] += 0;
  15797. } else {
  15798. Node138compspts[0] -= 0;
  15799. Node138compspts[1] -= 0;
  15800. Node138compspts[Node138ptslength-2] += 0;
  15801. Node138compspts[Node138ptslength-1] += 0;
  15802. }
  15803. Node138 = new ht.Node();
  15804. Node138.borderWidth = 1;
  15805. Node138rect.width = Node138rect.width === 0 ? 0.0001 : Node138rect.width;
  15806. Node138rect.height = Node138rect.height === 0 ? 0.0001 : Node138rect.height;
  15807. var Node138endCompspts = [Node138compspts[Node138ptslength-2],Node138compspts[Node138ptslength-1],0,0];
  15808. var Node138startCompspts = [Node138compspts[0],Node138compspts[1],0,0];
  15809. Node138.setImage(GD.getPolyLineJSON());
  15810. Node138.setPosition(Node138rect.x+Node138rect.width/2,Node138rect.y+Node138rect.height/2);
  15811. Node138.setSize(Node138rect.width,Node138rect.height);
  15812. Node138.setStyle("opacity",1);
  15813. Node138.s({'pixelPerfect':true});
  15814. Node138borderwidth=1;
  15815. Node138.setRotation(0);
  15816. dataModel.add(Node138);
  15817. Node138.a('node.points',Node138compspts);
  15818. Node138.a('node.segments',[1,2]);
  15819. Node138.a('node.color','rgba(255,0,255,1)');
  15820. Node138.a('node.borderPattern',getDashStyle("@borderPattern@"));
  15821. Node138.a('node.borderColor','rgba(255,0,255,1)');
  15822. Node138.a('node.background','rgba(255,0,255,1)');
  15823. Node138.a('node.gradient','');
  15824. Node138.a('node.gradientcolor','rgba(255,0,255,1)');
  15825. Node138.a('node.endCompspts',Node138endCompspts);
  15826. Node138.a('node.startCompspts',Node138startCompspts);
  15827. (function (node, img, compspts, endCompspts, startCompspts) {
  15828. var position = node.getPosition(),
  15829. w = node.getWidth()*_ratio.ratioX,
  15830. h = node.getHeight()*_ratio.ratioY;
  15831. function resetPoints(rx, ry) {
  15832. for (var i = 0, len = compspts.length; i < len; i++) {
  15833. if (i%2 === 0) {
  15834. compspts[i]*=rx;
  15835. } else {
  15836. compspts[i]*=ry;
  15837. }
  15838. }
  15839. endCompspts[0] = compspts[compspts.length-2];
  15840. endCompspts[1] = compspts[compspts.length-1];
  15841. endCompspts[2] *= rx;
  15842. endCompspts[3] *= ry;
  15843. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  15844. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  15845. startCompspts[0] = compspts[0];
  15846. startCompspts[1] = compspts[1];
  15847. startCompspts[2] *= rx;
  15848. startCompspts[3] *= ry;
  15849. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  15850. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  15851. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  15852. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  15853. }
  15854. node.setSize(w, h);
  15855. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  15856. node.a('node.width', w);
  15857. node.a('node.height', h);
  15858. resetPoints(_ratio.ratioX, _ratio.ratioY);
  15859. node.borderWidth = 1;
  15860. node.a('node.borderwidth',node.borderWidth);
  15861. node._nodename = 'Node138';
  15862. node._nodeType = 'line';
  15863. zoomNodeList.push({
  15864. node: node,
  15865. attr: 'node.borderwidth'
  15866. });
  15867. var setWidth = node.setWidth,
  15868. setHeight = node.setHeight,
  15869. timer, rx = 1, ry = 1;
  15870. node.setWidth = function (width) {
  15871. var _width = this.getWidth();
  15872. rx = width / _width;
  15873. node.a('node.width', width);
  15874. setWidth.apply(this, arguments);
  15875. resetPoints(rx, 1);
  15876. }
  15877. node.setHeight = function (height) {
  15878. var _height = this.getHeight();
  15879. ry = height / _height;
  15880. node.a('node.height', height);
  15881. setHeight.apply(this, arguments);
  15882. resetPoints(1, ry);
  15883. }
  15884. })(Node138, Node138.getImage(), Node138compspts, Node138endCompspts, Node138startCompspts);
  15885. var Node139points=[454, 273,519, 273],
  15886. Node139rect=ht.Default.unionPoint([{x:454,y:273},{x:519,y:273}]),
  15887. Node139compspts=[];
  15888. _ratio = GD.getRatioWithRotation(0, ratio);
  15889. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  15890. _endratio = GD.getRatioWithRotation(0, ratio);
  15891. for(var i=0;i<Node139points.length;i++){
  15892. if(i%2==0){
  15893. Node139compspts.push(Node139points[i]-Node139rect.x);
  15894. }else{
  15895. Node139compspts.push(Node139points[i]-Node139rect.y);
  15896. }
  15897. }
  15898. var Node139ptslength=Node139compspts.length;
  15899. if (Node139rect.height === 0) {
  15900. Node139compspts[0] -= 0;
  15901. Node139compspts[Node139ptslength-2] += 0;
  15902. } else if (Node139rect.width === 0){
  15903. Node139compspts[1] -= 0;
  15904. Node139compspts[Node139ptslength-1] += 0;
  15905. } else {
  15906. Node139compspts[0] -= 0;
  15907. Node139compspts[1] -= 0;
  15908. Node139compspts[Node139ptslength-2] += 0;
  15909. Node139compspts[Node139ptslength-1] += 0;
  15910. }
  15911. Node139 = new ht.Node();
  15912. Node139.borderWidth = 1;
  15913. Node139rect.width = Node139rect.width === 0 ? 0.0001 : Node139rect.width;
  15914. Node139rect.height = Node139rect.height === 0 ? 0.0001 : Node139rect.height;
  15915. var Node139endCompspts = [Node139compspts[Node139ptslength-2],Node139compspts[Node139ptslength-1],0,0];
  15916. var Node139startCompspts = [Node139compspts[0],Node139compspts[1],0,0];
  15917. Node139.setImage(GD.getPolyLineJSON());
  15918. Node139.setPosition(Node139rect.x+Node139rect.width/2,Node139rect.y+Node139rect.height/2);
  15919. Node139.setSize(Node139rect.width,Node139rect.height);
  15920. Node139.setStyle("opacity",1);
  15921. Node139.s({'pixelPerfect':true});
  15922. Node139borderwidth=1;
  15923. Node139.setRotation(0);
  15924. dataModel.add(Node139);
  15925. Node139.a('node.points',Node139compspts);
  15926. Node139.a('node.segments',[1,2]);
  15927. Node139.a('node.color','rgba(255,0,255,1)');
  15928. Node139.a('node.borderPattern',getDashStyle("@borderPattern@"));
  15929. Node139.a('node.borderColor','rgba(255,0,255,1)');
  15930. Node139.a('node.background','rgba(255,0,255,1)');
  15931. Node139.a('node.gradient','');
  15932. Node139.a('node.gradientcolor','rgba(255,0,255,1)');
  15933. Node139.a('node.endCompspts',Node139endCompspts);
  15934. Node139.a('node.startCompspts',Node139startCompspts);
  15935. (function (node, img, compspts, endCompspts, startCompspts) {
  15936. var position = node.getPosition(),
  15937. w = node.getWidth()*_ratio.ratioX,
  15938. h = node.getHeight()*_ratio.ratioY;
  15939. function resetPoints(rx, ry) {
  15940. for (var i = 0, len = compspts.length; i < len; i++) {
  15941. if (i%2 === 0) {
  15942. compspts[i]*=rx;
  15943. } else {
  15944. compspts[i]*=ry;
  15945. }
  15946. }
  15947. endCompspts[0] = compspts[compspts.length-2];
  15948. endCompspts[1] = compspts[compspts.length-1];
  15949. endCompspts[2] *= rx;
  15950. endCompspts[3] *= ry;
  15951. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  15952. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  15953. startCompspts[0] = compspts[0];
  15954. startCompspts[1] = compspts[1];
  15955. startCompspts[2] *= rx;
  15956. startCompspts[3] *= ry;
  15957. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  15958. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  15959. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  15960. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  15961. }
  15962. node.setSize(w, h);
  15963. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  15964. node.a('node.width', w);
  15965. node.a('node.height', h);
  15966. resetPoints(_ratio.ratioX, _ratio.ratioY);
  15967. node.borderWidth = 1;
  15968. node.a('node.borderwidth',node.borderWidth);
  15969. node._nodename = 'Node139';
  15970. node._nodeType = 'line';
  15971. zoomNodeList.push({
  15972. node: node,
  15973. attr: 'node.borderwidth'
  15974. });
  15975. var setWidth = node.setWidth,
  15976. setHeight = node.setHeight,
  15977. timer, rx = 1, ry = 1;
  15978. node.setWidth = function (width) {
  15979. var _width = this.getWidth();
  15980. rx = width / _width;
  15981. node.a('node.width', width);
  15982. setWidth.apply(this, arguments);
  15983. resetPoints(rx, 1);
  15984. }
  15985. node.setHeight = function (height) {
  15986. var _height = this.getHeight();
  15987. ry = height / _height;
  15988. node.a('node.height', height);
  15989. setHeight.apply(this, arguments);
  15990. resetPoints(1, ry);
  15991. }
  15992. })(Node139, Node139.getImage(), Node139compspts, Node139endCompspts, Node139startCompspts);
  15993. var Node140points=[519, 273,519, 280],
  15994. Node140rect=ht.Default.unionPoint([{x:519,y:273},{x:519,y:280}]),
  15995. Node140compspts=[];
  15996. _ratio = GD.getRatioWithRotation(0, ratio);
  15997. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  15998. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  15999. for(var i=0;i<Node140points.length;i++){
  16000. if(i%2==0){
  16001. Node140compspts.push(Node140points[i]-Node140rect.x);
  16002. }else{
  16003. Node140compspts.push(Node140points[i]-Node140rect.y);
  16004. }
  16005. }
  16006. var Node140ptslength=Node140compspts.length;
  16007. if (Node140rect.height === 0) {
  16008. Node140compspts[0] -= 0;
  16009. Node140compspts[Node140ptslength-2] += 0;
  16010. } else if (Node140rect.width === 0){
  16011. Node140compspts[1] -= 0;
  16012. Node140compspts[Node140ptslength-1] += 0;
  16013. } else {
  16014. Node140compspts[0] -= 0;
  16015. Node140compspts[1] -= 0;
  16016. Node140compspts[Node140ptslength-2] += 0;
  16017. Node140compspts[Node140ptslength-1] += 0;
  16018. }
  16019. Node140 = new ht.Node();
  16020. Node140.borderWidth = 1;
  16021. Node140rect.width = Node140rect.width === 0 ? 0.0001 : Node140rect.width;
  16022. Node140rect.height = Node140rect.height === 0 ? 0.0001 : Node140rect.height;
  16023. var Node140endCompspts = [Node140compspts[Node140ptslength-2],Node140compspts[Node140ptslength-1],0,0];
  16024. var Node140startCompspts = [Node140compspts[0],Node140compspts[1],0,0];
  16025. Node140.setImage(GD.getPolyLineJSON());
  16026. Node140.setPosition(Node140rect.x+Node140rect.width/2,Node140rect.y+Node140rect.height/2);
  16027. Node140.setSize(Node140rect.width,Node140rect.height);
  16028. Node140.setStyle("opacity",1);
  16029. Node140.s({'pixelPerfect':true});
  16030. Node140borderwidth=1;
  16031. Node140.setRotation(0);
  16032. dataModel.add(Node140);
  16033. Node140.a('node.points',Node140compspts);
  16034. Node140.a('node.segments',[1,2]);
  16035. Node140.a('node.color','rgba(255,0,255,1)');
  16036. Node140.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16037. Node140.a('node.borderColor','rgba(255,0,255,1)');
  16038. Node140.a('node.background','rgba(255,0,255,1)');
  16039. Node140.a('node.gradient','');
  16040. Node140.a('node.gradientcolor','rgba(255,0,255,1)');
  16041. Node140.a('node.endCompspts',Node140endCompspts);
  16042. Node140.a('node.startCompspts',Node140startCompspts);
  16043. (function (node, img, compspts, endCompspts, startCompspts) {
  16044. var position = node.getPosition(),
  16045. w = node.getWidth()*_ratio.ratioX,
  16046. h = node.getHeight()*_ratio.ratioY;
  16047. function resetPoints(rx, ry) {
  16048. for (var i = 0, len = compspts.length; i < len; i++) {
  16049. if (i%2 === 0) {
  16050. compspts[i]*=rx;
  16051. } else {
  16052. compspts[i]*=ry;
  16053. }
  16054. }
  16055. endCompspts[0] = compspts[compspts.length-2];
  16056. endCompspts[1] = compspts[compspts.length-1];
  16057. endCompspts[2] *= rx;
  16058. endCompspts[3] *= ry;
  16059. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16060. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16061. startCompspts[0] = compspts[0];
  16062. startCompspts[1] = compspts[1];
  16063. startCompspts[2] *= rx;
  16064. startCompspts[3] *= ry;
  16065. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16066. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16067. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16068. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16069. }
  16070. node.setSize(w, h);
  16071. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16072. node.a('node.width', w);
  16073. node.a('node.height', h);
  16074. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16075. node.borderWidth = 1;
  16076. node.a('node.borderwidth',node.borderWidth);
  16077. node._nodename = 'Node140';
  16078. node._nodeType = 'line';
  16079. zoomNodeList.push({
  16080. node: node,
  16081. attr: 'node.borderwidth'
  16082. });
  16083. var setWidth = node.setWidth,
  16084. setHeight = node.setHeight,
  16085. timer, rx = 1, ry = 1;
  16086. node.setWidth = function (width) {
  16087. var _width = this.getWidth();
  16088. rx = width / _width;
  16089. node.a('node.width', width);
  16090. setWidth.apply(this, arguments);
  16091. resetPoints(rx, 1);
  16092. }
  16093. node.setHeight = function (height) {
  16094. var _height = this.getHeight();
  16095. ry = height / _height;
  16096. node.a('node.height', height);
  16097. setHeight.apply(this, arguments);
  16098. resetPoints(1, ry);
  16099. }
  16100. })(Node140, Node140.getImage(), Node140compspts, Node140endCompspts, Node140startCompspts);
  16101. var Node141points=[454, 315,519, 315],
  16102. Node141rect=ht.Default.unionPoint([{x:454,y:315},{x:519,y:315}]),
  16103. Node141compspts=[];
  16104. _ratio = GD.getRatioWithRotation(0, ratio);
  16105. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  16106. _endratio = GD.getRatioWithRotation(0, ratio);
  16107. for(var i=0;i<Node141points.length;i++){
  16108. if(i%2==0){
  16109. Node141compspts.push(Node141points[i]-Node141rect.x);
  16110. }else{
  16111. Node141compspts.push(Node141points[i]-Node141rect.y);
  16112. }
  16113. }
  16114. var Node141ptslength=Node141compspts.length;
  16115. if (Node141rect.height === 0) {
  16116. Node141compspts[0] -= 0;
  16117. Node141compspts[Node141ptslength-2] += 0;
  16118. } else if (Node141rect.width === 0){
  16119. Node141compspts[1] -= 0;
  16120. Node141compspts[Node141ptslength-1] += 0;
  16121. } else {
  16122. Node141compspts[0] -= 0;
  16123. Node141compspts[1] -= 0;
  16124. Node141compspts[Node141ptslength-2] += 0;
  16125. Node141compspts[Node141ptslength-1] += 0;
  16126. }
  16127. Node141 = new ht.Node();
  16128. Node141.borderWidth = 1;
  16129. Node141rect.width = Node141rect.width === 0 ? 0.0001 : Node141rect.width;
  16130. Node141rect.height = Node141rect.height === 0 ? 0.0001 : Node141rect.height;
  16131. var Node141endCompspts = [Node141compspts[Node141ptslength-2],Node141compspts[Node141ptslength-1],0,0];
  16132. var Node141startCompspts = [Node141compspts[0],Node141compspts[1],0,0];
  16133. Node141.setImage(GD.getPolyLineJSON());
  16134. Node141.setPosition(Node141rect.x+Node141rect.width/2,Node141rect.y+Node141rect.height/2);
  16135. Node141.setSize(Node141rect.width,Node141rect.height);
  16136. Node141.setStyle("opacity",1);
  16137. Node141.s({'pixelPerfect':true});
  16138. Node141borderwidth=1;
  16139. Node141.setRotation(0);
  16140. dataModel.add(Node141);
  16141. Node141.a('node.points',Node141compspts);
  16142. Node141.a('node.segments',[1,2]);
  16143. Node141.a('node.color','rgba(255,0,255,1)');
  16144. Node141.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16145. Node141.a('node.borderColor','rgba(255,0,255,1)');
  16146. Node141.a('node.background','rgba(255,0,255,1)');
  16147. Node141.a('node.gradient','');
  16148. Node141.a('node.gradientcolor','rgba(255,0,255,1)');
  16149. Node141.a('node.endCompspts',Node141endCompspts);
  16150. Node141.a('node.startCompspts',Node141startCompspts);
  16151. (function (node, img, compspts, endCompspts, startCompspts) {
  16152. var position = node.getPosition(),
  16153. w = node.getWidth()*_ratio.ratioX,
  16154. h = node.getHeight()*_ratio.ratioY;
  16155. function resetPoints(rx, ry) {
  16156. for (var i = 0, len = compspts.length; i < len; i++) {
  16157. if (i%2 === 0) {
  16158. compspts[i]*=rx;
  16159. } else {
  16160. compspts[i]*=ry;
  16161. }
  16162. }
  16163. endCompspts[0] = compspts[compspts.length-2];
  16164. endCompspts[1] = compspts[compspts.length-1];
  16165. endCompspts[2] *= rx;
  16166. endCompspts[3] *= ry;
  16167. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16168. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16169. startCompspts[0] = compspts[0];
  16170. startCompspts[1] = compspts[1];
  16171. startCompspts[2] *= rx;
  16172. startCompspts[3] *= ry;
  16173. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16174. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16175. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16176. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16177. }
  16178. node.setSize(w, h);
  16179. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16180. node.a('node.width', w);
  16181. node.a('node.height', h);
  16182. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16183. node.borderWidth = 1;
  16184. node.a('node.borderwidth',node.borderWidth);
  16185. node._nodename = 'Node141';
  16186. node._nodeType = 'line';
  16187. zoomNodeList.push({
  16188. node: node,
  16189. attr: 'node.borderwidth'
  16190. });
  16191. var setWidth = node.setWidth,
  16192. setHeight = node.setHeight,
  16193. timer, rx = 1, ry = 1;
  16194. node.setWidth = function (width) {
  16195. var _width = this.getWidth();
  16196. rx = width / _width;
  16197. node.a('node.width', width);
  16198. setWidth.apply(this, arguments);
  16199. resetPoints(rx, 1);
  16200. }
  16201. node.setHeight = function (height) {
  16202. var _height = this.getHeight();
  16203. ry = height / _height;
  16204. node.a('node.height', height);
  16205. setHeight.apply(this, arguments);
  16206. resetPoints(1, ry);
  16207. }
  16208. })(Node141, Node141.getImage(), Node141compspts, Node141endCompspts, Node141startCompspts);
  16209. var Node142points=[519, 315,519, 322],
  16210. Node142rect=ht.Default.unionPoint([{x:519,y:315},{x:519,y:322}]),
  16211. Node142compspts=[];
  16212. _ratio = GD.getRatioWithRotation(0, ratio);
  16213. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  16214. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  16215. for(var i=0;i<Node142points.length;i++){
  16216. if(i%2==0){
  16217. Node142compspts.push(Node142points[i]-Node142rect.x);
  16218. }else{
  16219. Node142compspts.push(Node142points[i]-Node142rect.y);
  16220. }
  16221. }
  16222. var Node142ptslength=Node142compspts.length;
  16223. if (Node142rect.height === 0) {
  16224. Node142compspts[0] -= 0;
  16225. Node142compspts[Node142ptslength-2] += 0;
  16226. } else if (Node142rect.width === 0){
  16227. Node142compspts[1] -= 0;
  16228. Node142compspts[Node142ptslength-1] += 0;
  16229. } else {
  16230. Node142compspts[0] -= 0;
  16231. Node142compspts[1] -= 0;
  16232. Node142compspts[Node142ptslength-2] += 0;
  16233. Node142compspts[Node142ptslength-1] += 0;
  16234. }
  16235. Node142 = new ht.Node();
  16236. Node142.borderWidth = 1;
  16237. Node142rect.width = Node142rect.width === 0 ? 0.0001 : Node142rect.width;
  16238. Node142rect.height = Node142rect.height === 0 ? 0.0001 : Node142rect.height;
  16239. var Node142endCompspts = [Node142compspts[Node142ptslength-2],Node142compspts[Node142ptslength-1],0,0];
  16240. var Node142startCompspts = [Node142compspts[0],Node142compspts[1],0,0];
  16241. Node142.setImage(GD.getPolyLineJSON());
  16242. Node142.setPosition(Node142rect.x+Node142rect.width/2,Node142rect.y+Node142rect.height/2);
  16243. Node142.setSize(Node142rect.width,Node142rect.height);
  16244. Node142.setStyle("opacity",1);
  16245. Node142.s({'pixelPerfect':true});
  16246. Node142borderwidth=1;
  16247. Node142.setRotation(0);
  16248. dataModel.add(Node142);
  16249. Node142.a('node.points',Node142compspts);
  16250. Node142.a('node.segments',[1,2]);
  16251. Node142.a('node.color','rgba(255,0,255,1)');
  16252. Node142.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16253. Node142.a('node.borderColor','rgba(255,0,255,1)');
  16254. Node142.a('node.background','rgba(255,0,255,1)');
  16255. Node142.a('node.gradient','');
  16256. Node142.a('node.gradientcolor','rgba(255,0,255,1)');
  16257. Node142.a('node.endCompspts',Node142endCompspts);
  16258. Node142.a('node.startCompspts',Node142startCompspts);
  16259. (function (node, img, compspts, endCompspts, startCompspts) {
  16260. var position = node.getPosition(),
  16261. w = node.getWidth()*_ratio.ratioX,
  16262. h = node.getHeight()*_ratio.ratioY;
  16263. function resetPoints(rx, ry) {
  16264. for (var i = 0, len = compspts.length; i < len; i++) {
  16265. if (i%2 === 0) {
  16266. compspts[i]*=rx;
  16267. } else {
  16268. compspts[i]*=ry;
  16269. }
  16270. }
  16271. endCompspts[0] = compspts[compspts.length-2];
  16272. endCompspts[1] = compspts[compspts.length-1];
  16273. endCompspts[2] *= rx;
  16274. endCompspts[3] *= ry;
  16275. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16276. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16277. startCompspts[0] = compspts[0];
  16278. startCompspts[1] = compspts[1];
  16279. startCompspts[2] *= rx;
  16280. startCompspts[3] *= ry;
  16281. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16282. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16283. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16284. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16285. }
  16286. node.setSize(w, h);
  16287. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16288. node.a('node.width', w);
  16289. node.a('node.height', h);
  16290. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16291. node.borderWidth = 1;
  16292. node.a('node.borderwidth',node.borderWidth);
  16293. node._nodename = 'Node142';
  16294. node._nodeType = 'line';
  16295. zoomNodeList.push({
  16296. node: node,
  16297. attr: 'node.borderwidth'
  16298. });
  16299. var setWidth = node.setWidth,
  16300. setHeight = node.setHeight,
  16301. timer, rx = 1, ry = 1;
  16302. node.setWidth = function (width) {
  16303. var _width = this.getWidth();
  16304. rx = width / _width;
  16305. node.a('node.width', width);
  16306. setWidth.apply(this, arguments);
  16307. resetPoints(rx, 1);
  16308. }
  16309. node.setHeight = function (height) {
  16310. var _height = this.getHeight();
  16311. ry = height / _height;
  16312. node.a('node.height', height);
  16313. setHeight.apply(this, arguments);
  16314. resetPoints(1, ry);
  16315. }
  16316. })(Node142, Node142.getImage(), Node142compspts, Node142endCompspts, Node142startCompspts);
  16317. var Node143points=[930, 273,996, 273],
  16318. Node143rect=ht.Default.unionPoint([{x:930,y:273},{x:996,y:273}]),
  16319. Node143compspts=[];
  16320. _ratio = GD.getRatioWithRotation(0, ratio);
  16321. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  16322. _endratio = GD.getRatioWithRotation(0, ratio);
  16323. for(var i=0;i<Node143points.length;i++){
  16324. if(i%2==0){
  16325. Node143compspts.push(Node143points[i]-Node143rect.x);
  16326. }else{
  16327. Node143compspts.push(Node143points[i]-Node143rect.y);
  16328. }
  16329. }
  16330. var Node143ptslength=Node143compspts.length;
  16331. if (Node143rect.height === 0) {
  16332. Node143compspts[0] -= 0;
  16333. Node143compspts[Node143ptslength-2] += 0;
  16334. } else if (Node143rect.width === 0){
  16335. Node143compspts[1] -= 0;
  16336. Node143compspts[Node143ptslength-1] += 0;
  16337. } else {
  16338. Node143compspts[0] -= 0;
  16339. Node143compspts[1] -= 0;
  16340. Node143compspts[Node143ptslength-2] += 0;
  16341. Node143compspts[Node143ptslength-1] += 0;
  16342. }
  16343. Node143 = new ht.Node();
  16344. Node143.borderWidth = 1;
  16345. Node143rect.width = Node143rect.width === 0 ? 0.0001 : Node143rect.width;
  16346. Node143rect.height = Node143rect.height === 0 ? 0.0001 : Node143rect.height;
  16347. var Node143endCompspts = [Node143compspts[Node143ptslength-2],Node143compspts[Node143ptslength-1],0,0];
  16348. var Node143startCompspts = [Node143compspts[0],Node143compspts[1],0,0];
  16349. Node143.setImage(GD.getPolyLineJSON());
  16350. Node143.setPosition(Node143rect.x+Node143rect.width/2,Node143rect.y+Node143rect.height/2);
  16351. Node143.setSize(Node143rect.width,Node143rect.height);
  16352. Node143.setStyle("opacity",1);
  16353. Node143.s({'pixelPerfect':true});
  16354. Node143borderwidth=1;
  16355. Node143.setRotation(0);
  16356. dataModel.add(Node143);
  16357. Node143.a('node.points',Node143compspts);
  16358. Node143.a('node.segments',[1,2]);
  16359. Node143.a('node.color','rgba(255,0,255,1)');
  16360. Node143.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16361. Node143.a('node.borderColor','rgba(255,0,255,1)');
  16362. Node143.a('node.background','rgba(255,0,255,1)');
  16363. Node143.a('node.gradient','');
  16364. Node143.a('node.gradientcolor','rgba(255,0,255,1)');
  16365. Node143.a('node.endCompspts',Node143endCompspts);
  16366. Node143.a('node.startCompspts',Node143startCompspts);
  16367. (function (node, img, compspts, endCompspts, startCompspts) {
  16368. var position = node.getPosition(),
  16369. w = node.getWidth()*_ratio.ratioX,
  16370. h = node.getHeight()*_ratio.ratioY;
  16371. function resetPoints(rx, ry) {
  16372. for (var i = 0, len = compspts.length; i < len; i++) {
  16373. if (i%2 === 0) {
  16374. compspts[i]*=rx;
  16375. } else {
  16376. compspts[i]*=ry;
  16377. }
  16378. }
  16379. endCompspts[0] = compspts[compspts.length-2];
  16380. endCompspts[1] = compspts[compspts.length-1];
  16381. endCompspts[2] *= rx;
  16382. endCompspts[3] *= ry;
  16383. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16384. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16385. startCompspts[0] = compspts[0];
  16386. startCompspts[1] = compspts[1];
  16387. startCompspts[2] *= rx;
  16388. startCompspts[3] *= ry;
  16389. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16390. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16391. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16392. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16393. }
  16394. node.setSize(w, h);
  16395. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16396. node.a('node.width', w);
  16397. node.a('node.height', h);
  16398. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16399. node.borderWidth = 1;
  16400. node.a('node.borderwidth',node.borderWidth);
  16401. node._nodename = 'Node143';
  16402. node._nodeType = 'line';
  16403. zoomNodeList.push({
  16404. node: node,
  16405. attr: 'node.borderwidth'
  16406. });
  16407. var setWidth = node.setWidth,
  16408. setHeight = node.setHeight,
  16409. timer, rx = 1, ry = 1;
  16410. node.setWidth = function (width) {
  16411. var _width = this.getWidth();
  16412. rx = width / _width;
  16413. node.a('node.width', width);
  16414. setWidth.apply(this, arguments);
  16415. resetPoints(rx, 1);
  16416. }
  16417. node.setHeight = function (height) {
  16418. var _height = this.getHeight();
  16419. ry = height / _height;
  16420. node.a('node.height', height);
  16421. setHeight.apply(this, arguments);
  16422. resetPoints(1, ry);
  16423. }
  16424. })(Node143, Node143.getImage(), Node143compspts, Node143endCompspts, Node143startCompspts);
  16425. var Node144points=[1303, 267,1368, 267],
  16426. Node144rect=ht.Default.unionPoint([{x:1303,y:267},{x:1368,y:267}]),
  16427. Node144compspts=[];
  16428. _ratio = GD.getRatioWithRotation(0, ratio);
  16429. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  16430. _endratio = GD.getRatioWithRotation(0, ratio);
  16431. for(var i=0;i<Node144points.length;i++){
  16432. if(i%2==0){
  16433. Node144compspts.push(Node144points[i]-Node144rect.x);
  16434. }else{
  16435. Node144compspts.push(Node144points[i]-Node144rect.y);
  16436. }
  16437. }
  16438. var Node144ptslength=Node144compspts.length;
  16439. if (Node144rect.height === 0) {
  16440. Node144compspts[0] -= 0;
  16441. Node144compspts[Node144ptslength-2] += 0;
  16442. } else if (Node144rect.width === 0){
  16443. Node144compspts[1] -= 0;
  16444. Node144compspts[Node144ptslength-1] += 0;
  16445. } else {
  16446. Node144compspts[0] -= 0;
  16447. Node144compspts[1] -= 0;
  16448. Node144compspts[Node144ptslength-2] += 0;
  16449. Node144compspts[Node144ptslength-1] += 0;
  16450. }
  16451. Node144 = new ht.Node();
  16452. Node144.borderWidth = 1;
  16453. Node144rect.width = Node144rect.width === 0 ? 0.0001 : Node144rect.width;
  16454. Node144rect.height = Node144rect.height === 0 ? 0.0001 : Node144rect.height;
  16455. var Node144endCompspts = [Node144compspts[Node144ptslength-2],Node144compspts[Node144ptslength-1],0,0];
  16456. var Node144startCompspts = [Node144compspts[0],Node144compspts[1],0,0];
  16457. Node144.setImage(GD.getPolyLineJSON());
  16458. Node144.setPosition(Node144rect.x+Node144rect.width/2,Node144rect.y+Node144rect.height/2);
  16459. Node144.setSize(Node144rect.width,Node144rect.height);
  16460. Node144.setStyle("opacity",1);
  16461. Node144.s({'pixelPerfect':true});
  16462. Node144borderwidth=1;
  16463. Node144.setRotation(0);
  16464. dataModel.add(Node144);
  16465. Node144.a('node.points',Node144compspts);
  16466. Node144.a('node.segments',[1,2]);
  16467. Node144.a('node.color','rgba(255,0,255,1)');
  16468. Node144.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16469. Node144.a('node.borderColor','rgba(255,0,255,1)');
  16470. Node144.a('node.background','rgba(255,0,255,1)');
  16471. Node144.a('node.gradient','');
  16472. Node144.a('node.gradientcolor','rgba(255,0,255,1)');
  16473. Node144.a('node.endCompspts',Node144endCompspts);
  16474. Node144.a('node.startCompspts',Node144startCompspts);
  16475. (function (node, img, compspts, endCompspts, startCompspts) {
  16476. var position = node.getPosition(),
  16477. w = node.getWidth()*_ratio.ratioX,
  16478. h = node.getHeight()*_ratio.ratioY;
  16479. function resetPoints(rx, ry) {
  16480. for (var i = 0, len = compspts.length; i < len; i++) {
  16481. if (i%2 === 0) {
  16482. compspts[i]*=rx;
  16483. } else {
  16484. compspts[i]*=ry;
  16485. }
  16486. }
  16487. endCompspts[0] = compspts[compspts.length-2];
  16488. endCompspts[1] = compspts[compspts.length-1];
  16489. endCompspts[2] *= rx;
  16490. endCompspts[3] *= ry;
  16491. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16492. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16493. startCompspts[0] = compspts[0];
  16494. startCompspts[1] = compspts[1];
  16495. startCompspts[2] *= rx;
  16496. startCompspts[3] *= ry;
  16497. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16498. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16499. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16500. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16501. }
  16502. node.setSize(w, h);
  16503. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16504. node.a('node.width', w);
  16505. node.a('node.height', h);
  16506. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16507. node.borderWidth = 1;
  16508. node.a('node.borderwidth',node.borderWidth);
  16509. node._nodename = 'Node144';
  16510. node._nodeType = 'line';
  16511. zoomNodeList.push({
  16512. node: node,
  16513. attr: 'node.borderwidth'
  16514. });
  16515. var setWidth = node.setWidth,
  16516. setHeight = node.setHeight,
  16517. timer, rx = 1, ry = 1;
  16518. node.setWidth = function (width) {
  16519. var _width = this.getWidth();
  16520. rx = width / _width;
  16521. node.a('node.width', width);
  16522. setWidth.apply(this, arguments);
  16523. resetPoints(rx, 1);
  16524. }
  16525. node.setHeight = function (height) {
  16526. var _height = this.getHeight();
  16527. ry = height / _height;
  16528. node.a('node.height', height);
  16529. setHeight.apply(this, arguments);
  16530. resetPoints(1, ry);
  16531. }
  16532. })(Node144, Node144.getImage(), Node144compspts, Node144endCompspts, Node144startCompspts);
  16533. var Node145points=[1303, 312,1368, 312],
  16534. Node145rect=ht.Default.unionPoint([{x:1303,y:312},{x:1368,y:312}]),
  16535. Node145compspts=[];
  16536. _ratio = GD.getRatioWithRotation(0, ratio);
  16537. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  16538. _endratio = GD.getRatioWithRotation(0, ratio);
  16539. for(var i=0;i<Node145points.length;i++){
  16540. if(i%2==0){
  16541. Node145compspts.push(Node145points[i]-Node145rect.x);
  16542. }else{
  16543. Node145compspts.push(Node145points[i]-Node145rect.y);
  16544. }
  16545. }
  16546. var Node145ptslength=Node145compspts.length;
  16547. if (Node145rect.height === 0) {
  16548. Node145compspts[0] -= 0;
  16549. Node145compspts[Node145ptslength-2] += 0;
  16550. } else if (Node145rect.width === 0){
  16551. Node145compspts[1] -= 0;
  16552. Node145compspts[Node145ptslength-1] += 0;
  16553. } else {
  16554. Node145compspts[0] -= 0;
  16555. Node145compspts[1] -= 0;
  16556. Node145compspts[Node145ptslength-2] += 0;
  16557. Node145compspts[Node145ptslength-1] += 0;
  16558. }
  16559. Node145 = new ht.Node();
  16560. Node145.borderWidth = 1;
  16561. Node145rect.width = Node145rect.width === 0 ? 0.0001 : Node145rect.width;
  16562. Node145rect.height = Node145rect.height === 0 ? 0.0001 : Node145rect.height;
  16563. var Node145endCompspts = [Node145compspts[Node145ptslength-2],Node145compspts[Node145ptslength-1],0,0];
  16564. var Node145startCompspts = [Node145compspts[0],Node145compspts[1],0,0];
  16565. Node145.setImage(GD.getPolyLineJSON());
  16566. Node145.setPosition(Node145rect.x+Node145rect.width/2,Node145rect.y+Node145rect.height/2);
  16567. Node145.setSize(Node145rect.width,Node145rect.height);
  16568. Node145.setStyle("opacity",1);
  16569. Node145.s({'pixelPerfect':true});
  16570. Node145borderwidth=1;
  16571. Node145.setRotation(0);
  16572. dataModel.add(Node145);
  16573. Node145.a('node.points',Node145compspts);
  16574. Node145.a('node.segments',[1,2]);
  16575. Node145.a('node.color','rgba(255,0,255,1)');
  16576. Node145.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16577. Node145.a('node.borderColor','rgba(255,0,255,1)');
  16578. Node145.a('node.background','rgba(255,0,255,1)');
  16579. Node145.a('node.gradient','');
  16580. Node145.a('node.gradientcolor','rgba(255,0,255,1)');
  16581. Node145.a('node.endCompspts',Node145endCompspts);
  16582. Node145.a('node.startCompspts',Node145startCompspts);
  16583. (function (node, img, compspts, endCompspts, startCompspts) {
  16584. var position = node.getPosition(),
  16585. w = node.getWidth()*_ratio.ratioX,
  16586. h = node.getHeight()*_ratio.ratioY;
  16587. function resetPoints(rx, ry) {
  16588. for (var i = 0, len = compspts.length; i < len; i++) {
  16589. if (i%2 === 0) {
  16590. compspts[i]*=rx;
  16591. } else {
  16592. compspts[i]*=ry;
  16593. }
  16594. }
  16595. endCompspts[0] = compspts[compspts.length-2];
  16596. endCompspts[1] = compspts[compspts.length-1];
  16597. endCompspts[2] *= rx;
  16598. endCompspts[3] *= ry;
  16599. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16600. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16601. startCompspts[0] = compspts[0];
  16602. startCompspts[1] = compspts[1];
  16603. startCompspts[2] *= rx;
  16604. startCompspts[3] *= ry;
  16605. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16606. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16607. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16608. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16609. }
  16610. node.setSize(w, h);
  16611. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16612. node.a('node.width', w);
  16613. node.a('node.height', h);
  16614. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16615. node.borderWidth = 1;
  16616. node.a('node.borderwidth',node.borderWidth);
  16617. node._nodename = 'Node145';
  16618. node._nodeType = 'line';
  16619. zoomNodeList.push({
  16620. node: node,
  16621. attr: 'node.borderwidth'
  16622. });
  16623. var setWidth = node.setWidth,
  16624. setHeight = node.setHeight,
  16625. timer, rx = 1, ry = 1;
  16626. node.setWidth = function (width) {
  16627. var _width = this.getWidth();
  16628. rx = width / _width;
  16629. node.a('node.width', width);
  16630. setWidth.apply(this, arguments);
  16631. resetPoints(rx, 1);
  16632. }
  16633. node.setHeight = function (height) {
  16634. var _height = this.getHeight();
  16635. ry = height / _height;
  16636. node.a('node.height', height);
  16637. setHeight.apply(this, arguments);
  16638. resetPoints(1, ry);
  16639. }
  16640. })(Node145, Node145.getImage(), Node145compspts, Node145endCompspts, Node145startCompspts);
  16641. var Node146points=[1368, 312,1368, 318],
  16642. Node146rect=ht.Default.unionPoint([{x:1368,y:312},{x:1368,y:318}]),
  16643. Node146compspts=[];
  16644. _ratio = GD.getRatioWithRotation(0, ratio);
  16645. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  16646. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  16647. for(var i=0;i<Node146points.length;i++){
  16648. if(i%2==0){
  16649. Node146compspts.push(Node146points[i]-Node146rect.x);
  16650. }else{
  16651. Node146compspts.push(Node146points[i]-Node146rect.y);
  16652. }
  16653. }
  16654. var Node146ptslength=Node146compspts.length;
  16655. if (Node146rect.height === 0) {
  16656. Node146compspts[0] -= 0;
  16657. Node146compspts[Node146ptslength-2] += 0;
  16658. } else if (Node146rect.width === 0){
  16659. Node146compspts[1] -= 0;
  16660. Node146compspts[Node146ptslength-1] += 0;
  16661. } else {
  16662. Node146compspts[0] -= 0;
  16663. Node146compspts[1] -= 0;
  16664. Node146compspts[Node146ptslength-2] += 0;
  16665. Node146compspts[Node146ptslength-1] += 0;
  16666. }
  16667. Node146 = new ht.Node();
  16668. Node146.borderWidth = 1;
  16669. Node146rect.width = Node146rect.width === 0 ? 0.0001 : Node146rect.width;
  16670. Node146rect.height = Node146rect.height === 0 ? 0.0001 : Node146rect.height;
  16671. var Node146endCompspts = [Node146compspts[Node146ptslength-2],Node146compspts[Node146ptslength-1],0,0];
  16672. var Node146startCompspts = [Node146compspts[0],Node146compspts[1],0,0];
  16673. Node146.setImage(GD.getPolyLineJSON());
  16674. Node146.setPosition(Node146rect.x+Node146rect.width/2,Node146rect.y+Node146rect.height/2);
  16675. Node146.setSize(Node146rect.width,Node146rect.height);
  16676. Node146.setStyle("opacity",1);
  16677. Node146.s({'pixelPerfect':true});
  16678. Node146borderwidth=1;
  16679. Node146.setRotation(0);
  16680. dataModel.add(Node146);
  16681. Node146.a('node.points',Node146compspts);
  16682. Node146.a('node.segments',[1,2]);
  16683. Node146.a('node.color','rgba(255,0,255,1)');
  16684. Node146.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16685. Node146.a('node.borderColor','rgba(255,0,255,1)');
  16686. Node146.a('node.background','rgba(255,0,255,1)');
  16687. Node146.a('node.gradient','');
  16688. Node146.a('node.gradientcolor','rgba(255,0,255,1)');
  16689. Node146.a('node.endCompspts',Node146endCompspts);
  16690. Node146.a('node.startCompspts',Node146startCompspts);
  16691. (function (node, img, compspts, endCompspts, startCompspts) {
  16692. var position = node.getPosition(),
  16693. w = node.getWidth()*_ratio.ratioX,
  16694. h = node.getHeight()*_ratio.ratioY;
  16695. function resetPoints(rx, ry) {
  16696. for (var i = 0, len = compspts.length; i < len; i++) {
  16697. if (i%2 === 0) {
  16698. compspts[i]*=rx;
  16699. } else {
  16700. compspts[i]*=ry;
  16701. }
  16702. }
  16703. endCompspts[0] = compspts[compspts.length-2];
  16704. endCompspts[1] = compspts[compspts.length-1];
  16705. endCompspts[2] *= rx;
  16706. endCompspts[3] *= ry;
  16707. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16708. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16709. startCompspts[0] = compspts[0];
  16710. startCompspts[1] = compspts[1];
  16711. startCompspts[2] *= rx;
  16712. startCompspts[3] *= ry;
  16713. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16714. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16715. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16716. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16717. }
  16718. node.setSize(w, h);
  16719. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16720. node.a('node.width', w);
  16721. node.a('node.height', h);
  16722. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16723. node.borderWidth = 1;
  16724. node.a('node.borderwidth',node.borderWidth);
  16725. node._nodename = 'Node146';
  16726. node._nodeType = 'line';
  16727. zoomNodeList.push({
  16728. node: node,
  16729. attr: 'node.borderwidth'
  16730. });
  16731. var setWidth = node.setWidth,
  16732. setHeight = node.setHeight,
  16733. timer, rx = 1, ry = 1;
  16734. node.setWidth = function (width) {
  16735. var _width = this.getWidth();
  16736. rx = width / _width;
  16737. node.a('node.width', width);
  16738. setWidth.apply(this, arguments);
  16739. resetPoints(rx, 1);
  16740. }
  16741. node.setHeight = function (height) {
  16742. var _height = this.getHeight();
  16743. ry = height / _height;
  16744. node.a('node.height', height);
  16745. setHeight.apply(this, arguments);
  16746. resetPoints(1, ry);
  16747. }
  16748. })(Node146, Node146.getImage(), Node146compspts, Node146endCompspts, Node146startCompspts);
  16749. var Node147points=[356, 497,356, 503],
  16750. Node147rect=ht.Default.unionPoint([{x:356,y:497},{x:356,y:503}]),
  16751. Node147compspts=[];
  16752. _ratio = GD.getRatioWithRotation(0, ratio);
  16753. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  16754. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  16755. for(var i=0;i<Node147points.length;i++){
  16756. if(i%2==0){
  16757. Node147compspts.push(Node147points[i]-Node147rect.x);
  16758. }else{
  16759. Node147compspts.push(Node147points[i]-Node147rect.y);
  16760. }
  16761. }
  16762. var Node147ptslength=Node147compspts.length;
  16763. if (Node147rect.height === 0) {
  16764. Node147compspts[0] -= 0;
  16765. Node147compspts[Node147ptslength-2] += 0;
  16766. } else if (Node147rect.width === 0){
  16767. Node147compspts[1] -= 0;
  16768. Node147compspts[Node147ptslength-1] += 0;
  16769. } else {
  16770. Node147compspts[0] -= 0;
  16771. Node147compspts[1] -= 0;
  16772. Node147compspts[Node147ptslength-2] += 0;
  16773. Node147compspts[Node147ptslength-1] += 0;
  16774. }
  16775. Node147 = new ht.Node();
  16776. Node147.borderWidth = 1;
  16777. Node147rect.width = Node147rect.width === 0 ? 0.0001 : Node147rect.width;
  16778. Node147rect.height = Node147rect.height === 0 ? 0.0001 : Node147rect.height;
  16779. var Node147endCompspts = [Node147compspts[Node147ptslength-2],Node147compspts[Node147ptslength-1],0,0];
  16780. var Node147startCompspts = [Node147compspts[0],Node147compspts[1],0,0];
  16781. Node147.setImage(GD.getPolyLineJSON());
  16782. Node147.setPosition(Node147rect.x+Node147rect.width/2,Node147rect.y+Node147rect.height/2);
  16783. Node147.setSize(Node147rect.width,Node147rect.height);
  16784. Node147.setStyle("opacity",1);
  16785. Node147.s({'pixelPerfect':true});
  16786. Node147borderwidth=1;
  16787. Node147.setRotation(0);
  16788. dataModel.add(Node147);
  16789. Node147.a('node.points',Node147compspts);
  16790. Node147.a('node.segments',[1,2]);
  16791. Node147.a('node.color','rgba(255,0,255,1)');
  16792. Node147.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16793. Node147.a('node.borderColor','rgba(255,0,255,1)');
  16794. Node147.a('node.background','rgba(255,0,255,1)');
  16795. Node147.a('node.gradient','');
  16796. Node147.a('node.gradientcolor','rgba(255,0,255,1)');
  16797. Node147.a('node.endCompspts',Node147endCompspts);
  16798. Node147.a('node.startCompspts',Node147startCompspts);
  16799. (function (node, img, compspts, endCompspts, startCompspts) {
  16800. var position = node.getPosition(),
  16801. w = node.getWidth()*_ratio.ratioX,
  16802. h = node.getHeight()*_ratio.ratioY;
  16803. function resetPoints(rx, ry) {
  16804. for (var i = 0, len = compspts.length; i < len; i++) {
  16805. if (i%2 === 0) {
  16806. compspts[i]*=rx;
  16807. } else {
  16808. compspts[i]*=ry;
  16809. }
  16810. }
  16811. endCompspts[0] = compspts[compspts.length-2];
  16812. endCompspts[1] = compspts[compspts.length-1];
  16813. endCompspts[2] *= rx;
  16814. endCompspts[3] *= ry;
  16815. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16816. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16817. startCompspts[0] = compspts[0];
  16818. startCompspts[1] = compspts[1];
  16819. startCompspts[2] *= rx;
  16820. startCompspts[3] *= ry;
  16821. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16822. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16823. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16824. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16825. }
  16826. node.setSize(w, h);
  16827. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16828. node.a('node.width', w);
  16829. node.a('node.height', h);
  16830. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16831. node.borderWidth = 1;
  16832. node.a('node.borderwidth',node.borderWidth);
  16833. node._nodename = 'Node147';
  16834. node._nodeType = 'line';
  16835. zoomNodeList.push({
  16836. node: node,
  16837. attr: 'node.borderwidth'
  16838. });
  16839. var setWidth = node.setWidth,
  16840. setHeight = node.setHeight,
  16841. timer, rx = 1, ry = 1;
  16842. node.setWidth = function (width) {
  16843. var _width = this.getWidth();
  16844. rx = width / _width;
  16845. node.a('node.width', width);
  16846. setWidth.apply(this, arguments);
  16847. resetPoints(rx, 1);
  16848. }
  16849. node.setHeight = function (height) {
  16850. var _height = this.getHeight();
  16851. ry = height / _height;
  16852. node.a('node.height', height);
  16853. setHeight.apply(this, arguments);
  16854. resetPoints(1, ry);
  16855. }
  16856. })(Node147, Node147.getImage(), Node147compspts, Node147endCompspts, Node147startCompspts);
  16857. var Node148points=[483, 448,483, 454],
  16858. Node148rect=ht.Default.unionPoint([{x:483,y:448},{x:483,y:454}]),
  16859. Node148compspts=[];
  16860. _ratio = GD.getRatioWithRotation(0, ratio);
  16861. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  16862. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  16863. for(var i=0;i<Node148points.length;i++){
  16864. if(i%2==0){
  16865. Node148compspts.push(Node148points[i]-Node148rect.x);
  16866. }else{
  16867. Node148compspts.push(Node148points[i]-Node148rect.y);
  16868. }
  16869. }
  16870. var Node148ptslength=Node148compspts.length;
  16871. if (Node148rect.height === 0) {
  16872. Node148compspts[0] -= 0;
  16873. Node148compspts[Node148ptslength-2] += 0;
  16874. } else if (Node148rect.width === 0){
  16875. Node148compspts[1] -= 0;
  16876. Node148compspts[Node148ptslength-1] += 0;
  16877. } else {
  16878. Node148compspts[0] -= 0;
  16879. Node148compspts[1] -= 0;
  16880. Node148compspts[Node148ptslength-2] += 0;
  16881. Node148compspts[Node148ptslength-1] += 0;
  16882. }
  16883. Node148 = new ht.Node();
  16884. Node148.borderWidth = 1;
  16885. Node148rect.width = Node148rect.width === 0 ? 0.0001 : Node148rect.width;
  16886. Node148rect.height = Node148rect.height === 0 ? 0.0001 : Node148rect.height;
  16887. var Node148endCompspts = [Node148compspts[Node148ptslength-2],Node148compspts[Node148ptslength-1],0,0];
  16888. var Node148startCompspts = [Node148compspts[0],Node148compspts[1],0,0];
  16889. Node148.setImage(GD.getPolyLineJSON());
  16890. Node148.setPosition(Node148rect.x+Node148rect.width/2,Node148rect.y+Node148rect.height/2);
  16891. Node148.setSize(Node148rect.width,Node148rect.height);
  16892. Node148.setStyle("opacity",1);
  16893. Node148.s({'pixelPerfect':true});
  16894. Node148borderwidth=1;
  16895. Node148.setRotation(0);
  16896. dataModel.add(Node148);
  16897. Node148.a('node.points',Node148compspts);
  16898. Node148.a('node.segments',[1,2]);
  16899. Node148.a('node.color','rgba(255,0,255,1)');
  16900. Node148.a('node.borderPattern',getDashStyle("@borderPattern@"));
  16901. Node148.a('node.borderColor','rgba(255,0,255,1)');
  16902. Node148.a('node.background','rgba(255,0,255,1)');
  16903. Node148.a('node.gradient','');
  16904. Node148.a('node.gradientcolor','rgba(255,0,255,1)');
  16905. Node148.a('node.endCompspts',Node148endCompspts);
  16906. Node148.a('node.startCompspts',Node148startCompspts);
  16907. (function (node, img, compspts, endCompspts, startCompspts) {
  16908. var position = node.getPosition(),
  16909. w = node.getWidth()*_ratio.ratioX,
  16910. h = node.getHeight()*_ratio.ratioY;
  16911. function resetPoints(rx, ry) {
  16912. for (var i = 0, len = compspts.length; i < len; i++) {
  16913. if (i%2 === 0) {
  16914. compspts[i]*=rx;
  16915. } else {
  16916. compspts[i]*=ry;
  16917. }
  16918. }
  16919. endCompspts[0] = compspts[compspts.length-2];
  16920. endCompspts[1] = compspts[compspts.length-1];
  16921. endCompspts[2] *= rx;
  16922. endCompspts[3] *= ry;
  16923. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  16924. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  16925. startCompspts[0] = compspts[0];
  16926. startCompspts[1] = compspts[1];
  16927. startCompspts[2] *= rx;
  16928. startCompspts[3] *= ry;
  16929. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  16930. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  16931. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  16932. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  16933. }
  16934. node.setSize(w, h);
  16935. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  16936. node.a('node.width', w);
  16937. node.a('node.height', h);
  16938. resetPoints(_ratio.ratioX, _ratio.ratioY);
  16939. node.borderWidth = 1;
  16940. node.a('node.borderwidth',node.borderWidth);
  16941. node._nodename = 'Node148';
  16942. node._nodeType = 'line';
  16943. zoomNodeList.push({
  16944. node: node,
  16945. attr: 'node.borderwidth'
  16946. });
  16947. var setWidth = node.setWidth,
  16948. setHeight = node.setHeight,
  16949. timer, rx = 1, ry = 1;
  16950. node.setWidth = function (width) {
  16951. var _width = this.getWidth();
  16952. rx = width / _width;
  16953. node.a('node.width', width);
  16954. setWidth.apply(this, arguments);
  16955. resetPoints(rx, 1);
  16956. }
  16957. node.setHeight = function (height) {
  16958. var _height = this.getHeight();
  16959. ry = height / _height;
  16960. node.a('node.height', height);
  16961. setHeight.apply(this, arguments);
  16962. resetPoints(1, ry);
  16963. }
  16964. })(Node148, Node148.getImage(), Node148compspts, Node148endCompspts, Node148startCompspts);
  16965. var Node149points=[930, 404,996, 404],
  16966. Node149rect=ht.Default.unionPoint([{x:930,y:404},{x:996,y:404}]),
  16967. Node149compspts=[];
  16968. _ratio = GD.getRatioWithRotation(0, ratio);
  16969. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  16970. _endratio = GD.getRatioWithRotation(0, ratio);
  16971. for(var i=0;i<Node149points.length;i++){
  16972. if(i%2==0){
  16973. Node149compspts.push(Node149points[i]-Node149rect.x);
  16974. }else{
  16975. Node149compspts.push(Node149points[i]-Node149rect.y);
  16976. }
  16977. }
  16978. var Node149ptslength=Node149compspts.length;
  16979. if (Node149rect.height === 0) {
  16980. Node149compspts[0] -= 0;
  16981. Node149compspts[Node149ptslength-2] += 0;
  16982. } else if (Node149rect.width === 0){
  16983. Node149compspts[1] -= 0;
  16984. Node149compspts[Node149ptslength-1] += 0;
  16985. } else {
  16986. Node149compspts[0] -= 0;
  16987. Node149compspts[1] -= 0;
  16988. Node149compspts[Node149ptslength-2] += 0;
  16989. Node149compspts[Node149ptslength-1] += 0;
  16990. }
  16991. Node149 = new ht.Node();
  16992. Node149.borderWidth = 1;
  16993. Node149rect.width = Node149rect.width === 0 ? 0.0001 : Node149rect.width;
  16994. Node149rect.height = Node149rect.height === 0 ? 0.0001 : Node149rect.height;
  16995. var Node149endCompspts = [Node149compspts[Node149ptslength-2],Node149compspts[Node149ptslength-1],0,0];
  16996. var Node149startCompspts = [Node149compspts[0],Node149compspts[1],0,0];
  16997. Node149.setImage(GD.getPolyLineJSON());
  16998. Node149.setPosition(Node149rect.x+Node149rect.width/2,Node149rect.y+Node149rect.height/2);
  16999. Node149.setSize(Node149rect.width,Node149rect.height);
  17000. Node149.setStyle("opacity",1);
  17001. Node149.s({'pixelPerfect':true});
  17002. Node149borderwidth=1;
  17003. Node149.setRotation(0);
  17004. dataModel.add(Node149);
  17005. Node149.a('node.points',Node149compspts);
  17006. Node149.a('node.segments',[1,2]);
  17007. Node149.a('node.color','rgba(255,0,255,1)');
  17008. Node149.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17009. Node149.a('node.borderColor','rgba(255,0,255,1)');
  17010. Node149.a('node.background','rgba(255,0,255,1)');
  17011. Node149.a('node.gradient','');
  17012. Node149.a('node.gradientcolor','rgba(255,0,255,1)');
  17013. Node149.a('node.endCompspts',Node149endCompspts);
  17014. Node149.a('node.startCompspts',Node149startCompspts);
  17015. (function (node, img, compspts, endCompspts, startCompspts) {
  17016. var position = node.getPosition(),
  17017. w = node.getWidth()*_ratio.ratioX,
  17018. h = node.getHeight()*_ratio.ratioY;
  17019. function resetPoints(rx, ry) {
  17020. for (var i = 0, len = compspts.length; i < len; i++) {
  17021. if (i%2 === 0) {
  17022. compspts[i]*=rx;
  17023. } else {
  17024. compspts[i]*=ry;
  17025. }
  17026. }
  17027. endCompspts[0] = compspts[compspts.length-2];
  17028. endCompspts[1] = compspts[compspts.length-1];
  17029. endCompspts[2] *= rx;
  17030. endCompspts[3] *= ry;
  17031. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17032. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17033. startCompspts[0] = compspts[0];
  17034. startCompspts[1] = compspts[1];
  17035. startCompspts[2] *= rx;
  17036. startCompspts[3] *= ry;
  17037. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17038. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17039. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17040. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17041. }
  17042. node.setSize(w, h);
  17043. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17044. node.a('node.width', w);
  17045. node.a('node.height', h);
  17046. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17047. node.borderWidth = 1;
  17048. node.a('node.borderwidth',node.borderWidth);
  17049. node._nodename = 'Node149';
  17050. node._nodeType = 'line';
  17051. zoomNodeList.push({
  17052. node: node,
  17053. attr: 'node.borderwidth'
  17054. });
  17055. var setWidth = node.setWidth,
  17056. setHeight = node.setHeight,
  17057. timer, rx = 1, ry = 1;
  17058. node.setWidth = function (width) {
  17059. var _width = this.getWidth();
  17060. rx = width / _width;
  17061. node.a('node.width', width);
  17062. setWidth.apply(this, arguments);
  17063. resetPoints(rx, 1);
  17064. }
  17065. node.setHeight = function (height) {
  17066. var _height = this.getHeight();
  17067. ry = height / _height;
  17068. node.a('node.height', height);
  17069. setHeight.apply(this, arguments);
  17070. resetPoints(1, ry);
  17071. }
  17072. })(Node149, Node149.getImage(), Node149compspts, Node149endCompspts, Node149startCompspts);
  17073. var Node150points=[930, 445,996, 445],
  17074. Node150rect=ht.Default.unionPoint([{x:930,y:445},{x:996,y:445}]),
  17075. Node150compspts=[];
  17076. _ratio = GD.getRatioWithRotation(0, ratio);
  17077. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  17078. _endratio = GD.getRatioWithRotation(0, ratio);
  17079. for(var i=0;i<Node150points.length;i++){
  17080. if(i%2==0){
  17081. Node150compspts.push(Node150points[i]-Node150rect.x);
  17082. }else{
  17083. Node150compspts.push(Node150points[i]-Node150rect.y);
  17084. }
  17085. }
  17086. var Node150ptslength=Node150compspts.length;
  17087. if (Node150rect.height === 0) {
  17088. Node150compspts[0] -= 0;
  17089. Node150compspts[Node150ptslength-2] += 0;
  17090. } else if (Node150rect.width === 0){
  17091. Node150compspts[1] -= 0;
  17092. Node150compspts[Node150ptslength-1] += 0;
  17093. } else {
  17094. Node150compspts[0] -= 0;
  17095. Node150compspts[1] -= 0;
  17096. Node150compspts[Node150ptslength-2] += 0;
  17097. Node150compspts[Node150ptslength-1] += 0;
  17098. }
  17099. Node150 = new ht.Node();
  17100. Node150.borderWidth = 1;
  17101. Node150rect.width = Node150rect.width === 0 ? 0.0001 : Node150rect.width;
  17102. Node150rect.height = Node150rect.height === 0 ? 0.0001 : Node150rect.height;
  17103. var Node150endCompspts = [Node150compspts[Node150ptslength-2],Node150compspts[Node150ptslength-1],0,0];
  17104. var Node150startCompspts = [Node150compspts[0],Node150compspts[1],0,0];
  17105. Node150.setImage(GD.getPolyLineJSON());
  17106. Node150.setPosition(Node150rect.x+Node150rect.width/2,Node150rect.y+Node150rect.height/2);
  17107. Node150.setSize(Node150rect.width,Node150rect.height);
  17108. Node150.setStyle("opacity",1);
  17109. Node150.s({'pixelPerfect':true});
  17110. Node150borderwidth=1;
  17111. Node150.setRotation(0);
  17112. dataModel.add(Node150);
  17113. Node150.a('node.points',Node150compspts);
  17114. Node150.a('node.segments',[1,2]);
  17115. Node150.a('node.color','rgba(255,0,255,1)');
  17116. Node150.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17117. Node150.a('node.borderColor','rgba(255,0,255,1)');
  17118. Node150.a('node.background','rgba(255,0,255,1)');
  17119. Node150.a('node.gradient','');
  17120. Node150.a('node.gradientcolor','rgba(255,0,255,1)');
  17121. Node150.a('node.endCompspts',Node150endCompspts);
  17122. Node150.a('node.startCompspts',Node150startCompspts);
  17123. (function (node, img, compspts, endCompspts, startCompspts) {
  17124. var position = node.getPosition(),
  17125. w = node.getWidth()*_ratio.ratioX,
  17126. h = node.getHeight()*_ratio.ratioY;
  17127. function resetPoints(rx, ry) {
  17128. for (var i = 0, len = compspts.length; i < len; i++) {
  17129. if (i%2 === 0) {
  17130. compspts[i]*=rx;
  17131. } else {
  17132. compspts[i]*=ry;
  17133. }
  17134. }
  17135. endCompspts[0] = compspts[compspts.length-2];
  17136. endCompspts[1] = compspts[compspts.length-1];
  17137. endCompspts[2] *= rx;
  17138. endCompspts[3] *= ry;
  17139. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17140. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17141. startCompspts[0] = compspts[0];
  17142. startCompspts[1] = compspts[1];
  17143. startCompspts[2] *= rx;
  17144. startCompspts[3] *= ry;
  17145. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17146. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17147. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17148. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17149. }
  17150. node.setSize(w, h);
  17151. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17152. node.a('node.width', w);
  17153. node.a('node.height', h);
  17154. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17155. node.borderWidth = 1;
  17156. node.a('node.borderwidth',node.borderWidth);
  17157. node._nodename = 'Node150';
  17158. node._nodeType = 'line';
  17159. zoomNodeList.push({
  17160. node: node,
  17161. attr: 'node.borderwidth'
  17162. });
  17163. var setWidth = node.setWidth,
  17164. setHeight = node.setHeight,
  17165. timer, rx = 1, ry = 1;
  17166. node.setWidth = function (width) {
  17167. var _width = this.getWidth();
  17168. rx = width / _width;
  17169. node.a('node.width', width);
  17170. setWidth.apply(this, arguments);
  17171. resetPoints(rx, 1);
  17172. }
  17173. node.setHeight = function (height) {
  17174. var _height = this.getHeight();
  17175. ry = height / _height;
  17176. node.a('node.height', height);
  17177. setHeight.apply(this, arguments);
  17178. resetPoints(1, ry);
  17179. }
  17180. })(Node150, Node150.getImage(), Node150compspts, Node150endCompspts, Node150startCompspts);
  17181. var Node151points=[930, 484,996, 484],
  17182. Node151rect=ht.Default.unionPoint([{x:930,y:484},{x:996,y:484}]),
  17183. Node151compspts=[];
  17184. _ratio = GD.getRatioWithRotation(0, ratio);
  17185. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  17186. _endratio = GD.getRatioWithRotation(0, ratio);
  17187. for(var i=0;i<Node151points.length;i++){
  17188. if(i%2==0){
  17189. Node151compspts.push(Node151points[i]-Node151rect.x);
  17190. }else{
  17191. Node151compspts.push(Node151points[i]-Node151rect.y);
  17192. }
  17193. }
  17194. var Node151ptslength=Node151compspts.length;
  17195. if (Node151rect.height === 0) {
  17196. Node151compspts[0] -= 0;
  17197. Node151compspts[Node151ptslength-2] += 0;
  17198. } else if (Node151rect.width === 0){
  17199. Node151compspts[1] -= 0;
  17200. Node151compspts[Node151ptslength-1] += 0;
  17201. } else {
  17202. Node151compspts[0] -= 0;
  17203. Node151compspts[1] -= 0;
  17204. Node151compspts[Node151ptslength-2] += 0;
  17205. Node151compspts[Node151ptslength-1] += 0;
  17206. }
  17207. Node151 = new ht.Node();
  17208. Node151.borderWidth = 1;
  17209. Node151rect.width = Node151rect.width === 0 ? 0.0001 : Node151rect.width;
  17210. Node151rect.height = Node151rect.height === 0 ? 0.0001 : Node151rect.height;
  17211. var Node151endCompspts = [Node151compspts[Node151ptslength-2],Node151compspts[Node151ptslength-1],0,0];
  17212. var Node151startCompspts = [Node151compspts[0],Node151compspts[1],0,0];
  17213. Node151.setImage(GD.getPolyLineJSON());
  17214. Node151.setPosition(Node151rect.x+Node151rect.width/2,Node151rect.y+Node151rect.height/2);
  17215. Node151.setSize(Node151rect.width,Node151rect.height);
  17216. Node151.setStyle("opacity",1);
  17217. Node151.s({'pixelPerfect':true});
  17218. Node151borderwidth=1;
  17219. Node151.setRotation(0);
  17220. dataModel.add(Node151);
  17221. Node151.a('node.points',Node151compspts);
  17222. Node151.a('node.segments',[1,2]);
  17223. Node151.a('node.color','rgba(255,0,255,1)');
  17224. Node151.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17225. Node151.a('node.borderColor','rgba(255,0,255,1)');
  17226. Node151.a('node.background','rgba(255,0,255,1)');
  17227. Node151.a('node.gradient','');
  17228. Node151.a('node.gradientcolor','rgba(255,0,255,1)');
  17229. Node151.a('node.endCompspts',Node151endCompspts);
  17230. Node151.a('node.startCompspts',Node151startCompspts);
  17231. (function (node, img, compspts, endCompspts, startCompspts) {
  17232. var position = node.getPosition(),
  17233. w = node.getWidth()*_ratio.ratioX,
  17234. h = node.getHeight()*_ratio.ratioY;
  17235. function resetPoints(rx, ry) {
  17236. for (var i = 0, len = compspts.length; i < len; i++) {
  17237. if (i%2 === 0) {
  17238. compspts[i]*=rx;
  17239. } else {
  17240. compspts[i]*=ry;
  17241. }
  17242. }
  17243. endCompspts[0] = compspts[compspts.length-2];
  17244. endCompspts[1] = compspts[compspts.length-1];
  17245. endCompspts[2] *= rx;
  17246. endCompspts[3] *= ry;
  17247. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17248. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17249. startCompspts[0] = compspts[0];
  17250. startCompspts[1] = compspts[1];
  17251. startCompspts[2] *= rx;
  17252. startCompspts[3] *= ry;
  17253. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17254. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17255. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17256. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17257. }
  17258. node.setSize(w, h);
  17259. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17260. node.a('node.width', w);
  17261. node.a('node.height', h);
  17262. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17263. node.borderWidth = 1;
  17264. node.a('node.borderwidth',node.borderWidth);
  17265. node._nodename = 'Node151';
  17266. node._nodeType = 'line';
  17267. zoomNodeList.push({
  17268. node: node,
  17269. attr: 'node.borderwidth'
  17270. });
  17271. var setWidth = node.setWidth,
  17272. setHeight = node.setHeight,
  17273. timer, rx = 1, ry = 1;
  17274. node.setWidth = function (width) {
  17275. var _width = this.getWidth();
  17276. rx = width / _width;
  17277. node.a('node.width', width);
  17278. setWidth.apply(this, arguments);
  17279. resetPoints(rx, 1);
  17280. }
  17281. node.setHeight = function (height) {
  17282. var _height = this.getHeight();
  17283. ry = height / _height;
  17284. node.a('node.height', height);
  17285. setHeight.apply(this, arguments);
  17286. resetPoints(1, ry);
  17287. }
  17288. })(Node151, Node151.getImage(), Node151compspts, Node151endCompspts, Node151startCompspts);
  17289. var Node152points=[996, 484,996, 491],
  17290. Node152rect=ht.Default.unionPoint([{x:996,y:484},{x:996,y:491}]),
  17291. Node152compspts=[];
  17292. _ratio = GD.getRatioWithRotation(0, ratio);
  17293. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  17294. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  17295. for(var i=0;i<Node152points.length;i++){
  17296. if(i%2==0){
  17297. Node152compspts.push(Node152points[i]-Node152rect.x);
  17298. }else{
  17299. Node152compspts.push(Node152points[i]-Node152rect.y);
  17300. }
  17301. }
  17302. var Node152ptslength=Node152compspts.length;
  17303. if (Node152rect.height === 0) {
  17304. Node152compspts[0] -= 0;
  17305. Node152compspts[Node152ptslength-2] += 0;
  17306. } else if (Node152rect.width === 0){
  17307. Node152compspts[1] -= 0;
  17308. Node152compspts[Node152ptslength-1] += 0;
  17309. } else {
  17310. Node152compspts[0] -= 0;
  17311. Node152compspts[1] -= 0;
  17312. Node152compspts[Node152ptslength-2] += 0;
  17313. Node152compspts[Node152ptslength-1] += 0;
  17314. }
  17315. Node152 = new ht.Node();
  17316. Node152.borderWidth = 1;
  17317. Node152rect.width = Node152rect.width === 0 ? 0.0001 : Node152rect.width;
  17318. Node152rect.height = Node152rect.height === 0 ? 0.0001 : Node152rect.height;
  17319. var Node152endCompspts = [Node152compspts[Node152ptslength-2],Node152compspts[Node152ptslength-1],0,0];
  17320. var Node152startCompspts = [Node152compspts[0],Node152compspts[1],0,0];
  17321. Node152.setImage(GD.getPolyLineJSON());
  17322. Node152.setPosition(Node152rect.x+Node152rect.width/2,Node152rect.y+Node152rect.height/2);
  17323. Node152.setSize(Node152rect.width,Node152rect.height);
  17324. Node152.setStyle("opacity",1);
  17325. Node152.s({'pixelPerfect':true});
  17326. Node152borderwidth=1;
  17327. Node152.setRotation(0);
  17328. dataModel.add(Node152);
  17329. Node152.a('node.points',Node152compspts);
  17330. Node152.a('node.segments',[1,2]);
  17331. Node152.a('node.color','rgba(255,0,255,1)');
  17332. Node152.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17333. Node152.a('node.borderColor','rgba(255,0,255,1)');
  17334. Node152.a('node.background','rgba(255,0,255,1)');
  17335. Node152.a('node.gradient','');
  17336. Node152.a('node.gradientcolor','rgba(255,0,255,1)');
  17337. Node152.a('node.endCompspts',Node152endCompspts);
  17338. Node152.a('node.startCompspts',Node152startCompspts);
  17339. (function (node, img, compspts, endCompspts, startCompspts) {
  17340. var position = node.getPosition(),
  17341. w = node.getWidth()*_ratio.ratioX,
  17342. h = node.getHeight()*_ratio.ratioY;
  17343. function resetPoints(rx, ry) {
  17344. for (var i = 0, len = compspts.length; i < len; i++) {
  17345. if (i%2 === 0) {
  17346. compspts[i]*=rx;
  17347. } else {
  17348. compspts[i]*=ry;
  17349. }
  17350. }
  17351. endCompspts[0] = compspts[compspts.length-2];
  17352. endCompspts[1] = compspts[compspts.length-1];
  17353. endCompspts[2] *= rx;
  17354. endCompspts[3] *= ry;
  17355. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17356. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17357. startCompspts[0] = compspts[0];
  17358. startCompspts[1] = compspts[1];
  17359. startCompspts[2] *= rx;
  17360. startCompspts[3] *= ry;
  17361. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17362. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17363. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17364. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17365. }
  17366. node.setSize(w, h);
  17367. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17368. node.a('node.width', w);
  17369. node.a('node.height', h);
  17370. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17371. node.borderWidth = 1;
  17372. node.a('node.borderwidth',node.borderWidth);
  17373. node._nodename = 'Node152';
  17374. node._nodeType = 'line';
  17375. zoomNodeList.push({
  17376. node: node,
  17377. attr: 'node.borderwidth'
  17378. });
  17379. var setWidth = node.setWidth,
  17380. setHeight = node.setHeight,
  17381. timer, rx = 1, ry = 1;
  17382. node.setWidth = function (width) {
  17383. var _width = this.getWidth();
  17384. rx = width / _width;
  17385. node.a('node.width', width);
  17386. setWidth.apply(this, arguments);
  17387. resetPoints(rx, 1);
  17388. }
  17389. node.setHeight = function (height) {
  17390. var _height = this.getHeight();
  17391. ry = height / _height;
  17392. node.a('node.height', height);
  17393. setHeight.apply(this, arguments);
  17394. resetPoints(1, ry);
  17395. }
  17396. })(Node152, Node152.getImage(), Node152compspts, Node152endCompspts, Node152startCompspts);
  17397. var Node153points=[849, 546,849, 528],
  17398. Node153rect=ht.Default.unionPoint([{x:849,y:546},{x:849,y:528}]),
  17399. Node153compspts=[];
  17400. _ratio = GD.getRatioWithRotation(0, ratio);
  17401. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  17402. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  17403. for(var i=0;i<Node153points.length;i++){
  17404. if(i%2==0){
  17405. Node153compspts.push(Node153points[i]-Node153rect.x);
  17406. }else{
  17407. Node153compspts.push(Node153points[i]-Node153rect.y);
  17408. }
  17409. }
  17410. var Node153ptslength=Node153compspts.length;
  17411. if (Node153rect.height === 0) {
  17412. Node153compspts[0] -= 0;
  17413. Node153compspts[Node153ptslength-2] += 0;
  17414. } else if (Node153rect.width === 0){
  17415. Node153compspts[1] -= 0;
  17416. Node153compspts[Node153ptslength-1] += 0;
  17417. } else {
  17418. Node153compspts[0] -= 0;
  17419. Node153compspts[1] -= 0;
  17420. Node153compspts[Node153ptslength-2] += 0;
  17421. Node153compspts[Node153ptslength-1] += 0;
  17422. }
  17423. Node153 = new ht.Node();
  17424. Node153.borderWidth = 1;
  17425. Node153rect.width = Node153rect.width === 0 ? 0.0001 : Node153rect.width;
  17426. Node153rect.height = Node153rect.height === 0 ? 0.0001 : Node153rect.height;
  17427. var Node153endCompspts = [Node153compspts[Node153ptslength-2],Node153compspts[Node153ptslength-1],0,0];
  17428. var Node153startCompspts = [Node153compspts[0],Node153compspts[1],0,0];
  17429. Node153.setImage(GD.getPolyLineJSON());
  17430. Node153.setPosition(Node153rect.x+Node153rect.width/2,Node153rect.y+Node153rect.height/2);
  17431. Node153.setSize(Node153rect.width,Node153rect.height);
  17432. Node153.setStyle("opacity",1);
  17433. Node153.s({'pixelPerfect':true});
  17434. Node153borderwidth=1;
  17435. Node153.setRotation(0);
  17436. dataModel.add(Node153);
  17437. Node153.a('node.points',Node153compspts);
  17438. Node153.a('node.segments',[1,2]);
  17439. Node153.a('node.color','rgba(255,128,0,1)');
  17440. Node153.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17441. Node153.a('node.borderColor','rgba(255,128,0,1)');
  17442. Node153.a('node.background','rgba(255,128,0,1)');
  17443. Node153.a('node.gradient','');
  17444. Node153.a('node.gradientcolor','rgba(255,128,0,1)');
  17445. Node153.a('node.endCompspts',Node153endCompspts);
  17446. Node153.a('node.startCompspts',Node153startCompspts);
  17447. (function (node, img, compspts, endCompspts, startCompspts) {
  17448. var position = node.getPosition(),
  17449. w = node.getWidth()*_ratio.ratioX,
  17450. h = node.getHeight()*_ratio.ratioY;
  17451. function resetPoints(rx, ry) {
  17452. for (var i = 0, len = compspts.length; i < len; i++) {
  17453. if (i%2 === 0) {
  17454. compspts[i]*=rx;
  17455. } else {
  17456. compspts[i]*=ry;
  17457. }
  17458. }
  17459. endCompspts[0] = compspts[compspts.length-2];
  17460. endCompspts[1] = compspts[compspts.length-1];
  17461. endCompspts[2] *= rx;
  17462. endCompspts[3] *= ry;
  17463. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17464. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17465. startCompspts[0] = compspts[0];
  17466. startCompspts[1] = compspts[1];
  17467. startCompspts[2] *= rx;
  17468. startCompspts[3] *= ry;
  17469. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17470. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17471. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17472. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17473. }
  17474. node.setSize(w, h);
  17475. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17476. node.a('node.width', w);
  17477. node.a('node.height', h);
  17478. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17479. node.borderWidth = 1;
  17480. node.a('node.borderwidth',node.borderWidth);
  17481. node._nodename = 'Node153';
  17482. node._nodeType = 'line';
  17483. zoomNodeList.push({
  17484. node: node,
  17485. attr: 'node.borderwidth'
  17486. });
  17487. var setWidth = node.setWidth,
  17488. setHeight = node.setHeight,
  17489. timer, rx = 1, ry = 1;
  17490. node.setWidth = function (width) {
  17491. var _width = this.getWidth();
  17492. rx = width / _width;
  17493. node.a('node.width', width);
  17494. setWidth.apply(this, arguments);
  17495. resetPoints(rx, 1);
  17496. }
  17497. node.setHeight = function (height) {
  17498. var _height = this.getHeight();
  17499. ry = height / _height;
  17500. node.a('node.height', height);
  17501. setHeight.apply(this, arguments);
  17502. resetPoints(1, ry);
  17503. }
  17504. })(Node153, Node153.getImage(), Node153compspts, Node153endCompspts, Node153startCompspts);
  17505. var Node154points=[1304, 697,1304, 679],
  17506. Node154rect=ht.Default.unionPoint([{x:1304,y:697},{x:1304,y:679}]),
  17507. Node154compspts=[];
  17508. _ratio = GD.getRatioWithRotation(0, ratio);
  17509. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  17510. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  17511. for(var i=0;i<Node154points.length;i++){
  17512. if(i%2==0){
  17513. Node154compspts.push(Node154points[i]-Node154rect.x);
  17514. }else{
  17515. Node154compspts.push(Node154points[i]-Node154rect.y);
  17516. }
  17517. }
  17518. var Node154ptslength=Node154compspts.length;
  17519. if (Node154rect.height === 0) {
  17520. Node154compspts[0] -= 0;
  17521. Node154compspts[Node154ptslength-2] += 0;
  17522. } else if (Node154rect.width === 0){
  17523. Node154compspts[1] -= 0;
  17524. Node154compspts[Node154ptslength-1] += 0;
  17525. } else {
  17526. Node154compspts[0] -= 0;
  17527. Node154compspts[1] -= 0;
  17528. Node154compspts[Node154ptslength-2] += 0;
  17529. Node154compspts[Node154ptslength-1] += 0;
  17530. }
  17531. Node154 = new ht.Node();
  17532. Node154.borderWidth = 1;
  17533. Node154rect.width = Node154rect.width === 0 ? 0.0001 : Node154rect.width;
  17534. Node154rect.height = Node154rect.height === 0 ? 0.0001 : Node154rect.height;
  17535. var Node154endCompspts = [Node154compspts[Node154ptslength-2],Node154compspts[Node154ptslength-1],0,0];
  17536. var Node154startCompspts = [Node154compspts[0],Node154compspts[1],0,0];
  17537. Node154.setImage(GD.getPolyLineJSON());
  17538. Node154.setPosition(Node154rect.x+Node154rect.width/2,Node154rect.y+Node154rect.height/2);
  17539. Node154.setSize(Node154rect.width,Node154rect.height);
  17540. Node154.setStyle("opacity",1);
  17541. Node154.s({'pixelPerfect':true});
  17542. Node154borderwidth=1;
  17543. Node154.setRotation(0);
  17544. dataModel.add(Node154);
  17545. Node154.a('node.points',Node154compspts);
  17546. Node154.a('node.segments',[1,2]);
  17547. Node154.a('node.color','rgba(255,128,0,1)');
  17548. Node154.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17549. Node154.a('node.borderColor','rgba(255,128,0,1)');
  17550. Node154.a('node.background','rgba(255,128,0,1)');
  17551. Node154.a('node.gradient','');
  17552. Node154.a('node.gradientcolor','rgba(255,128,0,1)');
  17553. Node154.a('node.endCompspts',Node154endCompspts);
  17554. Node154.a('node.startCompspts',Node154startCompspts);
  17555. (function (node, img, compspts, endCompspts, startCompspts) {
  17556. var position = node.getPosition(),
  17557. w = node.getWidth()*_ratio.ratioX,
  17558. h = node.getHeight()*_ratio.ratioY;
  17559. function resetPoints(rx, ry) {
  17560. for (var i = 0, len = compspts.length; i < len; i++) {
  17561. if (i%2 === 0) {
  17562. compspts[i]*=rx;
  17563. } else {
  17564. compspts[i]*=ry;
  17565. }
  17566. }
  17567. endCompspts[0] = compspts[compspts.length-2];
  17568. endCompspts[1] = compspts[compspts.length-1];
  17569. endCompspts[2] *= rx;
  17570. endCompspts[3] *= ry;
  17571. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17572. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17573. startCompspts[0] = compspts[0];
  17574. startCompspts[1] = compspts[1];
  17575. startCompspts[2] *= rx;
  17576. startCompspts[3] *= ry;
  17577. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17578. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17579. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17580. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17581. }
  17582. node.setSize(w, h);
  17583. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17584. node.a('node.width', w);
  17585. node.a('node.height', h);
  17586. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17587. node.borderWidth = 1;
  17588. node.a('node.borderwidth',node.borderWidth);
  17589. node._nodename = 'Node154';
  17590. node._nodeType = 'line';
  17591. zoomNodeList.push({
  17592. node: node,
  17593. attr: 'node.borderwidth'
  17594. });
  17595. var setWidth = node.setWidth,
  17596. setHeight = node.setHeight,
  17597. timer, rx = 1, ry = 1;
  17598. node.setWidth = function (width) {
  17599. var _width = this.getWidth();
  17600. rx = width / _width;
  17601. node.a('node.width', width);
  17602. setWidth.apply(this, arguments);
  17603. resetPoints(rx, 1);
  17604. }
  17605. node.setHeight = function (height) {
  17606. var _height = this.getHeight();
  17607. ry = height / _height;
  17608. node.a('node.height', height);
  17609. setHeight.apply(this, arguments);
  17610. resetPoints(1, ry);
  17611. }
  17612. })(Node154, Node154.getImage(), Node154compspts, Node154endCompspts, Node154startCompspts);
  17613. var Node155points=[542, 732,542, 671],
  17614. Node155rect=ht.Default.unionPoint([{x:542,y:732},{x:542,y:671}]),
  17615. Node155compspts=[];
  17616. _ratio = GD.getRatioWithRotation(0, ratio);
  17617. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  17618. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  17619. for(var i=0;i<Node155points.length;i++){
  17620. if(i%2==0){
  17621. Node155compspts.push(Node155points[i]-Node155rect.x);
  17622. }else{
  17623. Node155compspts.push(Node155points[i]-Node155rect.y);
  17624. }
  17625. }
  17626. var Node155ptslength=Node155compspts.length;
  17627. if (Node155rect.height === 0) {
  17628. Node155compspts[0] -= 0;
  17629. Node155compspts[Node155ptslength-2] += 0;
  17630. } else if (Node155rect.width === 0){
  17631. Node155compspts[1] -= 0;
  17632. Node155compspts[Node155ptslength-1] += 0;
  17633. } else {
  17634. Node155compspts[0] -= 0;
  17635. Node155compspts[1] -= 0;
  17636. Node155compspts[Node155ptslength-2] += 0;
  17637. Node155compspts[Node155ptslength-1] += 0;
  17638. }
  17639. Node155 = new ht.Node();
  17640. Node155.borderWidth = 1;
  17641. Node155rect.width = Node155rect.width === 0 ? 0.0001 : Node155rect.width;
  17642. Node155rect.height = Node155rect.height === 0 ? 0.0001 : Node155rect.height;
  17643. var Node155endCompspts = [Node155compspts[Node155ptslength-2],Node155compspts[Node155ptslength-1],0,0];
  17644. var Node155startCompspts = [Node155compspts[0],Node155compspts[1],0,0];
  17645. Node155.setImage(GD.getPolyLineJSON());
  17646. Node155.setPosition(Node155rect.x+Node155rect.width/2,Node155rect.y+Node155rect.height/2);
  17647. Node155.setSize(Node155rect.width,Node155rect.height);
  17648. Node155.setStyle("opacity",1);
  17649. Node155.s({'pixelPerfect':true});
  17650. Node155borderwidth=1;
  17651. Node155.setRotation(0);
  17652. dataModel.add(Node155);
  17653. Node155.a('node.points',Node155compspts);
  17654. Node155.a('node.segments',[1,2]);
  17655. Node155.a('node.color','rgba(255,128,0,1)');
  17656. Node155.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17657. Node155.a('node.borderColor','rgba(255,128,0,1)');
  17658. Node155.a('node.background','rgba(255,128,0,1)');
  17659. Node155.a('node.gradient','');
  17660. Node155.a('node.gradientcolor','rgba(255,128,0,1)');
  17661. Node155.a('node.endCompspts',Node155endCompspts);
  17662. Node155.a('node.startCompspts',Node155startCompspts);
  17663. (function (node, img, compspts, endCompspts, startCompspts) {
  17664. var position = node.getPosition(),
  17665. w = node.getWidth()*_ratio.ratioX,
  17666. h = node.getHeight()*_ratio.ratioY;
  17667. function resetPoints(rx, ry) {
  17668. for (var i = 0, len = compspts.length; i < len; i++) {
  17669. if (i%2 === 0) {
  17670. compspts[i]*=rx;
  17671. } else {
  17672. compspts[i]*=ry;
  17673. }
  17674. }
  17675. endCompspts[0] = compspts[compspts.length-2];
  17676. endCompspts[1] = compspts[compspts.length-1];
  17677. endCompspts[2] *= rx;
  17678. endCompspts[3] *= ry;
  17679. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17680. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17681. startCompspts[0] = compspts[0];
  17682. startCompspts[1] = compspts[1];
  17683. startCompspts[2] *= rx;
  17684. startCompspts[3] *= ry;
  17685. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17686. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17687. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17688. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17689. }
  17690. node.setSize(w, h);
  17691. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17692. node.a('node.width', w);
  17693. node.a('node.height', h);
  17694. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17695. node.borderWidth = 1;
  17696. node.a('node.borderwidth',node.borderWidth);
  17697. node._nodename = 'Node155';
  17698. node._nodeType = 'line';
  17699. zoomNodeList.push({
  17700. node: node,
  17701. attr: 'node.borderwidth'
  17702. });
  17703. var setWidth = node.setWidth,
  17704. setHeight = node.setHeight,
  17705. timer, rx = 1, ry = 1;
  17706. node.setWidth = function (width) {
  17707. var _width = this.getWidth();
  17708. rx = width / _width;
  17709. node.a('node.width', width);
  17710. setWidth.apply(this, arguments);
  17711. resetPoints(rx, 1);
  17712. }
  17713. node.setHeight = function (height) {
  17714. var _height = this.getHeight();
  17715. ry = height / _height;
  17716. node.a('node.height', height);
  17717. setHeight.apply(this, arguments);
  17718. resetPoints(1, ry);
  17719. }
  17720. })(Node155, Node155.getImage(), Node155compspts, Node155endCompspts, Node155startCompspts);
  17721. var Node156points=[542, 628,542, 619],
  17722. Node156rect=ht.Default.unionPoint([{x:542,y:628},{x:542,y:619}]),
  17723. Node156compspts=[];
  17724. _ratio = GD.getRatioWithRotation(0, ratio);
  17725. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  17726. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  17727. for(var i=0;i<Node156points.length;i++){
  17728. if(i%2==0){
  17729. Node156compspts.push(Node156points[i]-Node156rect.x);
  17730. }else{
  17731. Node156compspts.push(Node156points[i]-Node156rect.y);
  17732. }
  17733. }
  17734. var Node156ptslength=Node156compspts.length;
  17735. if (Node156rect.height === 0) {
  17736. Node156compspts[0] -= 0;
  17737. Node156compspts[Node156ptslength-2] += 0;
  17738. } else if (Node156rect.width === 0){
  17739. Node156compspts[1] -= 0;
  17740. Node156compspts[Node156ptslength-1] += 0;
  17741. } else {
  17742. Node156compspts[0] -= 0;
  17743. Node156compspts[1] -= 0;
  17744. Node156compspts[Node156ptslength-2] += 0;
  17745. Node156compspts[Node156ptslength-1] += 0;
  17746. }
  17747. Node156 = new ht.Node();
  17748. Node156.borderWidth = 1;
  17749. Node156rect.width = Node156rect.width === 0 ? 0.0001 : Node156rect.width;
  17750. Node156rect.height = Node156rect.height === 0 ? 0.0001 : Node156rect.height;
  17751. var Node156endCompspts = [Node156compspts[Node156ptslength-2],Node156compspts[Node156ptslength-1],0,0];
  17752. var Node156startCompspts = [Node156compspts[0],Node156compspts[1],0,0];
  17753. Node156.setImage(GD.getPolyLineJSON());
  17754. Node156.setPosition(Node156rect.x+Node156rect.width/2,Node156rect.y+Node156rect.height/2);
  17755. Node156.setSize(Node156rect.width,Node156rect.height);
  17756. Node156.setStyle("opacity",1);
  17757. Node156.s({'pixelPerfect':true});
  17758. Node156borderwidth=1;
  17759. Node156.setRotation(0);
  17760. dataModel.add(Node156);
  17761. Node156.a('node.points',Node156compspts);
  17762. Node156.a('node.segments',[1,2]);
  17763. Node156.a('node.color','rgba(255,128,0,1)');
  17764. Node156.a('node.borderPattern',getDashStyle("@borderPattern@"));
  17765. Node156.a('node.borderColor','rgba(255,128,0,1)');
  17766. Node156.a('node.background','rgba(255,128,0,1)');
  17767. Node156.a('node.gradient','');
  17768. Node156.a('node.gradientcolor','rgba(255,128,0,1)');
  17769. Node156.a('node.endCompspts',Node156endCompspts);
  17770. Node156.a('node.startCompspts',Node156startCompspts);
  17771. (function (node, img, compspts, endCompspts, startCompspts) {
  17772. var position = node.getPosition(),
  17773. w = node.getWidth()*_ratio.ratioX,
  17774. h = node.getHeight()*_ratio.ratioY;
  17775. function resetPoints(rx, ry) {
  17776. for (var i = 0, len = compspts.length; i < len; i++) {
  17777. if (i%2 === 0) {
  17778. compspts[i]*=rx;
  17779. } else {
  17780. compspts[i]*=ry;
  17781. }
  17782. }
  17783. endCompspts[0] = compspts[compspts.length-2];
  17784. endCompspts[1] = compspts[compspts.length-1];
  17785. endCompspts[2] *= rx;
  17786. endCompspts[3] *= ry;
  17787. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  17788. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  17789. startCompspts[0] = compspts[0];
  17790. startCompspts[1] = compspts[1];
  17791. startCompspts[2] *= rx;
  17792. startCompspts[3] *= ry;
  17793. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  17794. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  17795. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  17796. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  17797. }
  17798. node.setSize(w, h);
  17799. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17800. node.a('node.width', w);
  17801. node.a('node.height', h);
  17802. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17803. node.borderWidth = 1;
  17804. node.a('node.borderwidth',node.borderWidth);
  17805. node._nodename = 'Node156';
  17806. node._nodeType = 'line';
  17807. zoomNodeList.push({
  17808. node: node,
  17809. attr: 'node.borderwidth'
  17810. });
  17811. var setWidth = node.setWidth,
  17812. setHeight = node.setHeight,
  17813. timer, rx = 1, ry = 1;
  17814. node.setWidth = function (width) {
  17815. var _width = this.getWidth();
  17816. rx = width / _width;
  17817. node.a('node.width', width);
  17818. setWidth.apply(this, arguments);
  17819. resetPoints(rx, 1);
  17820. }
  17821. node.setHeight = function (height) {
  17822. var _height = this.getHeight();
  17823. ry = height / _height;
  17824. node.a('node.height', height);
  17825. setHeight.apply(this, arguments);
  17826. resetPoints(1, ry);
  17827. }
  17828. })(Node156, Node156.getImage(), Node156compspts, Node156endCompspts, Node156startCompspts);
  17829. var Node157rect=ht.Default.unionPoint([{x: 537, y: 733},{x: 537, y: 733},{x: 548, y: 733},{x: 542, y: 741}]),
  17830. Node157points=[537,733,537,733,548,733,542,741],
  17831. Node157compsPoints=[],
  17832. Node157SetPoints = [{x: 537, y: 733},{x: 537, y: 733},{x: 548, y: 733},{x: 542, y: 741}],
  17833. Node157setSegments = [1,2,2,2];
  17834. _ratio = GD.getRatioWithRotation(0, ratio);
  17835. for(var i=0;i<Node157points.length;i++){
  17836. if(i%2==0){
  17837. Node157compsPoints.push(Node157points[i]-Node157rect.x);
  17838. }else{
  17839. Node157compsPoints.push(Node157points[i]-Node157rect.y);
  17840. }
  17841. }
  17842. var Node157 = new ht.Node();
  17843. Node157.setImage(GD.getPolyGonJSON());
  17844. Node157.setPosition(Node157rect.x + Node157rect.width/2, Node157rect.y + Node157rect.height/2);
  17845. Node157.setSize(Node157rect.width, Node157rect.height);
  17846. Node157.setRotation(0);
  17847. Node157.borderWidth=0;
  17848. Node157.borderFillwidth=0*2;
  17849. Node157.s({'pixelPerfect':true});
  17850. dataModel.add(Node157);
  17851. // Node157.a('node.width', Node157rect.width*_ratio.ratioX);
  17852. // Node157.a('node.height', Node157rect.height*_ratio.ratioY);
  17853. Node157.a('node.clip', function(g,width,height,data) {
  17854. var clippoints = Node157SetPoints;
  17855. if(clippoints.length<=3) return;
  17856. if(Node157.a('Node157.isFill')=="false") return;
  17857. var clipcompsPoints=[];
  17858. var rect = ht.Default.unionPoint(clippoints);
  17859. for(var i=0;i<clippoints.length;i++){
  17860. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  17861. }
  17862. var clipsegments=Node157setSegments;
  17863. g.beginPath();
  17864. drawPoints(g,clipcompsPoints,clipsegments);
  17865. g.clip();
  17866. })
  17867. Node157.a('node.type', 'shape');
  17868. Node157.a('node.comsPoints', Node157compsPoints);
  17869. Node157.a('node.closePath', true);
  17870. Node157.a('node.borderwidth', 0);
  17871. Node157.a('node.color', 'rgba(0,0,0,0)');
  17872. Node157.a('node.background','rgba(255,128,0,1)');
  17873. Node157.a('node.closePath', true);
  17874. Node157.a('node.closePath', true);
  17875. Node157.a('node.gradient','');
  17876. Node157.a('node.gradientcolor','rgba(255,128,0,1)');
  17877. Node157.a('node.isFill','false');
  17878. Node157.a('node.original',[0,0,0,0]);
  17879. Node157.a('node.fillrect',[0,0,0,0]);
  17880. Node157.a('node.fillbackcolor','rgba(255,128,0,1)');
  17881. Node157.a('node.fillgradient','');
  17882. Node157.a('node.fillgradientcolor','rgba(255,128,0,1)');
  17883. Node157.a('node.segments',Node157setSegments);
  17884. Node157.a('node.borderPattern',"");
  17885. (function (node, nodecompsPoints, setPoints) {
  17886. var w = node.getWidth()*_ratio.ratioX,
  17887. h = node.getHeight()*_ratio.ratioY,
  17888. img = node.getImage();
  17889. function resetPoints(rx, ry) {
  17890. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  17891. if (i%2 === 0) {
  17892. nodecompsPoints[i]*=rx;
  17893. } else {
  17894. nodecompsPoints[i]*=ry;
  17895. }
  17896. if (setPoints[i]) {
  17897. setPoints[i].x *= rx;
  17898. setPoints[i].y *= ry;
  17899. }
  17900. }
  17901. }
  17902. node.setSize(w, h);
  17903. node.a('node.width', w);
  17904. node.a('node.height', h);
  17905. resetPoints(_ratio.ratioX, _ratio.ratioY);
  17906. var position = node.getPosition();
  17907. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  17908. node._nodename = 'Node157';
  17909. node._nodeType = 'polygon';
  17910. zoomNodeList.push({
  17911. node: node,
  17912. attr: 'node.borderwidth'
  17913. });
  17914. // 重载setWidth, setHeight
  17915. var setWidth = node.setWidth,
  17916. setHeight = node.setHeight,
  17917. timer, rx = 1, ry = 1;
  17918. node.setWidth = function (width) {
  17919. var _width = this.getWidth();
  17920. rx = width / _width;
  17921. node.a('node.width', width);
  17922. setWidth.apply(this, arguments);
  17923. resetPoints(rx, 1);
  17924. }
  17925. node.setHeight = function (height) {
  17926. var _height = this.getHeight();
  17927. ry = height / _height;
  17928. node.a('node.height', height);
  17929. setHeight.apply(this, arguments);
  17930. resetPoints(1, ry);
  17931. }
  17932. })(Node157, Node157compsPoints, Node157SetPoints );
  17933. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17934. var Node158 = new ht.Node();
  17935. var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 68*_ratio.ratioX, Node158height = 18*_ratio.ratioY;
  17936. (function () {
  17937. if (Node158align === 'left') {
  17938. Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
  17939. Node158textWidth = Node158width;
  17940. Node158lineStart = 1;
  17941. } else if (Node158align === 'right') {
  17942. Node158textStart = 0;
  17943. Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
  17944. Node158lineStart = (Node158width - (ht.Default.getTextSize('311', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
  17945. } else if (Node158align === 'center') {
  17946. Node158textStart = -3;
  17947. Node158textWidth = Node158width;
  17948. Node158lineStart = Node158width - ht.Default.getTextSize('311', ' '+ Node158fontSize + 'px "Arial"').width - 11;
  17949. }
  17950. })();
  17951. Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
  17952. Node158.setPosition(519*ratio.ratioX, 653*ratio.ratioY);
  17953. Node158.setWidth(Node158width);
  17954. Node158.setHeight(Node158height);
  17955. Node158._nodeType = 'text';
  17956. Node158._disallowEvert = true;
  17957. Node158.setRotation(0*Math.PI/180);
  17958. Node158.a('node.width', Node158width);
  17959. Node158.a('node.height', Node158height);
  17960. Node158.a('node.rect', [0, 0, Node158width, Node158height]);
  17961. Node158.a('node.bordercolor','rgba(0,0,0,1)');
  17962. Node158.a('node.borderwidth', 0);
  17963. Node158.a('node.background','' || 'rgba(0,0,0,0)');
  17964. Node158.a('node.gradient','');
  17965. Node158.a('node.gradientcolor','');
  17966. Node158.a('node.text','311');
  17967. Node158.a('node.textalign','left');
  17968. Node158.a('node.textvAlign','middle');
  17969. Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
  17970. Node158.a('node.color','rgba(0,0,0,1)');
  17971. Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
  17972. Node158.a('node.textvisible',true);
  17973. Node158.a('node.linefeed',false);
  17974. if (false) {
  17975. Node158.a('node.textfunc',function(g) {
  17976. g.beginPath();
  17977. var str=Node158.a('node.text') || '311';
  17978. var color=Node158.a('node.color') || 'rgba(0,0,0,1)';
  17979. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"left",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
  17980. });
  17981. }
  17982. if (false) {
  17983. Node158.a('node.underlinepoints',[Node158lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('311', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
  17984. Node158.a('node.underlinevisible',false);
  17985. Node158.a('node.underlineBorderWidth', 1);
  17986. }
  17987. dataModel.add(Node158);
  17988. zoomNodeList.push({
  17989. node: Node158,
  17990. borderWidth: 0,
  17991. attr: 'node.borderwidth'
  17992. }); var Node159points=[515, 678,569, 678],
  17993. Node159rect=ht.Default.unionPoint([{x:515,y:678},{x:569,y:678}]),
  17994. Node159compspts=[];
  17995. _ratio = GD.getRatioWithRotation(0, ratio);
  17996. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  17997. _endratio = GD.getRatioWithRotation(0, ratio);
  17998. for(var i=0;i<Node159points.length;i++){
  17999. if(i%2==0){
  18000. Node159compspts.push(Node159points[i]-Node159rect.x);
  18001. }else{
  18002. Node159compspts.push(Node159points[i]-Node159rect.y);
  18003. }
  18004. }
  18005. var Node159ptslength=Node159compspts.length;
  18006. if (Node159rect.height === 0) {
  18007. Node159compspts[0] -= 0;
  18008. Node159compspts[Node159ptslength-2] += 0;
  18009. } else if (Node159rect.width === 0){
  18010. Node159compspts[1] -= 0;
  18011. Node159compspts[Node159ptslength-1] += 0;
  18012. } else {
  18013. Node159compspts[0] -= 0;
  18014. Node159compspts[1] -= 0;
  18015. Node159compspts[Node159ptslength-2] += 0;
  18016. Node159compspts[Node159ptslength-1] += 0;
  18017. }
  18018. Node159 = new ht.Node();
  18019. Node159.borderWidth = 1;
  18020. Node159rect.width = Node159rect.width === 0 ? 0.0001 : Node159rect.width;
  18021. Node159rect.height = Node159rect.height === 0 ? 0.0001 : Node159rect.height;
  18022. var Node159endCompspts = [Node159compspts[Node159ptslength-2],Node159compspts[Node159ptslength-1],0,0];
  18023. var Node159startCompspts = [Node159compspts[0],Node159compspts[1],0,0];
  18024. Node159.setImage(GD.getPolyLineJSON());
  18025. Node159.setPosition(Node159rect.x+Node159rect.width/2,Node159rect.y+Node159rect.height/2);
  18026. Node159.setSize(Node159rect.width,Node159rect.height);
  18027. Node159.setStyle("opacity",1);
  18028. Node159.s({'pixelPerfect':true});
  18029. Node159borderwidth=1;
  18030. Node159.setRotation(0);
  18031. dataModel.add(Node159);
  18032. Node159.a('node.points',Node159compspts);
  18033. Node159.a('node.segments',[1,2]);
  18034. Node159.a('node.color','rgba(255,128,0,1)');
  18035. Node159.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18036. Node159.a('node.borderColor','rgba(255,128,0,1)');
  18037. Node159.a('node.background','rgba(255,128,0,1)');
  18038. Node159.a('node.gradient','');
  18039. Node159.a('node.gradientcolor','rgba(255,128,0,1)');
  18040. Node159.a('node.endCompspts',Node159endCompspts);
  18041. Node159.a('node.startCompspts',Node159startCompspts);
  18042. (function (node, img, compspts, endCompspts, startCompspts) {
  18043. var position = node.getPosition(),
  18044. w = node.getWidth()*_ratio.ratioX,
  18045. h = node.getHeight()*_ratio.ratioY;
  18046. function resetPoints(rx, ry) {
  18047. for (var i = 0, len = compspts.length; i < len; i++) {
  18048. if (i%2 === 0) {
  18049. compspts[i]*=rx;
  18050. } else {
  18051. compspts[i]*=ry;
  18052. }
  18053. }
  18054. endCompspts[0] = compspts[compspts.length-2];
  18055. endCompspts[1] = compspts[compspts.length-1];
  18056. endCompspts[2] *= rx;
  18057. endCompspts[3] *= ry;
  18058. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18059. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18060. startCompspts[0] = compspts[0];
  18061. startCompspts[1] = compspts[1];
  18062. startCompspts[2] *= rx;
  18063. startCompspts[3] *= ry;
  18064. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18065. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18066. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18067. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18068. }
  18069. node.setSize(w, h);
  18070. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18071. node.a('node.width', w);
  18072. node.a('node.height', h);
  18073. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18074. node.borderWidth = 1;
  18075. node.a('node.borderwidth',node.borderWidth);
  18076. node._nodename = 'Node159';
  18077. node._nodeType = 'line';
  18078. zoomNodeList.push({
  18079. node: node,
  18080. attr: 'node.borderwidth'
  18081. });
  18082. var setWidth = node.setWidth,
  18083. setHeight = node.setHeight,
  18084. timer, rx = 1, ry = 1;
  18085. node.setWidth = function (width) {
  18086. var _width = this.getWidth();
  18087. rx = width / _width;
  18088. node.a('node.width', width);
  18089. setWidth.apply(this, arguments);
  18090. resetPoints(rx, 1);
  18091. }
  18092. node.setHeight = function (height) {
  18093. var _height = this.getHeight();
  18094. ry = height / _height;
  18095. node.a('node.height', height);
  18096. setHeight.apply(this, arguments);
  18097. resetPoints(1, ry);
  18098. }
  18099. })(Node159, Node159.getImage(), Node159compspts, Node159endCompspts, Node159startCompspts);
  18100. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18101. var Node160_0type = 'rect';
  18102. var Node160_0 = new ht.Node(),
  18103. Node160_0BorderWidth = 2*2;
  18104. if (Node160_0type === 'arc') {
  18105. Node160_0BorderWidth *= 2;
  18106. }
  18107. Node160_0.setImage(GD.getRectJSON(16.41949*_ratio.ratioX, 24.4704*_ratio.ratioY, Node160_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  18108. Node160_0.setPosition(514*ratio.ratioX, 705*ratio.ratioY);
  18109. Node160_0.setSize(16.41949*_ratio.ratioX, 24.4704*_ratio.ratioY);
  18110. Node160_0.s({
  18111. 'pixelPerfect':true
  18112. /*@AddPara@*/
  18113. });
  18114. Node160_0.a('node.width', 16.41949*_ratio.ratioX);
  18115. Node160_0.a('node.height', 24.4704*_ratio.ratioY);
  18116. Node160_0.a('node.type', Node160_0type);
  18117. Node160_0.a('node.rect', [0, 0, 16.41949*_ratio.ratioX, 24.4704*_ratio.ratioY]);
  18118. Node160_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  18119. Node160_0.a('node.gradientcolor', '');
  18120. Node160_0.a('node.gradient', '');
  18121. Node160_0.a('node.borderwidth', Node160_0BorderWidth);
  18122. Node160_0.a('node.color', 'rgba(255,128,0,1)');
  18123. Node160_0.a('node.fillrect', [0,0,0,0]);
  18124. Node160_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  18125. Node160_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  18126. Node160_0.a('node.fillgradient', '');
  18127. if (Node160_0type !== 'rect') {
  18128. Node160_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  18129. Node160_0.a('node.arcTo', parseFloat('@arcTo@'));
  18130. Node160_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  18131. }
  18132. if (Node160_0type === 'arc') {
  18133. Node160_0.a('node.arcOval', true);
  18134. }
  18135. Node160_0.setRotation(0*Math.PI/180);
  18136. Node160_0.borderWidth = Node160_0BorderWidth;
  18137. Node160_0.borderFillwidth = Node160_0BorderWidth;
  18138. dataModel.add(Node160_0);
  18139. Node160_0._nodename = 'Node160_0'
  18140. Node160_0._nodeType = 'rect';
  18141. zoomNodeList.push({
  18142. node: Node160_0,
  18143. attr: 'node.borderwidth'
  18144. });
  18145. (function (node, _img) {
  18146. var setWidth = node.setWidth,
  18147. setHeight = node.setHeight;
  18148. node.setWidth = function (width) {
  18149. if (width === this.getWidth()) return ;
  18150. var height = this.getHeight();
  18151. this.a('node.width', width);
  18152. this.a('node.rect', [0,0,width, height]);
  18153. setWidth.apply(this, arguments);
  18154. }
  18155. node.setHeight = function (height) {
  18156. if (height === this.getHeight()) return ;
  18157. var width = this.getWidth();
  18158. this.a('node.height', height);
  18159. this.a('node.rect', [0,0,width, height]);
  18160. setHeight.apply(this, arguments);
  18161. }
  18162. })(Node160_0, Node160_0.getImage());var Node160_1points=[515, 717,515, 725],
  18163. Node160_1rect=ht.Default.unionPoint([{x:515,y:717},{x:515,y:725}]),
  18164. Node160_1compspts=[];
  18165. _ratio = GD.getRatioWithRotation(0, ratio);
  18166. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  18167. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  18168. for(var i=0;i<Node160_1points.length;i++){
  18169. if(i%2==0){
  18170. Node160_1compspts.push(Node160_1points[i]-Node160_1rect.x);
  18171. }else{
  18172. Node160_1compspts.push(Node160_1points[i]-Node160_1rect.y);
  18173. }
  18174. }
  18175. var Node160_1ptslength=Node160_1compspts.length;
  18176. if (Node160_1rect.height === 0) {
  18177. Node160_1compspts[0] -= 0;
  18178. Node160_1compspts[Node160_1ptslength-2] += 0;
  18179. } else if (Node160_1rect.width === 0){
  18180. Node160_1compspts[1] -= 0;
  18181. Node160_1compspts[Node160_1ptslength-1] += 0;
  18182. } else {
  18183. Node160_1compspts[0] -= 0;
  18184. Node160_1compspts[1] -= 0;
  18185. Node160_1compspts[Node160_1ptslength-2] += 0;
  18186. Node160_1compspts[Node160_1ptslength-1] += 0;
  18187. }
  18188. Node160_1 = new ht.Node();
  18189. Node160_1.borderWidth = 2;
  18190. Node160_1rect.width = Node160_1rect.width === 0 ? 0.0001 : Node160_1rect.width;
  18191. Node160_1rect.height = Node160_1rect.height === 0 ? 0.0001 : Node160_1rect.height;
  18192. var Node160_1endCompspts = [Node160_1compspts[Node160_1ptslength-2],Node160_1compspts[Node160_1ptslength-1],0,0];
  18193. var Node160_1startCompspts = [Node160_1compspts[0],Node160_1compspts[1],0,0];
  18194. Node160_1.setImage(GD.getPolyLineJSON());
  18195. Node160_1.setPosition(Node160_1rect.x+Node160_1rect.width/2,Node160_1rect.y+Node160_1rect.height/2);
  18196. Node160_1.setSize(Node160_1rect.width,Node160_1rect.height);
  18197. Node160_1.setStyle("opacity",1);
  18198. Node160_1.s({'pixelPerfect':true});
  18199. Node160_1borderwidth=2;
  18200. Node160_1.setRotation(0);
  18201. dataModel.add(Node160_1);
  18202. Node160_1.a('node.points',Node160_1compspts);
  18203. Node160_1.a('node.segments',[1,2]);
  18204. Node160_1.a('node.color','rgba(255,128,0,1)');
  18205. Node160_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18206. Node160_1.a('node.borderColor','rgba(255,128,0,1)');
  18207. Node160_1.a('node.background','rgba(255,128,0,1)');
  18208. Node160_1.a('node.gradient','');
  18209. Node160_1.a('node.gradientcolor','rgba(255,128,0,1)');
  18210. Node160_1.a('node.endCompspts',Node160_1endCompspts);
  18211. Node160_1.a('node.startCompspts',Node160_1startCompspts);
  18212. (function (node, img, compspts, endCompspts, startCompspts) {
  18213. var position = node.getPosition(),
  18214. w = node.getWidth()*_ratio.ratioX,
  18215. h = node.getHeight()*_ratio.ratioY;
  18216. function resetPoints(rx, ry) {
  18217. for (var i = 0, len = compspts.length; i < len; i++) {
  18218. if (i%2 === 0) {
  18219. compspts[i]*=rx;
  18220. } else {
  18221. compspts[i]*=ry;
  18222. }
  18223. }
  18224. endCompspts[0] = compspts[compspts.length-2];
  18225. endCompspts[1] = compspts[compspts.length-1];
  18226. endCompspts[2] *= rx;
  18227. endCompspts[3] *= ry;
  18228. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18229. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18230. startCompspts[0] = compspts[0];
  18231. startCompspts[1] = compspts[1];
  18232. startCompspts[2] *= rx;
  18233. startCompspts[3] *= ry;
  18234. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18235. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18236. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18237. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18238. }
  18239. node.setSize(w, h);
  18240. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18241. node.a('node.width', w);
  18242. node.a('node.height', h);
  18243. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18244. node.borderWidth = 2;
  18245. node.a('node.borderwidth',node.borderWidth);
  18246. node._nodename = 'Node160_1';
  18247. node._nodeType = 'line';
  18248. zoomNodeList.push({
  18249. node: node,
  18250. attr: 'node.borderwidth'
  18251. });
  18252. var setWidth = node.setWidth,
  18253. setHeight = node.setHeight,
  18254. timer, rx = 1, ry = 1;
  18255. node.setWidth = function (width) {
  18256. var _width = this.getWidth();
  18257. rx = width / _width;
  18258. node.a('node.width', width);
  18259. setWidth.apply(this, arguments);
  18260. resetPoints(rx, 1);
  18261. }
  18262. node.setHeight = function (height) {
  18263. var _height = this.getHeight();
  18264. ry = height / _height;
  18265. node.a('node.height', height);
  18266. setHeight.apply(this, arguments);
  18267. resetPoints(1, ry);
  18268. }
  18269. })(Node160_1, Node160_1.getImage(), Node160_1compspts, Node160_1endCompspts, Node160_1startCompspts);
  18270. var Node160_2points=[514, 678,514, 704],
  18271. Node160_2rect=ht.Default.unionPoint([{x:514,y:678},{x:514,y:704}]),
  18272. Node160_2compspts=[];
  18273. _ratio = GD.getRatioWithRotation(0, ratio);
  18274. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  18275. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  18276. for(var i=0;i<Node160_2points.length;i++){
  18277. if(i%2==0){
  18278. Node160_2compspts.push(Node160_2points[i]-Node160_2rect.x);
  18279. }else{
  18280. Node160_2compspts.push(Node160_2points[i]-Node160_2rect.y);
  18281. }
  18282. }
  18283. var Node160_2ptslength=Node160_2compspts.length;
  18284. if (Node160_2rect.height === 0) {
  18285. Node160_2compspts[0] -= 0;
  18286. Node160_2compspts[Node160_2ptslength-2] += 0;
  18287. } else if (Node160_2rect.width === 0){
  18288. Node160_2compspts[1] -= 0;
  18289. Node160_2compspts[Node160_2ptslength-1] += 0;
  18290. } else {
  18291. Node160_2compspts[0] -= 0;
  18292. Node160_2compspts[1] -= 0;
  18293. Node160_2compspts[Node160_2ptslength-2] += 0;
  18294. Node160_2compspts[Node160_2ptslength-1] += 0;
  18295. }
  18296. Node160_2 = new ht.Node();
  18297. Node160_2.borderWidth = 2;
  18298. Node160_2rect.width = Node160_2rect.width === 0 ? 0.0001 : Node160_2rect.width;
  18299. Node160_2rect.height = Node160_2rect.height === 0 ? 0.0001 : Node160_2rect.height;
  18300. var Node160_2endCompspts = [Node160_2compspts[Node160_2ptslength-2],Node160_2compspts[Node160_2ptslength-1],0,0];
  18301. var Node160_2startCompspts = [Node160_2compspts[0],Node160_2compspts[1],0,0];
  18302. Node160_2.setImage(GD.getPolyLineJSON());
  18303. Node160_2.setPosition(Node160_2rect.x+Node160_2rect.width/2,Node160_2rect.y+Node160_2rect.height/2);
  18304. Node160_2.setSize(Node160_2rect.width,Node160_2rect.height);
  18305. Node160_2.setStyle("opacity",1);
  18306. Node160_2.s({'pixelPerfect':true});
  18307. Node160_2borderwidth=2;
  18308. Node160_2.setRotation(0);
  18309. dataModel.add(Node160_2);
  18310. Node160_2.a('node.points',Node160_2compspts);
  18311. Node160_2.a('node.segments',[1,2]);
  18312. Node160_2.a('node.color','rgba(255,128,0,1)');
  18313. Node160_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18314. Node160_2.a('node.borderColor','rgba(255,128,0,1)');
  18315. Node160_2.a('node.background','rgba(255,128,0,1)');
  18316. Node160_2.a('node.gradient','');
  18317. Node160_2.a('node.gradientcolor','rgba(255,128,0,1)');
  18318. Node160_2.a('node.endCompspts',Node160_2endCompspts);
  18319. Node160_2.a('node.startCompspts',Node160_2startCompspts);
  18320. (function (node, img, compspts, endCompspts, startCompspts) {
  18321. var position = node.getPosition(),
  18322. w = node.getWidth()*_ratio.ratioX,
  18323. h = node.getHeight()*_ratio.ratioY;
  18324. function resetPoints(rx, ry) {
  18325. for (var i = 0, len = compspts.length; i < len; i++) {
  18326. if (i%2 === 0) {
  18327. compspts[i]*=rx;
  18328. } else {
  18329. compspts[i]*=ry;
  18330. }
  18331. }
  18332. endCompspts[0] = compspts[compspts.length-2];
  18333. endCompspts[1] = compspts[compspts.length-1];
  18334. endCompspts[2] *= rx;
  18335. endCompspts[3] *= ry;
  18336. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18337. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18338. startCompspts[0] = compspts[0];
  18339. startCompspts[1] = compspts[1];
  18340. startCompspts[2] *= rx;
  18341. startCompspts[3] *= ry;
  18342. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18343. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18344. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18345. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18346. }
  18347. node.setSize(w, h);
  18348. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18349. node.a('node.width', w);
  18350. node.a('node.height', h);
  18351. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18352. node.borderWidth = 2;
  18353. node.a('node.borderwidth',node.borderWidth);
  18354. node._nodename = 'Node160_2';
  18355. node._nodeType = 'line';
  18356. zoomNodeList.push({
  18357. node: node,
  18358. attr: 'node.borderwidth'
  18359. });
  18360. var setWidth = node.setWidth,
  18361. setHeight = node.setHeight,
  18362. timer, rx = 1, ry = 1;
  18363. node.setWidth = function (width) {
  18364. var _width = this.getWidth();
  18365. rx = width / _width;
  18366. node.a('node.width', width);
  18367. setWidth.apply(this, arguments);
  18368. resetPoints(rx, 1);
  18369. }
  18370. node.setHeight = function (height) {
  18371. var _height = this.getHeight();
  18372. ry = height / _height;
  18373. node.a('node.height', height);
  18374. setHeight.apply(this, arguments);
  18375. resetPoints(1, ry);
  18376. }
  18377. })(Node160_2, Node160_2.getImage(), Node160_2compspts, Node160_2endCompspts, Node160_2startCompspts);
  18378. var Node160_3rect=ht.Default.unionPoint([{x: 508, y: 697},{x: 508, y: 697},{x: 519, y: 697},{x: 514, y: 705}]),
  18379. Node160_3points=[508,697,508,697,519,697,514,705],
  18380. Node160_3compsPoints=[],
  18381. Node160_3SetPoints = [{x: 508, y: 697},{x: 508, y: 697},{x: 519, y: 697},{x: 514, y: 705}],
  18382. Node160_3setSegments = [1,2,2,2];
  18383. _ratio = GD.getRatioWithRotation(0, ratio);
  18384. for(var i=0;i<Node160_3points.length;i++){
  18385. if(i%2==0){
  18386. Node160_3compsPoints.push(Node160_3points[i]-Node160_3rect.x);
  18387. }else{
  18388. Node160_3compsPoints.push(Node160_3points[i]-Node160_3rect.y);
  18389. }
  18390. }
  18391. var Node160_3 = new ht.Node();
  18392. Node160_3.setImage(GD.getPolyGonJSON());
  18393. Node160_3.setPosition(Node160_3rect.x + Node160_3rect.width/2, Node160_3rect.y + Node160_3rect.height/2);
  18394. Node160_3.setSize(Node160_3rect.width, Node160_3rect.height);
  18395. Node160_3.setRotation(0);
  18396. Node160_3.borderWidth=0;
  18397. Node160_3.borderFillwidth=0*2;
  18398. Node160_3.s({'pixelPerfect':true});
  18399. dataModel.add(Node160_3);
  18400. // Node160_3.a('node.width', Node160_3rect.width*_ratio.ratioX);
  18401. // Node160_3.a('node.height', Node160_3rect.height*_ratio.ratioY);
  18402. Node160_3.a('node.clip', function(g,width,height,data) {
  18403. var clippoints = Node160_3SetPoints;
  18404. if(clippoints.length<=3) return;
  18405. if(Node160_3.a('Node160_3.isFill')=="false") return;
  18406. var clipcompsPoints=[];
  18407. var rect = ht.Default.unionPoint(clippoints);
  18408. for(var i=0;i<clippoints.length;i++){
  18409. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  18410. }
  18411. var clipsegments=Node160_3setSegments;
  18412. g.beginPath();
  18413. drawPoints(g,clipcompsPoints,clipsegments);
  18414. g.clip();
  18415. })
  18416. Node160_3.a('node.type', 'shape');
  18417. Node160_3.a('node.comsPoints', Node160_3compsPoints);
  18418. Node160_3.a('node.closePath', true);
  18419. Node160_3.a('node.borderwidth', 0);
  18420. Node160_3.a('node.color', 'rgba(255,128,0,0)');
  18421. Node160_3.a('node.background','rgba(255,128,0,1)');
  18422. Node160_3.a('node.closePath', true);
  18423. Node160_3.a('node.closePath', true);
  18424. Node160_3.a('node.gradient','');
  18425. Node160_3.a('node.gradientcolor','rgba(255,128,0,1)');
  18426. Node160_3.a('node.isFill','false');
  18427. Node160_3.a('node.original',[0,0,0,0]);
  18428. Node160_3.a('node.fillrect',[0,0,0,0]);
  18429. Node160_3.a('node.fillbackcolor','rgba(255,128,0,1)');
  18430. Node160_3.a('node.fillgradient','');
  18431. Node160_3.a('node.fillgradientcolor','rgba(255,128,0,1)');
  18432. Node160_3.a('node.segments',Node160_3setSegments);
  18433. Node160_3.a('node.borderPattern',"");
  18434. (function (node, nodecompsPoints, setPoints) {
  18435. var w = node.getWidth()*_ratio.ratioX,
  18436. h = node.getHeight()*_ratio.ratioY,
  18437. img = node.getImage();
  18438. function resetPoints(rx, ry) {
  18439. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  18440. if (i%2 === 0) {
  18441. nodecompsPoints[i]*=rx;
  18442. } else {
  18443. nodecompsPoints[i]*=ry;
  18444. }
  18445. if (setPoints[i]) {
  18446. setPoints[i].x *= rx;
  18447. setPoints[i].y *= ry;
  18448. }
  18449. }
  18450. }
  18451. node.setSize(w, h);
  18452. node.a('node.width', w);
  18453. node.a('node.height', h);
  18454. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18455. var position = node.getPosition();
  18456. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18457. node._nodename = 'Node160_3';
  18458. node._nodeType = 'polygon';
  18459. zoomNodeList.push({
  18460. node: node,
  18461. attr: 'node.borderwidth'
  18462. });
  18463. // 重载setWidth, setHeight
  18464. var setWidth = node.setWidth,
  18465. setHeight = node.setHeight,
  18466. timer, rx = 1, ry = 1;
  18467. node.setWidth = function (width) {
  18468. var _width = this.getWidth();
  18469. rx = width / _width;
  18470. node.a('node.width', width);
  18471. setWidth.apply(this, arguments);
  18472. resetPoints(rx, 1);
  18473. }
  18474. node.setHeight = function (height) {
  18475. var _height = this.getHeight();
  18476. ry = height / _height;
  18477. node.a('node.height', height);
  18478. setHeight.apply(this, arguments);
  18479. resetPoints(1, ry);
  18480. }
  18481. })(Node160_3, Node160_3compsPoints, Node160_3SetPoints );
  18482. var Node160_4points=[510, 731,518, 731],
  18483. Node160_4rect=ht.Default.unionPoint([{x:510,y:731},{x:518,y:731}]),
  18484. Node160_4compspts=[];
  18485. _ratio = GD.getRatioWithRotation(0, ratio);
  18486. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  18487. _endratio = GD.getRatioWithRotation(0, ratio);
  18488. for(var i=0;i<Node160_4points.length;i++){
  18489. if(i%2==0){
  18490. Node160_4compspts.push(Node160_4points[i]-Node160_4rect.x);
  18491. }else{
  18492. Node160_4compspts.push(Node160_4points[i]-Node160_4rect.y);
  18493. }
  18494. }
  18495. var Node160_4ptslength=Node160_4compspts.length;
  18496. if (Node160_4rect.height === 0) {
  18497. Node160_4compspts[0] -= 0;
  18498. Node160_4compspts[Node160_4ptslength-2] += 0;
  18499. } else if (Node160_4rect.width === 0){
  18500. Node160_4compspts[1] -= 0;
  18501. Node160_4compspts[Node160_4ptslength-1] += 0;
  18502. } else {
  18503. Node160_4compspts[0] -= 0;
  18504. Node160_4compspts[1] -= 0;
  18505. Node160_4compspts[Node160_4ptslength-2] += 0;
  18506. Node160_4compspts[Node160_4ptslength-1] += 0;
  18507. }
  18508. Node160_4 = new ht.Node();
  18509. Node160_4.borderWidth = 2;
  18510. Node160_4rect.width = Node160_4rect.width === 0 ? 0.0001 : Node160_4rect.width;
  18511. Node160_4rect.height = Node160_4rect.height === 0 ? 0.0001 : Node160_4rect.height;
  18512. var Node160_4endCompspts = [Node160_4compspts[Node160_4ptslength-2],Node160_4compspts[Node160_4ptslength-1],0,0];
  18513. var Node160_4startCompspts = [Node160_4compspts[0],Node160_4compspts[1],0,0];
  18514. Node160_4.setImage(GD.getPolyLineJSON());
  18515. Node160_4.setPosition(Node160_4rect.x+Node160_4rect.width/2,Node160_4rect.y+Node160_4rect.height/2);
  18516. Node160_4.setSize(Node160_4rect.width,Node160_4rect.height);
  18517. Node160_4.setStyle("opacity",1);
  18518. Node160_4.s({'pixelPerfect':true});
  18519. Node160_4borderwidth=2;
  18520. Node160_4.setRotation(0);
  18521. dataModel.add(Node160_4);
  18522. Node160_4.a('node.points',Node160_4compspts);
  18523. Node160_4.a('node.segments',[1,2]);
  18524. Node160_4.a('node.color','rgba(255,128,0,1)');
  18525. Node160_4.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18526. Node160_4.a('node.borderColor','rgba(255,128,0,1)');
  18527. Node160_4.a('node.background','rgba(255,128,0,1)');
  18528. Node160_4.a('node.gradient','');
  18529. Node160_4.a('node.gradientcolor','rgba(255,128,0,1)');
  18530. Node160_4.a('node.endCompspts',Node160_4endCompspts);
  18531. Node160_4.a('node.startCompspts',Node160_4startCompspts);
  18532. (function (node, img, compspts, endCompspts, startCompspts) {
  18533. var position = node.getPosition(),
  18534. w = node.getWidth()*_ratio.ratioX,
  18535. h = node.getHeight()*_ratio.ratioY;
  18536. function resetPoints(rx, ry) {
  18537. for (var i = 0, len = compspts.length; i < len; i++) {
  18538. if (i%2 === 0) {
  18539. compspts[i]*=rx;
  18540. } else {
  18541. compspts[i]*=ry;
  18542. }
  18543. }
  18544. endCompspts[0] = compspts[compspts.length-2];
  18545. endCompspts[1] = compspts[compspts.length-1];
  18546. endCompspts[2] *= rx;
  18547. endCompspts[3] *= ry;
  18548. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18549. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18550. startCompspts[0] = compspts[0];
  18551. startCompspts[1] = compspts[1];
  18552. startCompspts[2] *= rx;
  18553. startCompspts[3] *= ry;
  18554. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18555. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18556. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18557. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18558. }
  18559. node.setSize(w, h);
  18560. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18561. node.a('node.width', w);
  18562. node.a('node.height', h);
  18563. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18564. node.borderWidth = 2;
  18565. node.a('node.borderwidth',node.borderWidth);
  18566. node._nodename = 'Node160_4';
  18567. node._nodeType = 'line';
  18568. zoomNodeList.push({
  18569. node: node,
  18570. attr: 'node.borderwidth'
  18571. });
  18572. var setWidth = node.setWidth,
  18573. setHeight = node.setHeight,
  18574. timer, rx = 1, ry = 1;
  18575. node.setWidth = function (width) {
  18576. var _width = this.getWidth();
  18577. rx = width / _width;
  18578. node.a('node.width', width);
  18579. setWidth.apply(this, arguments);
  18580. resetPoints(rx, 1);
  18581. }
  18582. node.setHeight = function (height) {
  18583. var _height = this.getHeight();
  18584. ry = height / _height;
  18585. node.a('node.height', height);
  18586. setHeight.apply(this, arguments);
  18587. resetPoints(1, ry);
  18588. }
  18589. })(Node160_4, Node160_4.getImage(), Node160_4compspts, Node160_4endCompspts, Node160_4startCompspts);
  18590. var Node160_5points=[506, 728,522, 728],
  18591. Node160_5rect=ht.Default.unionPoint([{x:506,y:728},{x:522,y:728}]),
  18592. Node160_5compspts=[];
  18593. _ratio = GD.getRatioWithRotation(0, ratio);
  18594. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  18595. _endratio = GD.getRatioWithRotation(0, ratio);
  18596. for(var i=0;i<Node160_5points.length;i++){
  18597. if(i%2==0){
  18598. Node160_5compspts.push(Node160_5points[i]-Node160_5rect.x);
  18599. }else{
  18600. Node160_5compspts.push(Node160_5points[i]-Node160_5rect.y);
  18601. }
  18602. }
  18603. var Node160_5ptslength=Node160_5compspts.length;
  18604. if (Node160_5rect.height === 0) {
  18605. Node160_5compspts[0] -= 0;
  18606. Node160_5compspts[Node160_5ptslength-2] += 0;
  18607. } else if (Node160_5rect.width === 0){
  18608. Node160_5compspts[1] -= 0;
  18609. Node160_5compspts[Node160_5ptslength-1] += 0;
  18610. } else {
  18611. Node160_5compspts[0] -= 0;
  18612. Node160_5compspts[1] -= 0;
  18613. Node160_5compspts[Node160_5ptslength-2] += 0;
  18614. Node160_5compspts[Node160_5ptslength-1] += 0;
  18615. }
  18616. Node160_5 = new ht.Node();
  18617. Node160_5.borderWidth = 2;
  18618. Node160_5rect.width = Node160_5rect.width === 0 ? 0.0001 : Node160_5rect.width;
  18619. Node160_5rect.height = Node160_5rect.height === 0 ? 0.0001 : Node160_5rect.height;
  18620. var Node160_5endCompspts = [Node160_5compspts[Node160_5ptslength-2],Node160_5compspts[Node160_5ptslength-1],0,0];
  18621. var Node160_5startCompspts = [Node160_5compspts[0],Node160_5compspts[1],0,0];
  18622. Node160_5.setImage(GD.getPolyLineJSON());
  18623. Node160_5.setPosition(Node160_5rect.x+Node160_5rect.width/2,Node160_5rect.y+Node160_5rect.height/2);
  18624. Node160_5.setSize(Node160_5rect.width,Node160_5rect.height);
  18625. Node160_5.setStyle("opacity",1);
  18626. Node160_5.s({'pixelPerfect':true});
  18627. Node160_5borderwidth=2;
  18628. Node160_5.setRotation(0);
  18629. dataModel.add(Node160_5);
  18630. Node160_5.a('node.points',Node160_5compspts);
  18631. Node160_5.a('node.segments',[1,2]);
  18632. Node160_5.a('node.color','rgba(255,128,0,1)');
  18633. Node160_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18634. Node160_5.a('node.borderColor','rgba(255,128,0,1)');
  18635. Node160_5.a('node.background','rgba(255,128,0,1)');
  18636. Node160_5.a('node.gradient','');
  18637. Node160_5.a('node.gradientcolor','rgba(255,128,0,1)');
  18638. Node160_5.a('node.endCompspts',Node160_5endCompspts);
  18639. Node160_5.a('node.startCompspts',Node160_5startCompspts);
  18640. (function (node, img, compspts, endCompspts, startCompspts) {
  18641. var position = node.getPosition(),
  18642. w = node.getWidth()*_ratio.ratioX,
  18643. h = node.getHeight()*_ratio.ratioY;
  18644. function resetPoints(rx, ry) {
  18645. for (var i = 0, len = compspts.length; i < len; i++) {
  18646. if (i%2 === 0) {
  18647. compspts[i]*=rx;
  18648. } else {
  18649. compspts[i]*=ry;
  18650. }
  18651. }
  18652. endCompspts[0] = compspts[compspts.length-2];
  18653. endCompspts[1] = compspts[compspts.length-1];
  18654. endCompspts[2] *= rx;
  18655. endCompspts[3] *= ry;
  18656. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18657. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18658. startCompspts[0] = compspts[0];
  18659. startCompspts[1] = compspts[1];
  18660. startCompspts[2] *= rx;
  18661. startCompspts[3] *= ry;
  18662. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18663. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18664. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18665. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18666. }
  18667. node.setSize(w, h);
  18668. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18669. node.a('node.width', w);
  18670. node.a('node.height', h);
  18671. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18672. node.borderWidth = 2;
  18673. node.a('node.borderwidth',node.borderWidth);
  18674. node._nodename = 'Node160_5';
  18675. node._nodeType = 'line';
  18676. zoomNodeList.push({
  18677. node: node,
  18678. attr: 'node.borderwidth'
  18679. });
  18680. var setWidth = node.setWidth,
  18681. setHeight = node.setHeight,
  18682. timer, rx = 1, ry = 1;
  18683. node.setWidth = function (width) {
  18684. var _width = this.getWidth();
  18685. rx = width / _width;
  18686. node.a('node.width', width);
  18687. setWidth.apply(this, arguments);
  18688. resetPoints(rx, 1);
  18689. }
  18690. node.setHeight = function (height) {
  18691. var _height = this.getHeight();
  18692. ry = height / _height;
  18693. node.a('node.height', height);
  18694. setHeight.apply(this, arguments);
  18695. resetPoints(1, ry);
  18696. }
  18697. })(Node160_5, Node160_5.getImage(), Node160_5compspts, Node160_5endCompspts, Node160_5startCompspts);
  18698. var Node160_6points=[504, 725,524, 725],
  18699. Node160_6rect=ht.Default.unionPoint([{x:504,y:725},{x:524,y:725}]),
  18700. Node160_6compspts=[];
  18701. _ratio = GD.getRatioWithRotation(0, ratio);
  18702. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  18703. _endratio = GD.getRatioWithRotation(0, ratio);
  18704. for(var i=0;i<Node160_6points.length;i++){
  18705. if(i%2==0){
  18706. Node160_6compspts.push(Node160_6points[i]-Node160_6rect.x);
  18707. }else{
  18708. Node160_6compspts.push(Node160_6points[i]-Node160_6rect.y);
  18709. }
  18710. }
  18711. var Node160_6ptslength=Node160_6compspts.length;
  18712. if (Node160_6rect.height === 0) {
  18713. Node160_6compspts[0] -= 0;
  18714. Node160_6compspts[Node160_6ptslength-2] += 0;
  18715. } else if (Node160_6rect.width === 0){
  18716. Node160_6compspts[1] -= 0;
  18717. Node160_6compspts[Node160_6ptslength-1] += 0;
  18718. } else {
  18719. Node160_6compspts[0] -= 0;
  18720. Node160_6compspts[1] -= 0;
  18721. Node160_6compspts[Node160_6ptslength-2] += 0;
  18722. Node160_6compspts[Node160_6ptslength-1] += 0;
  18723. }
  18724. Node160_6 = new ht.Node();
  18725. Node160_6.borderWidth = 2;
  18726. Node160_6rect.width = Node160_6rect.width === 0 ? 0.0001 : Node160_6rect.width;
  18727. Node160_6rect.height = Node160_6rect.height === 0 ? 0.0001 : Node160_6rect.height;
  18728. var Node160_6endCompspts = [Node160_6compspts[Node160_6ptslength-2],Node160_6compspts[Node160_6ptslength-1],0,0];
  18729. var Node160_6startCompspts = [Node160_6compspts[0],Node160_6compspts[1],0,0];
  18730. Node160_6.setImage(GD.getPolyLineJSON());
  18731. Node160_6.setPosition(Node160_6rect.x+Node160_6rect.width/2,Node160_6rect.y+Node160_6rect.height/2);
  18732. Node160_6.setSize(Node160_6rect.width,Node160_6rect.height);
  18733. Node160_6.setStyle("opacity",1);
  18734. Node160_6.s({'pixelPerfect':true});
  18735. Node160_6borderwidth=2;
  18736. Node160_6.setRotation(0);
  18737. dataModel.add(Node160_6);
  18738. Node160_6.a('node.points',Node160_6compspts);
  18739. Node160_6.a('node.segments',[1,2]);
  18740. Node160_6.a('node.color','rgba(255,128,0,1)');
  18741. Node160_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18742. Node160_6.a('node.borderColor','rgba(255,128,0,1)');
  18743. Node160_6.a('node.background','rgba(255,128,0,1)');
  18744. Node160_6.a('node.gradient','');
  18745. Node160_6.a('node.gradientcolor','rgba(255,128,0,1)');
  18746. Node160_6.a('node.endCompspts',Node160_6endCompspts);
  18747. Node160_6.a('node.startCompspts',Node160_6startCompspts);
  18748. (function (node, img, compspts, endCompspts, startCompspts) {
  18749. var position = node.getPosition(),
  18750. w = node.getWidth()*_ratio.ratioX,
  18751. h = node.getHeight()*_ratio.ratioY;
  18752. function resetPoints(rx, ry) {
  18753. for (var i = 0, len = compspts.length; i < len; i++) {
  18754. if (i%2 === 0) {
  18755. compspts[i]*=rx;
  18756. } else {
  18757. compspts[i]*=ry;
  18758. }
  18759. }
  18760. endCompspts[0] = compspts[compspts.length-2];
  18761. endCompspts[1] = compspts[compspts.length-1];
  18762. endCompspts[2] *= rx;
  18763. endCompspts[3] *= ry;
  18764. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18765. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18766. startCompspts[0] = compspts[0];
  18767. startCompspts[1] = compspts[1];
  18768. startCompspts[2] *= rx;
  18769. startCompspts[3] *= ry;
  18770. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18771. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18772. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18773. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18774. }
  18775. node.setSize(w, h);
  18776. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18777. node.a('node.width', w);
  18778. node.a('node.height', h);
  18779. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18780. node.borderWidth = 2;
  18781. node.a('node.borderwidth',node.borderWidth);
  18782. node._nodename = 'Node160_6';
  18783. node._nodeType = 'line';
  18784. zoomNodeList.push({
  18785. node: node,
  18786. attr: 'node.borderwidth'
  18787. });
  18788. var setWidth = node.setWidth,
  18789. setHeight = node.setHeight,
  18790. timer, rx = 1, ry = 1;
  18791. node.setWidth = function (width) {
  18792. var _width = this.getWidth();
  18793. rx = width / _width;
  18794. node.a('node.width', width);
  18795. setWidth.apply(this, arguments);
  18796. resetPoints(rx, 1);
  18797. }
  18798. node.setHeight = function (height) {
  18799. var _height = this.getHeight();
  18800. ry = height / _height;
  18801. node.a('node.height', height);
  18802. setHeight.apply(this, arguments);
  18803. resetPoints(1, ry);
  18804. }
  18805. })(Node160_6, Node160_6.getImage(), Node160_6compspts, Node160_6endCompspts, Node160_6startCompspts);
  18806. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18807. var Node161 = new ht.Node();
  18808. var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'left', Node161fontSize = 13.3333*_ratio.ratioY,Node161width = 68*_ratio.ratioX, Node161height = 18*_ratio.ratioY;
  18809. (function () {
  18810. if (Node161align === 'left') {
  18811. Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9;
  18812. Node161textWidth = Node161width;
  18813. Node161lineStart = 1;
  18814. } else if (Node161align === 'right') {
  18815. Node161textStart = 0;
  18816. Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2;
  18817. Node161lineStart = (Node161width - (ht.Default.getTextSize('311-10', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5;
  18818. } else if (Node161align === 'center') {
  18819. Node161textStart = -3;
  18820. Node161textWidth = Node161width;
  18821. Node161lineStart = Node161width - ht.Default.getTextSize('311-10', ' '+ Node161fontSize + 'px "Arial"').width - 11;
  18822. }
  18823. })();
  18824. Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"'))
  18825. Node161.setPosition(624*ratio.ratioX, 712*ratio.ratioY);
  18826. Node161.setWidth(Node161width);
  18827. Node161.setHeight(Node161height);
  18828. Node161._nodeType = 'text';
  18829. Node161._disallowEvert = true;
  18830. Node161.setRotation(0*Math.PI/180);
  18831. Node161.a('node.width', Node161width);
  18832. Node161.a('node.height', Node161height);
  18833. Node161.a('node.rect', [0, 0, Node161width, Node161height]);
  18834. Node161.a('node.bordercolor','rgba(0,0,0,1)');
  18835. Node161.a('node.borderwidth', 0);
  18836. Node161.a('node.background','' || 'rgba(0,0,0,0)');
  18837. Node161.a('node.gradient','');
  18838. Node161.a('node.gradientcolor','');
  18839. Node161.a('node.text','311-10');
  18840. Node161.a('node.textalign','left');
  18841. Node161.a('node.textvAlign','middle');
  18842. Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]);
  18843. Node161.a('node.color','rgba(0,0,0,1)');
  18844. Node161.a('node.font',' '+ Node161fontSize + 'px "Arial"');
  18845. Node161.a('node.textvisible',true);
  18846. Node161.a('node.linefeed',false);
  18847. if (false) {
  18848. Node161.a('node.textfunc',function(g) {
  18849. g.beginPath();
  18850. var str=Node161.a('node.text') || '311-10';
  18851. var color=Node161.a('node.color') || 'rgba(0,0,0,1)';
  18852. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node161width,Node161height,13.3333*_ratio.ratioY,"left",color,' '+ Node161fontSize + 'px "Arial"', 0,g);
  18853. });
  18854. }
  18855. if (false) {
  18856. Node161.a('node.underlinepoints',[Node161lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('311-10', ' '+ Node161fontSize + 'px "Arial"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]);
  18857. Node161.a('node.underlinevisible',false);
  18858. Node161.a('node.underlineBorderWidth', 1);
  18859. }
  18860. dataModel.add(Node161);
  18861. zoomNodeList.push({
  18862. node: Node161,
  18863. borderWidth: 0,
  18864. attr: 'node.borderwidth'
  18865. }); var Node162points=[569, 696,569, 678],
  18866. Node162rect=ht.Default.unionPoint([{x:569,y:696},{x:569,y:678}]),
  18867. Node162compspts=[];
  18868. _ratio = GD.getRatioWithRotation(0, ratio);
  18869. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  18870. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  18871. for(var i=0;i<Node162points.length;i++){
  18872. if(i%2==0){
  18873. Node162compspts.push(Node162points[i]-Node162rect.x);
  18874. }else{
  18875. Node162compspts.push(Node162points[i]-Node162rect.y);
  18876. }
  18877. }
  18878. var Node162ptslength=Node162compspts.length;
  18879. if (Node162rect.height === 0) {
  18880. Node162compspts[0] -= 0;
  18881. Node162compspts[Node162ptslength-2] += 0;
  18882. } else if (Node162rect.width === 0){
  18883. Node162compspts[1] -= 0;
  18884. Node162compspts[Node162ptslength-1] += 0;
  18885. } else {
  18886. Node162compspts[0] -= 0;
  18887. Node162compspts[1] -= 0;
  18888. Node162compspts[Node162ptslength-2] += 0;
  18889. Node162compspts[Node162ptslength-1] += 0;
  18890. }
  18891. Node162 = new ht.Node();
  18892. Node162.borderWidth = 1;
  18893. Node162rect.width = Node162rect.width === 0 ? 0.0001 : Node162rect.width;
  18894. Node162rect.height = Node162rect.height === 0 ? 0.0001 : Node162rect.height;
  18895. var Node162endCompspts = [Node162compspts[Node162ptslength-2],Node162compspts[Node162ptslength-1],0,0];
  18896. var Node162startCompspts = [Node162compspts[0],Node162compspts[1],0,0];
  18897. Node162.setImage(GD.getPolyLineJSON());
  18898. Node162.setPosition(Node162rect.x+Node162rect.width/2,Node162rect.y+Node162rect.height/2);
  18899. Node162.setSize(Node162rect.width,Node162rect.height);
  18900. Node162.setStyle("opacity",1);
  18901. Node162.s({'pixelPerfect':true});
  18902. Node162borderwidth=1;
  18903. Node162.setRotation(0);
  18904. dataModel.add(Node162);
  18905. Node162.a('node.points',Node162compspts);
  18906. Node162.a('node.segments',[1,2]);
  18907. Node162.a('node.color','rgba(255,128,0,1)');
  18908. Node162.a('node.borderPattern',getDashStyle("@borderPattern@"));
  18909. Node162.a('node.borderColor','rgba(255,128,0,1)');
  18910. Node162.a('node.background','rgba(255,128,0,1)');
  18911. Node162.a('node.gradient','');
  18912. Node162.a('node.gradientcolor','rgba(255,128,0,1)');
  18913. Node162.a('node.endCompspts',Node162endCompspts);
  18914. Node162.a('node.startCompspts',Node162startCompspts);
  18915. (function (node, img, compspts, endCompspts, startCompspts) {
  18916. var position = node.getPosition(),
  18917. w = node.getWidth()*_ratio.ratioX,
  18918. h = node.getHeight()*_ratio.ratioY;
  18919. function resetPoints(rx, ry) {
  18920. for (var i = 0, len = compspts.length; i < len; i++) {
  18921. if (i%2 === 0) {
  18922. compspts[i]*=rx;
  18923. } else {
  18924. compspts[i]*=ry;
  18925. }
  18926. }
  18927. endCompspts[0] = compspts[compspts.length-2];
  18928. endCompspts[1] = compspts[compspts.length-1];
  18929. endCompspts[2] *= rx;
  18930. endCompspts[3] *= ry;
  18931. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  18932. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  18933. startCompspts[0] = compspts[0];
  18934. startCompspts[1] = compspts[1];
  18935. startCompspts[2] *= rx;
  18936. startCompspts[3] *= ry;
  18937. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  18938. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  18939. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  18940. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  18941. }
  18942. node.setSize(w, h);
  18943. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  18944. node.a('node.width', w);
  18945. node.a('node.height', h);
  18946. resetPoints(_ratio.ratioX, _ratio.ratioY);
  18947. node.borderWidth = 1;
  18948. node.a('node.borderwidth',node.borderWidth);
  18949. node._nodename = 'Node162';
  18950. node._nodeType = 'line';
  18951. zoomNodeList.push({
  18952. node: node,
  18953. attr: 'node.borderwidth'
  18954. });
  18955. var setWidth = node.setWidth,
  18956. setHeight = node.setHeight,
  18957. timer, rx = 1, ry = 1;
  18958. node.setWidth = function (width) {
  18959. var _width = this.getWidth();
  18960. rx = width / _width;
  18961. node.a('node.width', width);
  18962. setWidth.apply(this, arguments);
  18963. resetPoints(rx, 1);
  18964. }
  18965. node.setHeight = function (height) {
  18966. var _height = this.getHeight();
  18967. ry = height / _height;
  18968. node.a('node.height', height);
  18969. setHeight.apply(this, arguments);
  18970. resetPoints(1, ry);
  18971. }
  18972. })(Node162, Node162.getImage(), Node162compspts, Node162endCompspts, Node162startCompspts);
  18973. var Node163_0points=[992, 262,998, 262],
  18974. Node163_0rect=ht.Default.unionPoint([{x:992,y:262},{x:998,y:262}]),
  18975. Node163_0compspts=[];
  18976. _ratio = GD.getRatioWithRotation(0, ratio);
  18977. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  18978. _endratio = GD.getRatioWithRotation(0, ratio);
  18979. for(var i=0;i<Node163_0points.length;i++){
  18980. if(i%2==0){
  18981. Node163_0compspts.push(Node163_0points[i]-Node163_0rect.x);
  18982. }else{
  18983. Node163_0compspts.push(Node163_0points[i]-Node163_0rect.y);
  18984. }
  18985. }
  18986. var Node163_0ptslength=Node163_0compspts.length;
  18987. if (Node163_0rect.height === 0) {
  18988. Node163_0compspts[0] -= 0;
  18989. Node163_0compspts[Node163_0ptslength-2] += 0;
  18990. } else if (Node163_0rect.width === 0){
  18991. Node163_0compspts[1] -= 0;
  18992. Node163_0compspts[Node163_0ptslength-1] += 0;
  18993. } else {
  18994. Node163_0compspts[0] -= 0;
  18995. Node163_0compspts[1] -= 0;
  18996. Node163_0compspts[Node163_0ptslength-2] += 0;
  18997. Node163_0compspts[Node163_0ptslength-1] += 0;
  18998. }
  18999. Node163_0 = new ht.Node();
  19000. Node163_0.borderWidth = 1;
  19001. Node163_0rect.width = Node163_0rect.width === 0 ? 0.0001 : Node163_0rect.width;
  19002. Node163_0rect.height = Node163_0rect.height === 0 ? 0.0001 : Node163_0rect.height;
  19003. var Node163_0endCompspts = [Node163_0compspts[Node163_0ptslength-2],Node163_0compspts[Node163_0ptslength-1],0,0];
  19004. var Node163_0startCompspts = [Node163_0compspts[0],Node163_0compspts[1],0,0];
  19005. Node163_0.setImage(GD.getPolyLineJSON());
  19006. Node163_0.setPosition(Node163_0rect.x+Node163_0rect.width/2,Node163_0rect.y+Node163_0rect.height/2);
  19007. Node163_0.setSize(Node163_0rect.width,Node163_0rect.height);
  19008. Node163_0.setStyle("opacity",1);
  19009. Node163_0.s({'pixelPerfect':true});
  19010. Node163_0borderwidth=1;
  19011. Node163_0.setRotation(0);
  19012. dataModel.add(Node163_0);
  19013. Node163_0.a('node.points',Node163_0compspts);
  19014. Node163_0.a('node.segments',[1,2]);
  19015. Node163_0.a('node.color','rgba(255,0,255,1)');
  19016. Node163_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19017. Node163_0.a('node.borderColor','rgba(255,0,255,1)');
  19018. Node163_0.a('node.background','rgba(255,0,255,1)');
  19019. Node163_0.a('node.gradient','');
  19020. Node163_0.a('node.gradientcolor','rgba(255,0,255,1)');
  19021. Node163_0.a('node.endCompspts',Node163_0endCompspts);
  19022. Node163_0.a('node.startCompspts',Node163_0startCompspts);
  19023. (function (node, img, compspts, endCompspts, startCompspts) {
  19024. var position = node.getPosition(),
  19025. w = node.getWidth()*_ratio.ratioX,
  19026. h = node.getHeight()*_ratio.ratioY;
  19027. function resetPoints(rx, ry) {
  19028. for (var i = 0, len = compspts.length; i < len; i++) {
  19029. if (i%2 === 0) {
  19030. compspts[i]*=rx;
  19031. } else {
  19032. compspts[i]*=ry;
  19033. }
  19034. }
  19035. endCompspts[0] = compspts[compspts.length-2];
  19036. endCompspts[1] = compspts[compspts.length-1];
  19037. endCompspts[2] *= rx;
  19038. endCompspts[3] *= ry;
  19039. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19040. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19041. startCompspts[0] = compspts[0];
  19042. startCompspts[1] = compspts[1];
  19043. startCompspts[2] *= rx;
  19044. startCompspts[3] *= ry;
  19045. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19046. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19047. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19048. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19049. }
  19050. node.setSize(w, h);
  19051. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19052. node.a('node.width', w);
  19053. node.a('node.height', h);
  19054. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19055. node.borderWidth = 1;
  19056. node.a('node.borderwidth',node.borderWidth);
  19057. node._nodename = 'Node163_0';
  19058. node._nodeType = 'line';
  19059. zoomNodeList.push({
  19060. node: node,
  19061. attr: 'node.borderwidth'
  19062. });
  19063. var setWidth = node.setWidth,
  19064. setHeight = node.setHeight,
  19065. timer, rx = 1, ry = 1;
  19066. node.setWidth = function (width) {
  19067. var _width = this.getWidth();
  19068. rx = width / _width;
  19069. node.a('node.width', width);
  19070. setWidth.apply(this, arguments);
  19071. resetPoints(rx, 1);
  19072. }
  19073. node.setHeight = function (height) {
  19074. var _height = this.getHeight();
  19075. ry = height / _height;
  19076. node.a('node.height', height);
  19077. setHeight.apply(this, arguments);
  19078. resetPoints(1, ry);
  19079. }
  19080. })(Node163_0, Node163_0.getImage(), Node163_0compspts, Node163_0endCompspts, Node163_0startCompspts);
  19081. var Node163_1points=[990, 259,1001, 259],
  19082. Node163_1rect=ht.Default.unionPoint([{x:990,y:259},{x:1001,y:259}]),
  19083. Node163_1compspts=[];
  19084. _ratio = GD.getRatioWithRotation(0, ratio);
  19085. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19086. _endratio = GD.getRatioWithRotation(0, ratio);
  19087. for(var i=0;i<Node163_1points.length;i++){
  19088. if(i%2==0){
  19089. Node163_1compspts.push(Node163_1points[i]-Node163_1rect.x);
  19090. }else{
  19091. Node163_1compspts.push(Node163_1points[i]-Node163_1rect.y);
  19092. }
  19093. }
  19094. var Node163_1ptslength=Node163_1compspts.length;
  19095. if (Node163_1rect.height === 0) {
  19096. Node163_1compspts[0] -= 0;
  19097. Node163_1compspts[Node163_1ptslength-2] += 0;
  19098. } else if (Node163_1rect.width === 0){
  19099. Node163_1compspts[1] -= 0;
  19100. Node163_1compspts[Node163_1ptslength-1] += 0;
  19101. } else {
  19102. Node163_1compspts[0] -= 0;
  19103. Node163_1compspts[1] -= 0;
  19104. Node163_1compspts[Node163_1ptslength-2] += 0;
  19105. Node163_1compspts[Node163_1ptslength-1] += 0;
  19106. }
  19107. Node163_1 = new ht.Node();
  19108. Node163_1.borderWidth = 1;
  19109. Node163_1rect.width = Node163_1rect.width === 0 ? 0.0001 : Node163_1rect.width;
  19110. Node163_1rect.height = Node163_1rect.height === 0 ? 0.0001 : Node163_1rect.height;
  19111. var Node163_1endCompspts = [Node163_1compspts[Node163_1ptslength-2],Node163_1compspts[Node163_1ptslength-1],0,0];
  19112. var Node163_1startCompspts = [Node163_1compspts[0],Node163_1compspts[1],0,0];
  19113. Node163_1.setImage(GD.getPolyLineJSON());
  19114. Node163_1.setPosition(Node163_1rect.x+Node163_1rect.width/2,Node163_1rect.y+Node163_1rect.height/2);
  19115. Node163_1.setSize(Node163_1rect.width,Node163_1rect.height);
  19116. Node163_1.setStyle("opacity",1);
  19117. Node163_1.s({'pixelPerfect':true});
  19118. Node163_1borderwidth=1;
  19119. Node163_1.setRotation(0);
  19120. dataModel.add(Node163_1);
  19121. Node163_1.a('node.points',Node163_1compspts);
  19122. Node163_1.a('node.segments',[1,2]);
  19123. Node163_1.a('node.color','rgba(255,0,255,1)');
  19124. Node163_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19125. Node163_1.a('node.borderColor','rgba(255,0,255,1)');
  19126. Node163_1.a('node.background','rgba(255,0,255,1)');
  19127. Node163_1.a('node.gradient','');
  19128. Node163_1.a('node.gradientcolor','rgba(255,0,255,1)');
  19129. Node163_1.a('node.endCompspts',Node163_1endCompspts);
  19130. Node163_1.a('node.startCompspts',Node163_1startCompspts);
  19131. (function (node, img, compspts, endCompspts, startCompspts) {
  19132. var position = node.getPosition(),
  19133. w = node.getWidth()*_ratio.ratioX,
  19134. h = node.getHeight()*_ratio.ratioY;
  19135. function resetPoints(rx, ry) {
  19136. for (var i = 0, len = compspts.length; i < len; i++) {
  19137. if (i%2 === 0) {
  19138. compspts[i]*=rx;
  19139. } else {
  19140. compspts[i]*=ry;
  19141. }
  19142. }
  19143. endCompspts[0] = compspts[compspts.length-2];
  19144. endCompspts[1] = compspts[compspts.length-1];
  19145. endCompspts[2] *= rx;
  19146. endCompspts[3] *= ry;
  19147. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19148. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19149. startCompspts[0] = compspts[0];
  19150. startCompspts[1] = compspts[1];
  19151. startCompspts[2] *= rx;
  19152. startCompspts[3] *= ry;
  19153. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19154. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19155. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19156. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19157. }
  19158. node.setSize(w, h);
  19159. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19160. node.a('node.width', w);
  19161. node.a('node.height', h);
  19162. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19163. node.borderWidth = 1;
  19164. node.a('node.borderwidth',node.borderWidth);
  19165. node._nodename = 'Node163_1';
  19166. node._nodeType = 'line';
  19167. zoomNodeList.push({
  19168. node: node,
  19169. attr: 'node.borderwidth'
  19170. });
  19171. var setWidth = node.setWidth,
  19172. setHeight = node.setHeight,
  19173. timer, rx = 1, ry = 1;
  19174. node.setWidth = function (width) {
  19175. var _width = this.getWidth();
  19176. rx = width / _width;
  19177. node.a('node.width', width);
  19178. setWidth.apply(this, arguments);
  19179. resetPoints(rx, 1);
  19180. }
  19181. node.setHeight = function (height) {
  19182. var _height = this.getHeight();
  19183. ry = height / _height;
  19184. node.a('node.height', height);
  19185. setHeight.apply(this, arguments);
  19186. resetPoints(1, ry);
  19187. }
  19188. })(Node163_1, Node163_1.getImage(), Node163_1compspts, Node163_1endCompspts, Node163_1startCompspts);
  19189. var Node163_2points=[987, 256,1003, 256],
  19190. Node163_2rect=ht.Default.unionPoint([{x:987,y:256},{x:1003,y:256}]),
  19191. Node163_2compspts=[];
  19192. _ratio = GD.getRatioWithRotation(0, ratio);
  19193. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19194. _endratio = GD.getRatioWithRotation(0, ratio);
  19195. for(var i=0;i<Node163_2points.length;i++){
  19196. if(i%2==0){
  19197. Node163_2compspts.push(Node163_2points[i]-Node163_2rect.x);
  19198. }else{
  19199. Node163_2compspts.push(Node163_2points[i]-Node163_2rect.y);
  19200. }
  19201. }
  19202. var Node163_2ptslength=Node163_2compspts.length;
  19203. if (Node163_2rect.height === 0) {
  19204. Node163_2compspts[0] -= 0;
  19205. Node163_2compspts[Node163_2ptslength-2] += 0;
  19206. } else if (Node163_2rect.width === 0){
  19207. Node163_2compspts[1] -= 0;
  19208. Node163_2compspts[Node163_2ptslength-1] += 0;
  19209. } else {
  19210. Node163_2compspts[0] -= 0;
  19211. Node163_2compspts[1] -= 0;
  19212. Node163_2compspts[Node163_2ptslength-2] += 0;
  19213. Node163_2compspts[Node163_2ptslength-1] += 0;
  19214. }
  19215. Node163_2 = new ht.Node();
  19216. Node163_2.borderWidth = 1;
  19217. Node163_2rect.width = Node163_2rect.width === 0 ? 0.0001 : Node163_2rect.width;
  19218. Node163_2rect.height = Node163_2rect.height === 0 ? 0.0001 : Node163_2rect.height;
  19219. var Node163_2endCompspts = [Node163_2compspts[Node163_2ptslength-2],Node163_2compspts[Node163_2ptslength-1],0,0];
  19220. var Node163_2startCompspts = [Node163_2compspts[0],Node163_2compspts[1],0,0];
  19221. Node163_2.setImage(GD.getPolyLineJSON());
  19222. Node163_2.setPosition(Node163_2rect.x+Node163_2rect.width/2,Node163_2rect.y+Node163_2rect.height/2);
  19223. Node163_2.setSize(Node163_2rect.width,Node163_2rect.height);
  19224. Node163_2.setStyle("opacity",1);
  19225. Node163_2.s({'pixelPerfect':true});
  19226. Node163_2borderwidth=1;
  19227. Node163_2.setRotation(0);
  19228. dataModel.add(Node163_2);
  19229. Node163_2.a('node.points',Node163_2compspts);
  19230. Node163_2.a('node.segments',[1,2]);
  19231. Node163_2.a('node.color','rgba(255,0,255,1)');
  19232. Node163_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19233. Node163_2.a('node.borderColor','rgba(255,0,255,1)');
  19234. Node163_2.a('node.background','rgba(255,0,255,1)');
  19235. Node163_2.a('node.gradient','');
  19236. Node163_2.a('node.gradientcolor','rgba(255,0,255,1)');
  19237. Node163_2.a('node.endCompspts',Node163_2endCompspts);
  19238. Node163_2.a('node.startCompspts',Node163_2startCompspts);
  19239. (function (node, img, compspts, endCompspts, startCompspts) {
  19240. var position = node.getPosition(),
  19241. w = node.getWidth()*_ratio.ratioX,
  19242. h = node.getHeight()*_ratio.ratioY;
  19243. function resetPoints(rx, ry) {
  19244. for (var i = 0, len = compspts.length; i < len; i++) {
  19245. if (i%2 === 0) {
  19246. compspts[i]*=rx;
  19247. } else {
  19248. compspts[i]*=ry;
  19249. }
  19250. }
  19251. endCompspts[0] = compspts[compspts.length-2];
  19252. endCompspts[1] = compspts[compspts.length-1];
  19253. endCompspts[2] *= rx;
  19254. endCompspts[3] *= ry;
  19255. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19256. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19257. startCompspts[0] = compspts[0];
  19258. startCompspts[1] = compspts[1];
  19259. startCompspts[2] *= rx;
  19260. startCompspts[3] *= ry;
  19261. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19262. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19263. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19264. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19265. }
  19266. node.setSize(w, h);
  19267. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19268. node.a('node.width', w);
  19269. node.a('node.height', h);
  19270. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19271. node.borderWidth = 1;
  19272. node.a('node.borderwidth',node.borderWidth);
  19273. node._nodename = 'Node163_2';
  19274. node._nodeType = 'line';
  19275. zoomNodeList.push({
  19276. node: node,
  19277. attr: 'node.borderwidth'
  19278. });
  19279. var setWidth = node.setWidth,
  19280. setHeight = node.setHeight,
  19281. timer, rx = 1, ry = 1;
  19282. node.setWidth = function (width) {
  19283. var _width = this.getWidth();
  19284. rx = width / _width;
  19285. node.a('node.width', width);
  19286. setWidth.apply(this, arguments);
  19287. resetPoints(rx, 1);
  19288. }
  19289. node.setHeight = function (height) {
  19290. var _height = this.getHeight();
  19291. ry = height / _height;
  19292. node.a('node.height', height);
  19293. setHeight.apply(this, arguments);
  19294. resetPoints(1, ry);
  19295. }
  19296. })(Node163_2, Node163_2.getImage(), Node163_2compspts, Node163_2endCompspts, Node163_2startCompspts);
  19297. var Node163_3points=[995, 256,995, 250],
  19298. Node163_3rect=ht.Default.unionPoint([{x:995,y:256},{x:995,y:250}]),
  19299. Node163_3compspts=[];
  19300. _ratio = GD.getRatioWithRotation(0, ratio);
  19301. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  19302. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  19303. for(var i=0;i<Node163_3points.length;i++){
  19304. if(i%2==0){
  19305. Node163_3compspts.push(Node163_3points[i]-Node163_3rect.x);
  19306. }else{
  19307. Node163_3compspts.push(Node163_3points[i]-Node163_3rect.y);
  19308. }
  19309. }
  19310. var Node163_3ptslength=Node163_3compspts.length;
  19311. if (Node163_3rect.height === 0) {
  19312. Node163_3compspts[0] -= 0;
  19313. Node163_3compspts[Node163_3ptslength-2] += 0;
  19314. } else if (Node163_3rect.width === 0){
  19315. Node163_3compspts[1] -= 0;
  19316. Node163_3compspts[Node163_3ptslength-1] += 0;
  19317. } else {
  19318. Node163_3compspts[0] -= 0;
  19319. Node163_3compspts[1] -= 0;
  19320. Node163_3compspts[Node163_3ptslength-2] += 0;
  19321. Node163_3compspts[Node163_3ptslength-1] += 0;
  19322. }
  19323. Node163_3 = new ht.Node();
  19324. Node163_3.borderWidth = 1;
  19325. Node163_3rect.width = Node163_3rect.width === 0 ? 0.0001 : Node163_3rect.width;
  19326. Node163_3rect.height = Node163_3rect.height === 0 ? 0.0001 : Node163_3rect.height;
  19327. var Node163_3endCompspts = [Node163_3compspts[Node163_3ptslength-2],Node163_3compspts[Node163_3ptslength-1],0,0];
  19328. var Node163_3startCompspts = [Node163_3compspts[0],Node163_3compspts[1],0,0];
  19329. Node163_3.setImage(GD.getPolyLineJSON());
  19330. Node163_3.setPosition(Node163_3rect.x+Node163_3rect.width/2,Node163_3rect.y+Node163_3rect.height/2);
  19331. Node163_3.setSize(Node163_3rect.width,Node163_3rect.height);
  19332. Node163_3.setStyle("opacity",1);
  19333. Node163_3.s({'pixelPerfect':true});
  19334. Node163_3borderwidth=1;
  19335. Node163_3.setRotation(0);
  19336. dataModel.add(Node163_3);
  19337. Node163_3.a('node.points',Node163_3compspts);
  19338. Node163_3.a('node.segments',[1,2]);
  19339. Node163_3.a('node.color','rgba(255,0,255,1)');
  19340. Node163_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19341. Node163_3.a('node.borderColor','rgba(255,0,255,1)');
  19342. Node163_3.a('node.background','rgba(255,0,255,1)');
  19343. Node163_3.a('node.gradient','');
  19344. Node163_3.a('node.gradientcolor','rgba(255,0,255,1)');
  19345. Node163_3.a('node.endCompspts',Node163_3endCompspts);
  19346. Node163_3.a('node.startCompspts',Node163_3startCompspts);
  19347. (function (node, img, compspts, endCompspts, startCompspts) {
  19348. var position = node.getPosition(),
  19349. w = node.getWidth()*_ratio.ratioX,
  19350. h = node.getHeight()*_ratio.ratioY;
  19351. function resetPoints(rx, ry) {
  19352. for (var i = 0, len = compspts.length; i < len; i++) {
  19353. if (i%2 === 0) {
  19354. compspts[i]*=rx;
  19355. } else {
  19356. compspts[i]*=ry;
  19357. }
  19358. }
  19359. endCompspts[0] = compspts[compspts.length-2];
  19360. endCompspts[1] = compspts[compspts.length-1];
  19361. endCompspts[2] *= rx;
  19362. endCompspts[3] *= ry;
  19363. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19364. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19365. startCompspts[0] = compspts[0];
  19366. startCompspts[1] = compspts[1];
  19367. startCompspts[2] *= rx;
  19368. startCompspts[3] *= ry;
  19369. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19370. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19371. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19372. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19373. }
  19374. node.setSize(w, h);
  19375. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19376. node.a('node.width', w);
  19377. node.a('node.height', h);
  19378. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19379. node.borderWidth = 1;
  19380. node.a('node.borderwidth',node.borderWidth);
  19381. node._nodename = 'Node163_3';
  19382. node._nodeType = 'line';
  19383. zoomNodeList.push({
  19384. node: node,
  19385. attr: 'node.borderwidth'
  19386. });
  19387. var setWidth = node.setWidth,
  19388. setHeight = node.setHeight,
  19389. timer, rx = 1, ry = 1;
  19390. node.setWidth = function (width) {
  19391. var _width = this.getWidth();
  19392. rx = width / _width;
  19393. node.a('node.width', width);
  19394. setWidth.apply(this, arguments);
  19395. resetPoints(rx, 1);
  19396. }
  19397. node.setHeight = function (height) {
  19398. var _height = this.getHeight();
  19399. ry = height / _height;
  19400. node.a('node.height', height);
  19401. setHeight.apply(this, arguments);
  19402. resetPoints(1, ry);
  19403. }
  19404. })(Node163_3, Node163_3.getImage(), Node163_3compspts, Node163_3endCompspts, Node163_3startCompspts);
  19405. var Node164_0points=[992, 306,998, 306],
  19406. Node164_0rect=ht.Default.unionPoint([{x:992,y:306},{x:998,y:306}]),
  19407. Node164_0compspts=[];
  19408. _ratio = GD.getRatioWithRotation(0, ratio);
  19409. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19410. _endratio = GD.getRatioWithRotation(0, ratio);
  19411. for(var i=0;i<Node164_0points.length;i++){
  19412. if(i%2==0){
  19413. Node164_0compspts.push(Node164_0points[i]-Node164_0rect.x);
  19414. }else{
  19415. Node164_0compspts.push(Node164_0points[i]-Node164_0rect.y);
  19416. }
  19417. }
  19418. var Node164_0ptslength=Node164_0compspts.length;
  19419. if (Node164_0rect.height === 0) {
  19420. Node164_0compspts[0] -= 0;
  19421. Node164_0compspts[Node164_0ptslength-2] += 0;
  19422. } else if (Node164_0rect.width === 0){
  19423. Node164_0compspts[1] -= 0;
  19424. Node164_0compspts[Node164_0ptslength-1] += 0;
  19425. } else {
  19426. Node164_0compspts[0] -= 0;
  19427. Node164_0compspts[1] -= 0;
  19428. Node164_0compspts[Node164_0ptslength-2] += 0;
  19429. Node164_0compspts[Node164_0ptslength-1] += 0;
  19430. }
  19431. Node164_0 = new ht.Node();
  19432. Node164_0.borderWidth = 1;
  19433. Node164_0rect.width = Node164_0rect.width === 0 ? 0.0001 : Node164_0rect.width;
  19434. Node164_0rect.height = Node164_0rect.height === 0 ? 0.0001 : Node164_0rect.height;
  19435. var Node164_0endCompspts = [Node164_0compspts[Node164_0ptslength-2],Node164_0compspts[Node164_0ptslength-1],0,0];
  19436. var Node164_0startCompspts = [Node164_0compspts[0],Node164_0compspts[1],0,0];
  19437. Node164_0.setImage(GD.getPolyLineJSON());
  19438. Node164_0.setPosition(Node164_0rect.x+Node164_0rect.width/2,Node164_0rect.y+Node164_0rect.height/2);
  19439. Node164_0.setSize(Node164_0rect.width,Node164_0rect.height);
  19440. Node164_0.setStyle("opacity",1);
  19441. Node164_0.s({'pixelPerfect':true});
  19442. Node164_0borderwidth=1;
  19443. Node164_0.setRotation(0);
  19444. dataModel.add(Node164_0);
  19445. Node164_0.a('node.points',Node164_0compspts);
  19446. Node164_0.a('node.segments',[1,2]);
  19447. Node164_0.a('node.color','rgba(255,0,255,1)');
  19448. Node164_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19449. Node164_0.a('node.borderColor','rgba(255,0,255,1)');
  19450. Node164_0.a('node.background','rgba(255,0,255,1)');
  19451. Node164_0.a('node.gradient','');
  19452. Node164_0.a('node.gradientcolor','rgba(255,0,255,1)');
  19453. Node164_0.a('node.endCompspts',Node164_0endCompspts);
  19454. Node164_0.a('node.startCompspts',Node164_0startCompspts);
  19455. (function (node, img, compspts, endCompspts, startCompspts) {
  19456. var position = node.getPosition(),
  19457. w = node.getWidth()*_ratio.ratioX,
  19458. h = node.getHeight()*_ratio.ratioY;
  19459. function resetPoints(rx, ry) {
  19460. for (var i = 0, len = compspts.length; i < len; i++) {
  19461. if (i%2 === 0) {
  19462. compspts[i]*=rx;
  19463. } else {
  19464. compspts[i]*=ry;
  19465. }
  19466. }
  19467. endCompspts[0] = compspts[compspts.length-2];
  19468. endCompspts[1] = compspts[compspts.length-1];
  19469. endCompspts[2] *= rx;
  19470. endCompspts[3] *= ry;
  19471. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19472. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19473. startCompspts[0] = compspts[0];
  19474. startCompspts[1] = compspts[1];
  19475. startCompspts[2] *= rx;
  19476. startCompspts[3] *= ry;
  19477. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19478. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19479. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19480. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19481. }
  19482. node.setSize(w, h);
  19483. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19484. node.a('node.width', w);
  19485. node.a('node.height', h);
  19486. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19487. node.borderWidth = 1;
  19488. node.a('node.borderwidth',node.borderWidth);
  19489. node._nodename = 'Node164_0';
  19490. node._nodeType = 'line';
  19491. zoomNodeList.push({
  19492. node: node,
  19493. attr: 'node.borderwidth'
  19494. });
  19495. var setWidth = node.setWidth,
  19496. setHeight = node.setHeight,
  19497. timer, rx = 1, ry = 1;
  19498. node.setWidth = function (width) {
  19499. var _width = this.getWidth();
  19500. rx = width / _width;
  19501. node.a('node.width', width);
  19502. setWidth.apply(this, arguments);
  19503. resetPoints(rx, 1);
  19504. }
  19505. node.setHeight = function (height) {
  19506. var _height = this.getHeight();
  19507. ry = height / _height;
  19508. node.a('node.height', height);
  19509. setHeight.apply(this, arguments);
  19510. resetPoints(1, ry);
  19511. }
  19512. })(Node164_0, Node164_0.getImage(), Node164_0compspts, Node164_0endCompspts, Node164_0startCompspts);
  19513. var Node164_1points=[990, 303,1001, 303],
  19514. Node164_1rect=ht.Default.unionPoint([{x:990,y:303},{x:1001,y:303}]),
  19515. Node164_1compspts=[];
  19516. _ratio = GD.getRatioWithRotation(0, ratio);
  19517. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19518. _endratio = GD.getRatioWithRotation(0, ratio);
  19519. for(var i=0;i<Node164_1points.length;i++){
  19520. if(i%2==0){
  19521. Node164_1compspts.push(Node164_1points[i]-Node164_1rect.x);
  19522. }else{
  19523. Node164_1compspts.push(Node164_1points[i]-Node164_1rect.y);
  19524. }
  19525. }
  19526. var Node164_1ptslength=Node164_1compspts.length;
  19527. if (Node164_1rect.height === 0) {
  19528. Node164_1compspts[0] -= 0;
  19529. Node164_1compspts[Node164_1ptslength-2] += 0;
  19530. } else if (Node164_1rect.width === 0){
  19531. Node164_1compspts[1] -= 0;
  19532. Node164_1compspts[Node164_1ptslength-1] += 0;
  19533. } else {
  19534. Node164_1compspts[0] -= 0;
  19535. Node164_1compspts[1] -= 0;
  19536. Node164_1compspts[Node164_1ptslength-2] += 0;
  19537. Node164_1compspts[Node164_1ptslength-1] += 0;
  19538. }
  19539. Node164_1 = new ht.Node();
  19540. Node164_1.borderWidth = 1;
  19541. Node164_1rect.width = Node164_1rect.width === 0 ? 0.0001 : Node164_1rect.width;
  19542. Node164_1rect.height = Node164_1rect.height === 0 ? 0.0001 : Node164_1rect.height;
  19543. var Node164_1endCompspts = [Node164_1compspts[Node164_1ptslength-2],Node164_1compspts[Node164_1ptslength-1],0,0];
  19544. var Node164_1startCompspts = [Node164_1compspts[0],Node164_1compspts[1],0,0];
  19545. Node164_1.setImage(GD.getPolyLineJSON());
  19546. Node164_1.setPosition(Node164_1rect.x+Node164_1rect.width/2,Node164_1rect.y+Node164_1rect.height/2);
  19547. Node164_1.setSize(Node164_1rect.width,Node164_1rect.height);
  19548. Node164_1.setStyle("opacity",1);
  19549. Node164_1.s({'pixelPerfect':true});
  19550. Node164_1borderwidth=1;
  19551. Node164_1.setRotation(0);
  19552. dataModel.add(Node164_1);
  19553. Node164_1.a('node.points',Node164_1compspts);
  19554. Node164_1.a('node.segments',[1,2]);
  19555. Node164_1.a('node.color','rgba(255,0,255,1)');
  19556. Node164_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19557. Node164_1.a('node.borderColor','rgba(255,0,255,1)');
  19558. Node164_1.a('node.background','rgba(255,0,255,1)');
  19559. Node164_1.a('node.gradient','');
  19560. Node164_1.a('node.gradientcolor','rgba(255,0,255,1)');
  19561. Node164_1.a('node.endCompspts',Node164_1endCompspts);
  19562. Node164_1.a('node.startCompspts',Node164_1startCompspts);
  19563. (function (node, img, compspts, endCompspts, startCompspts) {
  19564. var position = node.getPosition(),
  19565. w = node.getWidth()*_ratio.ratioX,
  19566. h = node.getHeight()*_ratio.ratioY;
  19567. function resetPoints(rx, ry) {
  19568. for (var i = 0, len = compspts.length; i < len; i++) {
  19569. if (i%2 === 0) {
  19570. compspts[i]*=rx;
  19571. } else {
  19572. compspts[i]*=ry;
  19573. }
  19574. }
  19575. endCompspts[0] = compspts[compspts.length-2];
  19576. endCompspts[1] = compspts[compspts.length-1];
  19577. endCompspts[2] *= rx;
  19578. endCompspts[3] *= ry;
  19579. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19580. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19581. startCompspts[0] = compspts[0];
  19582. startCompspts[1] = compspts[1];
  19583. startCompspts[2] *= rx;
  19584. startCompspts[3] *= ry;
  19585. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19586. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19587. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19588. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19589. }
  19590. node.setSize(w, h);
  19591. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19592. node.a('node.width', w);
  19593. node.a('node.height', h);
  19594. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19595. node.borderWidth = 1;
  19596. node.a('node.borderwidth',node.borderWidth);
  19597. node._nodename = 'Node164_1';
  19598. node._nodeType = 'line';
  19599. zoomNodeList.push({
  19600. node: node,
  19601. attr: 'node.borderwidth'
  19602. });
  19603. var setWidth = node.setWidth,
  19604. setHeight = node.setHeight,
  19605. timer, rx = 1, ry = 1;
  19606. node.setWidth = function (width) {
  19607. var _width = this.getWidth();
  19608. rx = width / _width;
  19609. node.a('node.width', width);
  19610. setWidth.apply(this, arguments);
  19611. resetPoints(rx, 1);
  19612. }
  19613. node.setHeight = function (height) {
  19614. var _height = this.getHeight();
  19615. ry = height / _height;
  19616. node.a('node.height', height);
  19617. setHeight.apply(this, arguments);
  19618. resetPoints(1, ry);
  19619. }
  19620. })(Node164_1, Node164_1.getImage(), Node164_1compspts, Node164_1endCompspts, Node164_1startCompspts);
  19621. var Node164_2points=[987, 299,1003, 299],
  19622. Node164_2rect=ht.Default.unionPoint([{x:987,y:299},{x:1003,y:299}]),
  19623. Node164_2compspts=[];
  19624. _ratio = GD.getRatioWithRotation(0, ratio);
  19625. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19626. _endratio = GD.getRatioWithRotation(0, ratio);
  19627. for(var i=0;i<Node164_2points.length;i++){
  19628. if(i%2==0){
  19629. Node164_2compspts.push(Node164_2points[i]-Node164_2rect.x);
  19630. }else{
  19631. Node164_2compspts.push(Node164_2points[i]-Node164_2rect.y);
  19632. }
  19633. }
  19634. var Node164_2ptslength=Node164_2compspts.length;
  19635. if (Node164_2rect.height === 0) {
  19636. Node164_2compspts[0] -= 0;
  19637. Node164_2compspts[Node164_2ptslength-2] += 0;
  19638. } else if (Node164_2rect.width === 0){
  19639. Node164_2compspts[1] -= 0;
  19640. Node164_2compspts[Node164_2ptslength-1] += 0;
  19641. } else {
  19642. Node164_2compspts[0] -= 0;
  19643. Node164_2compspts[1] -= 0;
  19644. Node164_2compspts[Node164_2ptslength-2] += 0;
  19645. Node164_2compspts[Node164_2ptslength-1] += 0;
  19646. }
  19647. Node164_2 = new ht.Node();
  19648. Node164_2.borderWidth = 1;
  19649. Node164_2rect.width = Node164_2rect.width === 0 ? 0.0001 : Node164_2rect.width;
  19650. Node164_2rect.height = Node164_2rect.height === 0 ? 0.0001 : Node164_2rect.height;
  19651. var Node164_2endCompspts = [Node164_2compspts[Node164_2ptslength-2],Node164_2compspts[Node164_2ptslength-1],0,0];
  19652. var Node164_2startCompspts = [Node164_2compspts[0],Node164_2compspts[1],0,0];
  19653. Node164_2.setImage(GD.getPolyLineJSON());
  19654. Node164_2.setPosition(Node164_2rect.x+Node164_2rect.width/2,Node164_2rect.y+Node164_2rect.height/2);
  19655. Node164_2.setSize(Node164_2rect.width,Node164_2rect.height);
  19656. Node164_2.setStyle("opacity",1);
  19657. Node164_2.s({'pixelPerfect':true});
  19658. Node164_2borderwidth=1;
  19659. Node164_2.setRotation(0);
  19660. dataModel.add(Node164_2);
  19661. Node164_2.a('node.points',Node164_2compspts);
  19662. Node164_2.a('node.segments',[1,2]);
  19663. Node164_2.a('node.color','rgba(255,0,255,1)');
  19664. Node164_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19665. Node164_2.a('node.borderColor','rgba(255,0,255,1)');
  19666. Node164_2.a('node.background','rgba(255,0,255,1)');
  19667. Node164_2.a('node.gradient','');
  19668. Node164_2.a('node.gradientcolor','rgba(255,0,255,1)');
  19669. Node164_2.a('node.endCompspts',Node164_2endCompspts);
  19670. Node164_2.a('node.startCompspts',Node164_2startCompspts);
  19671. (function (node, img, compspts, endCompspts, startCompspts) {
  19672. var position = node.getPosition(),
  19673. w = node.getWidth()*_ratio.ratioX,
  19674. h = node.getHeight()*_ratio.ratioY;
  19675. function resetPoints(rx, ry) {
  19676. for (var i = 0, len = compspts.length; i < len; i++) {
  19677. if (i%2 === 0) {
  19678. compspts[i]*=rx;
  19679. } else {
  19680. compspts[i]*=ry;
  19681. }
  19682. }
  19683. endCompspts[0] = compspts[compspts.length-2];
  19684. endCompspts[1] = compspts[compspts.length-1];
  19685. endCompspts[2] *= rx;
  19686. endCompspts[3] *= ry;
  19687. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19688. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19689. startCompspts[0] = compspts[0];
  19690. startCompspts[1] = compspts[1];
  19691. startCompspts[2] *= rx;
  19692. startCompspts[3] *= ry;
  19693. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19694. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19695. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19696. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19697. }
  19698. node.setSize(w, h);
  19699. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19700. node.a('node.width', w);
  19701. node.a('node.height', h);
  19702. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19703. node.borderWidth = 1;
  19704. node.a('node.borderwidth',node.borderWidth);
  19705. node._nodename = 'Node164_2';
  19706. node._nodeType = 'line';
  19707. zoomNodeList.push({
  19708. node: node,
  19709. attr: 'node.borderwidth'
  19710. });
  19711. var setWidth = node.setWidth,
  19712. setHeight = node.setHeight,
  19713. timer, rx = 1, ry = 1;
  19714. node.setWidth = function (width) {
  19715. var _width = this.getWidth();
  19716. rx = width / _width;
  19717. node.a('node.width', width);
  19718. setWidth.apply(this, arguments);
  19719. resetPoints(rx, 1);
  19720. }
  19721. node.setHeight = function (height) {
  19722. var _height = this.getHeight();
  19723. ry = height / _height;
  19724. node.a('node.height', height);
  19725. setHeight.apply(this, arguments);
  19726. resetPoints(1, ry);
  19727. }
  19728. })(Node164_2, Node164_2.getImage(), Node164_2compspts, Node164_2endCompspts, Node164_2startCompspts);
  19729. var Node164_3points=[995, 299,995, 294],
  19730. Node164_3rect=ht.Default.unionPoint([{x:995,y:299},{x:995,y:294}]),
  19731. Node164_3compspts=[];
  19732. _ratio = GD.getRatioWithRotation(0, ratio);
  19733. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  19734. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  19735. for(var i=0;i<Node164_3points.length;i++){
  19736. if(i%2==0){
  19737. Node164_3compspts.push(Node164_3points[i]-Node164_3rect.x);
  19738. }else{
  19739. Node164_3compspts.push(Node164_3points[i]-Node164_3rect.y);
  19740. }
  19741. }
  19742. var Node164_3ptslength=Node164_3compspts.length;
  19743. if (Node164_3rect.height === 0) {
  19744. Node164_3compspts[0] -= 0;
  19745. Node164_3compspts[Node164_3ptslength-2] += 0;
  19746. } else if (Node164_3rect.width === 0){
  19747. Node164_3compspts[1] -= 0;
  19748. Node164_3compspts[Node164_3ptslength-1] += 0;
  19749. } else {
  19750. Node164_3compspts[0] -= 0;
  19751. Node164_3compspts[1] -= 0;
  19752. Node164_3compspts[Node164_3ptslength-2] += 0;
  19753. Node164_3compspts[Node164_3ptslength-1] += 0;
  19754. }
  19755. Node164_3 = new ht.Node();
  19756. Node164_3.borderWidth = 1;
  19757. Node164_3rect.width = Node164_3rect.width === 0 ? 0.0001 : Node164_3rect.width;
  19758. Node164_3rect.height = Node164_3rect.height === 0 ? 0.0001 : Node164_3rect.height;
  19759. var Node164_3endCompspts = [Node164_3compspts[Node164_3ptslength-2],Node164_3compspts[Node164_3ptslength-1],0,0];
  19760. var Node164_3startCompspts = [Node164_3compspts[0],Node164_3compspts[1],0,0];
  19761. Node164_3.setImage(GD.getPolyLineJSON());
  19762. Node164_3.setPosition(Node164_3rect.x+Node164_3rect.width/2,Node164_3rect.y+Node164_3rect.height/2);
  19763. Node164_3.setSize(Node164_3rect.width,Node164_3rect.height);
  19764. Node164_3.setStyle("opacity",1);
  19765. Node164_3.s({'pixelPerfect':true});
  19766. Node164_3borderwidth=1;
  19767. Node164_3.setRotation(0);
  19768. dataModel.add(Node164_3);
  19769. Node164_3.a('node.points',Node164_3compspts);
  19770. Node164_3.a('node.segments',[1,2]);
  19771. Node164_3.a('node.color','rgba(255,0,255,1)');
  19772. Node164_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19773. Node164_3.a('node.borderColor','rgba(255,0,255,1)');
  19774. Node164_3.a('node.background','rgba(255,0,255,1)');
  19775. Node164_3.a('node.gradient','');
  19776. Node164_3.a('node.gradientcolor','rgba(255,0,255,1)');
  19777. Node164_3.a('node.endCompspts',Node164_3endCompspts);
  19778. Node164_3.a('node.startCompspts',Node164_3startCompspts);
  19779. (function (node, img, compspts, endCompspts, startCompspts) {
  19780. var position = node.getPosition(),
  19781. w = node.getWidth()*_ratio.ratioX,
  19782. h = node.getHeight()*_ratio.ratioY;
  19783. function resetPoints(rx, ry) {
  19784. for (var i = 0, len = compspts.length; i < len; i++) {
  19785. if (i%2 === 0) {
  19786. compspts[i]*=rx;
  19787. } else {
  19788. compspts[i]*=ry;
  19789. }
  19790. }
  19791. endCompspts[0] = compspts[compspts.length-2];
  19792. endCompspts[1] = compspts[compspts.length-1];
  19793. endCompspts[2] *= rx;
  19794. endCompspts[3] *= ry;
  19795. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19796. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19797. startCompspts[0] = compspts[0];
  19798. startCompspts[1] = compspts[1];
  19799. startCompspts[2] *= rx;
  19800. startCompspts[3] *= ry;
  19801. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19802. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19803. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19804. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19805. }
  19806. node.setSize(w, h);
  19807. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19808. node.a('node.width', w);
  19809. node.a('node.height', h);
  19810. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19811. node.borderWidth = 1;
  19812. node.a('node.borderwidth',node.borderWidth);
  19813. node._nodename = 'Node164_3';
  19814. node._nodeType = 'line';
  19815. zoomNodeList.push({
  19816. node: node,
  19817. attr: 'node.borderwidth'
  19818. });
  19819. var setWidth = node.setWidth,
  19820. setHeight = node.setHeight,
  19821. timer, rx = 1, ry = 1;
  19822. node.setWidth = function (width) {
  19823. var _width = this.getWidth();
  19824. rx = width / _width;
  19825. node.a('node.width', width);
  19826. setWidth.apply(this, arguments);
  19827. resetPoints(rx, 1);
  19828. }
  19829. node.setHeight = function (height) {
  19830. var _height = this.getHeight();
  19831. ry = height / _height;
  19832. node.a('node.height', height);
  19833. setHeight.apply(this, arguments);
  19834. resetPoints(1, ry);
  19835. }
  19836. })(Node164_3, Node164_3.getImage(), Node164_3compspts, Node164_3endCompspts, Node164_3startCompspts);
  19837. var Node165_0points=[992, 348,998, 348],
  19838. Node165_0rect=ht.Default.unionPoint([{x:992,y:348},{x:998,y:348}]),
  19839. Node165_0compspts=[];
  19840. _ratio = GD.getRatioWithRotation(0, ratio);
  19841. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19842. _endratio = GD.getRatioWithRotation(0, ratio);
  19843. for(var i=0;i<Node165_0points.length;i++){
  19844. if(i%2==0){
  19845. Node165_0compspts.push(Node165_0points[i]-Node165_0rect.x);
  19846. }else{
  19847. Node165_0compspts.push(Node165_0points[i]-Node165_0rect.y);
  19848. }
  19849. }
  19850. var Node165_0ptslength=Node165_0compspts.length;
  19851. if (Node165_0rect.height === 0) {
  19852. Node165_0compspts[0] -= 0;
  19853. Node165_0compspts[Node165_0ptslength-2] += 0;
  19854. } else if (Node165_0rect.width === 0){
  19855. Node165_0compspts[1] -= 0;
  19856. Node165_0compspts[Node165_0ptslength-1] += 0;
  19857. } else {
  19858. Node165_0compspts[0] -= 0;
  19859. Node165_0compspts[1] -= 0;
  19860. Node165_0compspts[Node165_0ptslength-2] += 0;
  19861. Node165_0compspts[Node165_0ptslength-1] += 0;
  19862. }
  19863. Node165_0 = new ht.Node();
  19864. Node165_0.borderWidth = 1;
  19865. Node165_0rect.width = Node165_0rect.width === 0 ? 0.0001 : Node165_0rect.width;
  19866. Node165_0rect.height = Node165_0rect.height === 0 ? 0.0001 : Node165_0rect.height;
  19867. var Node165_0endCompspts = [Node165_0compspts[Node165_0ptslength-2],Node165_0compspts[Node165_0ptslength-1],0,0];
  19868. var Node165_0startCompspts = [Node165_0compspts[0],Node165_0compspts[1],0,0];
  19869. Node165_0.setImage(GD.getPolyLineJSON());
  19870. Node165_0.setPosition(Node165_0rect.x+Node165_0rect.width/2,Node165_0rect.y+Node165_0rect.height/2);
  19871. Node165_0.setSize(Node165_0rect.width,Node165_0rect.height);
  19872. Node165_0.setStyle("opacity",1);
  19873. Node165_0.s({'pixelPerfect':true});
  19874. Node165_0borderwidth=1;
  19875. Node165_0.setRotation(0);
  19876. dataModel.add(Node165_0);
  19877. Node165_0.a('node.points',Node165_0compspts);
  19878. Node165_0.a('node.segments',[1,2]);
  19879. Node165_0.a('node.color','rgba(255,0,255,1)');
  19880. Node165_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19881. Node165_0.a('node.borderColor','rgba(255,0,255,1)');
  19882. Node165_0.a('node.background','rgba(255,0,255,1)');
  19883. Node165_0.a('node.gradient','');
  19884. Node165_0.a('node.gradientcolor','rgba(255,0,255,1)');
  19885. Node165_0.a('node.endCompspts',Node165_0endCompspts);
  19886. Node165_0.a('node.startCompspts',Node165_0startCompspts);
  19887. (function (node, img, compspts, endCompspts, startCompspts) {
  19888. var position = node.getPosition(),
  19889. w = node.getWidth()*_ratio.ratioX,
  19890. h = node.getHeight()*_ratio.ratioY;
  19891. function resetPoints(rx, ry) {
  19892. for (var i = 0, len = compspts.length; i < len; i++) {
  19893. if (i%2 === 0) {
  19894. compspts[i]*=rx;
  19895. } else {
  19896. compspts[i]*=ry;
  19897. }
  19898. }
  19899. endCompspts[0] = compspts[compspts.length-2];
  19900. endCompspts[1] = compspts[compspts.length-1];
  19901. endCompspts[2] *= rx;
  19902. endCompspts[3] *= ry;
  19903. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  19904. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  19905. startCompspts[0] = compspts[0];
  19906. startCompspts[1] = compspts[1];
  19907. startCompspts[2] *= rx;
  19908. startCompspts[3] *= ry;
  19909. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  19910. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  19911. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  19912. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  19913. }
  19914. node.setSize(w, h);
  19915. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  19916. node.a('node.width', w);
  19917. node.a('node.height', h);
  19918. resetPoints(_ratio.ratioX, _ratio.ratioY);
  19919. node.borderWidth = 1;
  19920. node.a('node.borderwidth',node.borderWidth);
  19921. node._nodename = 'Node165_0';
  19922. node._nodeType = 'line';
  19923. zoomNodeList.push({
  19924. node: node,
  19925. attr: 'node.borderwidth'
  19926. });
  19927. var setWidth = node.setWidth,
  19928. setHeight = node.setHeight,
  19929. timer, rx = 1, ry = 1;
  19930. node.setWidth = function (width) {
  19931. var _width = this.getWidth();
  19932. rx = width / _width;
  19933. node.a('node.width', width);
  19934. setWidth.apply(this, arguments);
  19935. resetPoints(rx, 1);
  19936. }
  19937. node.setHeight = function (height) {
  19938. var _height = this.getHeight();
  19939. ry = height / _height;
  19940. node.a('node.height', height);
  19941. setHeight.apply(this, arguments);
  19942. resetPoints(1, ry);
  19943. }
  19944. })(Node165_0, Node165_0.getImage(), Node165_0compspts, Node165_0endCompspts, Node165_0startCompspts);
  19945. var Node165_1points=[990, 345,1001, 345],
  19946. Node165_1rect=ht.Default.unionPoint([{x:990,y:345},{x:1001,y:345}]),
  19947. Node165_1compspts=[];
  19948. _ratio = GD.getRatioWithRotation(0, ratio);
  19949. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  19950. _endratio = GD.getRatioWithRotation(0, ratio);
  19951. for(var i=0;i<Node165_1points.length;i++){
  19952. if(i%2==0){
  19953. Node165_1compspts.push(Node165_1points[i]-Node165_1rect.x);
  19954. }else{
  19955. Node165_1compspts.push(Node165_1points[i]-Node165_1rect.y);
  19956. }
  19957. }
  19958. var Node165_1ptslength=Node165_1compspts.length;
  19959. if (Node165_1rect.height === 0) {
  19960. Node165_1compspts[0] -= 0;
  19961. Node165_1compspts[Node165_1ptslength-2] += 0;
  19962. } else if (Node165_1rect.width === 0){
  19963. Node165_1compspts[1] -= 0;
  19964. Node165_1compspts[Node165_1ptslength-1] += 0;
  19965. } else {
  19966. Node165_1compspts[0] -= 0;
  19967. Node165_1compspts[1] -= 0;
  19968. Node165_1compspts[Node165_1ptslength-2] += 0;
  19969. Node165_1compspts[Node165_1ptslength-1] += 0;
  19970. }
  19971. Node165_1 = new ht.Node();
  19972. Node165_1.borderWidth = 1;
  19973. Node165_1rect.width = Node165_1rect.width === 0 ? 0.0001 : Node165_1rect.width;
  19974. Node165_1rect.height = Node165_1rect.height === 0 ? 0.0001 : Node165_1rect.height;
  19975. var Node165_1endCompspts = [Node165_1compspts[Node165_1ptslength-2],Node165_1compspts[Node165_1ptslength-1],0,0];
  19976. var Node165_1startCompspts = [Node165_1compspts[0],Node165_1compspts[1],0,0];
  19977. Node165_1.setImage(GD.getPolyLineJSON());
  19978. Node165_1.setPosition(Node165_1rect.x+Node165_1rect.width/2,Node165_1rect.y+Node165_1rect.height/2);
  19979. Node165_1.setSize(Node165_1rect.width,Node165_1rect.height);
  19980. Node165_1.setStyle("opacity",1);
  19981. Node165_1.s({'pixelPerfect':true});
  19982. Node165_1borderwidth=1;
  19983. Node165_1.setRotation(0);
  19984. dataModel.add(Node165_1);
  19985. Node165_1.a('node.points',Node165_1compspts);
  19986. Node165_1.a('node.segments',[1,2]);
  19987. Node165_1.a('node.color','rgba(255,0,255,1)');
  19988. Node165_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  19989. Node165_1.a('node.borderColor','rgba(255,0,255,1)');
  19990. Node165_1.a('node.background','rgba(255,0,255,1)');
  19991. Node165_1.a('node.gradient','');
  19992. Node165_1.a('node.gradientcolor','rgba(255,0,255,1)');
  19993. Node165_1.a('node.endCompspts',Node165_1endCompspts);
  19994. Node165_1.a('node.startCompspts',Node165_1startCompspts);
  19995. (function (node, img, compspts, endCompspts, startCompspts) {
  19996. var position = node.getPosition(),
  19997. w = node.getWidth()*_ratio.ratioX,
  19998. h = node.getHeight()*_ratio.ratioY;
  19999. function resetPoints(rx, ry) {
  20000. for (var i = 0, len = compspts.length; i < len; i++) {
  20001. if (i%2 === 0) {
  20002. compspts[i]*=rx;
  20003. } else {
  20004. compspts[i]*=ry;
  20005. }
  20006. }
  20007. endCompspts[0] = compspts[compspts.length-2];
  20008. endCompspts[1] = compspts[compspts.length-1];
  20009. endCompspts[2] *= rx;
  20010. endCompspts[3] *= ry;
  20011. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20012. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20013. startCompspts[0] = compspts[0];
  20014. startCompspts[1] = compspts[1];
  20015. startCompspts[2] *= rx;
  20016. startCompspts[3] *= ry;
  20017. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20018. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20019. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20020. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20021. }
  20022. node.setSize(w, h);
  20023. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20024. node.a('node.width', w);
  20025. node.a('node.height', h);
  20026. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20027. node.borderWidth = 1;
  20028. node.a('node.borderwidth',node.borderWidth);
  20029. node._nodename = 'Node165_1';
  20030. node._nodeType = 'line';
  20031. zoomNodeList.push({
  20032. node: node,
  20033. attr: 'node.borderwidth'
  20034. });
  20035. var setWidth = node.setWidth,
  20036. setHeight = node.setHeight,
  20037. timer, rx = 1, ry = 1;
  20038. node.setWidth = function (width) {
  20039. var _width = this.getWidth();
  20040. rx = width / _width;
  20041. node.a('node.width', width);
  20042. setWidth.apply(this, arguments);
  20043. resetPoints(rx, 1);
  20044. }
  20045. node.setHeight = function (height) {
  20046. var _height = this.getHeight();
  20047. ry = height / _height;
  20048. node.a('node.height', height);
  20049. setHeight.apply(this, arguments);
  20050. resetPoints(1, ry);
  20051. }
  20052. })(Node165_1, Node165_1.getImage(), Node165_1compspts, Node165_1endCompspts, Node165_1startCompspts);
  20053. var Node165_2points=[987, 342,1003, 342],
  20054. Node165_2rect=ht.Default.unionPoint([{x:987,y:342},{x:1003,y:342}]),
  20055. Node165_2compspts=[];
  20056. _ratio = GD.getRatioWithRotation(0, ratio);
  20057. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20058. _endratio = GD.getRatioWithRotation(0, ratio);
  20059. for(var i=0;i<Node165_2points.length;i++){
  20060. if(i%2==0){
  20061. Node165_2compspts.push(Node165_2points[i]-Node165_2rect.x);
  20062. }else{
  20063. Node165_2compspts.push(Node165_2points[i]-Node165_2rect.y);
  20064. }
  20065. }
  20066. var Node165_2ptslength=Node165_2compspts.length;
  20067. if (Node165_2rect.height === 0) {
  20068. Node165_2compspts[0] -= 0;
  20069. Node165_2compspts[Node165_2ptslength-2] += 0;
  20070. } else if (Node165_2rect.width === 0){
  20071. Node165_2compspts[1] -= 0;
  20072. Node165_2compspts[Node165_2ptslength-1] += 0;
  20073. } else {
  20074. Node165_2compspts[0] -= 0;
  20075. Node165_2compspts[1] -= 0;
  20076. Node165_2compspts[Node165_2ptslength-2] += 0;
  20077. Node165_2compspts[Node165_2ptslength-1] += 0;
  20078. }
  20079. Node165_2 = new ht.Node();
  20080. Node165_2.borderWidth = 1;
  20081. Node165_2rect.width = Node165_2rect.width === 0 ? 0.0001 : Node165_2rect.width;
  20082. Node165_2rect.height = Node165_2rect.height === 0 ? 0.0001 : Node165_2rect.height;
  20083. var Node165_2endCompspts = [Node165_2compspts[Node165_2ptslength-2],Node165_2compspts[Node165_2ptslength-1],0,0];
  20084. var Node165_2startCompspts = [Node165_2compspts[0],Node165_2compspts[1],0,0];
  20085. Node165_2.setImage(GD.getPolyLineJSON());
  20086. Node165_2.setPosition(Node165_2rect.x+Node165_2rect.width/2,Node165_2rect.y+Node165_2rect.height/2);
  20087. Node165_2.setSize(Node165_2rect.width,Node165_2rect.height);
  20088. Node165_2.setStyle("opacity",1);
  20089. Node165_2.s({'pixelPerfect':true});
  20090. Node165_2borderwidth=1;
  20091. Node165_2.setRotation(0);
  20092. dataModel.add(Node165_2);
  20093. Node165_2.a('node.points',Node165_2compspts);
  20094. Node165_2.a('node.segments',[1,2]);
  20095. Node165_2.a('node.color','rgba(255,0,255,1)');
  20096. Node165_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20097. Node165_2.a('node.borderColor','rgba(255,0,255,1)');
  20098. Node165_2.a('node.background','rgba(255,0,255,1)');
  20099. Node165_2.a('node.gradient','');
  20100. Node165_2.a('node.gradientcolor','rgba(255,0,255,1)');
  20101. Node165_2.a('node.endCompspts',Node165_2endCompspts);
  20102. Node165_2.a('node.startCompspts',Node165_2startCompspts);
  20103. (function (node, img, compspts, endCompspts, startCompspts) {
  20104. var position = node.getPosition(),
  20105. w = node.getWidth()*_ratio.ratioX,
  20106. h = node.getHeight()*_ratio.ratioY;
  20107. function resetPoints(rx, ry) {
  20108. for (var i = 0, len = compspts.length; i < len; i++) {
  20109. if (i%2 === 0) {
  20110. compspts[i]*=rx;
  20111. } else {
  20112. compspts[i]*=ry;
  20113. }
  20114. }
  20115. endCompspts[0] = compspts[compspts.length-2];
  20116. endCompspts[1] = compspts[compspts.length-1];
  20117. endCompspts[2] *= rx;
  20118. endCompspts[3] *= ry;
  20119. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20120. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20121. startCompspts[0] = compspts[0];
  20122. startCompspts[1] = compspts[1];
  20123. startCompspts[2] *= rx;
  20124. startCompspts[3] *= ry;
  20125. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20126. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20127. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20128. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20129. }
  20130. node.setSize(w, h);
  20131. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20132. node.a('node.width', w);
  20133. node.a('node.height', h);
  20134. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20135. node.borderWidth = 1;
  20136. node.a('node.borderwidth',node.borderWidth);
  20137. node._nodename = 'Node165_2';
  20138. node._nodeType = 'line';
  20139. zoomNodeList.push({
  20140. node: node,
  20141. attr: 'node.borderwidth'
  20142. });
  20143. var setWidth = node.setWidth,
  20144. setHeight = node.setHeight,
  20145. timer, rx = 1, ry = 1;
  20146. node.setWidth = function (width) {
  20147. var _width = this.getWidth();
  20148. rx = width / _width;
  20149. node.a('node.width', width);
  20150. setWidth.apply(this, arguments);
  20151. resetPoints(rx, 1);
  20152. }
  20153. node.setHeight = function (height) {
  20154. var _height = this.getHeight();
  20155. ry = height / _height;
  20156. node.a('node.height', height);
  20157. setHeight.apply(this, arguments);
  20158. resetPoints(1, ry);
  20159. }
  20160. })(Node165_2, Node165_2.getImage(), Node165_2compspts, Node165_2endCompspts, Node165_2startCompspts);
  20161. var Node165_3points=[995, 342,995, 336],
  20162. Node165_3rect=ht.Default.unionPoint([{x:995,y:342},{x:995,y:336}]),
  20163. Node165_3compspts=[];
  20164. _ratio = GD.getRatioWithRotation(0, ratio);
  20165. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  20166. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  20167. for(var i=0;i<Node165_3points.length;i++){
  20168. if(i%2==0){
  20169. Node165_3compspts.push(Node165_3points[i]-Node165_3rect.x);
  20170. }else{
  20171. Node165_3compspts.push(Node165_3points[i]-Node165_3rect.y);
  20172. }
  20173. }
  20174. var Node165_3ptslength=Node165_3compspts.length;
  20175. if (Node165_3rect.height === 0) {
  20176. Node165_3compspts[0] -= 0;
  20177. Node165_3compspts[Node165_3ptslength-2] += 0;
  20178. } else if (Node165_3rect.width === 0){
  20179. Node165_3compspts[1] -= 0;
  20180. Node165_3compspts[Node165_3ptslength-1] += 0;
  20181. } else {
  20182. Node165_3compspts[0] -= 0;
  20183. Node165_3compspts[1] -= 0;
  20184. Node165_3compspts[Node165_3ptslength-2] += 0;
  20185. Node165_3compspts[Node165_3ptslength-1] += 0;
  20186. }
  20187. Node165_3 = new ht.Node();
  20188. Node165_3.borderWidth = 1;
  20189. Node165_3rect.width = Node165_3rect.width === 0 ? 0.0001 : Node165_3rect.width;
  20190. Node165_3rect.height = Node165_3rect.height === 0 ? 0.0001 : Node165_3rect.height;
  20191. var Node165_3endCompspts = [Node165_3compspts[Node165_3ptslength-2],Node165_3compspts[Node165_3ptslength-1],0,0];
  20192. var Node165_3startCompspts = [Node165_3compspts[0],Node165_3compspts[1],0,0];
  20193. Node165_3.setImage(GD.getPolyLineJSON());
  20194. Node165_3.setPosition(Node165_3rect.x+Node165_3rect.width/2,Node165_3rect.y+Node165_3rect.height/2);
  20195. Node165_3.setSize(Node165_3rect.width,Node165_3rect.height);
  20196. Node165_3.setStyle("opacity",1);
  20197. Node165_3.s({'pixelPerfect':true});
  20198. Node165_3borderwidth=1;
  20199. Node165_3.setRotation(0);
  20200. dataModel.add(Node165_3);
  20201. Node165_3.a('node.points',Node165_3compspts);
  20202. Node165_3.a('node.segments',[1,2]);
  20203. Node165_3.a('node.color','rgba(255,0,255,1)');
  20204. Node165_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20205. Node165_3.a('node.borderColor','rgba(255,0,255,1)');
  20206. Node165_3.a('node.background','rgba(255,0,255,1)');
  20207. Node165_3.a('node.gradient','');
  20208. Node165_3.a('node.gradientcolor','rgba(255,0,255,1)');
  20209. Node165_3.a('node.endCompspts',Node165_3endCompspts);
  20210. Node165_3.a('node.startCompspts',Node165_3startCompspts);
  20211. (function (node, img, compspts, endCompspts, startCompspts) {
  20212. var position = node.getPosition(),
  20213. w = node.getWidth()*_ratio.ratioX,
  20214. h = node.getHeight()*_ratio.ratioY;
  20215. function resetPoints(rx, ry) {
  20216. for (var i = 0, len = compspts.length; i < len; i++) {
  20217. if (i%2 === 0) {
  20218. compspts[i]*=rx;
  20219. } else {
  20220. compspts[i]*=ry;
  20221. }
  20222. }
  20223. endCompspts[0] = compspts[compspts.length-2];
  20224. endCompspts[1] = compspts[compspts.length-1];
  20225. endCompspts[2] *= rx;
  20226. endCompspts[3] *= ry;
  20227. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20228. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20229. startCompspts[0] = compspts[0];
  20230. startCompspts[1] = compspts[1];
  20231. startCompspts[2] *= rx;
  20232. startCompspts[3] *= ry;
  20233. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20234. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20235. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20236. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20237. }
  20238. node.setSize(w, h);
  20239. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20240. node.a('node.width', w);
  20241. node.a('node.height', h);
  20242. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20243. node.borderWidth = 1;
  20244. node.a('node.borderwidth',node.borderWidth);
  20245. node._nodename = 'Node165_3';
  20246. node._nodeType = 'line';
  20247. zoomNodeList.push({
  20248. node: node,
  20249. attr: 'node.borderwidth'
  20250. });
  20251. var setWidth = node.setWidth,
  20252. setHeight = node.setHeight,
  20253. timer, rx = 1, ry = 1;
  20254. node.setWidth = function (width) {
  20255. var _width = this.getWidth();
  20256. rx = width / _width;
  20257. node.a('node.width', width);
  20258. setWidth.apply(this, arguments);
  20259. resetPoints(rx, 1);
  20260. }
  20261. node.setHeight = function (height) {
  20262. var _height = this.getHeight();
  20263. ry = height / _height;
  20264. node.a('node.height', height);
  20265. setHeight.apply(this, arguments);
  20266. resetPoints(1, ry);
  20267. }
  20268. })(Node165_3, Node165_3.getImage(), Node165_3compspts, Node165_3endCompspts, Node165_3startCompspts);
  20269. var Node166_0points=[1365, 300,1371, 300],
  20270. Node166_0rect=ht.Default.unionPoint([{x:1365,y:300},{x:1371,y:300}]),
  20271. Node166_0compspts=[];
  20272. _ratio = GD.getRatioWithRotation(0, ratio);
  20273. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20274. _endratio = GD.getRatioWithRotation(0, ratio);
  20275. for(var i=0;i<Node166_0points.length;i++){
  20276. if(i%2==0){
  20277. Node166_0compspts.push(Node166_0points[i]-Node166_0rect.x);
  20278. }else{
  20279. Node166_0compspts.push(Node166_0points[i]-Node166_0rect.y);
  20280. }
  20281. }
  20282. var Node166_0ptslength=Node166_0compspts.length;
  20283. if (Node166_0rect.height === 0) {
  20284. Node166_0compspts[0] -= 0;
  20285. Node166_0compspts[Node166_0ptslength-2] += 0;
  20286. } else if (Node166_0rect.width === 0){
  20287. Node166_0compspts[1] -= 0;
  20288. Node166_0compspts[Node166_0ptslength-1] += 0;
  20289. } else {
  20290. Node166_0compspts[0] -= 0;
  20291. Node166_0compspts[1] -= 0;
  20292. Node166_0compspts[Node166_0ptslength-2] += 0;
  20293. Node166_0compspts[Node166_0ptslength-1] += 0;
  20294. }
  20295. Node166_0 = new ht.Node();
  20296. Node166_0.borderWidth = 1;
  20297. Node166_0rect.width = Node166_0rect.width === 0 ? 0.0001 : Node166_0rect.width;
  20298. Node166_0rect.height = Node166_0rect.height === 0 ? 0.0001 : Node166_0rect.height;
  20299. var Node166_0endCompspts = [Node166_0compspts[Node166_0ptslength-2],Node166_0compspts[Node166_0ptslength-1],0,0];
  20300. var Node166_0startCompspts = [Node166_0compspts[0],Node166_0compspts[1],0,0];
  20301. Node166_0.setImage(GD.getPolyLineJSON());
  20302. Node166_0.setPosition(Node166_0rect.x+Node166_0rect.width/2,Node166_0rect.y+Node166_0rect.height/2);
  20303. Node166_0.setSize(Node166_0rect.width,Node166_0rect.height);
  20304. Node166_0.setStyle("opacity",1);
  20305. Node166_0.s({'pixelPerfect':true});
  20306. Node166_0borderwidth=1;
  20307. Node166_0.setRotation(0);
  20308. dataModel.add(Node166_0);
  20309. Node166_0.a('node.points',Node166_0compspts);
  20310. Node166_0.a('node.segments',[1,2]);
  20311. Node166_0.a('node.color','rgba(255,0,255,1)');
  20312. Node166_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20313. Node166_0.a('node.borderColor','rgba(255,0,255,1)');
  20314. Node166_0.a('node.background','rgba(255,0,255,1)');
  20315. Node166_0.a('node.gradient','');
  20316. Node166_0.a('node.gradientcolor','rgba(255,0,255,1)');
  20317. Node166_0.a('node.endCompspts',Node166_0endCompspts);
  20318. Node166_0.a('node.startCompspts',Node166_0startCompspts);
  20319. (function (node, img, compspts, endCompspts, startCompspts) {
  20320. var position = node.getPosition(),
  20321. w = node.getWidth()*_ratio.ratioX,
  20322. h = node.getHeight()*_ratio.ratioY;
  20323. function resetPoints(rx, ry) {
  20324. for (var i = 0, len = compspts.length; i < len; i++) {
  20325. if (i%2 === 0) {
  20326. compspts[i]*=rx;
  20327. } else {
  20328. compspts[i]*=ry;
  20329. }
  20330. }
  20331. endCompspts[0] = compspts[compspts.length-2];
  20332. endCompspts[1] = compspts[compspts.length-1];
  20333. endCompspts[2] *= rx;
  20334. endCompspts[3] *= ry;
  20335. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20336. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20337. startCompspts[0] = compspts[0];
  20338. startCompspts[1] = compspts[1];
  20339. startCompspts[2] *= rx;
  20340. startCompspts[3] *= ry;
  20341. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20342. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20343. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20344. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20345. }
  20346. node.setSize(w, h);
  20347. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20348. node.a('node.width', w);
  20349. node.a('node.height', h);
  20350. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20351. node.borderWidth = 1;
  20352. node.a('node.borderwidth',node.borderWidth);
  20353. node._nodename = 'Node166_0';
  20354. node._nodeType = 'line';
  20355. zoomNodeList.push({
  20356. node: node,
  20357. attr: 'node.borderwidth'
  20358. });
  20359. var setWidth = node.setWidth,
  20360. setHeight = node.setHeight,
  20361. timer, rx = 1, ry = 1;
  20362. node.setWidth = function (width) {
  20363. var _width = this.getWidth();
  20364. rx = width / _width;
  20365. node.a('node.width', width);
  20366. setWidth.apply(this, arguments);
  20367. resetPoints(rx, 1);
  20368. }
  20369. node.setHeight = function (height) {
  20370. var _height = this.getHeight();
  20371. ry = height / _height;
  20372. node.a('node.height', height);
  20373. setHeight.apply(this, arguments);
  20374. resetPoints(1, ry);
  20375. }
  20376. })(Node166_0, Node166_0.getImage(), Node166_0compspts, Node166_0endCompspts, Node166_0startCompspts);
  20377. var Node166_1points=[1362, 297,1374, 297],
  20378. Node166_1rect=ht.Default.unionPoint([{x:1362,y:297},{x:1374,y:297}]),
  20379. Node166_1compspts=[];
  20380. _ratio = GD.getRatioWithRotation(0, ratio);
  20381. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20382. _endratio = GD.getRatioWithRotation(0, ratio);
  20383. for(var i=0;i<Node166_1points.length;i++){
  20384. if(i%2==0){
  20385. Node166_1compspts.push(Node166_1points[i]-Node166_1rect.x);
  20386. }else{
  20387. Node166_1compspts.push(Node166_1points[i]-Node166_1rect.y);
  20388. }
  20389. }
  20390. var Node166_1ptslength=Node166_1compspts.length;
  20391. if (Node166_1rect.height === 0) {
  20392. Node166_1compspts[0] -= 0;
  20393. Node166_1compspts[Node166_1ptslength-2] += 0;
  20394. } else if (Node166_1rect.width === 0){
  20395. Node166_1compspts[1] -= 0;
  20396. Node166_1compspts[Node166_1ptslength-1] += 0;
  20397. } else {
  20398. Node166_1compspts[0] -= 0;
  20399. Node166_1compspts[1] -= 0;
  20400. Node166_1compspts[Node166_1ptslength-2] += 0;
  20401. Node166_1compspts[Node166_1ptslength-1] += 0;
  20402. }
  20403. Node166_1 = new ht.Node();
  20404. Node166_1.borderWidth = 1;
  20405. Node166_1rect.width = Node166_1rect.width === 0 ? 0.0001 : Node166_1rect.width;
  20406. Node166_1rect.height = Node166_1rect.height === 0 ? 0.0001 : Node166_1rect.height;
  20407. var Node166_1endCompspts = [Node166_1compspts[Node166_1ptslength-2],Node166_1compspts[Node166_1ptslength-1],0,0];
  20408. var Node166_1startCompspts = [Node166_1compspts[0],Node166_1compspts[1],0,0];
  20409. Node166_1.setImage(GD.getPolyLineJSON());
  20410. Node166_1.setPosition(Node166_1rect.x+Node166_1rect.width/2,Node166_1rect.y+Node166_1rect.height/2);
  20411. Node166_1.setSize(Node166_1rect.width,Node166_1rect.height);
  20412. Node166_1.setStyle("opacity",1);
  20413. Node166_1.s({'pixelPerfect':true});
  20414. Node166_1borderwidth=1;
  20415. Node166_1.setRotation(0);
  20416. dataModel.add(Node166_1);
  20417. Node166_1.a('node.points',Node166_1compspts);
  20418. Node166_1.a('node.segments',[1,2]);
  20419. Node166_1.a('node.color','rgba(255,0,255,1)');
  20420. Node166_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20421. Node166_1.a('node.borderColor','rgba(255,0,255,1)');
  20422. Node166_1.a('node.background','rgba(255,0,255,1)');
  20423. Node166_1.a('node.gradient','');
  20424. Node166_1.a('node.gradientcolor','rgba(255,0,255,1)');
  20425. Node166_1.a('node.endCompspts',Node166_1endCompspts);
  20426. Node166_1.a('node.startCompspts',Node166_1startCompspts);
  20427. (function (node, img, compspts, endCompspts, startCompspts) {
  20428. var position = node.getPosition(),
  20429. w = node.getWidth()*_ratio.ratioX,
  20430. h = node.getHeight()*_ratio.ratioY;
  20431. function resetPoints(rx, ry) {
  20432. for (var i = 0, len = compspts.length; i < len; i++) {
  20433. if (i%2 === 0) {
  20434. compspts[i]*=rx;
  20435. } else {
  20436. compspts[i]*=ry;
  20437. }
  20438. }
  20439. endCompspts[0] = compspts[compspts.length-2];
  20440. endCompspts[1] = compspts[compspts.length-1];
  20441. endCompspts[2] *= rx;
  20442. endCompspts[3] *= ry;
  20443. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20444. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20445. startCompspts[0] = compspts[0];
  20446. startCompspts[1] = compspts[1];
  20447. startCompspts[2] *= rx;
  20448. startCompspts[3] *= ry;
  20449. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20450. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20451. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20452. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20453. }
  20454. node.setSize(w, h);
  20455. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20456. node.a('node.width', w);
  20457. node.a('node.height', h);
  20458. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20459. node.borderWidth = 1;
  20460. node.a('node.borderwidth',node.borderWidth);
  20461. node._nodename = 'Node166_1';
  20462. node._nodeType = 'line';
  20463. zoomNodeList.push({
  20464. node: node,
  20465. attr: 'node.borderwidth'
  20466. });
  20467. var setWidth = node.setWidth,
  20468. setHeight = node.setHeight,
  20469. timer, rx = 1, ry = 1;
  20470. node.setWidth = function (width) {
  20471. var _width = this.getWidth();
  20472. rx = width / _width;
  20473. node.a('node.width', width);
  20474. setWidth.apply(this, arguments);
  20475. resetPoints(rx, 1);
  20476. }
  20477. node.setHeight = function (height) {
  20478. var _height = this.getHeight();
  20479. ry = height / _height;
  20480. node.a('node.height', height);
  20481. setHeight.apply(this, arguments);
  20482. resetPoints(1, ry);
  20483. }
  20484. })(Node166_1, Node166_1.getImage(), Node166_1compspts, Node166_1endCompspts, Node166_1startCompspts);
  20485. var Node166_2points=[1360, 294,1376, 294],
  20486. Node166_2rect=ht.Default.unionPoint([{x:1360,y:294},{x:1376,y:294}]),
  20487. Node166_2compspts=[];
  20488. _ratio = GD.getRatioWithRotation(0, ratio);
  20489. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20490. _endratio = GD.getRatioWithRotation(0, ratio);
  20491. for(var i=0;i<Node166_2points.length;i++){
  20492. if(i%2==0){
  20493. Node166_2compspts.push(Node166_2points[i]-Node166_2rect.x);
  20494. }else{
  20495. Node166_2compspts.push(Node166_2points[i]-Node166_2rect.y);
  20496. }
  20497. }
  20498. var Node166_2ptslength=Node166_2compspts.length;
  20499. if (Node166_2rect.height === 0) {
  20500. Node166_2compspts[0] -= 0;
  20501. Node166_2compspts[Node166_2ptslength-2] += 0;
  20502. } else if (Node166_2rect.width === 0){
  20503. Node166_2compspts[1] -= 0;
  20504. Node166_2compspts[Node166_2ptslength-1] += 0;
  20505. } else {
  20506. Node166_2compspts[0] -= 0;
  20507. Node166_2compspts[1] -= 0;
  20508. Node166_2compspts[Node166_2ptslength-2] += 0;
  20509. Node166_2compspts[Node166_2ptslength-1] += 0;
  20510. }
  20511. Node166_2 = new ht.Node();
  20512. Node166_2.borderWidth = 1;
  20513. Node166_2rect.width = Node166_2rect.width === 0 ? 0.0001 : Node166_2rect.width;
  20514. Node166_2rect.height = Node166_2rect.height === 0 ? 0.0001 : Node166_2rect.height;
  20515. var Node166_2endCompspts = [Node166_2compspts[Node166_2ptslength-2],Node166_2compspts[Node166_2ptslength-1],0,0];
  20516. var Node166_2startCompspts = [Node166_2compspts[0],Node166_2compspts[1],0,0];
  20517. Node166_2.setImage(GD.getPolyLineJSON());
  20518. Node166_2.setPosition(Node166_2rect.x+Node166_2rect.width/2,Node166_2rect.y+Node166_2rect.height/2);
  20519. Node166_2.setSize(Node166_2rect.width,Node166_2rect.height);
  20520. Node166_2.setStyle("opacity",1);
  20521. Node166_2.s({'pixelPerfect':true});
  20522. Node166_2borderwidth=1;
  20523. Node166_2.setRotation(0);
  20524. dataModel.add(Node166_2);
  20525. Node166_2.a('node.points',Node166_2compspts);
  20526. Node166_2.a('node.segments',[1,2]);
  20527. Node166_2.a('node.color','rgba(255,0,255,1)');
  20528. Node166_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20529. Node166_2.a('node.borderColor','rgba(255,0,255,1)');
  20530. Node166_2.a('node.background','rgba(255,0,255,1)');
  20531. Node166_2.a('node.gradient','');
  20532. Node166_2.a('node.gradientcolor','rgba(255,0,255,1)');
  20533. Node166_2.a('node.endCompspts',Node166_2endCompspts);
  20534. Node166_2.a('node.startCompspts',Node166_2startCompspts);
  20535. (function (node, img, compspts, endCompspts, startCompspts) {
  20536. var position = node.getPosition(),
  20537. w = node.getWidth()*_ratio.ratioX,
  20538. h = node.getHeight()*_ratio.ratioY;
  20539. function resetPoints(rx, ry) {
  20540. for (var i = 0, len = compspts.length; i < len; i++) {
  20541. if (i%2 === 0) {
  20542. compspts[i]*=rx;
  20543. } else {
  20544. compspts[i]*=ry;
  20545. }
  20546. }
  20547. endCompspts[0] = compspts[compspts.length-2];
  20548. endCompspts[1] = compspts[compspts.length-1];
  20549. endCompspts[2] *= rx;
  20550. endCompspts[3] *= ry;
  20551. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20552. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20553. startCompspts[0] = compspts[0];
  20554. startCompspts[1] = compspts[1];
  20555. startCompspts[2] *= rx;
  20556. startCompspts[3] *= ry;
  20557. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20558. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20559. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20560. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20561. }
  20562. node.setSize(w, h);
  20563. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20564. node.a('node.width', w);
  20565. node.a('node.height', h);
  20566. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20567. node.borderWidth = 1;
  20568. node.a('node.borderwidth',node.borderWidth);
  20569. node._nodename = 'Node166_2';
  20570. node._nodeType = 'line';
  20571. zoomNodeList.push({
  20572. node: node,
  20573. attr: 'node.borderwidth'
  20574. });
  20575. var setWidth = node.setWidth,
  20576. setHeight = node.setHeight,
  20577. timer, rx = 1, ry = 1;
  20578. node.setWidth = function (width) {
  20579. var _width = this.getWidth();
  20580. rx = width / _width;
  20581. node.a('node.width', width);
  20582. setWidth.apply(this, arguments);
  20583. resetPoints(rx, 1);
  20584. }
  20585. node.setHeight = function (height) {
  20586. var _height = this.getHeight();
  20587. ry = height / _height;
  20588. node.a('node.height', height);
  20589. setHeight.apply(this, arguments);
  20590. resetPoints(1, ry);
  20591. }
  20592. })(Node166_2, Node166_2.getImage(), Node166_2compspts, Node166_2endCompspts, Node166_2startCompspts);
  20593. var Node166_3points=[1368, 294,1368, 288],
  20594. Node166_3rect=ht.Default.unionPoint([{x:1368,y:294},{x:1368,y:288}]),
  20595. Node166_3compspts=[];
  20596. _ratio = GD.getRatioWithRotation(0, ratio);
  20597. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  20598. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  20599. for(var i=0;i<Node166_3points.length;i++){
  20600. if(i%2==0){
  20601. Node166_3compspts.push(Node166_3points[i]-Node166_3rect.x);
  20602. }else{
  20603. Node166_3compspts.push(Node166_3points[i]-Node166_3rect.y);
  20604. }
  20605. }
  20606. var Node166_3ptslength=Node166_3compspts.length;
  20607. if (Node166_3rect.height === 0) {
  20608. Node166_3compspts[0] -= 0;
  20609. Node166_3compspts[Node166_3ptslength-2] += 0;
  20610. } else if (Node166_3rect.width === 0){
  20611. Node166_3compspts[1] -= 0;
  20612. Node166_3compspts[Node166_3ptslength-1] += 0;
  20613. } else {
  20614. Node166_3compspts[0] -= 0;
  20615. Node166_3compspts[1] -= 0;
  20616. Node166_3compspts[Node166_3ptslength-2] += 0;
  20617. Node166_3compspts[Node166_3ptslength-1] += 0;
  20618. }
  20619. Node166_3 = new ht.Node();
  20620. Node166_3.borderWidth = 1;
  20621. Node166_3rect.width = Node166_3rect.width === 0 ? 0.0001 : Node166_3rect.width;
  20622. Node166_3rect.height = Node166_3rect.height === 0 ? 0.0001 : Node166_3rect.height;
  20623. var Node166_3endCompspts = [Node166_3compspts[Node166_3ptslength-2],Node166_3compspts[Node166_3ptslength-1],0,0];
  20624. var Node166_3startCompspts = [Node166_3compspts[0],Node166_3compspts[1],0,0];
  20625. Node166_3.setImage(GD.getPolyLineJSON());
  20626. Node166_3.setPosition(Node166_3rect.x+Node166_3rect.width/2,Node166_3rect.y+Node166_3rect.height/2);
  20627. Node166_3.setSize(Node166_3rect.width,Node166_3rect.height);
  20628. Node166_3.setStyle("opacity",1);
  20629. Node166_3.s({'pixelPerfect':true});
  20630. Node166_3borderwidth=1;
  20631. Node166_3.setRotation(0);
  20632. dataModel.add(Node166_3);
  20633. Node166_3.a('node.points',Node166_3compspts);
  20634. Node166_3.a('node.segments',[1,2]);
  20635. Node166_3.a('node.color','rgba(255,0,255,1)');
  20636. Node166_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20637. Node166_3.a('node.borderColor','rgba(255,0,255,1)');
  20638. Node166_3.a('node.background','rgba(255,0,255,1)');
  20639. Node166_3.a('node.gradient','');
  20640. Node166_3.a('node.gradientcolor','rgba(255,0,255,1)');
  20641. Node166_3.a('node.endCompspts',Node166_3endCompspts);
  20642. Node166_3.a('node.startCompspts',Node166_3startCompspts);
  20643. (function (node, img, compspts, endCompspts, startCompspts) {
  20644. var position = node.getPosition(),
  20645. w = node.getWidth()*_ratio.ratioX,
  20646. h = node.getHeight()*_ratio.ratioY;
  20647. function resetPoints(rx, ry) {
  20648. for (var i = 0, len = compspts.length; i < len; i++) {
  20649. if (i%2 === 0) {
  20650. compspts[i]*=rx;
  20651. } else {
  20652. compspts[i]*=ry;
  20653. }
  20654. }
  20655. endCompspts[0] = compspts[compspts.length-2];
  20656. endCompspts[1] = compspts[compspts.length-1];
  20657. endCompspts[2] *= rx;
  20658. endCompspts[3] *= ry;
  20659. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20660. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20661. startCompspts[0] = compspts[0];
  20662. startCompspts[1] = compspts[1];
  20663. startCompspts[2] *= rx;
  20664. startCompspts[3] *= ry;
  20665. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20666. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20667. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20668. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20669. }
  20670. node.setSize(w, h);
  20671. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20672. node.a('node.width', w);
  20673. node.a('node.height', h);
  20674. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20675. node.borderWidth = 1;
  20676. node.a('node.borderwidth',node.borderWidth);
  20677. node._nodename = 'Node166_3';
  20678. node._nodeType = 'line';
  20679. zoomNodeList.push({
  20680. node: node,
  20681. attr: 'node.borderwidth'
  20682. });
  20683. var setWidth = node.setWidth,
  20684. setHeight = node.setHeight,
  20685. timer, rx = 1, ry = 1;
  20686. node.setWidth = function (width) {
  20687. var _width = this.getWidth();
  20688. rx = width / _width;
  20689. node.a('node.width', width);
  20690. setWidth.apply(this, arguments);
  20691. resetPoints(rx, 1);
  20692. }
  20693. node.setHeight = function (height) {
  20694. var _height = this.getHeight();
  20695. ry = height / _height;
  20696. node.a('node.height', height);
  20697. setHeight.apply(this, arguments);
  20698. resetPoints(1, ry);
  20699. }
  20700. })(Node166_3, Node166_3.getImage(), Node166_3compspts, Node166_3endCompspts, Node166_3startCompspts);
  20701. var Node167_0points=[1365, 344,1371, 344],
  20702. Node167_0rect=ht.Default.unionPoint([{x:1365,y:344},{x:1371,y:344}]),
  20703. Node167_0compspts=[];
  20704. _ratio = GD.getRatioWithRotation(0, ratio);
  20705. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20706. _endratio = GD.getRatioWithRotation(0, ratio);
  20707. for(var i=0;i<Node167_0points.length;i++){
  20708. if(i%2==0){
  20709. Node167_0compspts.push(Node167_0points[i]-Node167_0rect.x);
  20710. }else{
  20711. Node167_0compspts.push(Node167_0points[i]-Node167_0rect.y);
  20712. }
  20713. }
  20714. var Node167_0ptslength=Node167_0compspts.length;
  20715. if (Node167_0rect.height === 0) {
  20716. Node167_0compspts[0] -= 0;
  20717. Node167_0compspts[Node167_0ptslength-2] += 0;
  20718. } else if (Node167_0rect.width === 0){
  20719. Node167_0compspts[1] -= 0;
  20720. Node167_0compspts[Node167_0ptslength-1] += 0;
  20721. } else {
  20722. Node167_0compspts[0] -= 0;
  20723. Node167_0compspts[1] -= 0;
  20724. Node167_0compspts[Node167_0ptslength-2] += 0;
  20725. Node167_0compspts[Node167_0ptslength-1] += 0;
  20726. }
  20727. Node167_0 = new ht.Node();
  20728. Node167_0.borderWidth = 1;
  20729. Node167_0rect.width = Node167_0rect.width === 0 ? 0.0001 : Node167_0rect.width;
  20730. Node167_0rect.height = Node167_0rect.height === 0 ? 0.0001 : Node167_0rect.height;
  20731. var Node167_0endCompspts = [Node167_0compspts[Node167_0ptslength-2],Node167_0compspts[Node167_0ptslength-1],0,0];
  20732. var Node167_0startCompspts = [Node167_0compspts[0],Node167_0compspts[1],0,0];
  20733. Node167_0.setImage(GD.getPolyLineJSON());
  20734. Node167_0.setPosition(Node167_0rect.x+Node167_0rect.width/2,Node167_0rect.y+Node167_0rect.height/2);
  20735. Node167_0.setSize(Node167_0rect.width,Node167_0rect.height);
  20736. Node167_0.setStyle("opacity",1);
  20737. Node167_0.s({'pixelPerfect':true});
  20738. Node167_0borderwidth=1;
  20739. Node167_0.setRotation(0);
  20740. dataModel.add(Node167_0);
  20741. Node167_0.a('node.points',Node167_0compspts);
  20742. Node167_0.a('node.segments',[1,2]);
  20743. Node167_0.a('node.color','rgba(255,0,255,1)');
  20744. Node167_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20745. Node167_0.a('node.borderColor','rgba(255,0,255,1)');
  20746. Node167_0.a('node.background','rgba(255,0,255,1)');
  20747. Node167_0.a('node.gradient','');
  20748. Node167_0.a('node.gradientcolor','rgba(255,0,255,1)');
  20749. Node167_0.a('node.endCompspts',Node167_0endCompspts);
  20750. Node167_0.a('node.startCompspts',Node167_0startCompspts);
  20751. (function (node, img, compspts, endCompspts, startCompspts) {
  20752. var position = node.getPosition(),
  20753. w = node.getWidth()*_ratio.ratioX,
  20754. h = node.getHeight()*_ratio.ratioY;
  20755. function resetPoints(rx, ry) {
  20756. for (var i = 0, len = compspts.length; i < len; i++) {
  20757. if (i%2 === 0) {
  20758. compspts[i]*=rx;
  20759. } else {
  20760. compspts[i]*=ry;
  20761. }
  20762. }
  20763. endCompspts[0] = compspts[compspts.length-2];
  20764. endCompspts[1] = compspts[compspts.length-1];
  20765. endCompspts[2] *= rx;
  20766. endCompspts[3] *= ry;
  20767. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20768. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20769. startCompspts[0] = compspts[0];
  20770. startCompspts[1] = compspts[1];
  20771. startCompspts[2] *= rx;
  20772. startCompspts[3] *= ry;
  20773. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20774. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20775. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20776. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20777. }
  20778. node.setSize(w, h);
  20779. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20780. node.a('node.width', w);
  20781. node.a('node.height', h);
  20782. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20783. node.borderWidth = 1;
  20784. node.a('node.borderwidth',node.borderWidth);
  20785. node._nodename = 'Node167_0';
  20786. node._nodeType = 'line';
  20787. zoomNodeList.push({
  20788. node: node,
  20789. attr: 'node.borderwidth'
  20790. });
  20791. var setWidth = node.setWidth,
  20792. setHeight = node.setHeight,
  20793. timer, rx = 1, ry = 1;
  20794. node.setWidth = function (width) {
  20795. var _width = this.getWidth();
  20796. rx = width / _width;
  20797. node.a('node.width', width);
  20798. setWidth.apply(this, arguments);
  20799. resetPoints(rx, 1);
  20800. }
  20801. node.setHeight = function (height) {
  20802. var _height = this.getHeight();
  20803. ry = height / _height;
  20804. node.a('node.height', height);
  20805. setHeight.apply(this, arguments);
  20806. resetPoints(1, ry);
  20807. }
  20808. })(Node167_0, Node167_0.getImage(), Node167_0compspts, Node167_0endCompspts, Node167_0startCompspts);
  20809. var Node167_1points=[1362, 341,1374, 341],
  20810. Node167_1rect=ht.Default.unionPoint([{x:1362,y:341},{x:1374,y:341}]),
  20811. Node167_1compspts=[];
  20812. _ratio = GD.getRatioWithRotation(0, ratio);
  20813. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20814. _endratio = GD.getRatioWithRotation(0, ratio);
  20815. for(var i=0;i<Node167_1points.length;i++){
  20816. if(i%2==0){
  20817. Node167_1compspts.push(Node167_1points[i]-Node167_1rect.x);
  20818. }else{
  20819. Node167_1compspts.push(Node167_1points[i]-Node167_1rect.y);
  20820. }
  20821. }
  20822. var Node167_1ptslength=Node167_1compspts.length;
  20823. if (Node167_1rect.height === 0) {
  20824. Node167_1compspts[0] -= 0;
  20825. Node167_1compspts[Node167_1ptslength-2] += 0;
  20826. } else if (Node167_1rect.width === 0){
  20827. Node167_1compspts[1] -= 0;
  20828. Node167_1compspts[Node167_1ptslength-1] += 0;
  20829. } else {
  20830. Node167_1compspts[0] -= 0;
  20831. Node167_1compspts[1] -= 0;
  20832. Node167_1compspts[Node167_1ptslength-2] += 0;
  20833. Node167_1compspts[Node167_1ptslength-1] += 0;
  20834. }
  20835. Node167_1 = new ht.Node();
  20836. Node167_1.borderWidth = 1;
  20837. Node167_1rect.width = Node167_1rect.width === 0 ? 0.0001 : Node167_1rect.width;
  20838. Node167_1rect.height = Node167_1rect.height === 0 ? 0.0001 : Node167_1rect.height;
  20839. var Node167_1endCompspts = [Node167_1compspts[Node167_1ptslength-2],Node167_1compspts[Node167_1ptslength-1],0,0];
  20840. var Node167_1startCompspts = [Node167_1compspts[0],Node167_1compspts[1],0,0];
  20841. Node167_1.setImage(GD.getPolyLineJSON());
  20842. Node167_1.setPosition(Node167_1rect.x+Node167_1rect.width/2,Node167_1rect.y+Node167_1rect.height/2);
  20843. Node167_1.setSize(Node167_1rect.width,Node167_1rect.height);
  20844. Node167_1.setStyle("opacity",1);
  20845. Node167_1.s({'pixelPerfect':true});
  20846. Node167_1borderwidth=1;
  20847. Node167_1.setRotation(0);
  20848. dataModel.add(Node167_1);
  20849. Node167_1.a('node.points',Node167_1compspts);
  20850. Node167_1.a('node.segments',[1,2]);
  20851. Node167_1.a('node.color','rgba(255,0,255,1)');
  20852. Node167_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20853. Node167_1.a('node.borderColor','rgba(255,0,255,1)');
  20854. Node167_1.a('node.background','rgba(255,0,255,1)');
  20855. Node167_1.a('node.gradient','');
  20856. Node167_1.a('node.gradientcolor','rgba(255,0,255,1)');
  20857. Node167_1.a('node.endCompspts',Node167_1endCompspts);
  20858. Node167_1.a('node.startCompspts',Node167_1startCompspts);
  20859. (function (node, img, compspts, endCompspts, startCompspts) {
  20860. var position = node.getPosition(),
  20861. w = node.getWidth()*_ratio.ratioX,
  20862. h = node.getHeight()*_ratio.ratioY;
  20863. function resetPoints(rx, ry) {
  20864. for (var i = 0, len = compspts.length; i < len; i++) {
  20865. if (i%2 === 0) {
  20866. compspts[i]*=rx;
  20867. } else {
  20868. compspts[i]*=ry;
  20869. }
  20870. }
  20871. endCompspts[0] = compspts[compspts.length-2];
  20872. endCompspts[1] = compspts[compspts.length-1];
  20873. endCompspts[2] *= rx;
  20874. endCompspts[3] *= ry;
  20875. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20876. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20877. startCompspts[0] = compspts[0];
  20878. startCompspts[1] = compspts[1];
  20879. startCompspts[2] *= rx;
  20880. startCompspts[3] *= ry;
  20881. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20882. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20883. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20884. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20885. }
  20886. node.setSize(w, h);
  20887. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20888. node.a('node.width', w);
  20889. node.a('node.height', h);
  20890. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20891. node.borderWidth = 1;
  20892. node.a('node.borderwidth',node.borderWidth);
  20893. node._nodename = 'Node167_1';
  20894. node._nodeType = 'line';
  20895. zoomNodeList.push({
  20896. node: node,
  20897. attr: 'node.borderwidth'
  20898. });
  20899. var setWidth = node.setWidth,
  20900. setHeight = node.setHeight,
  20901. timer, rx = 1, ry = 1;
  20902. node.setWidth = function (width) {
  20903. var _width = this.getWidth();
  20904. rx = width / _width;
  20905. node.a('node.width', width);
  20906. setWidth.apply(this, arguments);
  20907. resetPoints(rx, 1);
  20908. }
  20909. node.setHeight = function (height) {
  20910. var _height = this.getHeight();
  20911. ry = height / _height;
  20912. node.a('node.height', height);
  20913. setHeight.apply(this, arguments);
  20914. resetPoints(1, ry);
  20915. }
  20916. })(Node167_1, Node167_1.getImage(), Node167_1compspts, Node167_1endCompspts, Node167_1startCompspts);
  20917. var Node167_2points=[1360, 338,1376, 338],
  20918. Node167_2rect=ht.Default.unionPoint([{x:1360,y:338},{x:1376,y:338}]),
  20919. Node167_2compspts=[];
  20920. _ratio = GD.getRatioWithRotation(0, ratio);
  20921. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  20922. _endratio = GD.getRatioWithRotation(0, ratio);
  20923. for(var i=0;i<Node167_2points.length;i++){
  20924. if(i%2==0){
  20925. Node167_2compspts.push(Node167_2points[i]-Node167_2rect.x);
  20926. }else{
  20927. Node167_2compspts.push(Node167_2points[i]-Node167_2rect.y);
  20928. }
  20929. }
  20930. var Node167_2ptslength=Node167_2compspts.length;
  20931. if (Node167_2rect.height === 0) {
  20932. Node167_2compspts[0] -= 0;
  20933. Node167_2compspts[Node167_2ptslength-2] += 0;
  20934. } else if (Node167_2rect.width === 0){
  20935. Node167_2compspts[1] -= 0;
  20936. Node167_2compspts[Node167_2ptslength-1] += 0;
  20937. } else {
  20938. Node167_2compspts[0] -= 0;
  20939. Node167_2compspts[1] -= 0;
  20940. Node167_2compspts[Node167_2ptslength-2] += 0;
  20941. Node167_2compspts[Node167_2ptslength-1] += 0;
  20942. }
  20943. Node167_2 = new ht.Node();
  20944. Node167_2.borderWidth = 1;
  20945. Node167_2rect.width = Node167_2rect.width === 0 ? 0.0001 : Node167_2rect.width;
  20946. Node167_2rect.height = Node167_2rect.height === 0 ? 0.0001 : Node167_2rect.height;
  20947. var Node167_2endCompspts = [Node167_2compspts[Node167_2ptslength-2],Node167_2compspts[Node167_2ptslength-1],0,0];
  20948. var Node167_2startCompspts = [Node167_2compspts[0],Node167_2compspts[1],0,0];
  20949. Node167_2.setImage(GD.getPolyLineJSON());
  20950. Node167_2.setPosition(Node167_2rect.x+Node167_2rect.width/2,Node167_2rect.y+Node167_2rect.height/2);
  20951. Node167_2.setSize(Node167_2rect.width,Node167_2rect.height);
  20952. Node167_2.setStyle("opacity",1);
  20953. Node167_2.s({'pixelPerfect':true});
  20954. Node167_2borderwidth=1;
  20955. Node167_2.setRotation(0);
  20956. dataModel.add(Node167_2);
  20957. Node167_2.a('node.points',Node167_2compspts);
  20958. Node167_2.a('node.segments',[1,2]);
  20959. Node167_2.a('node.color','rgba(255,0,255,1)');
  20960. Node167_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  20961. Node167_2.a('node.borderColor','rgba(255,0,255,1)');
  20962. Node167_2.a('node.background','rgba(255,0,255,1)');
  20963. Node167_2.a('node.gradient','');
  20964. Node167_2.a('node.gradientcolor','rgba(255,0,255,1)');
  20965. Node167_2.a('node.endCompspts',Node167_2endCompspts);
  20966. Node167_2.a('node.startCompspts',Node167_2startCompspts);
  20967. (function (node, img, compspts, endCompspts, startCompspts) {
  20968. var position = node.getPosition(),
  20969. w = node.getWidth()*_ratio.ratioX,
  20970. h = node.getHeight()*_ratio.ratioY;
  20971. function resetPoints(rx, ry) {
  20972. for (var i = 0, len = compspts.length; i < len; i++) {
  20973. if (i%2 === 0) {
  20974. compspts[i]*=rx;
  20975. } else {
  20976. compspts[i]*=ry;
  20977. }
  20978. }
  20979. endCompspts[0] = compspts[compspts.length-2];
  20980. endCompspts[1] = compspts[compspts.length-1];
  20981. endCompspts[2] *= rx;
  20982. endCompspts[3] *= ry;
  20983. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  20984. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  20985. startCompspts[0] = compspts[0];
  20986. startCompspts[1] = compspts[1];
  20987. startCompspts[2] *= rx;
  20988. startCompspts[3] *= ry;
  20989. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  20990. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  20991. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  20992. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  20993. }
  20994. node.setSize(w, h);
  20995. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  20996. node.a('node.width', w);
  20997. node.a('node.height', h);
  20998. resetPoints(_ratio.ratioX, _ratio.ratioY);
  20999. node.borderWidth = 1;
  21000. node.a('node.borderwidth',node.borderWidth);
  21001. node._nodename = 'Node167_2';
  21002. node._nodeType = 'line';
  21003. zoomNodeList.push({
  21004. node: node,
  21005. attr: 'node.borderwidth'
  21006. });
  21007. var setWidth = node.setWidth,
  21008. setHeight = node.setHeight,
  21009. timer, rx = 1, ry = 1;
  21010. node.setWidth = function (width) {
  21011. var _width = this.getWidth();
  21012. rx = width / _width;
  21013. node.a('node.width', width);
  21014. setWidth.apply(this, arguments);
  21015. resetPoints(rx, 1);
  21016. }
  21017. node.setHeight = function (height) {
  21018. var _height = this.getHeight();
  21019. ry = height / _height;
  21020. node.a('node.height', height);
  21021. setHeight.apply(this, arguments);
  21022. resetPoints(1, ry);
  21023. }
  21024. })(Node167_2, Node167_2.getImage(), Node167_2compspts, Node167_2endCompspts, Node167_2startCompspts);
  21025. var Node167_3points=[1368, 338,1368, 332],
  21026. Node167_3rect=ht.Default.unionPoint([{x:1368,y:338},{x:1368,y:332}]),
  21027. Node167_3compspts=[];
  21028. _ratio = GD.getRatioWithRotation(0, ratio);
  21029. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  21030. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  21031. for(var i=0;i<Node167_3points.length;i++){
  21032. if(i%2==0){
  21033. Node167_3compspts.push(Node167_3points[i]-Node167_3rect.x);
  21034. }else{
  21035. Node167_3compspts.push(Node167_3points[i]-Node167_3rect.y);
  21036. }
  21037. }
  21038. var Node167_3ptslength=Node167_3compspts.length;
  21039. if (Node167_3rect.height === 0) {
  21040. Node167_3compspts[0] -= 0;
  21041. Node167_3compspts[Node167_3ptslength-2] += 0;
  21042. } else if (Node167_3rect.width === 0){
  21043. Node167_3compspts[1] -= 0;
  21044. Node167_3compspts[Node167_3ptslength-1] += 0;
  21045. } else {
  21046. Node167_3compspts[0] -= 0;
  21047. Node167_3compspts[1] -= 0;
  21048. Node167_3compspts[Node167_3ptslength-2] += 0;
  21049. Node167_3compspts[Node167_3ptslength-1] += 0;
  21050. }
  21051. Node167_3 = new ht.Node();
  21052. Node167_3.borderWidth = 1;
  21053. Node167_3rect.width = Node167_3rect.width === 0 ? 0.0001 : Node167_3rect.width;
  21054. Node167_3rect.height = Node167_3rect.height === 0 ? 0.0001 : Node167_3rect.height;
  21055. var Node167_3endCompspts = [Node167_3compspts[Node167_3ptslength-2],Node167_3compspts[Node167_3ptslength-1],0,0];
  21056. var Node167_3startCompspts = [Node167_3compspts[0],Node167_3compspts[1],0,0];
  21057. Node167_3.setImage(GD.getPolyLineJSON());
  21058. Node167_3.setPosition(Node167_3rect.x+Node167_3rect.width/2,Node167_3rect.y+Node167_3rect.height/2);
  21059. Node167_3.setSize(Node167_3rect.width,Node167_3rect.height);
  21060. Node167_3.setStyle("opacity",1);
  21061. Node167_3.s({'pixelPerfect':true});
  21062. Node167_3borderwidth=1;
  21063. Node167_3.setRotation(0);
  21064. dataModel.add(Node167_3);
  21065. Node167_3.a('node.points',Node167_3compspts);
  21066. Node167_3.a('node.segments',[1,2]);
  21067. Node167_3.a('node.color','rgba(255,0,255,1)');
  21068. Node167_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21069. Node167_3.a('node.borderColor','rgba(255,0,255,1)');
  21070. Node167_3.a('node.background','rgba(255,0,255,1)');
  21071. Node167_3.a('node.gradient','');
  21072. Node167_3.a('node.gradientcolor','rgba(255,0,255,1)');
  21073. Node167_3.a('node.endCompspts',Node167_3endCompspts);
  21074. Node167_3.a('node.startCompspts',Node167_3startCompspts);
  21075. (function (node, img, compspts, endCompspts, startCompspts) {
  21076. var position = node.getPosition(),
  21077. w = node.getWidth()*_ratio.ratioX,
  21078. h = node.getHeight()*_ratio.ratioY;
  21079. function resetPoints(rx, ry) {
  21080. for (var i = 0, len = compspts.length; i < len; i++) {
  21081. if (i%2 === 0) {
  21082. compspts[i]*=rx;
  21083. } else {
  21084. compspts[i]*=ry;
  21085. }
  21086. }
  21087. endCompspts[0] = compspts[compspts.length-2];
  21088. endCompspts[1] = compspts[compspts.length-1];
  21089. endCompspts[2] *= rx;
  21090. endCompspts[3] *= ry;
  21091. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21092. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21093. startCompspts[0] = compspts[0];
  21094. startCompspts[1] = compspts[1];
  21095. startCompspts[2] *= rx;
  21096. startCompspts[3] *= ry;
  21097. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21098. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21099. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21100. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21101. }
  21102. node.setSize(w, h);
  21103. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21104. node.a('node.width', w);
  21105. node.a('node.height', h);
  21106. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21107. node.borderWidth = 1;
  21108. node.a('node.borderwidth',node.borderWidth);
  21109. node._nodename = 'Node167_3';
  21110. node._nodeType = 'line';
  21111. zoomNodeList.push({
  21112. node: node,
  21113. attr: 'node.borderwidth'
  21114. });
  21115. var setWidth = node.setWidth,
  21116. setHeight = node.setHeight,
  21117. timer, rx = 1, ry = 1;
  21118. node.setWidth = function (width) {
  21119. var _width = this.getWidth();
  21120. rx = width / _width;
  21121. node.a('node.width', width);
  21122. setWidth.apply(this, arguments);
  21123. resetPoints(rx, 1);
  21124. }
  21125. node.setHeight = function (height) {
  21126. var _height = this.getHeight();
  21127. ry = height / _height;
  21128. node.a('node.height', height);
  21129. setHeight.apply(this, arguments);
  21130. resetPoints(1, ry);
  21131. }
  21132. })(Node167_3, Node167_3.getImage(), Node167_3compspts, Node167_3endCompspts, Node167_3startCompspts);
  21133. var Node168_0points=[1342, 241,1348, 241],
  21134. Node168_0rect=ht.Default.unionPoint([{x:1342,y:241},{x:1348,y:241}]),
  21135. Node168_0compspts=[];
  21136. _ratio = GD.getRatioWithRotation(0, ratio);
  21137. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  21138. _endratio = GD.getRatioWithRotation(0, ratio);
  21139. for(var i=0;i<Node168_0points.length;i++){
  21140. if(i%2==0){
  21141. Node168_0compspts.push(Node168_0points[i]-Node168_0rect.x);
  21142. }else{
  21143. Node168_0compspts.push(Node168_0points[i]-Node168_0rect.y);
  21144. }
  21145. }
  21146. var Node168_0ptslength=Node168_0compspts.length;
  21147. if (Node168_0rect.height === 0) {
  21148. Node168_0compspts[0] -= 0;
  21149. Node168_0compspts[Node168_0ptslength-2] += 0;
  21150. } else if (Node168_0rect.width === 0){
  21151. Node168_0compspts[1] -= 0;
  21152. Node168_0compspts[Node168_0ptslength-1] += 0;
  21153. } else {
  21154. Node168_0compspts[0] -= 0;
  21155. Node168_0compspts[1] -= 0;
  21156. Node168_0compspts[Node168_0ptslength-2] += 0;
  21157. Node168_0compspts[Node168_0ptslength-1] += 0;
  21158. }
  21159. Node168_0 = new ht.Node();
  21160. Node168_0.borderWidth = 1;
  21161. Node168_0rect.width = Node168_0rect.width === 0 ? 0.0001 : Node168_0rect.width;
  21162. Node168_0rect.height = Node168_0rect.height === 0 ? 0.0001 : Node168_0rect.height;
  21163. var Node168_0endCompspts = [Node168_0compspts[Node168_0ptslength-2],Node168_0compspts[Node168_0ptslength-1],0,0];
  21164. var Node168_0startCompspts = [Node168_0compspts[0],Node168_0compspts[1],0,0];
  21165. Node168_0.setImage(GD.getPolyLineJSON());
  21166. Node168_0.setPosition(Node168_0rect.x+Node168_0rect.width/2,Node168_0rect.y+Node168_0rect.height/2);
  21167. Node168_0.setSize(Node168_0rect.width,Node168_0rect.height);
  21168. Node168_0.setStyle("opacity",1);
  21169. Node168_0.s({'pixelPerfect':true});
  21170. Node168_0borderwidth=1;
  21171. Node168_0.setRotation(0);
  21172. dataModel.add(Node168_0);
  21173. Node168_0.a('node.points',Node168_0compspts);
  21174. Node168_0.a('node.segments',[1,2]);
  21175. Node168_0.a('node.color','rgba(255,0,255,1)');
  21176. Node168_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21177. Node168_0.a('node.borderColor','rgba(255,0,255,1)');
  21178. Node168_0.a('node.background','rgba(255,0,255,1)');
  21179. Node168_0.a('node.gradient','');
  21180. Node168_0.a('node.gradientcolor','rgba(255,0,255,1)');
  21181. Node168_0.a('node.endCompspts',Node168_0endCompspts);
  21182. Node168_0.a('node.startCompspts',Node168_0startCompspts);
  21183. (function (node, img, compspts, endCompspts, startCompspts) {
  21184. var position = node.getPosition(),
  21185. w = node.getWidth()*_ratio.ratioX,
  21186. h = node.getHeight()*_ratio.ratioY;
  21187. function resetPoints(rx, ry) {
  21188. for (var i = 0, len = compspts.length; i < len; i++) {
  21189. if (i%2 === 0) {
  21190. compspts[i]*=rx;
  21191. } else {
  21192. compspts[i]*=ry;
  21193. }
  21194. }
  21195. endCompspts[0] = compspts[compspts.length-2];
  21196. endCompspts[1] = compspts[compspts.length-1];
  21197. endCompspts[2] *= rx;
  21198. endCompspts[3] *= ry;
  21199. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21200. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21201. startCompspts[0] = compspts[0];
  21202. startCompspts[1] = compspts[1];
  21203. startCompspts[2] *= rx;
  21204. startCompspts[3] *= ry;
  21205. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21206. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21207. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21208. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21209. }
  21210. node.setSize(w, h);
  21211. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21212. node.a('node.width', w);
  21213. node.a('node.height', h);
  21214. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21215. node.borderWidth = 1;
  21216. node.a('node.borderwidth',node.borderWidth);
  21217. node._nodename = 'Node168_0';
  21218. node._nodeType = 'line';
  21219. zoomNodeList.push({
  21220. node: node,
  21221. attr: 'node.borderwidth'
  21222. });
  21223. var setWidth = node.setWidth,
  21224. setHeight = node.setHeight,
  21225. timer, rx = 1, ry = 1;
  21226. node.setWidth = function (width) {
  21227. var _width = this.getWidth();
  21228. rx = width / _width;
  21229. node.a('node.width', width);
  21230. setWidth.apply(this, arguments);
  21231. resetPoints(rx, 1);
  21232. }
  21233. node.setHeight = function (height) {
  21234. var _height = this.getHeight();
  21235. ry = height / _height;
  21236. node.a('node.height', height);
  21237. setHeight.apply(this, arguments);
  21238. resetPoints(1, ry);
  21239. }
  21240. })(Node168_0, Node168_0.getImage(), Node168_0compspts, Node168_0endCompspts, Node168_0startCompspts);
  21241. var Node168_1points=[1339, 238,1350, 238],
  21242. Node168_1rect=ht.Default.unionPoint([{x:1339,y:238},{x:1350,y:238}]),
  21243. Node168_1compspts=[];
  21244. _ratio = GD.getRatioWithRotation(0, ratio);
  21245. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  21246. _endratio = GD.getRatioWithRotation(0, ratio);
  21247. for(var i=0;i<Node168_1points.length;i++){
  21248. if(i%2==0){
  21249. Node168_1compspts.push(Node168_1points[i]-Node168_1rect.x);
  21250. }else{
  21251. Node168_1compspts.push(Node168_1points[i]-Node168_1rect.y);
  21252. }
  21253. }
  21254. var Node168_1ptslength=Node168_1compspts.length;
  21255. if (Node168_1rect.height === 0) {
  21256. Node168_1compspts[0] -= 0;
  21257. Node168_1compspts[Node168_1ptslength-2] += 0;
  21258. } else if (Node168_1rect.width === 0){
  21259. Node168_1compspts[1] -= 0;
  21260. Node168_1compspts[Node168_1ptslength-1] += 0;
  21261. } else {
  21262. Node168_1compspts[0] -= 0;
  21263. Node168_1compspts[1] -= 0;
  21264. Node168_1compspts[Node168_1ptslength-2] += 0;
  21265. Node168_1compspts[Node168_1ptslength-1] += 0;
  21266. }
  21267. Node168_1 = new ht.Node();
  21268. Node168_1.borderWidth = 1;
  21269. Node168_1rect.width = Node168_1rect.width === 0 ? 0.0001 : Node168_1rect.width;
  21270. Node168_1rect.height = Node168_1rect.height === 0 ? 0.0001 : Node168_1rect.height;
  21271. var Node168_1endCompspts = [Node168_1compspts[Node168_1ptslength-2],Node168_1compspts[Node168_1ptslength-1],0,0];
  21272. var Node168_1startCompspts = [Node168_1compspts[0],Node168_1compspts[1],0,0];
  21273. Node168_1.setImage(GD.getPolyLineJSON());
  21274. Node168_1.setPosition(Node168_1rect.x+Node168_1rect.width/2,Node168_1rect.y+Node168_1rect.height/2);
  21275. Node168_1.setSize(Node168_1rect.width,Node168_1rect.height);
  21276. Node168_1.setStyle("opacity",1);
  21277. Node168_1.s({'pixelPerfect':true});
  21278. Node168_1borderwidth=1;
  21279. Node168_1.setRotation(0);
  21280. dataModel.add(Node168_1);
  21281. Node168_1.a('node.points',Node168_1compspts);
  21282. Node168_1.a('node.segments',[1,2]);
  21283. Node168_1.a('node.color','rgba(255,0,255,1)');
  21284. Node168_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21285. Node168_1.a('node.borderColor','rgba(255,0,255,1)');
  21286. Node168_1.a('node.background','rgba(255,0,255,1)');
  21287. Node168_1.a('node.gradient','');
  21288. Node168_1.a('node.gradientcolor','rgba(255,0,255,1)');
  21289. Node168_1.a('node.endCompspts',Node168_1endCompspts);
  21290. Node168_1.a('node.startCompspts',Node168_1startCompspts);
  21291. (function (node, img, compspts, endCompspts, startCompspts) {
  21292. var position = node.getPosition(),
  21293. w = node.getWidth()*_ratio.ratioX,
  21294. h = node.getHeight()*_ratio.ratioY;
  21295. function resetPoints(rx, ry) {
  21296. for (var i = 0, len = compspts.length; i < len; i++) {
  21297. if (i%2 === 0) {
  21298. compspts[i]*=rx;
  21299. } else {
  21300. compspts[i]*=ry;
  21301. }
  21302. }
  21303. endCompspts[0] = compspts[compspts.length-2];
  21304. endCompspts[1] = compspts[compspts.length-1];
  21305. endCompspts[2] *= rx;
  21306. endCompspts[3] *= ry;
  21307. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21308. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21309. startCompspts[0] = compspts[0];
  21310. startCompspts[1] = compspts[1];
  21311. startCompspts[2] *= rx;
  21312. startCompspts[3] *= ry;
  21313. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21314. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21315. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21316. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21317. }
  21318. node.setSize(w, h);
  21319. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21320. node.a('node.width', w);
  21321. node.a('node.height', h);
  21322. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21323. node.borderWidth = 1;
  21324. node.a('node.borderwidth',node.borderWidth);
  21325. node._nodename = 'Node168_1';
  21326. node._nodeType = 'line';
  21327. zoomNodeList.push({
  21328. node: node,
  21329. attr: 'node.borderwidth'
  21330. });
  21331. var setWidth = node.setWidth,
  21332. setHeight = node.setHeight,
  21333. timer, rx = 1, ry = 1;
  21334. node.setWidth = function (width) {
  21335. var _width = this.getWidth();
  21336. rx = width / _width;
  21337. node.a('node.width', width);
  21338. setWidth.apply(this, arguments);
  21339. resetPoints(rx, 1);
  21340. }
  21341. node.setHeight = function (height) {
  21342. var _height = this.getHeight();
  21343. ry = height / _height;
  21344. node.a('node.height', height);
  21345. setHeight.apply(this, arguments);
  21346. resetPoints(1, ry);
  21347. }
  21348. })(Node168_1, Node168_1.getImage(), Node168_1compspts, Node168_1endCompspts, Node168_1startCompspts);
  21349. var Node168_2points=[1337, 235,1353, 235],
  21350. Node168_2rect=ht.Default.unionPoint([{x:1337,y:235},{x:1353,y:235}]),
  21351. Node168_2compspts=[];
  21352. _ratio = GD.getRatioWithRotation(0, ratio);
  21353. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  21354. _endratio = GD.getRatioWithRotation(0, ratio);
  21355. for(var i=0;i<Node168_2points.length;i++){
  21356. if(i%2==0){
  21357. Node168_2compspts.push(Node168_2points[i]-Node168_2rect.x);
  21358. }else{
  21359. Node168_2compspts.push(Node168_2points[i]-Node168_2rect.y);
  21360. }
  21361. }
  21362. var Node168_2ptslength=Node168_2compspts.length;
  21363. if (Node168_2rect.height === 0) {
  21364. Node168_2compspts[0] -= 0;
  21365. Node168_2compspts[Node168_2ptslength-2] += 0;
  21366. } else if (Node168_2rect.width === 0){
  21367. Node168_2compspts[1] -= 0;
  21368. Node168_2compspts[Node168_2ptslength-1] += 0;
  21369. } else {
  21370. Node168_2compspts[0] -= 0;
  21371. Node168_2compspts[1] -= 0;
  21372. Node168_2compspts[Node168_2ptslength-2] += 0;
  21373. Node168_2compspts[Node168_2ptslength-1] += 0;
  21374. }
  21375. Node168_2 = new ht.Node();
  21376. Node168_2.borderWidth = 1;
  21377. Node168_2rect.width = Node168_2rect.width === 0 ? 0.0001 : Node168_2rect.width;
  21378. Node168_2rect.height = Node168_2rect.height === 0 ? 0.0001 : Node168_2rect.height;
  21379. var Node168_2endCompspts = [Node168_2compspts[Node168_2ptslength-2],Node168_2compspts[Node168_2ptslength-1],0,0];
  21380. var Node168_2startCompspts = [Node168_2compspts[0],Node168_2compspts[1],0,0];
  21381. Node168_2.setImage(GD.getPolyLineJSON());
  21382. Node168_2.setPosition(Node168_2rect.x+Node168_2rect.width/2,Node168_2rect.y+Node168_2rect.height/2);
  21383. Node168_2.setSize(Node168_2rect.width,Node168_2rect.height);
  21384. Node168_2.setStyle("opacity",1);
  21385. Node168_2.s({'pixelPerfect':true});
  21386. Node168_2borderwidth=1;
  21387. Node168_2.setRotation(0);
  21388. dataModel.add(Node168_2);
  21389. Node168_2.a('node.points',Node168_2compspts);
  21390. Node168_2.a('node.segments',[1,2]);
  21391. Node168_2.a('node.color','rgba(255,0,255,1)');
  21392. Node168_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21393. Node168_2.a('node.borderColor','rgba(255,0,255,1)');
  21394. Node168_2.a('node.background','rgba(255,0,255,1)');
  21395. Node168_2.a('node.gradient','');
  21396. Node168_2.a('node.gradientcolor','rgba(255,0,255,1)');
  21397. Node168_2.a('node.endCompspts',Node168_2endCompspts);
  21398. Node168_2.a('node.startCompspts',Node168_2startCompspts);
  21399. (function (node, img, compspts, endCompspts, startCompspts) {
  21400. var position = node.getPosition(),
  21401. w = node.getWidth()*_ratio.ratioX,
  21402. h = node.getHeight()*_ratio.ratioY;
  21403. function resetPoints(rx, ry) {
  21404. for (var i = 0, len = compspts.length; i < len; i++) {
  21405. if (i%2 === 0) {
  21406. compspts[i]*=rx;
  21407. } else {
  21408. compspts[i]*=ry;
  21409. }
  21410. }
  21411. endCompspts[0] = compspts[compspts.length-2];
  21412. endCompspts[1] = compspts[compspts.length-1];
  21413. endCompspts[2] *= rx;
  21414. endCompspts[3] *= ry;
  21415. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21416. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21417. startCompspts[0] = compspts[0];
  21418. startCompspts[1] = compspts[1];
  21419. startCompspts[2] *= rx;
  21420. startCompspts[3] *= ry;
  21421. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21422. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21423. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21424. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21425. }
  21426. node.setSize(w, h);
  21427. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21428. node.a('node.width', w);
  21429. node.a('node.height', h);
  21430. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21431. node.borderWidth = 1;
  21432. node.a('node.borderwidth',node.borderWidth);
  21433. node._nodename = 'Node168_2';
  21434. node._nodeType = 'line';
  21435. zoomNodeList.push({
  21436. node: node,
  21437. attr: 'node.borderwidth'
  21438. });
  21439. var setWidth = node.setWidth,
  21440. setHeight = node.setHeight,
  21441. timer, rx = 1, ry = 1;
  21442. node.setWidth = function (width) {
  21443. var _width = this.getWidth();
  21444. rx = width / _width;
  21445. node.a('node.width', width);
  21446. setWidth.apply(this, arguments);
  21447. resetPoints(rx, 1);
  21448. }
  21449. node.setHeight = function (height) {
  21450. var _height = this.getHeight();
  21451. ry = height / _height;
  21452. node.a('node.height', height);
  21453. setHeight.apply(this, arguments);
  21454. resetPoints(1, ry);
  21455. }
  21456. })(Node168_2, Node168_2.getImage(), Node168_2compspts, Node168_2endCompspts, Node168_2startCompspts);
  21457. var Node168_3points=[1345, 235,1345, 229],
  21458. Node168_3rect=ht.Default.unionPoint([{x:1345,y:235},{x:1345,y:229}]),
  21459. Node168_3compspts=[];
  21460. _ratio = GD.getRatioWithRotation(0, ratio);
  21461. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  21462. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  21463. for(var i=0;i<Node168_3points.length;i++){
  21464. if(i%2==0){
  21465. Node168_3compspts.push(Node168_3points[i]-Node168_3rect.x);
  21466. }else{
  21467. Node168_3compspts.push(Node168_3points[i]-Node168_3rect.y);
  21468. }
  21469. }
  21470. var Node168_3ptslength=Node168_3compspts.length;
  21471. if (Node168_3rect.height === 0) {
  21472. Node168_3compspts[0] -= 0;
  21473. Node168_3compspts[Node168_3ptslength-2] += 0;
  21474. } else if (Node168_3rect.width === 0){
  21475. Node168_3compspts[1] -= 0;
  21476. Node168_3compspts[Node168_3ptslength-1] += 0;
  21477. } else {
  21478. Node168_3compspts[0] -= 0;
  21479. Node168_3compspts[1] -= 0;
  21480. Node168_3compspts[Node168_3ptslength-2] += 0;
  21481. Node168_3compspts[Node168_3ptslength-1] += 0;
  21482. }
  21483. Node168_3 = new ht.Node();
  21484. Node168_3.borderWidth = 1;
  21485. Node168_3rect.width = Node168_3rect.width === 0 ? 0.0001 : Node168_3rect.width;
  21486. Node168_3rect.height = Node168_3rect.height === 0 ? 0.0001 : Node168_3rect.height;
  21487. var Node168_3endCompspts = [Node168_3compspts[Node168_3ptslength-2],Node168_3compspts[Node168_3ptslength-1],0,0];
  21488. var Node168_3startCompspts = [Node168_3compspts[0],Node168_3compspts[1],0,0];
  21489. Node168_3.setImage(GD.getPolyLineJSON());
  21490. Node168_3.setPosition(Node168_3rect.x+Node168_3rect.width/2,Node168_3rect.y+Node168_3rect.height/2);
  21491. Node168_3.setSize(Node168_3rect.width,Node168_3rect.height);
  21492. Node168_3.setStyle("opacity",1);
  21493. Node168_3.s({'pixelPerfect':true});
  21494. Node168_3borderwidth=1;
  21495. Node168_3.setRotation(0);
  21496. dataModel.add(Node168_3);
  21497. Node168_3.a('node.points',Node168_3compspts);
  21498. Node168_3.a('node.segments',[1,2]);
  21499. Node168_3.a('node.color','rgba(255,0,255,1)');
  21500. Node168_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21501. Node168_3.a('node.borderColor','rgba(255,0,255,1)');
  21502. Node168_3.a('node.background','rgba(255,0,255,1)');
  21503. Node168_3.a('node.gradient','');
  21504. Node168_3.a('node.gradientcolor','rgba(255,0,255,1)');
  21505. Node168_3.a('node.endCompspts',Node168_3endCompspts);
  21506. Node168_3.a('node.startCompspts',Node168_3startCompspts);
  21507. (function (node, img, compspts, endCompspts, startCompspts) {
  21508. var position = node.getPosition(),
  21509. w = node.getWidth()*_ratio.ratioX,
  21510. h = node.getHeight()*_ratio.ratioY;
  21511. function resetPoints(rx, ry) {
  21512. for (var i = 0, len = compspts.length; i < len; i++) {
  21513. if (i%2 === 0) {
  21514. compspts[i]*=rx;
  21515. } else {
  21516. compspts[i]*=ry;
  21517. }
  21518. }
  21519. endCompspts[0] = compspts[compspts.length-2];
  21520. endCompspts[1] = compspts[compspts.length-1];
  21521. endCompspts[2] *= rx;
  21522. endCompspts[3] *= ry;
  21523. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21524. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21525. startCompspts[0] = compspts[0];
  21526. startCompspts[1] = compspts[1];
  21527. startCompspts[2] *= rx;
  21528. startCompspts[3] *= ry;
  21529. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21530. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21531. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21532. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21533. }
  21534. node.setSize(w, h);
  21535. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21536. node.a('node.width', w);
  21537. node.a('node.height', h);
  21538. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21539. node.borderWidth = 1;
  21540. node.a('node.borderwidth',node.borderWidth);
  21541. node._nodename = 'Node168_3';
  21542. node._nodeType = 'line';
  21543. zoomNodeList.push({
  21544. node: node,
  21545. attr: 'node.borderwidth'
  21546. });
  21547. var setWidth = node.setWidth,
  21548. setHeight = node.setHeight,
  21549. timer, rx = 1, ry = 1;
  21550. node.setWidth = function (width) {
  21551. var _width = this.getWidth();
  21552. rx = width / _width;
  21553. node.a('node.width', width);
  21554. setWidth.apply(this, arguments);
  21555. resetPoints(rx, 1);
  21556. }
  21557. node.setHeight = function (height) {
  21558. var _height = this.getHeight();
  21559. ry = height / _height;
  21560. node.a('node.height', height);
  21561. setHeight.apply(this, arguments);
  21562. resetPoints(1, ry);
  21563. }
  21564. })(Node168_3, Node168_3.getImage(), Node168_3compspts, Node168_3endCompspts, Node168_3startCompspts);
  21565. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21566. var Node168boundtype = 'rect';
  21567. var Node168bound = new ht.Node(),
  21568. Node168boundBorderWidth = 0*2;
  21569. if (Node168boundtype === 'arc') {
  21570. Node168boundBorderWidth *= 0;
  21571. }
  21572. Node168bound.setImage(GD.getRectJSON(16.08081*_ratio.ratioX, 12.90536*_ratio.ratioY, Node168boundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
  21573. Node168bound.setPosition(1345*ratio.ratioX, 236*ratio.ratioY);
  21574. Node168bound.setSize(16.08081*_ratio.ratioX, 12.90536*_ratio.ratioY);
  21575. Node168bound.s({
  21576. 'pixelPerfect':true
  21577. /*@AddPara@*/
  21578. });
  21579. Node168bound.a('node.width', 16.08081*_ratio.ratioX);
  21580. Node168bound.a('node.height', 12.90536*_ratio.ratioY);
  21581. Node168bound.a('node.type', Node168boundtype);
  21582. Node168bound.a('node.rect', [0, 0, 16.08081*_ratio.ratioX, 12.90536*_ratio.ratioY]);
  21583. Node168bound.a('node.background', 'rgba(255,255,255,0.003921569)');
  21584. Node168bound.a('node.gradientcolor', '');
  21585. Node168bound.a('node.gradient', '');
  21586. Node168bound.a('node.borderwidth', Node168boundBorderWidth);
  21587. Node168bound.a('node.color', 'rgba(0,0,0,1)');
  21588. Node168bound.a('node.fillrect', [0,0,0,0]);
  21589. Node168bound.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  21590. Node168bound.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  21591. Node168bound.a('node.fillgradient', '');
  21592. if (Node168boundtype !== 'rect') {
  21593. Node168bound.a('node.arcFrom', parseFloat('@arcFrom@'));
  21594. Node168bound.a('node.arcTo', parseFloat('@arcTo@'));
  21595. Node168bound.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  21596. }
  21597. if (Node168boundtype === 'arc') {
  21598. Node168bound.a('node.arcOval', true);
  21599. }
  21600. Node168bound.setRotation(0*Math.PI/180);
  21601. Node168bound.borderWidth = Node168boundBorderWidth;
  21602. Node168bound.borderFillwidth = Node168boundBorderWidth;
  21603. dataModel.add(Node168bound);
  21604. Node168bound._nodename = 'Node168bound'
  21605. Node168bound._nodeType = 'rect';
  21606. zoomNodeList.push({
  21607. node: Node168bound,
  21608. attr: 'node.borderwidth'
  21609. });
  21610. (function (node, _img) {
  21611. var setWidth = node.setWidth,
  21612. setHeight = node.setHeight;
  21613. node.setWidth = function (width) {
  21614. if (width === this.getWidth()) return ;
  21615. var height = this.getHeight();
  21616. this.a('node.width', width);
  21617. this.a('node.rect', [0,0,width, height]);
  21618. setWidth.apply(this, arguments);
  21619. }
  21620. node.setHeight = function (height) {
  21621. if (height === this.getHeight()) return ;
  21622. var width = this.getWidth();
  21623. this.a('node.height', height);
  21624. this.a('node.rect', [0,0,width, height]);
  21625. setHeight.apply(this, arguments);
  21626. }
  21627. })(Node168bound, Node168bound.getImage());var Node169_0points=[479, 480,486, 480],
  21628. Node169_0rect=ht.Default.unionPoint([{x:479,y:480},{x:486,y:480}]),
  21629. Node169_0compspts=[];
  21630. _ratio = GD.getRatioWithRotation(0, ratio);
  21631. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  21632. _endratio = GD.getRatioWithRotation(0, ratio);
  21633. for(var i=0;i<Node169_0points.length;i++){
  21634. if(i%2==0){
  21635. Node169_0compspts.push(Node169_0points[i]-Node169_0rect.x);
  21636. }else{
  21637. Node169_0compspts.push(Node169_0points[i]-Node169_0rect.y);
  21638. }
  21639. }
  21640. var Node169_0ptslength=Node169_0compspts.length;
  21641. if (Node169_0rect.height === 0) {
  21642. Node169_0compspts[0] -= 0;
  21643. Node169_0compspts[Node169_0ptslength-2] += 0;
  21644. } else if (Node169_0rect.width === 0){
  21645. Node169_0compspts[1] -= 0;
  21646. Node169_0compspts[Node169_0ptslength-1] += 0;
  21647. } else {
  21648. Node169_0compspts[0] -= 0;
  21649. Node169_0compspts[1] -= 0;
  21650. Node169_0compspts[Node169_0ptslength-2] += 0;
  21651. Node169_0compspts[Node169_0ptslength-1] += 0;
  21652. }
  21653. Node169_0 = new ht.Node();
  21654. Node169_0.borderWidth = 1;
  21655. Node169_0rect.width = Node169_0rect.width === 0 ? 0.0001 : Node169_0rect.width;
  21656. Node169_0rect.height = Node169_0rect.height === 0 ? 0.0001 : Node169_0rect.height;
  21657. var Node169_0endCompspts = [Node169_0compspts[Node169_0ptslength-2],Node169_0compspts[Node169_0ptslength-1],0,0];
  21658. var Node169_0startCompspts = [Node169_0compspts[0],Node169_0compspts[1],0,0];
  21659. Node169_0.setImage(GD.getPolyLineJSON());
  21660. Node169_0.setPosition(Node169_0rect.x+Node169_0rect.width/2,Node169_0rect.y+Node169_0rect.height/2);
  21661. Node169_0.setSize(Node169_0rect.width,Node169_0rect.height);
  21662. Node169_0.setStyle("opacity",1);
  21663. Node169_0.s({'pixelPerfect':true});
  21664. Node169_0borderwidth=1;
  21665. Node169_0.setRotation(0);
  21666. dataModel.add(Node169_0);
  21667. Node169_0.a('node.points',Node169_0compspts);
  21668. Node169_0.a('node.segments',[1,2]);
  21669. Node169_0.a('node.color','rgba(255,128,0,1)');
  21670. Node169_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21671. Node169_0.a('node.borderColor','rgba(255,128,0,1)');
  21672. Node169_0.a('node.background','rgba(255,128,0,1)');
  21673. Node169_0.a('node.gradient','');
  21674. Node169_0.a('node.gradientcolor','rgba(255,128,0,1)');
  21675. Node169_0.a('node.endCompspts',Node169_0endCompspts);
  21676. Node169_0.a('node.startCompspts',Node169_0startCompspts);
  21677. (function (node, img, compspts, endCompspts, startCompspts) {
  21678. var position = node.getPosition(),
  21679. w = node.getWidth()*_ratio.ratioX,
  21680. h = node.getHeight()*_ratio.ratioY;
  21681. function resetPoints(rx, ry) {
  21682. for (var i = 0, len = compspts.length; i < len; i++) {
  21683. if (i%2 === 0) {
  21684. compspts[i]*=rx;
  21685. } else {
  21686. compspts[i]*=ry;
  21687. }
  21688. }
  21689. endCompspts[0] = compspts[compspts.length-2];
  21690. endCompspts[1] = compspts[compspts.length-1];
  21691. endCompspts[2] *= rx;
  21692. endCompspts[3] *= ry;
  21693. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21694. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21695. startCompspts[0] = compspts[0];
  21696. startCompspts[1] = compspts[1];
  21697. startCompspts[2] *= rx;
  21698. startCompspts[3] *= ry;
  21699. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21700. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21701. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21702. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21703. }
  21704. node.setSize(w, h);
  21705. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21706. node.a('node.width', w);
  21707. node.a('node.height', h);
  21708. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21709. node.borderWidth = 1;
  21710. node.a('node.borderwidth',node.borderWidth);
  21711. node._nodename = 'Node169_0';
  21712. node._nodeType = 'line';
  21713. zoomNodeList.push({
  21714. node: node,
  21715. attr: 'node.borderwidth'
  21716. });
  21717. var setWidth = node.setWidth,
  21718. setHeight = node.setHeight,
  21719. timer, rx = 1, ry = 1;
  21720. node.setWidth = function (width) {
  21721. var _width = this.getWidth();
  21722. rx = width / _width;
  21723. node.a('node.width', width);
  21724. setWidth.apply(this, arguments);
  21725. resetPoints(rx, 1);
  21726. }
  21727. node.setHeight = function (height) {
  21728. var _height = this.getHeight();
  21729. ry = height / _height;
  21730. node.a('node.height', height);
  21731. setHeight.apply(this, arguments);
  21732. resetPoints(1, ry);
  21733. }
  21734. })(Node169_0, Node169_0.getImage(), Node169_0compspts, Node169_0endCompspts, Node169_0startCompspts);
  21735. var Node169_1points=[477, 477,488, 477],
  21736. Node169_1rect=ht.Default.unionPoint([{x:477,y:477},{x:488,y:477}]),
  21737. Node169_1compspts=[];
  21738. _ratio = GD.getRatioWithRotation(0, ratio);
  21739. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  21740. _endratio = GD.getRatioWithRotation(0, ratio);
  21741. for(var i=0;i<Node169_1points.length;i++){
  21742. if(i%2==0){
  21743. Node169_1compspts.push(Node169_1points[i]-Node169_1rect.x);
  21744. }else{
  21745. Node169_1compspts.push(Node169_1points[i]-Node169_1rect.y);
  21746. }
  21747. }
  21748. var Node169_1ptslength=Node169_1compspts.length;
  21749. if (Node169_1rect.height === 0) {
  21750. Node169_1compspts[0] -= 0;
  21751. Node169_1compspts[Node169_1ptslength-2] += 0;
  21752. } else if (Node169_1rect.width === 0){
  21753. Node169_1compspts[1] -= 0;
  21754. Node169_1compspts[Node169_1ptslength-1] += 0;
  21755. } else {
  21756. Node169_1compspts[0] -= 0;
  21757. Node169_1compspts[1] -= 0;
  21758. Node169_1compspts[Node169_1ptslength-2] += 0;
  21759. Node169_1compspts[Node169_1ptslength-1] += 0;
  21760. }
  21761. Node169_1 = new ht.Node();
  21762. Node169_1.borderWidth = 1;
  21763. Node169_1rect.width = Node169_1rect.width === 0 ? 0.0001 : Node169_1rect.width;
  21764. Node169_1rect.height = Node169_1rect.height === 0 ? 0.0001 : Node169_1rect.height;
  21765. var Node169_1endCompspts = [Node169_1compspts[Node169_1ptslength-2],Node169_1compspts[Node169_1ptslength-1],0,0];
  21766. var Node169_1startCompspts = [Node169_1compspts[0],Node169_1compspts[1],0,0];
  21767. Node169_1.setImage(GD.getPolyLineJSON());
  21768. Node169_1.setPosition(Node169_1rect.x+Node169_1rect.width/2,Node169_1rect.y+Node169_1rect.height/2);
  21769. Node169_1.setSize(Node169_1rect.width,Node169_1rect.height);
  21770. Node169_1.setStyle("opacity",1);
  21771. Node169_1.s({'pixelPerfect':true});
  21772. Node169_1borderwidth=1;
  21773. Node169_1.setRotation(0);
  21774. dataModel.add(Node169_1);
  21775. Node169_1.a('node.points',Node169_1compspts);
  21776. Node169_1.a('node.segments',[1,2]);
  21777. Node169_1.a('node.color','rgba(255,128,0,1)');
  21778. Node169_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21779. Node169_1.a('node.borderColor','rgba(255,128,0,1)');
  21780. Node169_1.a('node.background','rgba(255,128,0,1)');
  21781. Node169_1.a('node.gradient','');
  21782. Node169_1.a('node.gradientcolor','rgba(255,128,0,1)');
  21783. Node169_1.a('node.endCompspts',Node169_1endCompspts);
  21784. Node169_1.a('node.startCompspts',Node169_1startCompspts);
  21785. (function (node, img, compspts, endCompspts, startCompspts) {
  21786. var position = node.getPosition(),
  21787. w = node.getWidth()*_ratio.ratioX,
  21788. h = node.getHeight()*_ratio.ratioY;
  21789. function resetPoints(rx, ry) {
  21790. for (var i = 0, len = compspts.length; i < len; i++) {
  21791. if (i%2 === 0) {
  21792. compspts[i]*=rx;
  21793. } else {
  21794. compspts[i]*=ry;
  21795. }
  21796. }
  21797. endCompspts[0] = compspts[compspts.length-2];
  21798. endCompspts[1] = compspts[compspts.length-1];
  21799. endCompspts[2] *= rx;
  21800. endCompspts[3] *= ry;
  21801. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21802. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21803. startCompspts[0] = compspts[0];
  21804. startCompspts[1] = compspts[1];
  21805. startCompspts[2] *= rx;
  21806. startCompspts[3] *= ry;
  21807. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21808. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21809. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21810. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21811. }
  21812. node.setSize(w, h);
  21813. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21814. node.a('node.width', w);
  21815. node.a('node.height', h);
  21816. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21817. node.borderWidth = 1;
  21818. node.a('node.borderwidth',node.borderWidth);
  21819. node._nodename = 'Node169_1';
  21820. node._nodeType = 'line';
  21821. zoomNodeList.push({
  21822. node: node,
  21823. attr: 'node.borderwidth'
  21824. });
  21825. var setWidth = node.setWidth,
  21826. setHeight = node.setHeight,
  21827. timer, rx = 1, ry = 1;
  21828. node.setWidth = function (width) {
  21829. var _width = this.getWidth();
  21830. rx = width / _width;
  21831. node.a('node.width', width);
  21832. setWidth.apply(this, arguments);
  21833. resetPoints(rx, 1);
  21834. }
  21835. node.setHeight = function (height) {
  21836. var _height = this.getHeight();
  21837. ry = height / _height;
  21838. node.a('node.height', height);
  21839. setHeight.apply(this, arguments);
  21840. resetPoints(1, ry);
  21841. }
  21842. })(Node169_1, Node169_1.getImage(), Node169_1compspts, Node169_1endCompspts, Node169_1startCompspts);
  21843. var Node169_2points=[475, 474,491, 474],
  21844. Node169_2rect=ht.Default.unionPoint([{x:475,y:474},{x:491,y:474}]),
  21845. Node169_2compspts=[];
  21846. _ratio = GD.getRatioWithRotation(0, ratio);
  21847. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  21848. _endratio = GD.getRatioWithRotation(0, ratio);
  21849. for(var i=0;i<Node169_2points.length;i++){
  21850. if(i%2==0){
  21851. Node169_2compspts.push(Node169_2points[i]-Node169_2rect.x);
  21852. }else{
  21853. Node169_2compspts.push(Node169_2points[i]-Node169_2rect.y);
  21854. }
  21855. }
  21856. var Node169_2ptslength=Node169_2compspts.length;
  21857. if (Node169_2rect.height === 0) {
  21858. Node169_2compspts[0] -= 0;
  21859. Node169_2compspts[Node169_2ptslength-2] += 0;
  21860. } else if (Node169_2rect.width === 0){
  21861. Node169_2compspts[1] -= 0;
  21862. Node169_2compspts[Node169_2ptslength-1] += 0;
  21863. } else {
  21864. Node169_2compspts[0] -= 0;
  21865. Node169_2compspts[1] -= 0;
  21866. Node169_2compspts[Node169_2ptslength-2] += 0;
  21867. Node169_2compspts[Node169_2ptslength-1] += 0;
  21868. }
  21869. Node169_2 = new ht.Node();
  21870. Node169_2.borderWidth = 1;
  21871. Node169_2rect.width = Node169_2rect.width === 0 ? 0.0001 : Node169_2rect.width;
  21872. Node169_2rect.height = Node169_2rect.height === 0 ? 0.0001 : Node169_2rect.height;
  21873. var Node169_2endCompspts = [Node169_2compspts[Node169_2ptslength-2],Node169_2compspts[Node169_2ptslength-1],0,0];
  21874. var Node169_2startCompspts = [Node169_2compspts[0],Node169_2compspts[1],0,0];
  21875. Node169_2.setImage(GD.getPolyLineJSON());
  21876. Node169_2.setPosition(Node169_2rect.x+Node169_2rect.width/2,Node169_2rect.y+Node169_2rect.height/2);
  21877. Node169_2.setSize(Node169_2rect.width,Node169_2rect.height);
  21878. Node169_2.setStyle("opacity",1);
  21879. Node169_2.s({'pixelPerfect':true});
  21880. Node169_2borderwidth=1;
  21881. Node169_2.setRotation(0);
  21882. dataModel.add(Node169_2);
  21883. Node169_2.a('node.points',Node169_2compspts);
  21884. Node169_2.a('node.segments',[1,2]);
  21885. Node169_2.a('node.color','rgba(255,128,0,1)');
  21886. Node169_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21887. Node169_2.a('node.borderColor','rgba(255,128,0,1)');
  21888. Node169_2.a('node.background','rgba(255,128,0,1)');
  21889. Node169_2.a('node.gradient','');
  21890. Node169_2.a('node.gradientcolor','rgba(255,128,0,1)');
  21891. Node169_2.a('node.endCompspts',Node169_2endCompspts);
  21892. Node169_2.a('node.startCompspts',Node169_2startCompspts);
  21893. (function (node, img, compspts, endCompspts, startCompspts) {
  21894. var position = node.getPosition(),
  21895. w = node.getWidth()*_ratio.ratioX,
  21896. h = node.getHeight()*_ratio.ratioY;
  21897. function resetPoints(rx, ry) {
  21898. for (var i = 0, len = compspts.length; i < len; i++) {
  21899. if (i%2 === 0) {
  21900. compspts[i]*=rx;
  21901. } else {
  21902. compspts[i]*=ry;
  21903. }
  21904. }
  21905. endCompspts[0] = compspts[compspts.length-2];
  21906. endCompspts[1] = compspts[compspts.length-1];
  21907. endCompspts[2] *= rx;
  21908. endCompspts[3] *= ry;
  21909. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  21910. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  21911. startCompspts[0] = compspts[0];
  21912. startCompspts[1] = compspts[1];
  21913. startCompspts[2] *= rx;
  21914. startCompspts[3] *= ry;
  21915. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  21916. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  21917. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  21918. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  21919. }
  21920. node.setSize(w, h);
  21921. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  21922. node.a('node.width', w);
  21923. node.a('node.height', h);
  21924. resetPoints(_ratio.ratioX, _ratio.ratioY);
  21925. node.borderWidth = 1;
  21926. node.a('node.borderwidth',node.borderWidth);
  21927. node._nodename = 'Node169_2';
  21928. node._nodeType = 'line';
  21929. zoomNodeList.push({
  21930. node: node,
  21931. attr: 'node.borderwidth'
  21932. });
  21933. var setWidth = node.setWidth,
  21934. setHeight = node.setHeight,
  21935. timer, rx = 1, ry = 1;
  21936. node.setWidth = function (width) {
  21937. var _width = this.getWidth();
  21938. rx = width / _width;
  21939. node.a('node.width', width);
  21940. setWidth.apply(this, arguments);
  21941. resetPoints(rx, 1);
  21942. }
  21943. node.setHeight = function (height) {
  21944. var _height = this.getHeight();
  21945. ry = height / _height;
  21946. node.a('node.height', height);
  21947. setHeight.apply(this, arguments);
  21948. resetPoints(1, ry);
  21949. }
  21950. })(Node169_2, Node169_2.getImage(), Node169_2compspts, Node169_2endCompspts, Node169_2startCompspts);
  21951. var Node169_3points=[483, 474,483, 468],
  21952. Node169_3rect=ht.Default.unionPoint([{x:483,y:474},{x:483,y:468}]),
  21953. Node169_3compspts=[];
  21954. _ratio = GD.getRatioWithRotation(0, ratio);
  21955. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  21956. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  21957. for(var i=0;i<Node169_3points.length;i++){
  21958. if(i%2==0){
  21959. Node169_3compspts.push(Node169_3points[i]-Node169_3rect.x);
  21960. }else{
  21961. Node169_3compspts.push(Node169_3points[i]-Node169_3rect.y);
  21962. }
  21963. }
  21964. var Node169_3ptslength=Node169_3compspts.length;
  21965. if (Node169_3rect.height === 0) {
  21966. Node169_3compspts[0] -= 0;
  21967. Node169_3compspts[Node169_3ptslength-2] += 0;
  21968. } else if (Node169_3rect.width === 0){
  21969. Node169_3compspts[1] -= 0;
  21970. Node169_3compspts[Node169_3ptslength-1] += 0;
  21971. } else {
  21972. Node169_3compspts[0] -= 0;
  21973. Node169_3compspts[1] -= 0;
  21974. Node169_3compspts[Node169_3ptslength-2] += 0;
  21975. Node169_3compspts[Node169_3ptslength-1] += 0;
  21976. }
  21977. Node169_3 = new ht.Node();
  21978. Node169_3.borderWidth = 1;
  21979. Node169_3rect.width = Node169_3rect.width === 0 ? 0.0001 : Node169_3rect.width;
  21980. Node169_3rect.height = Node169_3rect.height === 0 ? 0.0001 : Node169_3rect.height;
  21981. var Node169_3endCompspts = [Node169_3compspts[Node169_3ptslength-2],Node169_3compspts[Node169_3ptslength-1],0,0];
  21982. var Node169_3startCompspts = [Node169_3compspts[0],Node169_3compspts[1],0,0];
  21983. Node169_3.setImage(GD.getPolyLineJSON());
  21984. Node169_3.setPosition(Node169_3rect.x+Node169_3rect.width/2,Node169_3rect.y+Node169_3rect.height/2);
  21985. Node169_3.setSize(Node169_3rect.width,Node169_3rect.height);
  21986. Node169_3.setStyle("opacity",1);
  21987. Node169_3.s({'pixelPerfect':true});
  21988. Node169_3borderwidth=1;
  21989. Node169_3.setRotation(0);
  21990. dataModel.add(Node169_3);
  21991. Node169_3.a('node.points',Node169_3compspts);
  21992. Node169_3.a('node.segments',[1,2]);
  21993. Node169_3.a('node.color','rgba(255,128,0,1)');
  21994. Node169_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  21995. Node169_3.a('node.borderColor','rgba(255,128,0,1)');
  21996. Node169_3.a('node.background','rgba(255,128,0,1)');
  21997. Node169_3.a('node.gradient','');
  21998. Node169_3.a('node.gradientcolor','rgba(255,128,0,1)');
  21999. Node169_3.a('node.endCompspts',Node169_3endCompspts);
  22000. Node169_3.a('node.startCompspts',Node169_3startCompspts);
  22001. (function (node, img, compspts, endCompspts, startCompspts) {
  22002. var position = node.getPosition(),
  22003. w = node.getWidth()*_ratio.ratioX,
  22004. h = node.getHeight()*_ratio.ratioY;
  22005. function resetPoints(rx, ry) {
  22006. for (var i = 0, len = compspts.length; i < len; i++) {
  22007. if (i%2 === 0) {
  22008. compspts[i]*=rx;
  22009. } else {
  22010. compspts[i]*=ry;
  22011. }
  22012. }
  22013. endCompspts[0] = compspts[compspts.length-2];
  22014. endCompspts[1] = compspts[compspts.length-1];
  22015. endCompspts[2] *= rx;
  22016. endCompspts[3] *= ry;
  22017. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22018. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22019. startCompspts[0] = compspts[0];
  22020. startCompspts[1] = compspts[1];
  22021. startCompspts[2] *= rx;
  22022. startCompspts[3] *= ry;
  22023. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22024. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22025. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22026. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22027. }
  22028. node.setSize(w, h);
  22029. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22030. node.a('node.width', w);
  22031. node.a('node.height', h);
  22032. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22033. node.borderWidth = 1;
  22034. node.a('node.borderwidth',node.borderWidth);
  22035. node._nodename = 'Node169_3';
  22036. node._nodeType = 'line';
  22037. zoomNodeList.push({
  22038. node: node,
  22039. attr: 'node.borderwidth'
  22040. });
  22041. var setWidth = node.setWidth,
  22042. setHeight = node.setHeight,
  22043. timer, rx = 1, ry = 1;
  22044. node.setWidth = function (width) {
  22045. var _width = this.getWidth();
  22046. rx = width / _width;
  22047. node.a('node.width', width);
  22048. setWidth.apply(this, arguments);
  22049. resetPoints(rx, 1);
  22050. }
  22051. node.setHeight = function (height) {
  22052. var _height = this.getHeight();
  22053. ry = height / _height;
  22054. node.a('node.height', height);
  22055. setHeight.apply(this, arguments);
  22056. resetPoints(1, ry);
  22057. }
  22058. })(Node169_3, Node169_3.getImage(), Node169_3compspts, Node169_3endCompspts, Node169_3startCompspts);
  22059. var Node170_0points=[351, 496,357, 496],
  22060. Node170_0rect=ht.Default.unionPoint([{x:351,y:496},{x:357,y:496}]),
  22061. Node170_0compspts=[];
  22062. _ratio = GD.getRatioWithRotation(0, ratio);
  22063. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22064. _endratio = GD.getRatioWithRotation(0, ratio);
  22065. for(var i=0;i<Node170_0points.length;i++){
  22066. if(i%2==0){
  22067. Node170_0compspts.push(Node170_0points[i]-Node170_0rect.x);
  22068. }else{
  22069. Node170_0compspts.push(Node170_0points[i]-Node170_0rect.y);
  22070. }
  22071. }
  22072. var Node170_0ptslength=Node170_0compspts.length;
  22073. if (Node170_0rect.height === 0) {
  22074. Node170_0compspts[0] -= 0;
  22075. Node170_0compspts[Node170_0ptslength-2] += 0;
  22076. } else if (Node170_0rect.width === 0){
  22077. Node170_0compspts[1] -= 0;
  22078. Node170_0compspts[Node170_0ptslength-1] += 0;
  22079. } else {
  22080. Node170_0compspts[0] -= 0;
  22081. Node170_0compspts[1] -= 0;
  22082. Node170_0compspts[Node170_0ptslength-2] += 0;
  22083. Node170_0compspts[Node170_0ptslength-1] += 0;
  22084. }
  22085. Node170_0 = new ht.Node();
  22086. Node170_0.borderWidth = 1;
  22087. Node170_0rect.width = Node170_0rect.width === 0 ? 0.0001 : Node170_0rect.width;
  22088. Node170_0rect.height = Node170_0rect.height === 0 ? 0.0001 : Node170_0rect.height;
  22089. var Node170_0endCompspts = [Node170_0compspts[Node170_0ptslength-2],Node170_0compspts[Node170_0ptslength-1],0,0];
  22090. var Node170_0startCompspts = [Node170_0compspts[0],Node170_0compspts[1],0,0];
  22091. Node170_0.setImage(GD.getPolyLineJSON());
  22092. Node170_0.setPosition(Node170_0rect.x+Node170_0rect.width/2,Node170_0rect.y+Node170_0rect.height/2);
  22093. Node170_0.setSize(Node170_0rect.width,Node170_0rect.height);
  22094. Node170_0.setStyle("opacity",1);
  22095. Node170_0.s({'pixelPerfect':true});
  22096. Node170_0borderwidth=1;
  22097. Node170_0.setRotation(0);
  22098. dataModel.add(Node170_0);
  22099. Node170_0.a('node.points',Node170_0compspts);
  22100. Node170_0.a('node.segments',[1,2]);
  22101. Node170_0.a('node.color','rgba(255,128,0,1)');
  22102. Node170_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22103. Node170_0.a('node.borderColor','rgba(255,128,0,1)');
  22104. Node170_0.a('node.background','rgba(255,128,0,1)');
  22105. Node170_0.a('node.gradient','');
  22106. Node170_0.a('node.gradientcolor','rgba(255,128,0,1)');
  22107. Node170_0.a('node.endCompspts',Node170_0endCompspts);
  22108. Node170_0.a('node.startCompspts',Node170_0startCompspts);
  22109. (function (node, img, compspts, endCompspts, startCompspts) {
  22110. var position = node.getPosition(),
  22111. w = node.getWidth()*_ratio.ratioX,
  22112. h = node.getHeight()*_ratio.ratioY;
  22113. function resetPoints(rx, ry) {
  22114. for (var i = 0, len = compspts.length; i < len; i++) {
  22115. if (i%2 === 0) {
  22116. compspts[i]*=rx;
  22117. } else {
  22118. compspts[i]*=ry;
  22119. }
  22120. }
  22121. endCompspts[0] = compspts[compspts.length-2];
  22122. endCompspts[1] = compspts[compspts.length-1];
  22123. endCompspts[2] *= rx;
  22124. endCompspts[3] *= ry;
  22125. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22126. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22127. startCompspts[0] = compspts[0];
  22128. startCompspts[1] = compspts[1];
  22129. startCompspts[2] *= rx;
  22130. startCompspts[3] *= ry;
  22131. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22132. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22133. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22134. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22135. }
  22136. node.setSize(w, h);
  22137. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22138. node.a('node.width', w);
  22139. node.a('node.height', h);
  22140. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22141. node.borderWidth = 1;
  22142. node.a('node.borderwidth',node.borderWidth);
  22143. node._nodename = 'Node170_0';
  22144. node._nodeType = 'line';
  22145. zoomNodeList.push({
  22146. node: node,
  22147. attr: 'node.borderwidth'
  22148. });
  22149. var setWidth = node.setWidth,
  22150. setHeight = node.setHeight,
  22151. timer, rx = 1, ry = 1;
  22152. node.setWidth = function (width) {
  22153. var _width = this.getWidth();
  22154. rx = width / _width;
  22155. node.a('node.width', width);
  22156. setWidth.apply(this, arguments);
  22157. resetPoints(rx, 1);
  22158. }
  22159. node.setHeight = function (height) {
  22160. var _height = this.getHeight();
  22161. ry = height / _height;
  22162. node.a('node.height', height);
  22163. setHeight.apply(this, arguments);
  22164. resetPoints(1, ry);
  22165. }
  22166. })(Node170_0, Node170_0.getImage(), Node170_0compspts, Node170_0endCompspts, Node170_0startCompspts);
  22167. var Node170_1points=[349, 493,360, 493],
  22168. Node170_1rect=ht.Default.unionPoint([{x:349,y:493},{x:360,y:493}]),
  22169. Node170_1compspts=[];
  22170. _ratio = GD.getRatioWithRotation(0, ratio);
  22171. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22172. _endratio = GD.getRatioWithRotation(0, ratio);
  22173. for(var i=0;i<Node170_1points.length;i++){
  22174. if(i%2==0){
  22175. Node170_1compspts.push(Node170_1points[i]-Node170_1rect.x);
  22176. }else{
  22177. Node170_1compspts.push(Node170_1points[i]-Node170_1rect.y);
  22178. }
  22179. }
  22180. var Node170_1ptslength=Node170_1compspts.length;
  22181. if (Node170_1rect.height === 0) {
  22182. Node170_1compspts[0] -= 0;
  22183. Node170_1compspts[Node170_1ptslength-2] += 0;
  22184. } else if (Node170_1rect.width === 0){
  22185. Node170_1compspts[1] -= 0;
  22186. Node170_1compspts[Node170_1ptslength-1] += 0;
  22187. } else {
  22188. Node170_1compspts[0] -= 0;
  22189. Node170_1compspts[1] -= 0;
  22190. Node170_1compspts[Node170_1ptslength-2] += 0;
  22191. Node170_1compspts[Node170_1ptslength-1] += 0;
  22192. }
  22193. Node170_1 = new ht.Node();
  22194. Node170_1.borderWidth = 1;
  22195. Node170_1rect.width = Node170_1rect.width === 0 ? 0.0001 : Node170_1rect.width;
  22196. Node170_1rect.height = Node170_1rect.height === 0 ? 0.0001 : Node170_1rect.height;
  22197. var Node170_1endCompspts = [Node170_1compspts[Node170_1ptslength-2],Node170_1compspts[Node170_1ptslength-1],0,0];
  22198. var Node170_1startCompspts = [Node170_1compspts[0],Node170_1compspts[1],0,0];
  22199. Node170_1.setImage(GD.getPolyLineJSON());
  22200. Node170_1.setPosition(Node170_1rect.x+Node170_1rect.width/2,Node170_1rect.y+Node170_1rect.height/2);
  22201. Node170_1.setSize(Node170_1rect.width,Node170_1rect.height);
  22202. Node170_1.setStyle("opacity",1);
  22203. Node170_1.s({'pixelPerfect':true});
  22204. Node170_1borderwidth=1;
  22205. Node170_1.setRotation(0);
  22206. dataModel.add(Node170_1);
  22207. Node170_1.a('node.points',Node170_1compspts);
  22208. Node170_1.a('node.segments',[1,2]);
  22209. Node170_1.a('node.color','rgba(255,128,0,1)');
  22210. Node170_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22211. Node170_1.a('node.borderColor','rgba(255,128,0,1)');
  22212. Node170_1.a('node.background','rgba(255,128,0,1)');
  22213. Node170_1.a('node.gradient','');
  22214. Node170_1.a('node.gradientcolor','rgba(255,128,0,1)');
  22215. Node170_1.a('node.endCompspts',Node170_1endCompspts);
  22216. Node170_1.a('node.startCompspts',Node170_1startCompspts);
  22217. (function (node, img, compspts, endCompspts, startCompspts) {
  22218. var position = node.getPosition(),
  22219. w = node.getWidth()*_ratio.ratioX,
  22220. h = node.getHeight()*_ratio.ratioY;
  22221. function resetPoints(rx, ry) {
  22222. for (var i = 0, len = compspts.length; i < len; i++) {
  22223. if (i%2 === 0) {
  22224. compspts[i]*=rx;
  22225. } else {
  22226. compspts[i]*=ry;
  22227. }
  22228. }
  22229. endCompspts[0] = compspts[compspts.length-2];
  22230. endCompspts[1] = compspts[compspts.length-1];
  22231. endCompspts[2] *= rx;
  22232. endCompspts[3] *= ry;
  22233. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22234. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22235. startCompspts[0] = compspts[0];
  22236. startCompspts[1] = compspts[1];
  22237. startCompspts[2] *= rx;
  22238. startCompspts[3] *= ry;
  22239. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22240. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22241. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22242. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22243. }
  22244. node.setSize(w, h);
  22245. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22246. node.a('node.width', w);
  22247. node.a('node.height', h);
  22248. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22249. node.borderWidth = 1;
  22250. node.a('node.borderwidth',node.borderWidth);
  22251. node._nodename = 'Node170_1';
  22252. node._nodeType = 'line';
  22253. zoomNodeList.push({
  22254. node: node,
  22255. attr: 'node.borderwidth'
  22256. });
  22257. var setWidth = node.setWidth,
  22258. setHeight = node.setHeight,
  22259. timer, rx = 1, ry = 1;
  22260. node.setWidth = function (width) {
  22261. var _width = this.getWidth();
  22262. rx = width / _width;
  22263. node.a('node.width', width);
  22264. setWidth.apply(this, arguments);
  22265. resetPoints(rx, 1);
  22266. }
  22267. node.setHeight = function (height) {
  22268. var _height = this.getHeight();
  22269. ry = height / _height;
  22270. node.a('node.height', height);
  22271. setHeight.apply(this, arguments);
  22272. resetPoints(1, ry);
  22273. }
  22274. })(Node170_1, Node170_1.getImage(), Node170_1compspts, Node170_1endCompspts, Node170_1startCompspts);
  22275. var Node170_2points=[346, 490,362, 490],
  22276. Node170_2rect=ht.Default.unionPoint([{x:346,y:490},{x:362,y:490}]),
  22277. Node170_2compspts=[];
  22278. _ratio = GD.getRatioWithRotation(0, ratio);
  22279. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22280. _endratio = GD.getRatioWithRotation(0, ratio);
  22281. for(var i=0;i<Node170_2points.length;i++){
  22282. if(i%2==0){
  22283. Node170_2compspts.push(Node170_2points[i]-Node170_2rect.x);
  22284. }else{
  22285. Node170_2compspts.push(Node170_2points[i]-Node170_2rect.y);
  22286. }
  22287. }
  22288. var Node170_2ptslength=Node170_2compspts.length;
  22289. if (Node170_2rect.height === 0) {
  22290. Node170_2compspts[0] -= 0;
  22291. Node170_2compspts[Node170_2ptslength-2] += 0;
  22292. } else if (Node170_2rect.width === 0){
  22293. Node170_2compspts[1] -= 0;
  22294. Node170_2compspts[Node170_2ptslength-1] += 0;
  22295. } else {
  22296. Node170_2compspts[0] -= 0;
  22297. Node170_2compspts[1] -= 0;
  22298. Node170_2compspts[Node170_2ptslength-2] += 0;
  22299. Node170_2compspts[Node170_2ptslength-1] += 0;
  22300. }
  22301. Node170_2 = new ht.Node();
  22302. Node170_2.borderWidth = 1;
  22303. Node170_2rect.width = Node170_2rect.width === 0 ? 0.0001 : Node170_2rect.width;
  22304. Node170_2rect.height = Node170_2rect.height === 0 ? 0.0001 : Node170_2rect.height;
  22305. var Node170_2endCompspts = [Node170_2compspts[Node170_2ptslength-2],Node170_2compspts[Node170_2ptslength-1],0,0];
  22306. var Node170_2startCompspts = [Node170_2compspts[0],Node170_2compspts[1],0,0];
  22307. Node170_2.setImage(GD.getPolyLineJSON());
  22308. Node170_2.setPosition(Node170_2rect.x+Node170_2rect.width/2,Node170_2rect.y+Node170_2rect.height/2);
  22309. Node170_2.setSize(Node170_2rect.width,Node170_2rect.height);
  22310. Node170_2.setStyle("opacity",1);
  22311. Node170_2.s({'pixelPerfect':true});
  22312. Node170_2borderwidth=1;
  22313. Node170_2.setRotation(0);
  22314. dataModel.add(Node170_2);
  22315. Node170_2.a('node.points',Node170_2compspts);
  22316. Node170_2.a('node.segments',[1,2]);
  22317. Node170_2.a('node.color','rgba(255,128,0,1)');
  22318. Node170_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22319. Node170_2.a('node.borderColor','rgba(255,128,0,1)');
  22320. Node170_2.a('node.background','rgba(255,128,0,1)');
  22321. Node170_2.a('node.gradient','');
  22322. Node170_2.a('node.gradientcolor','rgba(255,128,0,1)');
  22323. Node170_2.a('node.endCompspts',Node170_2endCompspts);
  22324. Node170_2.a('node.startCompspts',Node170_2startCompspts);
  22325. (function (node, img, compspts, endCompspts, startCompspts) {
  22326. var position = node.getPosition(),
  22327. w = node.getWidth()*_ratio.ratioX,
  22328. h = node.getHeight()*_ratio.ratioY;
  22329. function resetPoints(rx, ry) {
  22330. for (var i = 0, len = compspts.length; i < len; i++) {
  22331. if (i%2 === 0) {
  22332. compspts[i]*=rx;
  22333. } else {
  22334. compspts[i]*=ry;
  22335. }
  22336. }
  22337. endCompspts[0] = compspts[compspts.length-2];
  22338. endCompspts[1] = compspts[compspts.length-1];
  22339. endCompspts[2] *= rx;
  22340. endCompspts[3] *= ry;
  22341. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22342. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22343. startCompspts[0] = compspts[0];
  22344. startCompspts[1] = compspts[1];
  22345. startCompspts[2] *= rx;
  22346. startCompspts[3] *= ry;
  22347. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22348. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22349. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22350. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22351. }
  22352. node.setSize(w, h);
  22353. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22354. node.a('node.width', w);
  22355. node.a('node.height', h);
  22356. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22357. node.borderWidth = 1;
  22358. node.a('node.borderwidth',node.borderWidth);
  22359. node._nodename = 'Node170_2';
  22360. node._nodeType = 'line';
  22361. zoomNodeList.push({
  22362. node: node,
  22363. attr: 'node.borderwidth'
  22364. });
  22365. var setWidth = node.setWidth,
  22366. setHeight = node.setHeight,
  22367. timer, rx = 1, ry = 1;
  22368. node.setWidth = function (width) {
  22369. var _width = this.getWidth();
  22370. rx = width / _width;
  22371. node.a('node.width', width);
  22372. setWidth.apply(this, arguments);
  22373. resetPoints(rx, 1);
  22374. }
  22375. node.setHeight = function (height) {
  22376. var _height = this.getHeight();
  22377. ry = height / _height;
  22378. node.a('node.height', height);
  22379. setHeight.apply(this, arguments);
  22380. resetPoints(1, ry);
  22381. }
  22382. })(Node170_2, Node170_2.getImage(), Node170_2compspts, Node170_2endCompspts, Node170_2startCompspts);
  22383. var Node170_3points=[355, 490,355, 484],
  22384. Node170_3rect=ht.Default.unionPoint([{x:355,y:490},{x:355,y:484}]),
  22385. Node170_3compspts=[];
  22386. _ratio = GD.getRatioWithRotation(0, ratio);
  22387. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  22388. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  22389. for(var i=0;i<Node170_3points.length;i++){
  22390. if(i%2==0){
  22391. Node170_3compspts.push(Node170_3points[i]-Node170_3rect.x);
  22392. }else{
  22393. Node170_3compspts.push(Node170_3points[i]-Node170_3rect.y);
  22394. }
  22395. }
  22396. var Node170_3ptslength=Node170_3compspts.length;
  22397. if (Node170_3rect.height === 0) {
  22398. Node170_3compspts[0] -= 0;
  22399. Node170_3compspts[Node170_3ptslength-2] += 0;
  22400. } else if (Node170_3rect.width === 0){
  22401. Node170_3compspts[1] -= 0;
  22402. Node170_3compspts[Node170_3ptslength-1] += 0;
  22403. } else {
  22404. Node170_3compspts[0] -= 0;
  22405. Node170_3compspts[1] -= 0;
  22406. Node170_3compspts[Node170_3ptslength-2] += 0;
  22407. Node170_3compspts[Node170_3ptslength-1] += 0;
  22408. }
  22409. Node170_3 = new ht.Node();
  22410. Node170_3.borderWidth = 1;
  22411. Node170_3rect.width = Node170_3rect.width === 0 ? 0.0001 : Node170_3rect.width;
  22412. Node170_3rect.height = Node170_3rect.height === 0 ? 0.0001 : Node170_3rect.height;
  22413. var Node170_3endCompspts = [Node170_3compspts[Node170_3ptslength-2],Node170_3compspts[Node170_3ptslength-1],0,0];
  22414. var Node170_3startCompspts = [Node170_3compspts[0],Node170_3compspts[1],0,0];
  22415. Node170_3.setImage(GD.getPolyLineJSON());
  22416. Node170_3.setPosition(Node170_3rect.x+Node170_3rect.width/2,Node170_3rect.y+Node170_3rect.height/2);
  22417. Node170_3.setSize(Node170_3rect.width,Node170_3rect.height);
  22418. Node170_3.setStyle("opacity",1);
  22419. Node170_3.s({'pixelPerfect':true});
  22420. Node170_3borderwidth=1;
  22421. Node170_3.setRotation(0);
  22422. dataModel.add(Node170_3);
  22423. Node170_3.a('node.points',Node170_3compspts);
  22424. Node170_3.a('node.segments',[1,2]);
  22425. Node170_3.a('node.color','rgba(255,128,0,1)');
  22426. Node170_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22427. Node170_3.a('node.borderColor','rgba(255,128,0,1)');
  22428. Node170_3.a('node.background','rgba(255,128,0,1)');
  22429. Node170_3.a('node.gradient','');
  22430. Node170_3.a('node.gradientcolor','rgba(255,128,0,1)');
  22431. Node170_3.a('node.endCompspts',Node170_3endCompspts);
  22432. Node170_3.a('node.startCompspts',Node170_3startCompspts);
  22433. (function (node, img, compspts, endCompspts, startCompspts) {
  22434. var position = node.getPosition(),
  22435. w = node.getWidth()*_ratio.ratioX,
  22436. h = node.getHeight()*_ratio.ratioY;
  22437. function resetPoints(rx, ry) {
  22438. for (var i = 0, len = compspts.length; i < len; i++) {
  22439. if (i%2 === 0) {
  22440. compspts[i]*=rx;
  22441. } else {
  22442. compspts[i]*=ry;
  22443. }
  22444. }
  22445. endCompspts[0] = compspts[compspts.length-2];
  22446. endCompspts[1] = compspts[compspts.length-1];
  22447. endCompspts[2] *= rx;
  22448. endCompspts[3] *= ry;
  22449. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22450. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22451. startCompspts[0] = compspts[0];
  22452. startCompspts[1] = compspts[1];
  22453. startCompspts[2] *= rx;
  22454. startCompspts[3] *= ry;
  22455. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22456. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22457. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22458. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22459. }
  22460. node.setSize(w, h);
  22461. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22462. node.a('node.width', w);
  22463. node.a('node.height', h);
  22464. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22465. node.borderWidth = 1;
  22466. node.a('node.borderwidth',node.borderWidth);
  22467. node._nodename = 'Node170_3';
  22468. node._nodeType = 'line';
  22469. zoomNodeList.push({
  22470. node: node,
  22471. attr: 'node.borderwidth'
  22472. });
  22473. var setWidth = node.setWidth,
  22474. setHeight = node.setHeight,
  22475. timer, rx = 1, ry = 1;
  22476. node.setWidth = function (width) {
  22477. var _width = this.getWidth();
  22478. rx = width / _width;
  22479. node.a('node.width', width);
  22480. setWidth.apply(this, arguments);
  22481. resetPoints(rx, 1);
  22482. }
  22483. node.setHeight = function (height) {
  22484. var _height = this.getHeight();
  22485. ry = height / _height;
  22486. node.a('node.height', height);
  22487. setHeight.apply(this, arguments);
  22488. resetPoints(1, ry);
  22489. }
  22490. })(Node170_3, Node170_3.getImage(), Node170_3compspts, Node170_3endCompspts, Node170_3startCompspts);
  22491. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22492. var Node170boundtype = 'rect';
  22493. var Node170bound = new ht.Node(),
  22494. Node170boundBorderWidth = 0*2;
  22495. if (Node170boundtype === 'arc') {
  22496. Node170boundBorderWidth *= 0;
  22497. }
  22498. Node170bound.setImage(GD.getRectJSON(16.08087*_ratio.ratioX, 12.9054*_ratio.ratioY, Node170boundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
  22499. Node170bound.setPosition(354*ratio.ratioX, 491*ratio.ratioY);
  22500. Node170bound.setSize(16.08087*_ratio.ratioX, 12.9054*_ratio.ratioY);
  22501. Node170bound.s({
  22502. 'pixelPerfect':true
  22503. /*@AddPara@*/
  22504. });
  22505. Node170bound.a('node.width', 16.08087*_ratio.ratioX);
  22506. Node170bound.a('node.height', 12.9054*_ratio.ratioY);
  22507. Node170bound.a('node.type', Node170boundtype);
  22508. Node170bound.a('node.rect', [0, 0, 16.08087*_ratio.ratioX, 12.9054*_ratio.ratioY]);
  22509. Node170bound.a('node.background', 'rgba(255,255,255,0.003921569)');
  22510. Node170bound.a('node.gradientcolor', '');
  22511. Node170bound.a('node.gradient', '');
  22512. Node170bound.a('node.borderwidth', Node170boundBorderWidth);
  22513. Node170bound.a('node.color', 'rgba(0,0,0,1)');
  22514. Node170bound.a('node.fillrect', [0,0,0,0]);
  22515. Node170bound.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  22516. Node170bound.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  22517. Node170bound.a('node.fillgradient', '');
  22518. if (Node170boundtype !== 'rect') {
  22519. Node170bound.a('node.arcFrom', parseFloat('@arcFrom@'));
  22520. Node170bound.a('node.arcTo', parseFloat('@arcTo@'));
  22521. Node170bound.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  22522. }
  22523. if (Node170boundtype === 'arc') {
  22524. Node170bound.a('node.arcOval', true);
  22525. }
  22526. Node170bound.setRotation(0*Math.PI/180);
  22527. Node170bound.borderWidth = Node170boundBorderWidth;
  22528. Node170bound.borderFillwidth = Node170boundBorderWidth;
  22529. dataModel.add(Node170bound);
  22530. Node170bound._nodename = 'Node170bound'
  22531. Node170bound._nodeType = 'rect';
  22532. zoomNodeList.push({
  22533. node: Node170bound,
  22534. attr: 'node.borderwidth'
  22535. });
  22536. (function (node, _img) {
  22537. var setWidth = node.setWidth,
  22538. setHeight = node.setHeight;
  22539. node.setWidth = function (width) {
  22540. if (width === this.getWidth()) return ;
  22541. var height = this.getHeight();
  22542. this.a('node.width', width);
  22543. this.a('node.rect', [0,0,width, height]);
  22544. setWidth.apply(this, arguments);
  22545. }
  22546. node.setHeight = function (height) {
  22547. if (height === this.getHeight()) return ;
  22548. var width = this.getWidth();
  22549. this.a('node.height', height);
  22550. this.a('node.rect', [0,0,width, height]);
  22551. setHeight.apply(this, arguments);
  22552. }
  22553. })(Node170bound, Node170bound.getImage());var Node171_0points=[846, 575,852, 575],
  22554. Node171_0rect=ht.Default.unionPoint([{x:846,y:575},{x:852,y:575}]),
  22555. Node171_0compspts=[];
  22556. _ratio = GD.getRatioWithRotation(0, ratio);
  22557. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22558. _endratio = GD.getRatioWithRotation(0, ratio);
  22559. for(var i=0;i<Node171_0points.length;i++){
  22560. if(i%2==0){
  22561. Node171_0compspts.push(Node171_0points[i]-Node171_0rect.x);
  22562. }else{
  22563. Node171_0compspts.push(Node171_0points[i]-Node171_0rect.y);
  22564. }
  22565. }
  22566. var Node171_0ptslength=Node171_0compspts.length;
  22567. if (Node171_0rect.height === 0) {
  22568. Node171_0compspts[0] -= 0;
  22569. Node171_0compspts[Node171_0ptslength-2] += 0;
  22570. } else if (Node171_0rect.width === 0){
  22571. Node171_0compspts[1] -= 0;
  22572. Node171_0compspts[Node171_0ptslength-1] += 0;
  22573. } else {
  22574. Node171_0compspts[0] -= 0;
  22575. Node171_0compspts[1] -= 0;
  22576. Node171_0compspts[Node171_0ptslength-2] += 0;
  22577. Node171_0compspts[Node171_0ptslength-1] += 0;
  22578. }
  22579. Node171_0 = new ht.Node();
  22580. Node171_0.borderWidth = 1;
  22581. Node171_0rect.width = Node171_0rect.width === 0 ? 0.0001 : Node171_0rect.width;
  22582. Node171_0rect.height = Node171_0rect.height === 0 ? 0.0001 : Node171_0rect.height;
  22583. var Node171_0endCompspts = [Node171_0compspts[Node171_0ptslength-2],Node171_0compspts[Node171_0ptslength-1],0,0];
  22584. var Node171_0startCompspts = [Node171_0compspts[0],Node171_0compspts[1],0,0];
  22585. Node171_0.setImage(GD.getPolyLineJSON());
  22586. Node171_0.setPosition(Node171_0rect.x+Node171_0rect.width/2,Node171_0rect.y+Node171_0rect.height/2);
  22587. Node171_0.setSize(Node171_0rect.width,Node171_0rect.height);
  22588. Node171_0.setStyle("opacity",1);
  22589. Node171_0.s({'pixelPerfect':true});
  22590. Node171_0borderwidth=1;
  22591. Node171_0.setRotation(0);
  22592. dataModel.add(Node171_0);
  22593. Node171_0.a('node.points',Node171_0compspts);
  22594. Node171_0.a('node.segments',[1,2]);
  22595. Node171_0.a('node.color','rgba(255,128,0,1)');
  22596. Node171_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22597. Node171_0.a('node.borderColor','rgba(255,128,0,1)');
  22598. Node171_0.a('node.background','rgba(255,128,0,1)');
  22599. Node171_0.a('node.gradient','');
  22600. Node171_0.a('node.gradientcolor','rgba(255,128,0,1)');
  22601. Node171_0.a('node.endCompspts',Node171_0endCompspts);
  22602. Node171_0.a('node.startCompspts',Node171_0startCompspts);
  22603. (function (node, img, compspts, endCompspts, startCompspts) {
  22604. var position = node.getPosition(),
  22605. w = node.getWidth()*_ratio.ratioX,
  22606. h = node.getHeight()*_ratio.ratioY;
  22607. function resetPoints(rx, ry) {
  22608. for (var i = 0, len = compspts.length; i < len; i++) {
  22609. if (i%2 === 0) {
  22610. compspts[i]*=rx;
  22611. } else {
  22612. compspts[i]*=ry;
  22613. }
  22614. }
  22615. endCompspts[0] = compspts[compspts.length-2];
  22616. endCompspts[1] = compspts[compspts.length-1];
  22617. endCompspts[2] *= rx;
  22618. endCompspts[3] *= ry;
  22619. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22620. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22621. startCompspts[0] = compspts[0];
  22622. startCompspts[1] = compspts[1];
  22623. startCompspts[2] *= rx;
  22624. startCompspts[3] *= ry;
  22625. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22626. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22627. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22628. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22629. }
  22630. node.setSize(w, h);
  22631. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22632. node.a('node.width', w);
  22633. node.a('node.height', h);
  22634. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22635. node.borderWidth = 1;
  22636. node.a('node.borderwidth',node.borderWidth);
  22637. node._nodename = 'Node171_0';
  22638. node._nodeType = 'line';
  22639. zoomNodeList.push({
  22640. node: node,
  22641. attr: 'node.borderwidth'
  22642. });
  22643. var setWidth = node.setWidth,
  22644. setHeight = node.setHeight,
  22645. timer, rx = 1, ry = 1;
  22646. node.setWidth = function (width) {
  22647. var _width = this.getWidth();
  22648. rx = width / _width;
  22649. node.a('node.width', width);
  22650. setWidth.apply(this, arguments);
  22651. resetPoints(rx, 1);
  22652. }
  22653. node.setHeight = function (height) {
  22654. var _height = this.getHeight();
  22655. ry = height / _height;
  22656. node.a('node.height', height);
  22657. setHeight.apply(this, arguments);
  22658. resetPoints(1, ry);
  22659. }
  22660. })(Node171_0, Node171_0.getImage(), Node171_0compspts, Node171_0endCompspts, Node171_0startCompspts);
  22661. var Node171_1points=[843, 572,855, 572],
  22662. Node171_1rect=ht.Default.unionPoint([{x:843,y:572},{x:855,y:572}]),
  22663. Node171_1compspts=[];
  22664. _ratio = GD.getRatioWithRotation(0, ratio);
  22665. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22666. _endratio = GD.getRatioWithRotation(0, ratio);
  22667. for(var i=0;i<Node171_1points.length;i++){
  22668. if(i%2==0){
  22669. Node171_1compspts.push(Node171_1points[i]-Node171_1rect.x);
  22670. }else{
  22671. Node171_1compspts.push(Node171_1points[i]-Node171_1rect.y);
  22672. }
  22673. }
  22674. var Node171_1ptslength=Node171_1compspts.length;
  22675. if (Node171_1rect.height === 0) {
  22676. Node171_1compspts[0] -= 0;
  22677. Node171_1compspts[Node171_1ptslength-2] += 0;
  22678. } else if (Node171_1rect.width === 0){
  22679. Node171_1compspts[1] -= 0;
  22680. Node171_1compspts[Node171_1ptslength-1] += 0;
  22681. } else {
  22682. Node171_1compspts[0] -= 0;
  22683. Node171_1compspts[1] -= 0;
  22684. Node171_1compspts[Node171_1ptslength-2] += 0;
  22685. Node171_1compspts[Node171_1ptslength-1] += 0;
  22686. }
  22687. Node171_1 = new ht.Node();
  22688. Node171_1.borderWidth = 1;
  22689. Node171_1rect.width = Node171_1rect.width === 0 ? 0.0001 : Node171_1rect.width;
  22690. Node171_1rect.height = Node171_1rect.height === 0 ? 0.0001 : Node171_1rect.height;
  22691. var Node171_1endCompspts = [Node171_1compspts[Node171_1ptslength-2],Node171_1compspts[Node171_1ptslength-1],0,0];
  22692. var Node171_1startCompspts = [Node171_1compspts[0],Node171_1compspts[1],0,0];
  22693. Node171_1.setImage(GD.getPolyLineJSON());
  22694. Node171_1.setPosition(Node171_1rect.x+Node171_1rect.width/2,Node171_1rect.y+Node171_1rect.height/2);
  22695. Node171_1.setSize(Node171_1rect.width,Node171_1rect.height);
  22696. Node171_1.setStyle("opacity",1);
  22697. Node171_1.s({'pixelPerfect':true});
  22698. Node171_1borderwidth=1;
  22699. Node171_1.setRotation(0);
  22700. dataModel.add(Node171_1);
  22701. Node171_1.a('node.points',Node171_1compspts);
  22702. Node171_1.a('node.segments',[1,2]);
  22703. Node171_1.a('node.color','rgba(255,128,0,1)');
  22704. Node171_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22705. Node171_1.a('node.borderColor','rgba(255,128,0,1)');
  22706. Node171_1.a('node.background','rgba(255,128,0,1)');
  22707. Node171_1.a('node.gradient','');
  22708. Node171_1.a('node.gradientcolor','rgba(255,128,0,1)');
  22709. Node171_1.a('node.endCompspts',Node171_1endCompspts);
  22710. Node171_1.a('node.startCompspts',Node171_1startCompspts);
  22711. (function (node, img, compspts, endCompspts, startCompspts) {
  22712. var position = node.getPosition(),
  22713. w = node.getWidth()*_ratio.ratioX,
  22714. h = node.getHeight()*_ratio.ratioY;
  22715. function resetPoints(rx, ry) {
  22716. for (var i = 0, len = compspts.length; i < len; i++) {
  22717. if (i%2 === 0) {
  22718. compspts[i]*=rx;
  22719. } else {
  22720. compspts[i]*=ry;
  22721. }
  22722. }
  22723. endCompspts[0] = compspts[compspts.length-2];
  22724. endCompspts[1] = compspts[compspts.length-1];
  22725. endCompspts[2] *= rx;
  22726. endCompspts[3] *= ry;
  22727. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22728. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22729. startCompspts[0] = compspts[0];
  22730. startCompspts[1] = compspts[1];
  22731. startCompspts[2] *= rx;
  22732. startCompspts[3] *= ry;
  22733. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22734. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22735. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22736. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22737. }
  22738. node.setSize(w, h);
  22739. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22740. node.a('node.width', w);
  22741. node.a('node.height', h);
  22742. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22743. node.borderWidth = 1;
  22744. node.a('node.borderwidth',node.borderWidth);
  22745. node._nodename = 'Node171_1';
  22746. node._nodeType = 'line';
  22747. zoomNodeList.push({
  22748. node: node,
  22749. attr: 'node.borderwidth'
  22750. });
  22751. var setWidth = node.setWidth,
  22752. setHeight = node.setHeight,
  22753. timer, rx = 1, ry = 1;
  22754. node.setWidth = function (width) {
  22755. var _width = this.getWidth();
  22756. rx = width / _width;
  22757. node.a('node.width', width);
  22758. setWidth.apply(this, arguments);
  22759. resetPoints(rx, 1);
  22760. }
  22761. node.setHeight = function (height) {
  22762. var _height = this.getHeight();
  22763. ry = height / _height;
  22764. node.a('node.height', height);
  22765. setHeight.apply(this, arguments);
  22766. resetPoints(1, ry);
  22767. }
  22768. })(Node171_1, Node171_1.getImage(), Node171_1compspts, Node171_1endCompspts, Node171_1startCompspts);
  22769. var Node171_2points=[841, 569,857, 569],
  22770. Node171_2rect=ht.Default.unionPoint([{x:841,y:569},{x:857,y:569}]),
  22771. Node171_2compspts=[];
  22772. _ratio = GD.getRatioWithRotation(0, ratio);
  22773. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22774. _endratio = GD.getRatioWithRotation(0, ratio);
  22775. for(var i=0;i<Node171_2points.length;i++){
  22776. if(i%2==0){
  22777. Node171_2compspts.push(Node171_2points[i]-Node171_2rect.x);
  22778. }else{
  22779. Node171_2compspts.push(Node171_2points[i]-Node171_2rect.y);
  22780. }
  22781. }
  22782. var Node171_2ptslength=Node171_2compspts.length;
  22783. if (Node171_2rect.height === 0) {
  22784. Node171_2compspts[0] -= 0;
  22785. Node171_2compspts[Node171_2ptslength-2] += 0;
  22786. } else if (Node171_2rect.width === 0){
  22787. Node171_2compspts[1] -= 0;
  22788. Node171_2compspts[Node171_2ptslength-1] += 0;
  22789. } else {
  22790. Node171_2compspts[0] -= 0;
  22791. Node171_2compspts[1] -= 0;
  22792. Node171_2compspts[Node171_2ptslength-2] += 0;
  22793. Node171_2compspts[Node171_2ptslength-1] += 0;
  22794. }
  22795. Node171_2 = new ht.Node();
  22796. Node171_2.borderWidth = 1;
  22797. Node171_2rect.width = Node171_2rect.width === 0 ? 0.0001 : Node171_2rect.width;
  22798. Node171_2rect.height = Node171_2rect.height === 0 ? 0.0001 : Node171_2rect.height;
  22799. var Node171_2endCompspts = [Node171_2compspts[Node171_2ptslength-2],Node171_2compspts[Node171_2ptslength-1],0,0];
  22800. var Node171_2startCompspts = [Node171_2compspts[0],Node171_2compspts[1],0,0];
  22801. Node171_2.setImage(GD.getPolyLineJSON());
  22802. Node171_2.setPosition(Node171_2rect.x+Node171_2rect.width/2,Node171_2rect.y+Node171_2rect.height/2);
  22803. Node171_2.setSize(Node171_2rect.width,Node171_2rect.height);
  22804. Node171_2.setStyle("opacity",1);
  22805. Node171_2.s({'pixelPerfect':true});
  22806. Node171_2borderwidth=1;
  22807. Node171_2.setRotation(0);
  22808. dataModel.add(Node171_2);
  22809. Node171_2.a('node.points',Node171_2compspts);
  22810. Node171_2.a('node.segments',[1,2]);
  22811. Node171_2.a('node.color','rgba(255,128,0,1)');
  22812. Node171_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22813. Node171_2.a('node.borderColor','rgba(255,128,0,1)');
  22814. Node171_2.a('node.background','rgba(255,128,0,1)');
  22815. Node171_2.a('node.gradient','');
  22816. Node171_2.a('node.gradientcolor','rgba(255,128,0,1)');
  22817. Node171_2.a('node.endCompspts',Node171_2endCompspts);
  22818. Node171_2.a('node.startCompspts',Node171_2startCompspts);
  22819. (function (node, img, compspts, endCompspts, startCompspts) {
  22820. var position = node.getPosition(),
  22821. w = node.getWidth()*_ratio.ratioX,
  22822. h = node.getHeight()*_ratio.ratioY;
  22823. function resetPoints(rx, ry) {
  22824. for (var i = 0, len = compspts.length; i < len; i++) {
  22825. if (i%2 === 0) {
  22826. compspts[i]*=rx;
  22827. } else {
  22828. compspts[i]*=ry;
  22829. }
  22830. }
  22831. endCompspts[0] = compspts[compspts.length-2];
  22832. endCompspts[1] = compspts[compspts.length-1];
  22833. endCompspts[2] *= rx;
  22834. endCompspts[3] *= ry;
  22835. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22836. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22837. startCompspts[0] = compspts[0];
  22838. startCompspts[1] = compspts[1];
  22839. startCompspts[2] *= rx;
  22840. startCompspts[3] *= ry;
  22841. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22842. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22843. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22844. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22845. }
  22846. node.setSize(w, h);
  22847. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22848. node.a('node.width', w);
  22849. node.a('node.height', h);
  22850. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22851. node.borderWidth = 1;
  22852. node.a('node.borderwidth',node.borderWidth);
  22853. node._nodename = 'Node171_2';
  22854. node._nodeType = 'line';
  22855. zoomNodeList.push({
  22856. node: node,
  22857. attr: 'node.borderwidth'
  22858. });
  22859. var setWidth = node.setWidth,
  22860. setHeight = node.setHeight,
  22861. timer, rx = 1, ry = 1;
  22862. node.setWidth = function (width) {
  22863. var _width = this.getWidth();
  22864. rx = width / _width;
  22865. node.a('node.width', width);
  22866. setWidth.apply(this, arguments);
  22867. resetPoints(rx, 1);
  22868. }
  22869. node.setHeight = function (height) {
  22870. var _height = this.getHeight();
  22871. ry = height / _height;
  22872. node.a('node.height', height);
  22873. setHeight.apply(this, arguments);
  22874. resetPoints(1, ry);
  22875. }
  22876. })(Node171_2, Node171_2.getImage(), Node171_2compspts, Node171_2endCompspts, Node171_2startCompspts);
  22877. var Node171_3points=[849, 569,849, 563],
  22878. Node171_3rect=ht.Default.unionPoint([{x:849,y:569},{x:849,y:563}]),
  22879. Node171_3compspts=[];
  22880. _ratio = GD.getRatioWithRotation(0, ratio);
  22881. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  22882. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  22883. for(var i=0;i<Node171_3points.length;i++){
  22884. if(i%2==0){
  22885. Node171_3compspts.push(Node171_3points[i]-Node171_3rect.x);
  22886. }else{
  22887. Node171_3compspts.push(Node171_3points[i]-Node171_3rect.y);
  22888. }
  22889. }
  22890. var Node171_3ptslength=Node171_3compspts.length;
  22891. if (Node171_3rect.height === 0) {
  22892. Node171_3compspts[0] -= 0;
  22893. Node171_3compspts[Node171_3ptslength-2] += 0;
  22894. } else if (Node171_3rect.width === 0){
  22895. Node171_3compspts[1] -= 0;
  22896. Node171_3compspts[Node171_3ptslength-1] += 0;
  22897. } else {
  22898. Node171_3compspts[0] -= 0;
  22899. Node171_3compspts[1] -= 0;
  22900. Node171_3compspts[Node171_3ptslength-2] += 0;
  22901. Node171_3compspts[Node171_3ptslength-1] += 0;
  22902. }
  22903. Node171_3 = new ht.Node();
  22904. Node171_3.borderWidth = 1;
  22905. Node171_3rect.width = Node171_3rect.width === 0 ? 0.0001 : Node171_3rect.width;
  22906. Node171_3rect.height = Node171_3rect.height === 0 ? 0.0001 : Node171_3rect.height;
  22907. var Node171_3endCompspts = [Node171_3compspts[Node171_3ptslength-2],Node171_3compspts[Node171_3ptslength-1],0,0];
  22908. var Node171_3startCompspts = [Node171_3compspts[0],Node171_3compspts[1],0,0];
  22909. Node171_3.setImage(GD.getPolyLineJSON());
  22910. Node171_3.setPosition(Node171_3rect.x+Node171_3rect.width/2,Node171_3rect.y+Node171_3rect.height/2);
  22911. Node171_3.setSize(Node171_3rect.width,Node171_3rect.height);
  22912. Node171_3.setStyle("opacity",1);
  22913. Node171_3.s({'pixelPerfect':true});
  22914. Node171_3borderwidth=1;
  22915. Node171_3.setRotation(0);
  22916. dataModel.add(Node171_3);
  22917. Node171_3.a('node.points',Node171_3compspts);
  22918. Node171_3.a('node.segments',[1,2]);
  22919. Node171_3.a('node.color','rgba(255,128,0,1)');
  22920. Node171_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  22921. Node171_3.a('node.borderColor','rgba(255,128,0,1)');
  22922. Node171_3.a('node.background','rgba(255,128,0,1)');
  22923. Node171_3.a('node.gradient','');
  22924. Node171_3.a('node.gradientcolor','rgba(255,128,0,1)');
  22925. Node171_3.a('node.endCompspts',Node171_3endCompspts);
  22926. Node171_3.a('node.startCompspts',Node171_3startCompspts);
  22927. (function (node, img, compspts, endCompspts, startCompspts) {
  22928. var position = node.getPosition(),
  22929. w = node.getWidth()*_ratio.ratioX,
  22930. h = node.getHeight()*_ratio.ratioY;
  22931. function resetPoints(rx, ry) {
  22932. for (var i = 0, len = compspts.length; i < len; i++) {
  22933. if (i%2 === 0) {
  22934. compspts[i]*=rx;
  22935. } else {
  22936. compspts[i]*=ry;
  22937. }
  22938. }
  22939. endCompspts[0] = compspts[compspts.length-2];
  22940. endCompspts[1] = compspts[compspts.length-1];
  22941. endCompspts[2] *= rx;
  22942. endCompspts[3] *= ry;
  22943. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  22944. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  22945. startCompspts[0] = compspts[0];
  22946. startCompspts[1] = compspts[1];
  22947. startCompspts[2] *= rx;
  22948. startCompspts[3] *= ry;
  22949. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  22950. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  22951. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  22952. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  22953. }
  22954. node.setSize(w, h);
  22955. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  22956. node.a('node.width', w);
  22957. node.a('node.height', h);
  22958. resetPoints(_ratio.ratioX, _ratio.ratioY);
  22959. node.borderWidth = 1;
  22960. node.a('node.borderwidth',node.borderWidth);
  22961. node._nodename = 'Node171_3';
  22962. node._nodeType = 'line';
  22963. zoomNodeList.push({
  22964. node: node,
  22965. attr: 'node.borderwidth'
  22966. });
  22967. var setWidth = node.setWidth,
  22968. setHeight = node.setHeight,
  22969. timer, rx = 1, ry = 1;
  22970. node.setWidth = function (width) {
  22971. var _width = this.getWidth();
  22972. rx = width / _width;
  22973. node.a('node.width', width);
  22974. setWidth.apply(this, arguments);
  22975. resetPoints(rx, 1);
  22976. }
  22977. node.setHeight = function (height) {
  22978. var _height = this.getHeight();
  22979. ry = height / _height;
  22980. node.a('node.height', height);
  22981. setHeight.apply(this, arguments);
  22982. resetPoints(1, ry);
  22983. }
  22984. })(Node171_3, Node171_3.getImage(), Node171_3compspts, Node171_3endCompspts, Node171_3startCompspts);
  22985. var Node172_0points=[992, 437,998, 437],
  22986. Node172_0rect=ht.Default.unionPoint([{x:992,y:437},{x:998,y:437}]),
  22987. Node172_0compspts=[];
  22988. _ratio = GD.getRatioWithRotation(0, ratio);
  22989. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  22990. _endratio = GD.getRatioWithRotation(0, ratio);
  22991. for(var i=0;i<Node172_0points.length;i++){
  22992. if(i%2==0){
  22993. Node172_0compspts.push(Node172_0points[i]-Node172_0rect.x);
  22994. }else{
  22995. Node172_0compspts.push(Node172_0points[i]-Node172_0rect.y);
  22996. }
  22997. }
  22998. var Node172_0ptslength=Node172_0compspts.length;
  22999. if (Node172_0rect.height === 0) {
  23000. Node172_0compspts[0] -= 0;
  23001. Node172_0compspts[Node172_0ptslength-2] += 0;
  23002. } else if (Node172_0rect.width === 0){
  23003. Node172_0compspts[1] -= 0;
  23004. Node172_0compspts[Node172_0ptslength-1] += 0;
  23005. } else {
  23006. Node172_0compspts[0] -= 0;
  23007. Node172_0compspts[1] -= 0;
  23008. Node172_0compspts[Node172_0ptslength-2] += 0;
  23009. Node172_0compspts[Node172_0ptslength-1] += 0;
  23010. }
  23011. Node172_0 = new ht.Node();
  23012. Node172_0.borderWidth = 1;
  23013. Node172_0rect.width = Node172_0rect.width === 0 ? 0.0001 : Node172_0rect.width;
  23014. Node172_0rect.height = Node172_0rect.height === 0 ? 0.0001 : Node172_0rect.height;
  23015. var Node172_0endCompspts = [Node172_0compspts[Node172_0ptslength-2],Node172_0compspts[Node172_0ptslength-1],0,0];
  23016. var Node172_0startCompspts = [Node172_0compspts[0],Node172_0compspts[1],0,0];
  23017. Node172_0.setImage(GD.getPolyLineJSON());
  23018. Node172_0.setPosition(Node172_0rect.x+Node172_0rect.width/2,Node172_0rect.y+Node172_0rect.height/2);
  23019. Node172_0.setSize(Node172_0rect.width,Node172_0rect.height);
  23020. Node172_0.setStyle("opacity",1);
  23021. Node172_0.s({'pixelPerfect':true});
  23022. Node172_0borderwidth=1;
  23023. Node172_0.setRotation(0);
  23024. dataModel.add(Node172_0);
  23025. Node172_0.a('node.points',Node172_0compspts);
  23026. Node172_0.a('node.segments',[1,2]);
  23027. Node172_0.a('node.color','rgba(255,0,255,1)');
  23028. Node172_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23029. Node172_0.a('node.borderColor','rgba(255,0,255,1)');
  23030. Node172_0.a('node.background','rgba(255,0,255,1)');
  23031. Node172_0.a('node.gradient','');
  23032. Node172_0.a('node.gradientcolor','rgba(255,0,255,1)');
  23033. Node172_0.a('node.endCompspts',Node172_0endCompspts);
  23034. Node172_0.a('node.startCompspts',Node172_0startCompspts);
  23035. (function (node, img, compspts, endCompspts, startCompspts) {
  23036. var position = node.getPosition(),
  23037. w = node.getWidth()*_ratio.ratioX,
  23038. h = node.getHeight()*_ratio.ratioY;
  23039. function resetPoints(rx, ry) {
  23040. for (var i = 0, len = compspts.length; i < len; i++) {
  23041. if (i%2 === 0) {
  23042. compspts[i]*=rx;
  23043. } else {
  23044. compspts[i]*=ry;
  23045. }
  23046. }
  23047. endCompspts[0] = compspts[compspts.length-2];
  23048. endCompspts[1] = compspts[compspts.length-1];
  23049. endCompspts[2] *= rx;
  23050. endCompspts[3] *= ry;
  23051. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23052. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23053. startCompspts[0] = compspts[0];
  23054. startCompspts[1] = compspts[1];
  23055. startCompspts[2] *= rx;
  23056. startCompspts[3] *= ry;
  23057. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23058. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23059. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23060. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23061. }
  23062. node.setSize(w, h);
  23063. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23064. node.a('node.width', w);
  23065. node.a('node.height', h);
  23066. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23067. node.borderWidth = 1;
  23068. node.a('node.borderwidth',node.borderWidth);
  23069. node._nodename = 'Node172_0';
  23070. node._nodeType = 'line';
  23071. zoomNodeList.push({
  23072. node: node,
  23073. attr: 'node.borderwidth'
  23074. });
  23075. var setWidth = node.setWidth,
  23076. setHeight = node.setHeight,
  23077. timer, rx = 1, ry = 1;
  23078. node.setWidth = function (width) {
  23079. var _width = this.getWidth();
  23080. rx = width / _width;
  23081. node.a('node.width', width);
  23082. setWidth.apply(this, arguments);
  23083. resetPoints(rx, 1);
  23084. }
  23085. node.setHeight = function (height) {
  23086. var _height = this.getHeight();
  23087. ry = height / _height;
  23088. node.a('node.height', height);
  23089. setHeight.apply(this, arguments);
  23090. resetPoints(1, ry);
  23091. }
  23092. })(Node172_0, Node172_0.getImage(), Node172_0compspts, Node172_0endCompspts, Node172_0startCompspts);
  23093. var Node172_1points=[990, 434,1001, 434],
  23094. Node172_1rect=ht.Default.unionPoint([{x:990,y:434},{x:1001,y:434}]),
  23095. Node172_1compspts=[];
  23096. _ratio = GD.getRatioWithRotation(0, ratio);
  23097. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23098. _endratio = GD.getRatioWithRotation(0, ratio);
  23099. for(var i=0;i<Node172_1points.length;i++){
  23100. if(i%2==0){
  23101. Node172_1compspts.push(Node172_1points[i]-Node172_1rect.x);
  23102. }else{
  23103. Node172_1compspts.push(Node172_1points[i]-Node172_1rect.y);
  23104. }
  23105. }
  23106. var Node172_1ptslength=Node172_1compspts.length;
  23107. if (Node172_1rect.height === 0) {
  23108. Node172_1compspts[0] -= 0;
  23109. Node172_1compspts[Node172_1ptslength-2] += 0;
  23110. } else if (Node172_1rect.width === 0){
  23111. Node172_1compspts[1] -= 0;
  23112. Node172_1compspts[Node172_1ptslength-1] += 0;
  23113. } else {
  23114. Node172_1compspts[0] -= 0;
  23115. Node172_1compspts[1] -= 0;
  23116. Node172_1compspts[Node172_1ptslength-2] += 0;
  23117. Node172_1compspts[Node172_1ptslength-1] += 0;
  23118. }
  23119. Node172_1 = new ht.Node();
  23120. Node172_1.borderWidth = 1;
  23121. Node172_1rect.width = Node172_1rect.width === 0 ? 0.0001 : Node172_1rect.width;
  23122. Node172_1rect.height = Node172_1rect.height === 0 ? 0.0001 : Node172_1rect.height;
  23123. var Node172_1endCompspts = [Node172_1compspts[Node172_1ptslength-2],Node172_1compspts[Node172_1ptslength-1],0,0];
  23124. var Node172_1startCompspts = [Node172_1compspts[0],Node172_1compspts[1],0,0];
  23125. Node172_1.setImage(GD.getPolyLineJSON());
  23126. Node172_1.setPosition(Node172_1rect.x+Node172_1rect.width/2,Node172_1rect.y+Node172_1rect.height/2);
  23127. Node172_1.setSize(Node172_1rect.width,Node172_1rect.height);
  23128. Node172_1.setStyle("opacity",1);
  23129. Node172_1.s({'pixelPerfect':true});
  23130. Node172_1borderwidth=1;
  23131. Node172_1.setRotation(0);
  23132. dataModel.add(Node172_1);
  23133. Node172_1.a('node.points',Node172_1compspts);
  23134. Node172_1.a('node.segments',[1,2]);
  23135. Node172_1.a('node.color','rgba(255,0,255,1)');
  23136. Node172_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23137. Node172_1.a('node.borderColor','rgba(255,0,255,1)');
  23138. Node172_1.a('node.background','rgba(255,0,255,1)');
  23139. Node172_1.a('node.gradient','');
  23140. Node172_1.a('node.gradientcolor','rgba(255,0,255,1)');
  23141. Node172_1.a('node.endCompspts',Node172_1endCompspts);
  23142. Node172_1.a('node.startCompspts',Node172_1startCompspts);
  23143. (function (node, img, compspts, endCompspts, startCompspts) {
  23144. var position = node.getPosition(),
  23145. w = node.getWidth()*_ratio.ratioX,
  23146. h = node.getHeight()*_ratio.ratioY;
  23147. function resetPoints(rx, ry) {
  23148. for (var i = 0, len = compspts.length; i < len; i++) {
  23149. if (i%2 === 0) {
  23150. compspts[i]*=rx;
  23151. } else {
  23152. compspts[i]*=ry;
  23153. }
  23154. }
  23155. endCompspts[0] = compspts[compspts.length-2];
  23156. endCompspts[1] = compspts[compspts.length-1];
  23157. endCompspts[2] *= rx;
  23158. endCompspts[3] *= ry;
  23159. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23160. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23161. startCompspts[0] = compspts[0];
  23162. startCompspts[1] = compspts[1];
  23163. startCompspts[2] *= rx;
  23164. startCompspts[3] *= ry;
  23165. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23166. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23167. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23168. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23169. }
  23170. node.setSize(w, h);
  23171. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23172. node.a('node.width', w);
  23173. node.a('node.height', h);
  23174. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23175. node.borderWidth = 1;
  23176. node.a('node.borderwidth',node.borderWidth);
  23177. node._nodename = 'Node172_1';
  23178. node._nodeType = 'line';
  23179. zoomNodeList.push({
  23180. node: node,
  23181. attr: 'node.borderwidth'
  23182. });
  23183. var setWidth = node.setWidth,
  23184. setHeight = node.setHeight,
  23185. timer, rx = 1, ry = 1;
  23186. node.setWidth = function (width) {
  23187. var _width = this.getWidth();
  23188. rx = width / _width;
  23189. node.a('node.width', width);
  23190. setWidth.apply(this, arguments);
  23191. resetPoints(rx, 1);
  23192. }
  23193. node.setHeight = function (height) {
  23194. var _height = this.getHeight();
  23195. ry = height / _height;
  23196. node.a('node.height', height);
  23197. setHeight.apply(this, arguments);
  23198. resetPoints(1, ry);
  23199. }
  23200. })(Node172_1, Node172_1.getImage(), Node172_1compspts, Node172_1endCompspts, Node172_1startCompspts);
  23201. var Node172_2points=[987, 431,1003, 431],
  23202. Node172_2rect=ht.Default.unionPoint([{x:987,y:431},{x:1003,y:431}]),
  23203. Node172_2compspts=[];
  23204. _ratio = GD.getRatioWithRotation(0, ratio);
  23205. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23206. _endratio = GD.getRatioWithRotation(0, ratio);
  23207. for(var i=0;i<Node172_2points.length;i++){
  23208. if(i%2==0){
  23209. Node172_2compspts.push(Node172_2points[i]-Node172_2rect.x);
  23210. }else{
  23211. Node172_2compspts.push(Node172_2points[i]-Node172_2rect.y);
  23212. }
  23213. }
  23214. var Node172_2ptslength=Node172_2compspts.length;
  23215. if (Node172_2rect.height === 0) {
  23216. Node172_2compspts[0] -= 0;
  23217. Node172_2compspts[Node172_2ptslength-2] += 0;
  23218. } else if (Node172_2rect.width === 0){
  23219. Node172_2compspts[1] -= 0;
  23220. Node172_2compspts[Node172_2ptslength-1] += 0;
  23221. } else {
  23222. Node172_2compspts[0] -= 0;
  23223. Node172_2compspts[1] -= 0;
  23224. Node172_2compspts[Node172_2ptslength-2] += 0;
  23225. Node172_2compspts[Node172_2ptslength-1] += 0;
  23226. }
  23227. Node172_2 = new ht.Node();
  23228. Node172_2.borderWidth = 1;
  23229. Node172_2rect.width = Node172_2rect.width === 0 ? 0.0001 : Node172_2rect.width;
  23230. Node172_2rect.height = Node172_2rect.height === 0 ? 0.0001 : Node172_2rect.height;
  23231. var Node172_2endCompspts = [Node172_2compspts[Node172_2ptslength-2],Node172_2compspts[Node172_2ptslength-1],0,0];
  23232. var Node172_2startCompspts = [Node172_2compspts[0],Node172_2compspts[1],0,0];
  23233. Node172_2.setImage(GD.getPolyLineJSON());
  23234. Node172_2.setPosition(Node172_2rect.x+Node172_2rect.width/2,Node172_2rect.y+Node172_2rect.height/2);
  23235. Node172_2.setSize(Node172_2rect.width,Node172_2rect.height);
  23236. Node172_2.setStyle("opacity",1);
  23237. Node172_2.s({'pixelPerfect':true});
  23238. Node172_2borderwidth=1;
  23239. Node172_2.setRotation(0);
  23240. dataModel.add(Node172_2);
  23241. Node172_2.a('node.points',Node172_2compspts);
  23242. Node172_2.a('node.segments',[1,2]);
  23243. Node172_2.a('node.color','rgba(255,0,255,1)');
  23244. Node172_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23245. Node172_2.a('node.borderColor','rgba(255,0,255,1)');
  23246. Node172_2.a('node.background','rgba(255,0,255,1)');
  23247. Node172_2.a('node.gradient','');
  23248. Node172_2.a('node.gradientcolor','rgba(255,0,255,1)');
  23249. Node172_2.a('node.endCompspts',Node172_2endCompspts);
  23250. Node172_2.a('node.startCompspts',Node172_2startCompspts);
  23251. (function (node, img, compspts, endCompspts, startCompspts) {
  23252. var position = node.getPosition(),
  23253. w = node.getWidth()*_ratio.ratioX,
  23254. h = node.getHeight()*_ratio.ratioY;
  23255. function resetPoints(rx, ry) {
  23256. for (var i = 0, len = compspts.length; i < len; i++) {
  23257. if (i%2 === 0) {
  23258. compspts[i]*=rx;
  23259. } else {
  23260. compspts[i]*=ry;
  23261. }
  23262. }
  23263. endCompspts[0] = compspts[compspts.length-2];
  23264. endCompspts[1] = compspts[compspts.length-1];
  23265. endCompspts[2] *= rx;
  23266. endCompspts[3] *= ry;
  23267. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23268. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23269. startCompspts[0] = compspts[0];
  23270. startCompspts[1] = compspts[1];
  23271. startCompspts[2] *= rx;
  23272. startCompspts[3] *= ry;
  23273. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23274. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23275. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23276. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23277. }
  23278. node.setSize(w, h);
  23279. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23280. node.a('node.width', w);
  23281. node.a('node.height', h);
  23282. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23283. node.borderWidth = 1;
  23284. node.a('node.borderwidth',node.borderWidth);
  23285. node._nodename = 'Node172_2';
  23286. node._nodeType = 'line';
  23287. zoomNodeList.push({
  23288. node: node,
  23289. attr: 'node.borderwidth'
  23290. });
  23291. var setWidth = node.setWidth,
  23292. setHeight = node.setHeight,
  23293. timer, rx = 1, ry = 1;
  23294. node.setWidth = function (width) {
  23295. var _width = this.getWidth();
  23296. rx = width / _width;
  23297. node.a('node.width', width);
  23298. setWidth.apply(this, arguments);
  23299. resetPoints(rx, 1);
  23300. }
  23301. node.setHeight = function (height) {
  23302. var _height = this.getHeight();
  23303. ry = height / _height;
  23304. node.a('node.height', height);
  23305. setHeight.apply(this, arguments);
  23306. resetPoints(1, ry);
  23307. }
  23308. })(Node172_2, Node172_2.getImage(), Node172_2compspts, Node172_2endCompspts, Node172_2startCompspts);
  23309. var Node172_3points=[995, 431,995, 425],
  23310. Node172_3rect=ht.Default.unionPoint([{x:995,y:431},{x:995,y:425}]),
  23311. Node172_3compspts=[];
  23312. _ratio = GD.getRatioWithRotation(0, ratio);
  23313. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  23314. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  23315. for(var i=0;i<Node172_3points.length;i++){
  23316. if(i%2==0){
  23317. Node172_3compspts.push(Node172_3points[i]-Node172_3rect.x);
  23318. }else{
  23319. Node172_3compspts.push(Node172_3points[i]-Node172_3rect.y);
  23320. }
  23321. }
  23322. var Node172_3ptslength=Node172_3compspts.length;
  23323. if (Node172_3rect.height === 0) {
  23324. Node172_3compspts[0] -= 0;
  23325. Node172_3compspts[Node172_3ptslength-2] += 0;
  23326. } else if (Node172_3rect.width === 0){
  23327. Node172_3compspts[1] -= 0;
  23328. Node172_3compspts[Node172_3ptslength-1] += 0;
  23329. } else {
  23330. Node172_3compspts[0] -= 0;
  23331. Node172_3compspts[1] -= 0;
  23332. Node172_3compspts[Node172_3ptslength-2] += 0;
  23333. Node172_3compspts[Node172_3ptslength-1] += 0;
  23334. }
  23335. Node172_3 = new ht.Node();
  23336. Node172_3.borderWidth = 1;
  23337. Node172_3rect.width = Node172_3rect.width === 0 ? 0.0001 : Node172_3rect.width;
  23338. Node172_3rect.height = Node172_3rect.height === 0 ? 0.0001 : Node172_3rect.height;
  23339. var Node172_3endCompspts = [Node172_3compspts[Node172_3ptslength-2],Node172_3compspts[Node172_3ptslength-1],0,0];
  23340. var Node172_3startCompspts = [Node172_3compspts[0],Node172_3compspts[1],0,0];
  23341. Node172_3.setImage(GD.getPolyLineJSON());
  23342. Node172_3.setPosition(Node172_3rect.x+Node172_3rect.width/2,Node172_3rect.y+Node172_3rect.height/2);
  23343. Node172_3.setSize(Node172_3rect.width,Node172_3rect.height);
  23344. Node172_3.setStyle("opacity",1);
  23345. Node172_3.s({'pixelPerfect':true});
  23346. Node172_3borderwidth=1;
  23347. Node172_3.setRotation(0);
  23348. dataModel.add(Node172_3);
  23349. Node172_3.a('node.points',Node172_3compspts);
  23350. Node172_3.a('node.segments',[1,2]);
  23351. Node172_3.a('node.color','rgba(255,0,255,1)');
  23352. Node172_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23353. Node172_3.a('node.borderColor','rgba(255,0,255,1)');
  23354. Node172_3.a('node.background','rgba(255,0,255,1)');
  23355. Node172_3.a('node.gradient','');
  23356. Node172_3.a('node.gradientcolor','rgba(255,0,255,1)');
  23357. Node172_3.a('node.endCompspts',Node172_3endCompspts);
  23358. Node172_3.a('node.startCompspts',Node172_3startCompspts);
  23359. (function (node, img, compspts, endCompspts, startCompspts) {
  23360. var position = node.getPosition(),
  23361. w = node.getWidth()*_ratio.ratioX,
  23362. h = node.getHeight()*_ratio.ratioY;
  23363. function resetPoints(rx, ry) {
  23364. for (var i = 0, len = compspts.length; i < len; i++) {
  23365. if (i%2 === 0) {
  23366. compspts[i]*=rx;
  23367. } else {
  23368. compspts[i]*=ry;
  23369. }
  23370. }
  23371. endCompspts[0] = compspts[compspts.length-2];
  23372. endCompspts[1] = compspts[compspts.length-1];
  23373. endCompspts[2] *= rx;
  23374. endCompspts[3] *= ry;
  23375. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23376. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23377. startCompspts[0] = compspts[0];
  23378. startCompspts[1] = compspts[1];
  23379. startCompspts[2] *= rx;
  23380. startCompspts[3] *= ry;
  23381. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23382. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23383. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23384. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23385. }
  23386. node.setSize(w, h);
  23387. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23388. node.a('node.width', w);
  23389. node.a('node.height', h);
  23390. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23391. node.borderWidth = 1;
  23392. node.a('node.borderwidth',node.borderWidth);
  23393. node._nodename = 'Node172_3';
  23394. node._nodeType = 'line';
  23395. zoomNodeList.push({
  23396. node: node,
  23397. attr: 'node.borderwidth'
  23398. });
  23399. var setWidth = node.setWidth,
  23400. setHeight = node.setHeight,
  23401. timer, rx = 1, ry = 1;
  23402. node.setWidth = function (width) {
  23403. var _width = this.getWidth();
  23404. rx = width / _width;
  23405. node.a('node.width', width);
  23406. setWidth.apply(this, arguments);
  23407. resetPoints(rx, 1);
  23408. }
  23409. node.setHeight = function (height) {
  23410. var _height = this.getHeight();
  23411. ry = height / _height;
  23412. node.a('node.height', height);
  23413. setHeight.apply(this, arguments);
  23414. resetPoints(1, ry);
  23415. }
  23416. })(Node172_3, Node172_3.getImage(), Node172_3compspts, Node172_3endCompspts, Node172_3startCompspts);
  23417. var Node173_0points=[992, 478,998, 478],
  23418. Node173_0rect=ht.Default.unionPoint([{x:992,y:478},{x:998,y:478}]),
  23419. Node173_0compspts=[];
  23420. _ratio = GD.getRatioWithRotation(0, ratio);
  23421. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23422. _endratio = GD.getRatioWithRotation(0, ratio);
  23423. for(var i=0;i<Node173_0points.length;i++){
  23424. if(i%2==0){
  23425. Node173_0compspts.push(Node173_0points[i]-Node173_0rect.x);
  23426. }else{
  23427. Node173_0compspts.push(Node173_0points[i]-Node173_0rect.y);
  23428. }
  23429. }
  23430. var Node173_0ptslength=Node173_0compspts.length;
  23431. if (Node173_0rect.height === 0) {
  23432. Node173_0compspts[0] -= 0;
  23433. Node173_0compspts[Node173_0ptslength-2] += 0;
  23434. } else if (Node173_0rect.width === 0){
  23435. Node173_0compspts[1] -= 0;
  23436. Node173_0compspts[Node173_0ptslength-1] += 0;
  23437. } else {
  23438. Node173_0compspts[0] -= 0;
  23439. Node173_0compspts[1] -= 0;
  23440. Node173_0compspts[Node173_0ptslength-2] += 0;
  23441. Node173_0compspts[Node173_0ptslength-1] += 0;
  23442. }
  23443. Node173_0 = new ht.Node();
  23444. Node173_0.borderWidth = 1;
  23445. Node173_0rect.width = Node173_0rect.width === 0 ? 0.0001 : Node173_0rect.width;
  23446. Node173_0rect.height = Node173_0rect.height === 0 ? 0.0001 : Node173_0rect.height;
  23447. var Node173_0endCompspts = [Node173_0compspts[Node173_0ptslength-2],Node173_0compspts[Node173_0ptslength-1],0,0];
  23448. var Node173_0startCompspts = [Node173_0compspts[0],Node173_0compspts[1],0,0];
  23449. Node173_0.setImage(GD.getPolyLineJSON());
  23450. Node173_0.setPosition(Node173_0rect.x+Node173_0rect.width/2,Node173_0rect.y+Node173_0rect.height/2);
  23451. Node173_0.setSize(Node173_0rect.width,Node173_0rect.height);
  23452. Node173_0.setStyle("opacity",1);
  23453. Node173_0.s({'pixelPerfect':true});
  23454. Node173_0borderwidth=1;
  23455. Node173_0.setRotation(0);
  23456. dataModel.add(Node173_0);
  23457. Node173_0.a('node.points',Node173_0compspts);
  23458. Node173_0.a('node.segments',[1,2]);
  23459. Node173_0.a('node.color','rgba(255,0,255,1)');
  23460. Node173_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23461. Node173_0.a('node.borderColor','rgba(255,0,255,1)');
  23462. Node173_0.a('node.background','rgba(255,0,255,1)');
  23463. Node173_0.a('node.gradient','');
  23464. Node173_0.a('node.gradientcolor','rgba(255,0,255,1)');
  23465. Node173_0.a('node.endCompspts',Node173_0endCompspts);
  23466. Node173_0.a('node.startCompspts',Node173_0startCompspts);
  23467. (function (node, img, compspts, endCompspts, startCompspts) {
  23468. var position = node.getPosition(),
  23469. w = node.getWidth()*_ratio.ratioX,
  23470. h = node.getHeight()*_ratio.ratioY;
  23471. function resetPoints(rx, ry) {
  23472. for (var i = 0, len = compspts.length; i < len; i++) {
  23473. if (i%2 === 0) {
  23474. compspts[i]*=rx;
  23475. } else {
  23476. compspts[i]*=ry;
  23477. }
  23478. }
  23479. endCompspts[0] = compspts[compspts.length-2];
  23480. endCompspts[1] = compspts[compspts.length-1];
  23481. endCompspts[2] *= rx;
  23482. endCompspts[3] *= ry;
  23483. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23484. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23485. startCompspts[0] = compspts[0];
  23486. startCompspts[1] = compspts[1];
  23487. startCompspts[2] *= rx;
  23488. startCompspts[3] *= ry;
  23489. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23490. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23491. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23492. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23493. }
  23494. node.setSize(w, h);
  23495. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23496. node.a('node.width', w);
  23497. node.a('node.height', h);
  23498. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23499. node.borderWidth = 1;
  23500. node.a('node.borderwidth',node.borderWidth);
  23501. node._nodename = 'Node173_0';
  23502. node._nodeType = 'line';
  23503. zoomNodeList.push({
  23504. node: node,
  23505. attr: 'node.borderwidth'
  23506. });
  23507. var setWidth = node.setWidth,
  23508. setHeight = node.setHeight,
  23509. timer, rx = 1, ry = 1;
  23510. node.setWidth = function (width) {
  23511. var _width = this.getWidth();
  23512. rx = width / _width;
  23513. node.a('node.width', width);
  23514. setWidth.apply(this, arguments);
  23515. resetPoints(rx, 1);
  23516. }
  23517. node.setHeight = function (height) {
  23518. var _height = this.getHeight();
  23519. ry = height / _height;
  23520. node.a('node.height', height);
  23521. setHeight.apply(this, arguments);
  23522. resetPoints(1, ry);
  23523. }
  23524. })(Node173_0, Node173_0.getImage(), Node173_0compspts, Node173_0endCompspts, Node173_0startCompspts);
  23525. var Node173_1points=[990, 474,1001, 474],
  23526. Node173_1rect=ht.Default.unionPoint([{x:990,y:474},{x:1001,y:474}]),
  23527. Node173_1compspts=[];
  23528. _ratio = GD.getRatioWithRotation(0, ratio);
  23529. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23530. _endratio = GD.getRatioWithRotation(0, ratio);
  23531. for(var i=0;i<Node173_1points.length;i++){
  23532. if(i%2==0){
  23533. Node173_1compspts.push(Node173_1points[i]-Node173_1rect.x);
  23534. }else{
  23535. Node173_1compspts.push(Node173_1points[i]-Node173_1rect.y);
  23536. }
  23537. }
  23538. var Node173_1ptslength=Node173_1compspts.length;
  23539. if (Node173_1rect.height === 0) {
  23540. Node173_1compspts[0] -= 0;
  23541. Node173_1compspts[Node173_1ptslength-2] += 0;
  23542. } else if (Node173_1rect.width === 0){
  23543. Node173_1compspts[1] -= 0;
  23544. Node173_1compspts[Node173_1ptslength-1] += 0;
  23545. } else {
  23546. Node173_1compspts[0] -= 0;
  23547. Node173_1compspts[1] -= 0;
  23548. Node173_1compspts[Node173_1ptslength-2] += 0;
  23549. Node173_1compspts[Node173_1ptslength-1] += 0;
  23550. }
  23551. Node173_1 = new ht.Node();
  23552. Node173_1.borderWidth = 1;
  23553. Node173_1rect.width = Node173_1rect.width === 0 ? 0.0001 : Node173_1rect.width;
  23554. Node173_1rect.height = Node173_1rect.height === 0 ? 0.0001 : Node173_1rect.height;
  23555. var Node173_1endCompspts = [Node173_1compspts[Node173_1ptslength-2],Node173_1compspts[Node173_1ptslength-1],0,0];
  23556. var Node173_1startCompspts = [Node173_1compspts[0],Node173_1compspts[1],0,0];
  23557. Node173_1.setImage(GD.getPolyLineJSON());
  23558. Node173_1.setPosition(Node173_1rect.x+Node173_1rect.width/2,Node173_1rect.y+Node173_1rect.height/2);
  23559. Node173_1.setSize(Node173_1rect.width,Node173_1rect.height);
  23560. Node173_1.setStyle("opacity",1);
  23561. Node173_1.s({'pixelPerfect':true});
  23562. Node173_1borderwidth=1;
  23563. Node173_1.setRotation(0);
  23564. dataModel.add(Node173_1);
  23565. Node173_1.a('node.points',Node173_1compspts);
  23566. Node173_1.a('node.segments',[1,2]);
  23567. Node173_1.a('node.color','rgba(255,0,255,1)');
  23568. Node173_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23569. Node173_1.a('node.borderColor','rgba(255,0,255,1)');
  23570. Node173_1.a('node.background','rgba(255,0,255,1)');
  23571. Node173_1.a('node.gradient','');
  23572. Node173_1.a('node.gradientcolor','rgba(255,0,255,1)');
  23573. Node173_1.a('node.endCompspts',Node173_1endCompspts);
  23574. Node173_1.a('node.startCompspts',Node173_1startCompspts);
  23575. (function (node, img, compspts, endCompspts, startCompspts) {
  23576. var position = node.getPosition(),
  23577. w = node.getWidth()*_ratio.ratioX,
  23578. h = node.getHeight()*_ratio.ratioY;
  23579. function resetPoints(rx, ry) {
  23580. for (var i = 0, len = compspts.length; i < len; i++) {
  23581. if (i%2 === 0) {
  23582. compspts[i]*=rx;
  23583. } else {
  23584. compspts[i]*=ry;
  23585. }
  23586. }
  23587. endCompspts[0] = compspts[compspts.length-2];
  23588. endCompspts[1] = compspts[compspts.length-1];
  23589. endCompspts[2] *= rx;
  23590. endCompspts[3] *= ry;
  23591. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23592. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23593. startCompspts[0] = compspts[0];
  23594. startCompspts[1] = compspts[1];
  23595. startCompspts[2] *= rx;
  23596. startCompspts[3] *= ry;
  23597. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23598. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23599. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23600. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23601. }
  23602. node.setSize(w, h);
  23603. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23604. node.a('node.width', w);
  23605. node.a('node.height', h);
  23606. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23607. node.borderWidth = 1;
  23608. node.a('node.borderwidth',node.borderWidth);
  23609. node._nodename = 'Node173_1';
  23610. node._nodeType = 'line';
  23611. zoomNodeList.push({
  23612. node: node,
  23613. attr: 'node.borderwidth'
  23614. });
  23615. var setWidth = node.setWidth,
  23616. setHeight = node.setHeight,
  23617. timer, rx = 1, ry = 1;
  23618. node.setWidth = function (width) {
  23619. var _width = this.getWidth();
  23620. rx = width / _width;
  23621. node.a('node.width', width);
  23622. setWidth.apply(this, arguments);
  23623. resetPoints(rx, 1);
  23624. }
  23625. node.setHeight = function (height) {
  23626. var _height = this.getHeight();
  23627. ry = height / _height;
  23628. node.a('node.height', height);
  23629. setHeight.apply(this, arguments);
  23630. resetPoints(1, ry);
  23631. }
  23632. })(Node173_1, Node173_1.getImage(), Node173_1compspts, Node173_1endCompspts, Node173_1startCompspts);
  23633. var Node173_2points=[987, 471,1003, 471],
  23634. Node173_2rect=ht.Default.unionPoint([{x:987,y:471},{x:1003,y:471}]),
  23635. Node173_2compspts=[];
  23636. _ratio = GD.getRatioWithRotation(0, ratio);
  23637. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23638. _endratio = GD.getRatioWithRotation(0, ratio);
  23639. for(var i=0;i<Node173_2points.length;i++){
  23640. if(i%2==0){
  23641. Node173_2compspts.push(Node173_2points[i]-Node173_2rect.x);
  23642. }else{
  23643. Node173_2compspts.push(Node173_2points[i]-Node173_2rect.y);
  23644. }
  23645. }
  23646. var Node173_2ptslength=Node173_2compspts.length;
  23647. if (Node173_2rect.height === 0) {
  23648. Node173_2compspts[0] -= 0;
  23649. Node173_2compspts[Node173_2ptslength-2] += 0;
  23650. } else if (Node173_2rect.width === 0){
  23651. Node173_2compspts[1] -= 0;
  23652. Node173_2compspts[Node173_2ptslength-1] += 0;
  23653. } else {
  23654. Node173_2compspts[0] -= 0;
  23655. Node173_2compspts[1] -= 0;
  23656. Node173_2compspts[Node173_2ptslength-2] += 0;
  23657. Node173_2compspts[Node173_2ptslength-1] += 0;
  23658. }
  23659. Node173_2 = new ht.Node();
  23660. Node173_2.borderWidth = 1;
  23661. Node173_2rect.width = Node173_2rect.width === 0 ? 0.0001 : Node173_2rect.width;
  23662. Node173_2rect.height = Node173_2rect.height === 0 ? 0.0001 : Node173_2rect.height;
  23663. var Node173_2endCompspts = [Node173_2compspts[Node173_2ptslength-2],Node173_2compspts[Node173_2ptslength-1],0,0];
  23664. var Node173_2startCompspts = [Node173_2compspts[0],Node173_2compspts[1],0,0];
  23665. Node173_2.setImage(GD.getPolyLineJSON());
  23666. Node173_2.setPosition(Node173_2rect.x+Node173_2rect.width/2,Node173_2rect.y+Node173_2rect.height/2);
  23667. Node173_2.setSize(Node173_2rect.width,Node173_2rect.height);
  23668. Node173_2.setStyle("opacity",1);
  23669. Node173_2.s({'pixelPerfect':true});
  23670. Node173_2borderwidth=1;
  23671. Node173_2.setRotation(0);
  23672. dataModel.add(Node173_2);
  23673. Node173_2.a('node.points',Node173_2compspts);
  23674. Node173_2.a('node.segments',[1,2]);
  23675. Node173_2.a('node.color','rgba(255,0,255,1)');
  23676. Node173_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23677. Node173_2.a('node.borderColor','rgba(255,0,255,1)');
  23678. Node173_2.a('node.background','rgba(255,0,255,1)');
  23679. Node173_2.a('node.gradient','');
  23680. Node173_2.a('node.gradientcolor','rgba(255,0,255,1)');
  23681. Node173_2.a('node.endCompspts',Node173_2endCompspts);
  23682. Node173_2.a('node.startCompspts',Node173_2startCompspts);
  23683. (function (node, img, compspts, endCompspts, startCompspts) {
  23684. var position = node.getPosition(),
  23685. w = node.getWidth()*_ratio.ratioX,
  23686. h = node.getHeight()*_ratio.ratioY;
  23687. function resetPoints(rx, ry) {
  23688. for (var i = 0, len = compspts.length; i < len; i++) {
  23689. if (i%2 === 0) {
  23690. compspts[i]*=rx;
  23691. } else {
  23692. compspts[i]*=ry;
  23693. }
  23694. }
  23695. endCompspts[0] = compspts[compspts.length-2];
  23696. endCompspts[1] = compspts[compspts.length-1];
  23697. endCompspts[2] *= rx;
  23698. endCompspts[3] *= ry;
  23699. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23700. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23701. startCompspts[0] = compspts[0];
  23702. startCompspts[1] = compspts[1];
  23703. startCompspts[2] *= rx;
  23704. startCompspts[3] *= ry;
  23705. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23706. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23707. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23708. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23709. }
  23710. node.setSize(w, h);
  23711. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23712. node.a('node.width', w);
  23713. node.a('node.height', h);
  23714. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23715. node.borderWidth = 1;
  23716. node.a('node.borderwidth',node.borderWidth);
  23717. node._nodename = 'Node173_2';
  23718. node._nodeType = 'line';
  23719. zoomNodeList.push({
  23720. node: node,
  23721. attr: 'node.borderwidth'
  23722. });
  23723. var setWidth = node.setWidth,
  23724. setHeight = node.setHeight,
  23725. timer, rx = 1, ry = 1;
  23726. node.setWidth = function (width) {
  23727. var _width = this.getWidth();
  23728. rx = width / _width;
  23729. node.a('node.width', width);
  23730. setWidth.apply(this, arguments);
  23731. resetPoints(rx, 1);
  23732. }
  23733. node.setHeight = function (height) {
  23734. var _height = this.getHeight();
  23735. ry = height / _height;
  23736. node.a('node.height', height);
  23737. setHeight.apply(this, arguments);
  23738. resetPoints(1, ry);
  23739. }
  23740. })(Node173_2, Node173_2.getImage(), Node173_2compspts, Node173_2endCompspts, Node173_2startCompspts);
  23741. var Node173_3points=[995, 471,995, 466],
  23742. Node173_3rect=ht.Default.unionPoint([{x:995,y:471},{x:995,y:466}]),
  23743. Node173_3compspts=[];
  23744. _ratio = GD.getRatioWithRotation(0, ratio);
  23745. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  23746. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  23747. for(var i=0;i<Node173_3points.length;i++){
  23748. if(i%2==0){
  23749. Node173_3compspts.push(Node173_3points[i]-Node173_3rect.x);
  23750. }else{
  23751. Node173_3compspts.push(Node173_3points[i]-Node173_3rect.y);
  23752. }
  23753. }
  23754. var Node173_3ptslength=Node173_3compspts.length;
  23755. if (Node173_3rect.height === 0) {
  23756. Node173_3compspts[0] -= 0;
  23757. Node173_3compspts[Node173_3ptslength-2] += 0;
  23758. } else if (Node173_3rect.width === 0){
  23759. Node173_3compspts[1] -= 0;
  23760. Node173_3compspts[Node173_3ptslength-1] += 0;
  23761. } else {
  23762. Node173_3compspts[0] -= 0;
  23763. Node173_3compspts[1] -= 0;
  23764. Node173_3compspts[Node173_3ptslength-2] += 0;
  23765. Node173_3compspts[Node173_3ptslength-1] += 0;
  23766. }
  23767. Node173_3 = new ht.Node();
  23768. Node173_3.borderWidth = 1;
  23769. Node173_3rect.width = Node173_3rect.width === 0 ? 0.0001 : Node173_3rect.width;
  23770. Node173_3rect.height = Node173_3rect.height === 0 ? 0.0001 : Node173_3rect.height;
  23771. var Node173_3endCompspts = [Node173_3compspts[Node173_3ptslength-2],Node173_3compspts[Node173_3ptslength-1],0,0];
  23772. var Node173_3startCompspts = [Node173_3compspts[0],Node173_3compspts[1],0,0];
  23773. Node173_3.setImage(GD.getPolyLineJSON());
  23774. Node173_3.setPosition(Node173_3rect.x+Node173_3rect.width/2,Node173_3rect.y+Node173_3rect.height/2);
  23775. Node173_3.setSize(Node173_3rect.width,Node173_3rect.height);
  23776. Node173_3.setStyle("opacity",1);
  23777. Node173_3.s({'pixelPerfect':true});
  23778. Node173_3borderwidth=1;
  23779. Node173_3.setRotation(0);
  23780. dataModel.add(Node173_3);
  23781. Node173_3.a('node.points',Node173_3compspts);
  23782. Node173_3.a('node.segments',[1,2]);
  23783. Node173_3.a('node.color','rgba(255,0,255,1)');
  23784. Node173_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23785. Node173_3.a('node.borderColor','rgba(255,0,255,1)');
  23786. Node173_3.a('node.background','rgba(255,0,255,1)');
  23787. Node173_3.a('node.gradient','');
  23788. Node173_3.a('node.gradientcolor','rgba(255,0,255,1)');
  23789. Node173_3.a('node.endCompspts',Node173_3endCompspts);
  23790. Node173_3.a('node.startCompspts',Node173_3startCompspts);
  23791. (function (node, img, compspts, endCompspts, startCompspts) {
  23792. var position = node.getPosition(),
  23793. w = node.getWidth()*_ratio.ratioX,
  23794. h = node.getHeight()*_ratio.ratioY;
  23795. function resetPoints(rx, ry) {
  23796. for (var i = 0, len = compspts.length; i < len; i++) {
  23797. if (i%2 === 0) {
  23798. compspts[i]*=rx;
  23799. } else {
  23800. compspts[i]*=ry;
  23801. }
  23802. }
  23803. endCompspts[0] = compspts[compspts.length-2];
  23804. endCompspts[1] = compspts[compspts.length-1];
  23805. endCompspts[2] *= rx;
  23806. endCompspts[3] *= ry;
  23807. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23808. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23809. startCompspts[0] = compspts[0];
  23810. startCompspts[1] = compspts[1];
  23811. startCompspts[2] *= rx;
  23812. startCompspts[3] *= ry;
  23813. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23814. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23815. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23816. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23817. }
  23818. node.setSize(w, h);
  23819. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23820. node.a('node.width', w);
  23821. node.a('node.height', h);
  23822. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23823. node.borderWidth = 1;
  23824. node.a('node.borderwidth',node.borderWidth);
  23825. node._nodename = 'Node173_3';
  23826. node._nodeType = 'line';
  23827. zoomNodeList.push({
  23828. node: node,
  23829. attr: 'node.borderwidth'
  23830. });
  23831. var setWidth = node.setWidth,
  23832. setHeight = node.setHeight,
  23833. timer, rx = 1, ry = 1;
  23834. node.setWidth = function (width) {
  23835. var _width = this.getWidth();
  23836. rx = width / _width;
  23837. node.a('node.width', width);
  23838. setWidth.apply(this, arguments);
  23839. resetPoints(rx, 1);
  23840. }
  23841. node.setHeight = function (height) {
  23842. var _height = this.getHeight();
  23843. ry = height / _height;
  23844. node.a('node.height', height);
  23845. setHeight.apply(this, arguments);
  23846. resetPoints(1, ry);
  23847. }
  23848. })(Node173_3, Node173_3.getImage(), Node173_3compspts, Node173_3endCompspts, Node173_3startCompspts);
  23849. var Node174_0points=[992, 517,998, 517],
  23850. Node174_0rect=ht.Default.unionPoint([{x:992,y:517},{x:998,y:517}]),
  23851. Node174_0compspts=[];
  23852. _ratio = GD.getRatioWithRotation(0, ratio);
  23853. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23854. _endratio = GD.getRatioWithRotation(0, ratio);
  23855. for(var i=0;i<Node174_0points.length;i++){
  23856. if(i%2==0){
  23857. Node174_0compspts.push(Node174_0points[i]-Node174_0rect.x);
  23858. }else{
  23859. Node174_0compspts.push(Node174_0points[i]-Node174_0rect.y);
  23860. }
  23861. }
  23862. var Node174_0ptslength=Node174_0compspts.length;
  23863. if (Node174_0rect.height === 0) {
  23864. Node174_0compspts[0] -= 0;
  23865. Node174_0compspts[Node174_0ptslength-2] += 0;
  23866. } else if (Node174_0rect.width === 0){
  23867. Node174_0compspts[1] -= 0;
  23868. Node174_0compspts[Node174_0ptslength-1] += 0;
  23869. } else {
  23870. Node174_0compspts[0] -= 0;
  23871. Node174_0compspts[1] -= 0;
  23872. Node174_0compspts[Node174_0ptslength-2] += 0;
  23873. Node174_0compspts[Node174_0ptslength-1] += 0;
  23874. }
  23875. Node174_0 = new ht.Node();
  23876. Node174_0.borderWidth = 1;
  23877. Node174_0rect.width = Node174_0rect.width === 0 ? 0.0001 : Node174_0rect.width;
  23878. Node174_0rect.height = Node174_0rect.height === 0 ? 0.0001 : Node174_0rect.height;
  23879. var Node174_0endCompspts = [Node174_0compspts[Node174_0ptslength-2],Node174_0compspts[Node174_0ptslength-1],0,0];
  23880. var Node174_0startCompspts = [Node174_0compspts[0],Node174_0compspts[1],0,0];
  23881. Node174_0.setImage(GD.getPolyLineJSON());
  23882. Node174_0.setPosition(Node174_0rect.x+Node174_0rect.width/2,Node174_0rect.y+Node174_0rect.height/2);
  23883. Node174_0.setSize(Node174_0rect.width,Node174_0rect.height);
  23884. Node174_0.setStyle("opacity",1);
  23885. Node174_0.s({'pixelPerfect':true});
  23886. Node174_0borderwidth=1;
  23887. Node174_0.setRotation(0);
  23888. dataModel.add(Node174_0);
  23889. Node174_0.a('node.points',Node174_0compspts);
  23890. Node174_0.a('node.segments',[1,2]);
  23891. Node174_0.a('node.color','rgba(255,0,255,1)');
  23892. Node174_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  23893. Node174_0.a('node.borderColor','rgba(255,0,255,1)');
  23894. Node174_0.a('node.background','rgba(255,0,255,1)');
  23895. Node174_0.a('node.gradient','');
  23896. Node174_0.a('node.gradientcolor','rgba(255,0,255,1)');
  23897. Node174_0.a('node.endCompspts',Node174_0endCompspts);
  23898. Node174_0.a('node.startCompspts',Node174_0startCompspts);
  23899. (function (node, img, compspts, endCompspts, startCompspts) {
  23900. var position = node.getPosition(),
  23901. w = node.getWidth()*_ratio.ratioX,
  23902. h = node.getHeight()*_ratio.ratioY;
  23903. function resetPoints(rx, ry) {
  23904. for (var i = 0, len = compspts.length; i < len; i++) {
  23905. if (i%2 === 0) {
  23906. compspts[i]*=rx;
  23907. } else {
  23908. compspts[i]*=ry;
  23909. }
  23910. }
  23911. endCompspts[0] = compspts[compspts.length-2];
  23912. endCompspts[1] = compspts[compspts.length-1];
  23913. endCompspts[2] *= rx;
  23914. endCompspts[3] *= ry;
  23915. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  23916. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  23917. startCompspts[0] = compspts[0];
  23918. startCompspts[1] = compspts[1];
  23919. startCompspts[2] *= rx;
  23920. startCompspts[3] *= ry;
  23921. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  23922. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  23923. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  23924. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  23925. }
  23926. node.setSize(w, h);
  23927. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  23928. node.a('node.width', w);
  23929. node.a('node.height', h);
  23930. resetPoints(_ratio.ratioX, _ratio.ratioY);
  23931. node.borderWidth = 1;
  23932. node.a('node.borderwidth',node.borderWidth);
  23933. node._nodename = 'Node174_0';
  23934. node._nodeType = 'line';
  23935. zoomNodeList.push({
  23936. node: node,
  23937. attr: 'node.borderwidth'
  23938. });
  23939. var setWidth = node.setWidth,
  23940. setHeight = node.setHeight,
  23941. timer, rx = 1, ry = 1;
  23942. node.setWidth = function (width) {
  23943. var _width = this.getWidth();
  23944. rx = width / _width;
  23945. node.a('node.width', width);
  23946. setWidth.apply(this, arguments);
  23947. resetPoints(rx, 1);
  23948. }
  23949. node.setHeight = function (height) {
  23950. var _height = this.getHeight();
  23951. ry = height / _height;
  23952. node.a('node.height', height);
  23953. setHeight.apply(this, arguments);
  23954. resetPoints(1, ry);
  23955. }
  23956. })(Node174_0, Node174_0.getImage(), Node174_0compspts, Node174_0endCompspts, Node174_0startCompspts);
  23957. var Node174_1points=[990, 514,1001, 514],
  23958. Node174_1rect=ht.Default.unionPoint([{x:990,y:514},{x:1001,y:514}]),
  23959. Node174_1compspts=[];
  23960. _ratio = GD.getRatioWithRotation(0, ratio);
  23961. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  23962. _endratio = GD.getRatioWithRotation(0, ratio);
  23963. for(var i=0;i<Node174_1points.length;i++){
  23964. if(i%2==0){
  23965. Node174_1compspts.push(Node174_1points[i]-Node174_1rect.x);
  23966. }else{
  23967. Node174_1compspts.push(Node174_1points[i]-Node174_1rect.y);
  23968. }
  23969. }
  23970. var Node174_1ptslength=Node174_1compspts.length;
  23971. if (Node174_1rect.height === 0) {
  23972. Node174_1compspts[0] -= 0;
  23973. Node174_1compspts[Node174_1ptslength-2] += 0;
  23974. } else if (Node174_1rect.width === 0){
  23975. Node174_1compspts[1] -= 0;
  23976. Node174_1compspts[Node174_1ptslength-1] += 0;
  23977. } else {
  23978. Node174_1compspts[0] -= 0;
  23979. Node174_1compspts[1] -= 0;
  23980. Node174_1compspts[Node174_1ptslength-2] += 0;
  23981. Node174_1compspts[Node174_1ptslength-1] += 0;
  23982. }
  23983. Node174_1 = new ht.Node();
  23984. Node174_1.borderWidth = 1;
  23985. Node174_1rect.width = Node174_1rect.width === 0 ? 0.0001 : Node174_1rect.width;
  23986. Node174_1rect.height = Node174_1rect.height === 0 ? 0.0001 : Node174_1rect.height;
  23987. var Node174_1endCompspts = [Node174_1compspts[Node174_1ptslength-2],Node174_1compspts[Node174_1ptslength-1],0,0];
  23988. var Node174_1startCompspts = [Node174_1compspts[0],Node174_1compspts[1],0,0];
  23989. Node174_1.setImage(GD.getPolyLineJSON());
  23990. Node174_1.setPosition(Node174_1rect.x+Node174_1rect.width/2,Node174_1rect.y+Node174_1rect.height/2);
  23991. Node174_1.setSize(Node174_1rect.width,Node174_1rect.height);
  23992. Node174_1.setStyle("opacity",1);
  23993. Node174_1.s({'pixelPerfect':true});
  23994. Node174_1borderwidth=1;
  23995. Node174_1.setRotation(0);
  23996. dataModel.add(Node174_1);
  23997. Node174_1.a('node.points',Node174_1compspts);
  23998. Node174_1.a('node.segments',[1,2]);
  23999. Node174_1.a('node.color','rgba(255,0,255,1)');
  24000. Node174_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24001. Node174_1.a('node.borderColor','rgba(255,0,255,1)');
  24002. Node174_1.a('node.background','rgba(255,0,255,1)');
  24003. Node174_1.a('node.gradient','');
  24004. Node174_1.a('node.gradientcolor','rgba(255,0,255,1)');
  24005. Node174_1.a('node.endCompspts',Node174_1endCompspts);
  24006. Node174_1.a('node.startCompspts',Node174_1startCompspts);
  24007. (function (node, img, compspts, endCompspts, startCompspts) {
  24008. var position = node.getPosition(),
  24009. w = node.getWidth()*_ratio.ratioX,
  24010. h = node.getHeight()*_ratio.ratioY;
  24011. function resetPoints(rx, ry) {
  24012. for (var i = 0, len = compspts.length; i < len; i++) {
  24013. if (i%2 === 0) {
  24014. compspts[i]*=rx;
  24015. } else {
  24016. compspts[i]*=ry;
  24017. }
  24018. }
  24019. endCompspts[0] = compspts[compspts.length-2];
  24020. endCompspts[1] = compspts[compspts.length-1];
  24021. endCompspts[2] *= rx;
  24022. endCompspts[3] *= ry;
  24023. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24024. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24025. startCompspts[0] = compspts[0];
  24026. startCompspts[1] = compspts[1];
  24027. startCompspts[2] *= rx;
  24028. startCompspts[3] *= ry;
  24029. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24030. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24031. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24032. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24033. }
  24034. node.setSize(w, h);
  24035. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24036. node.a('node.width', w);
  24037. node.a('node.height', h);
  24038. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24039. node.borderWidth = 1;
  24040. node.a('node.borderwidth',node.borderWidth);
  24041. node._nodename = 'Node174_1';
  24042. node._nodeType = 'line';
  24043. zoomNodeList.push({
  24044. node: node,
  24045. attr: 'node.borderwidth'
  24046. });
  24047. var setWidth = node.setWidth,
  24048. setHeight = node.setHeight,
  24049. timer, rx = 1, ry = 1;
  24050. node.setWidth = function (width) {
  24051. var _width = this.getWidth();
  24052. rx = width / _width;
  24053. node.a('node.width', width);
  24054. setWidth.apply(this, arguments);
  24055. resetPoints(rx, 1);
  24056. }
  24057. node.setHeight = function (height) {
  24058. var _height = this.getHeight();
  24059. ry = height / _height;
  24060. node.a('node.height', height);
  24061. setHeight.apply(this, arguments);
  24062. resetPoints(1, ry);
  24063. }
  24064. })(Node174_1, Node174_1.getImage(), Node174_1compspts, Node174_1endCompspts, Node174_1startCompspts);
  24065. var Node174_2points=[987, 511,1003, 511],
  24066. Node174_2rect=ht.Default.unionPoint([{x:987,y:511},{x:1003,y:511}]),
  24067. Node174_2compspts=[];
  24068. _ratio = GD.getRatioWithRotation(0, ratio);
  24069. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  24070. _endratio = GD.getRatioWithRotation(0, ratio);
  24071. for(var i=0;i<Node174_2points.length;i++){
  24072. if(i%2==0){
  24073. Node174_2compspts.push(Node174_2points[i]-Node174_2rect.x);
  24074. }else{
  24075. Node174_2compspts.push(Node174_2points[i]-Node174_2rect.y);
  24076. }
  24077. }
  24078. var Node174_2ptslength=Node174_2compspts.length;
  24079. if (Node174_2rect.height === 0) {
  24080. Node174_2compspts[0] -= 0;
  24081. Node174_2compspts[Node174_2ptslength-2] += 0;
  24082. } else if (Node174_2rect.width === 0){
  24083. Node174_2compspts[1] -= 0;
  24084. Node174_2compspts[Node174_2ptslength-1] += 0;
  24085. } else {
  24086. Node174_2compspts[0] -= 0;
  24087. Node174_2compspts[1] -= 0;
  24088. Node174_2compspts[Node174_2ptslength-2] += 0;
  24089. Node174_2compspts[Node174_2ptslength-1] += 0;
  24090. }
  24091. Node174_2 = new ht.Node();
  24092. Node174_2.borderWidth = 1;
  24093. Node174_2rect.width = Node174_2rect.width === 0 ? 0.0001 : Node174_2rect.width;
  24094. Node174_2rect.height = Node174_2rect.height === 0 ? 0.0001 : Node174_2rect.height;
  24095. var Node174_2endCompspts = [Node174_2compspts[Node174_2ptslength-2],Node174_2compspts[Node174_2ptslength-1],0,0];
  24096. var Node174_2startCompspts = [Node174_2compspts[0],Node174_2compspts[1],0,0];
  24097. Node174_2.setImage(GD.getPolyLineJSON());
  24098. Node174_2.setPosition(Node174_2rect.x+Node174_2rect.width/2,Node174_2rect.y+Node174_2rect.height/2);
  24099. Node174_2.setSize(Node174_2rect.width,Node174_2rect.height);
  24100. Node174_2.setStyle("opacity",1);
  24101. Node174_2.s({'pixelPerfect':true});
  24102. Node174_2borderwidth=1;
  24103. Node174_2.setRotation(0);
  24104. dataModel.add(Node174_2);
  24105. Node174_2.a('node.points',Node174_2compspts);
  24106. Node174_2.a('node.segments',[1,2]);
  24107. Node174_2.a('node.color','rgba(255,0,255,1)');
  24108. Node174_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24109. Node174_2.a('node.borderColor','rgba(255,0,255,1)');
  24110. Node174_2.a('node.background','rgba(255,0,255,1)');
  24111. Node174_2.a('node.gradient','');
  24112. Node174_2.a('node.gradientcolor','rgba(255,0,255,1)');
  24113. Node174_2.a('node.endCompspts',Node174_2endCompspts);
  24114. Node174_2.a('node.startCompspts',Node174_2startCompspts);
  24115. (function (node, img, compspts, endCompspts, startCompspts) {
  24116. var position = node.getPosition(),
  24117. w = node.getWidth()*_ratio.ratioX,
  24118. h = node.getHeight()*_ratio.ratioY;
  24119. function resetPoints(rx, ry) {
  24120. for (var i = 0, len = compspts.length; i < len; i++) {
  24121. if (i%2 === 0) {
  24122. compspts[i]*=rx;
  24123. } else {
  24124. compspts[i]*=ry;
  24125. }
  24126. }
  24127. endCompspts[0] = compspts[compspts.length-2];
  24128. endCompspts[1] = compspts[compspts.length-1];
  24129. endCompspts[2] *= rx;
  24130. endCompspts[3] *= ry;
  24131. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24132. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24133. startCompspts[0] = compspts[0];
  24134. startCompspts[1] = compspts[1];
  24135. startCompspts[2] *= rx;
  24136. startCompspts[3] *= ry;
  24137. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24138. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24139. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24140. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24141. }
  24142. node.setSize(w, h);
  24143. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24144. node.a('node.width', w);
  24145. node.a('node.height', h);
  24146. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24147. node.borderWidth = 1;
  24148. node.a('node.borderwidth',node.borderWidth);
  24149. node._nodename = 'Node174_2';
  24150. node._nodeType = 'line';
  24151. zoomNodeList.push({
  24152. node: node,
  24153. attr: 'node.borderwidth'
  24154. });
  24155. var setWidth = node.setWidth,
  24156. setHeight = node.setHeight,
  24157. timer, rx = 1, ry = 1;
  24158. node.setWidth = function (width) {
  24159. var _width = this.getWidth();
  24160. rx = width / _width;
  24161. node.a('node.width', width);
  24162. setWidth.apply(this, arguments);
  24163. resetPoints(rx, 1);
  24164. }
  24165. node.setHeight = function (height) {
  24166. var _height = this.getHeight();
  24167. ry = height / _height;
  24168. node.a('node.height', height);
  24169. setHeight.apply(this, arguments);
  24170. resetPoints(1, ry);
  24171. }
  24172. })(Node174_2, Node174_2.getImage(), Node174_2compspts, Node174_2endCompspts, Node174_2startCompspts);
  24173. var Node174_3points=[995, 511,995, 505],
  24174. Node174_3rect=ht.Default.unionPoint([{x:995,y:511},{x:995,y:505}]),
  24175. Node174_3compspts=[];
  24176. _ratio = GD.getRatioWithRotation(0, ratio);
  24177. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  24178. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  24179. for(var i=0;i<Node174_3points.length;i++){
  24180. if(i%2==0){
  24181. Node174_3compspts.push(Node174_3points[i]-Node174_3rect.x);
  24182. }else{
  24183. Node174_3compspts.push(Node174_3points[i]-Node174_3rect.y);
  24184. }
  24185. }
  24186. var Node174_3ptslength=Node174_3compspts.length;
  24187. if (Node174_3rect.height === 0) {
  24188. Node174_3compspts[0] -= 0;
  24189. Node174_3compspts[Node174_3ptslength-2] += 0;
  24190. } else if (Node174_3rect.width === 0){
  24191. Node174_3compspts[1] -= 0;
  24192. Node174_3compspts[Node174_3ptslength-1] += 0;
  24193. } else {
  24194. Node174_3compspts[0] -= 0;
  24195. Node174_3compspts[1] -= 0;
  24196. Node174_3compspts[Node174_3ptslength-2] += 0;
  24197. Node174_3compspts[Node174_3ptslength-1] += 0;
  24198. }
  24199. Node174_3 = new ht.Node();
  24200. Node174_3.borderWidth = 1;
  24201. Node174_3rect.width = Node174_3rect.width === 0 ? 0.0001 : Node174_3rect.width;
  24202. Node174_3rect.height = Node174_3rect.height === 0 ? 0.0001 : Node174_3rect.height;
  24203. var Node174_3endCompspts = [Node174_3compspts[Node174_3ptslength-2],Node174_3compspts[Node174_3ptslength-1],0,0];
  24204. var Node174_3startCompspts = [Node174_3compspts[0],Node174_3compspts[1],0,0];
  24205. Node174_3.setImage(GD.getPolyLineJSON());
  24206. Node174_3.setPosition(Node174_3rect.x+Node174_3rect.width/2,Node174_3rect.y+Node174_3rect.height/2);
  24207. Node174_3.setSize(Node174_3rect.width,Node174_3rect.height);
  24208. Node174_3.setStyle("opacity",1);
  24209. Node174_3.s({'pixelPerfect':true});
  24210. Node174_3borderwidth=1;
  24211. Node174_3.setRotation(0);
  24212. dataModel.add(Node174_3);
  24213. Node174_3.a('node.points',Node174_3compspts);
  24214. Node174_3.a('node.segments',[1,2]);
  24215. Node174_3.a('node.color','rgba(255,0,255,1)');
  24216. Node174_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24217. Node174_3.a('node.borderColor','rgba(255,0,255,1)');
  24218. Node174_3.a('node.background','rgba(255,0,255,1)');
  24219. Node174_3.a('node.gradient','');
  24220. Node174_3.a('node.gradientcolor','rgba(255,0,255,1)');
  24221. Node174_3.a('node.endCompspts',Node174_3endCompspts);
  24222. Node174_3.a('node.startCompspts',Node174_3startCompspts);
  24223. (function (node, img, compspts, endCompspts, startCompspts) {
  24224. var position = node.getPosition(),
  24225. w = node.getWidth()*_ratio.ratioX,
  24226. h = node.getHeight()*_ratio.ratioY;
  24227. function resetPoints(rx, ry) {
  24228. for (var i = 0, len = compspts.length; i < len; i++) {
  24229. if (i%2 === 0) {
  24230. compspts[i]*=rx;
  24231. } else {
  24232. compspts[i]*=ry;
  24233. }
  24234. }
  24235. endCompspts[0] = compspts[compspts.length-2];
  24236. endCompspts[1] = compspts[compspts.length-1];
  24237. endCompspts[2] *= rx;
  24238. endCompspts[3] *= ry;
  24239. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24240. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24241. startCompspts[0] = compspts[0];
  24242. startCompspts[1] = compspts[1];
  24243. startCompspts[2] *= rx;
  24244. startCompspts[3] *= ry;
  24245. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24246. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24247. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24248. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24249. }
  24250. node.setSize(w, h);
  24251. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24252. node.a('node.width', w);
  24253. node.a('node.height', h);
  24254. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24255. node.borderWidth = 1;
  24256. node.a('node.borderwidth',node.borderWidth);
  24257. node._nodename = 'Node174_3';
  24258. node._nodeType = 'line';
  24259. zoomNodeList.push({
  24260. node: node,
  24261. attr: 'node.borderwidth'
  24262. });
  24263. var setWidth = node.setWidth,
  24264. setHeight = node.setHeight,
  24265. timer, rx = 1, ry = 1;
  24266. node.setWidth = function (width) {
  24267. var _width = this.getWidth();
  24268. rx = width / _width;
  24269. node.a('node.width', width);
  24270. setWidth.apply(this, arguments);
  24271. resetPoints(rx, 1);
  24272. }
  24273. node.setHeight = function (height) {
  24274. var _height = this.getHeight();
  24275. ry = height / _height;
  24276. node.a('node.height', height);
  24277. setHeight.apply(this, arguments);
  24278. resetPoints(1, ry);
  24279. }
  24280. })(Node174_3, Node174_3.getImage(), Node174_3compspts, Node174_3endCompspts, Node174_3startCompspts);
  24281. var Node175_0points=[785, 577,791, 577],
  24282. Node175_0rect=ht.Default.unionPoint([{x:785,y:577},{x:791,y:577}]),
  24283. Node175_0compspts=[];
  24284. _ratio = GD.getRatioWithRotation(0, ratio);
  24285. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  24286. _endratio = GD.getRatioWithRotation(0, ratio);
  24287. for(var i=0;i<Node175_0points.length;i++){
  24288. if(i%2==0){
  24289. Node175_0compspts.push(Node175_0points[i]-Node175_0rect.x);
  24290. }else{
  24291. Node175_0compspts.push(Node175_0points[i]-Node175_0rect.y);
  24292. }
  24293. }
  24294. var Node175_0ptslength=Node175_0compspts.length;
  24295. if (Node175_0rect.height === 0) {
  24296. Node175_0compspts[0] -= 0;
  24297. Node175_0compspts[Node175_0ptslength-2] += 0;
  24298. } else if (Node175_0rect.width === 0){
  24299. Node175_0compspts[1] -= 0;
  24300. Node175_0compspts[Node175_0ptslength-1] += 0;
  24301. } else {
  24302. Node175_0compspts[0] -= 0;
  24303. Node175_0compspts[1] -= 0;
  24304. Node175_0compspts[Node175_0ptslength-2] += 0;
  24305. Node175_0compspts[Node175_0ptslength-1] += 0;
  24306. }
  24307. Node175_0 = new ht.Node();
  24308. Node175_0.borderWidth = 1;
  24309. Node175_0rect.width = Node175_0rect.width === 0 ? 0.0001 : Node175_0rect.width;
  24310. Node175_0rect.height = Node175_0rect.height === 0 ? 0.0001 : Node175_0rect.height;
  24311. var Node175_0endCompspts = [Node175_0compspts[Node175_0ptslength-2],Node175_0compspts[Node175_0ptslength-1],0,0];
  24312. var Node175_0startCompspts = [Node175_0compspts[0],Node175_0compspts[1],0,0];
  24313. Node175_0.setImage(GD.getPolyLineJSON());
  24314. Node175_0.setPosition(Node175_0rect.x+Node175_0rect.width/2,Node175_0rect.y+Node175_0rect.height/2);
  24315. Node175_0.setSize(Node175_0rect.width,Node175_0rect.height);
  24316. Node175_0.setStyle("opacity",1);
  24317. Node175_0.s({'pixelPerfect':true});
  24318. Node175_0borderwidth=1;
  24319. Node175_0.setRotation(0);
  24320. dataModel.add(Node175_0);
  24321. Node175_0.a('node.points',Node175_0compspts);
  24322. Node175_0.a('node.segments',[1,2]);
  24323. Node175_0.a('node.color','rgba(255,128,0,1)');
  24324. Node175_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24325. Node175_0.a('node.borderColor','rgba(255,128,0,1)');
  24326. Node175_0.a('node.background','rgba(255,128,0,1)');
  24327. Node175_0.a('node.gradient','');
  24328. Node175_0.a('node.gradientcolor','rgba(255,128,0,1)');
  24329. Node175_0.a('node.endCompspts',Node175_0endCompspts);
  24330. Node175_0.a('node.startCompspts',Node175_0startCompspts);
  24331. (function (node, img, compspts, endCompspts, startCompspts) {
  24332. var position = node.getPosition(),
  24333. w = node.getWidth()*_ratio.ratioX,
  24334. h = node.getHeight()*_ratio.ratioY;
  24335. function resetPoints(rx, ry) {
  24336. for (var i = 0, len = compspts.length; i < len; i++) {
  24337. if (i%2 === 0) {
  24338. compspts[i]*=rx;
  24339. } else {
  24340. compspts[i]*=ry;
  24341. }
  24342. }
  24343. endCompspts[0] = compspts[compspts.length-2];
  24344. endCompspts[1] = compspts[compspts.length-1];
  24345. endCompspts[2] *= rx;
  24346. endCompspts[3] *= ry;
  24347. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24348. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24349. startCompspts[0] = compspts[0];
  24350. startCompspts[1] = compspts[1];
  24351. startCompspts[2] *= rx;
  24352. startCompspts[3] *= ry;
  24353. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24354. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24355. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24356. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24357. }
  24358. node.setSize(w, h);
  24359. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24360. node.a('node.width', w);
  24361. node.a('node.height', h);
  24362. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24363. node.borderWidth = 1;
  24364. node.a('node.borderwidth',node.borderWidth);
  24365. node._nodename = 'Node175_0';
  24366. node._nodeType = 'line';
  24367. zoomNodeList.push({
  24368. node: node,
  24369. attr: 'node.borderwidth'
  24370. });
  24371. var setWidth = node.setWidth,
  24372. setHeight = node.setHeight,
  24373. timer, rx = 1, ry = 1;
  24374. node.setWidth = function (width) {
  24375. var _width = this.getWidth();
  24376. rx = width / _width;
  24377. node.a('node.width', width);
  24378. setWidth.apply(this, arguments);
  24379. resetPoints(rx, 1);
  24380. }
  24381. node.setHeight = function (height) {
  24382. var _height = this.getHeight();
  24383. ry = height / _height;
  24384. node.a('node.height', height);
  24385. setHeight.apply(this, arguments);
  24386. resetPoints(1, ry);
  24387. }
  24388. })(Node175_0, Node175_0.getImage(), Node175_0compspts, Node175_0endCompspts, Node175_0startCompspts);
  24389. var Node175_1points=[782, 574,794, 574],
  24390. Node175_1rect=ht.Default.unionPoint([{x:782,y:574},{x:794,y:574}]),
  24391. Node175_1compspts=[];
  24392. _ratio = GD.getRatioWithRotation(0, ratio);
  24393. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  24394. _endratio = GD.getRatioWithRotation(0, ratio);
  24395. for(var i=0;i<Node175_1points.length;i++){
  24396. if(i%2==0){
  24397. Node175_1compspts.push(Node175_1points[i]-Node175_1rect.x);
  24398. }else{
  24399. Node175_1compspts.push(Node175_1points[i]-Node175_1rect.y);
  24400. }
  24401. }
  24402. var Node175_1ptslength=Node175_1compspts.length;
  24403. if (Node175_1rect.height === 0) {
  24404. Node175_1compspts[0] -= 0;
  24405. Node175_1compspts[Node175_1ptslength-2] += 0;
  24406. } else if (Node175_1rect.width === 0){
  24407. Node175_1compspts[1] -= 0;
  24408. Node175_1compspts[Node175_1ptslength-1] += 0;
  24409. } else {
  24410. Node175_1compspts[0] -= 0;
  24411. Node175_1compspts[1] -= 0;
  24412. Node175_1compspts[Node175_1ptslength-2] += 0;
  24413. Node175_1compspts[Node175_1ptslength-1] += 0;
  24414. }
  24415. Node175_1 = new ht.Node();
  24416. Node175_1.borderWidth = 1;
  24417. Node175_1rect.width = Node175_1rect.width === 0 ? 0.0001 : Node175_1rect.width;
  24418. Node175_1rect.height = Node175_1rect.height === 0 ? 0.0001 : Node175_1rect.height;
  24419. var Node175_1endCompspts = [Node175_1compspts[Node175_1ptslength-2],Node175_1compspts[Node175_1ptslength-1],0,0];
  24420. var Node175_1startCompspts = [Node175_1compspts[0],Node175_1compspts[1],0,0];
  24421. Node175_1.setImage(GD.getPolyLineJSON());
  24422. Node175_1.setPosition(Node175_1rect.x+Node175_1rect.width/2,Node175_1rect.y+Node175_1rect.height/2);
  24423. Node175_1.setSize(Node175_1rect.width,Node175_1rect.height);
  24424. Node175_1.setStyle("opacity",1);
  24425. Node175_1.s({'pixelPerfect':true});
  24426. Node175_1borderwidth=1;
  24427. Node175_1.setRotation(0);
  24428. dataModel.add(Node175_1);
  24429. Node175_1.a('node.points',Node175_1compspts);
  24430. Node175_1.a('node.segments',[1,2]);
  24431. Node175_1.a('node.color','rgba(255,128,0,1)');
  24432. Node175_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24433. Node175_1.a('node.borderColor','rgba(255,128,0,1)');
  24434. Node175_1.a('node.background','rgba(255,128,0,1)');
  24435. Node175_1.a('node.gradient','');
  24436. Node175_1.a('node.gradientcolor','rgba(255,128,0,1)');
  24437. Node175_1.a('node.endCompspts',Node175_1endCompspts);
  24438. Node175_1.a('node.startCompspts',Node175_1startCompspts);
  24439. (function (node, img, compspts, endCompspts, startCompspts) {
  24440. var position = node.getPosition(),
  24441. w = node.getWidth()*_ratio.ratioX,
  24442. h = node.getHeight()*_ratio.ratioY;
  24443. function resetPoints(rx, ry) {
  24444. for (var i = 0, len = compspts.length; i < len; i++) {
  24445. if (i%2 === 0) {
  24446. compspts[i]*=rx;
  24447. } else {
  24448. compspts[i]*=ry;
  24449. }
  24450. }
  24451. endCompspts[0] = compspts[compspts.length-2];
  24452. endCompspts[1] = compspts[compspts.length-1];
  24453. endCompspts[2] *= rx;
  24454. endCompspts[3] *= ry;
  24455. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24456. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24457. startCompspts[0] = compspts[0];
  24458. startCompspts[1] = compspts[1];
  24459. startCompspts[2] *= rx;
  24460. startCompspts[3] *= ry;
  24461. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24462. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24463. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24464. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24465. }
  24466. node.setSize(w, h);
  24467. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24468. node.a('node.width', w);
  24469. node.a('node.height', h);
  24470. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24471. node.borderWidth = 1;
  24472. node.a('node.borderwidth',node.borderWidth);
  24473. node._nodename = 'Node175_1';
  24474. node._nodeType = 'line';
  24475. zoomNodeList.push({
  24476. node: node,
  24477. attr: 'node.borderwidth'
  24478. });
  24479. var setWidth = node.setWidth,
  24480. setHeight = node.setHeight,
  24481. timer, rx = 1, ry = 1;
  24482. node.setWidth = function (width) {
  24483. var _width = this.getWidth();
  24484. rx = width / _width;
  24485. node.a('node.width', width);
  24486. setWidth.apply(this, arguments);
  24487. resetPoints(rx, 1);
  24488. }
  24489. node.setHeight = function (height) {
  24490. var _height = this.getHeight();
  24491. ry = height / _height;
  24492. node.a('node.height', height);
  24493. setHeight.apply(this, arguments);
  24494. resetPoints(1, ry);
  24495. }
  24496. })(Node175_1, Node175_1.getImage(), Node175_1compspts, Node175_1endCompspts, Node175_1startCompspts);
  24497. var Node175_2points=[780, 570,796, 570],
  24498. Node175_2rect=ht.Default.unionPoint([{x:780,y:570},{x:796,y:570}]),
  24499. Node175_2compspts=[];
  24500. _ratio = GD.getRatioWithRotation(0, ratio);
  24501. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  24502. _endratio = GD.getRatioWithRotation(0, ratio);
  24503. for(var i=0;i<Node175_2points.length;i++){
  24504. if(i%2==0){
  24505. Node175_2compspts.push(Node175_2points[i]-Node175_2rect.x);
  24506. }else{
  24507. Node175_2compspts.push(Node175_2points[i]-Node175_2rect.y);
  24508. }
  24509. }
  24510. var Node175_2ptslength=Node175_2compspts.length;
  24511. if (Node175_2rect.height === 0) {
  24512. Node175_2compspts[0] -= 0;
  24513. Node175_2compspts[Node175_2ptslength-2] += 0;
  24514. } else if (Node175_2rect.width === 0){
  24515. Node175_2compspts[1] -= 0;
  24516. Node175_2compspts[Node175_2ptslength-1] += 0;
  24517. } else {
  24518. Node175_2compspts[0] -= 0;
  24519. Node175_2compspts[1] -= 0;
  24520. Node175_2compspts[Node175_2ptslength-2] += 0;
  24521. Node175_2compspts[Node175_2ptslength-1] += 0;
  24522. }
  24523. Node175_2 = new ht.Node();
  24524. Node175_2.borderWidth = 1;
  24525. Node175_2rect.width = Node175_2rect.width === 0 ? 0.0001 : Node175_2rect.width;
  24526. Node175_2rect.height = Node175_2rect.height === 0 ? 0.0001 : Node175_2rect.height;
  24527. var Node175_2endCompspts = [Node175_2compspts[Node175_2ptslength-2],Node175_2compspts[Node175_2ptslength-1],0,0];
  24528. var Node175_2startCompspts = [Node175_2compspts[0],Node175_2compspts[1],0,0];
  24529. Node175_2.setImage(GD.getPolyLineJSON());
  24530. Node175_2.setPosition(Node175_2rect.x+Node175_2rect.width/2,Node175_2rect.y+Node175_2rect.height/2);
  24531. Node175_2.setSize(Node175_2rect.width,Node175_2rect.height);
  24532. Node175_2.setStyle("opacity",1);
  24533. Node175_2.s({'pixelPerfect':true});
  24534. Node175_2borderwidth=1;
  24535. Node175_2.setRotation(0);
  24536. dataModel.add(Node175_2);
  24537. Node175_2.a('node.points',Node175_2compspts);
  24538. Node175_2.a('node.segments',[1,2]);
  24539. Node175_2.a('node.color','rgba(255,128,0,1)');
  24540. Node175_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24541. Node175_2.a('node.borderColor','rgba(255,128,0,1)');
  24542. Node175_2.a('node.background','rgba(255,128,0,1)');
  24543. Node175_2.a('node.gradient','');
  24544. Node175_2.a('node.gradientcolor','rgba(255,128,0,1)');
  24545. Node175_2.a('node.endCompspts',Node175_2endCompspts);
  24546. Node175_2.a('node.startCompspts',Node175_2startCompspts);
  24547. (function (node, img, compspts, endCompspts, startCompspts) {
  24548. var position = node.getPosition(),
  24549. w = node.getWidth()*_ratio.ratioX,
  24550. h = node.getHeight()*_ratio.ratioY;
  24551. function resetPoints(rx, ry) {
  24552. for (var i = 0, len = compspts.length; i < len; i++) {
  24553. if (i%2 === 0) {
  24554. compspts[i]*=rx;
  24555. } else {
  24556. compspts[i]*=ry;
  24557. }
  24558. }
  24559. endCompspts[0] = compspts[compspts.length-2];
  24560. endCompspts[1] = compspts[compspts.length-1];
  24561. endCompspts[2] *= rx;
  24562. endCompspts[3] *= ry;
  24563. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24564. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24565. startCompspts[0] = compspts[0];
  24566. startCompspts[1] = compspts[1];
  24567. startCompspts[2] *= rx;
  24568. startCompspts[3] *= ry;
  24569. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24570. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24571. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24572. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24573. }
  24574. node.setSize(w, h);
  24575. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24576. node.a('node.width', w);
  24577. node.a('node.height', h);
  24578. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24579. node.borderWidth = 1;
  24580. node.a('node.borderwidth',node.borderWidth);
  24581. node._nodename = 'Node175_2';
  24582. node._nodeType = 'line';
  24583. zoomNodeList.push({
  24584. node: node,
  24585. attr: 'node.borderwidth'
  24586. });
  24587. var setWidth = node.setWidth,
  24588. setHeight = node.setHeight,
  24589. timer, rx = 1, ry = 1;
  24590. node.setWidth = function (width) {
  24591. var _width = this.getWidth();
  24592. rx = width / _width;
  24593. node.a('node.width', width);
  24594. setWidth.apply(this, arguments);
  24595. resetPoints(rx, 1);
  24596. }
  24597. node.setHeight = function (height) {
  24598. var _height = this.getHeight();
  24599. ry = height / _height;
  24600. node.a('node.height', height);
  24601. setHeight.apply(this, arguments);
  24602. resetPoints(1, ry);
  24603. }
  24604. })(Node175_2, Node175_2.getImage(), Node175_2compspts, Node175_2endCompspts, Node175_2startCompspts);
  24605. var Node175_3points=[788, 570,788, 565],
  24606. Node175_3rect=ht.Default.unionPoint([{x:788,y:570},{x:788,y:565}]),
  24607. Node175_3compspts=[];
  24608. _ratio = GD.getRatioWithRotation(0, ratio);
  24609. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  24610. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  24611. for(var i=0;i<Node175_3points.length;i++){
  24612. if(i%2==0){
  24613. Node175_3compspts.push(Node175_3points[i]-Node175_3rect.x);
  24614. }else{
  24615. Node175_3compspts.push(Node175_3points[i]-Node175_3rect.y);
  24616. }
  24617. }
  24618. var Node175_3ptslength=Node175_3compspts.length;
  24619. if (Node175_3rect.height === 0) {
  24620. Node175_3compspts[0] -= 0;
  24621. Node175_3compspts[Node175_3ptslength-2] += 0;
  24622. } else if (Node175_3rect.width === 0){
  24623. Node175_3compspts[1] -= 0;
  24624. Node175_3compspts[Node175_3ptslength-1] += 0;
  24625. } else {
  24626. Node175_3compspts[0] -= 0;
  24627. Node175_3compspts[1] -= 0;
  24628. Node175_3compspts[Node175_3ptslength-2] += 0;
  24629. Node175_3compspts[Node175_3ptslength-1] += 0;
  24630. }
  24631. Node175_3 = new ht.Node();
  24632. Node175_3.borderWidth = 1;
  24633. Node175_3rect.width = Node175_3rect.width === 0 ? 0.0001 : Node175_3rect.width;
  24634. Node175_3rect.height = Node175_3rect.height === 0 ? 0.0001 : Node175_3rect.height;
  24635. var Node175_3endCompspts = [Node175_3compspts[Node175_3ptslength-2],Node175_3compspts[Node175_3ptslength-1],0,0];
  24636. var Node175_3startCompspts = [Node175_3compspts[0],Node175_3compspts[1],0,0];
  24637. Node175_3.setImage(GD.getPolyLineJSON());
  24638. Node175_3.setPosition(Node175_3rect.x+Node175_3rect.width/2,Node175_3rect.y+Node175_3rect.height/2);
  24639. Node175_3.setSize(Node175_3rect.width,Node175_3rect.height);
  24640. Node175_3.setStyle("opacity",1);
  24641. Node175_3.s({'pixelPerfect':true});
  24642. Node175_3borderwidth=1;
  24643. Node175_3.setRotation(0);
  24644. dataModel.add(Node175_3);
  24645. Node175_3.a('node.points',Node175_3compspts);
  24646. Node175_3.a('node.segments',[1,2]);
  24647. Node175_3.a('node.color','rgba(255,128,0,1)');
  24648. Node175_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24649. Node175_3.a('node.borderColor','rgba(255,128,0,1)');
  24650. Node175_3.a('node.background','rgba(255,128,0,1)');
  24651. Node175_3.a('node.gradient','');
  24652. Node175_3.a('node.gradientcolor','rgba(255,128,0,1)');
  24653. Node175_3.a('node.endCompspts',Node175_3endCompspts);
  24654. Node175_3.a('node.startCompspts',Node175_3startCompspts);
  24655. (function (node, img, compspts, endCompspts, startCompspts) {
  24656. var position = node.getPosition(),
  24657. w = node.getWidth()*_ratio.ratioX,
  24658. h = node.getHeight()*_ratio.ratioY;
  24659. function resetPoints(rx, ry) {
  24660. for (var i = 0, len = compspts.length; i < len; i++) {
  24661. if (i%2 === 0) {
  24662. compspts[i]*=rx;
  24663. } else {
  24664. compspts[i]*=ry;
  24665. }
  24666. }
  24667. endCompspts[0] = compspts[compspts.length-2];
  24668. endCompspts[1] = compspts[compspts.length-1];
  24669. endCompspts[2] *= rx;
  24670. endCompspts[3] *= ry;
  24671. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24672. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24673. startCompspts[0] = compspts[0];
  24674. startCompspts[1] = compspts[1];
  24675. startCompspts[2] *= rx;
  24676. startCompspts[3] *= ry;
  24677. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24678. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24679. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24680. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24681. }
  24682. node.setSize(w, h);
  24683. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24684. node.a('node.width', w);
  24685. node.a('node.height', h);
  24686. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24687. node.borderWidth = 1;
  24688. node.a('node.borderwidth',node.borderWidth);
  24689. node._nodename = 'Node175_3';
  24690. node._nodeType = 'line';
  24691. zoomNodeList.push({
  24692. node: node,
  24693. attr: 'node.borderwidth'
  24694. });
  24695. var setWidth = node.setWidth,
  24696. setHeight = node.setHeight,
  24697. timer, rx = 1, ry = 1;
  24698. node.setWidth = function (width) {
  24699. var _width = this.getWidth();
  24700. rx = width / _width;
  24701. node.a('node.width', width);
  24702. setWidth.apply(this, arguments);
  24703. resetPoints(rx, 1);
  24704. }
  24705. node.setHeight = function (height) {
  24706. var _height = this.getHeight();
  24707. ry = height / _height;
  24708. node.a('node.height', height);
  24709. setHeight.apply(this, arguments);
  24710. resetPoints(1, ry);
  24711. }
  24712. })(Node175_3, Node175_3.getImage(), Node175_3compspts, Node175_3endCompspts, Node175_3startCompspts);
  24713. var Node176points=[933, 697,933, 679],
  24714. Node176rect=ht.Default.unionPoint([{x:933,y:697},{x:933,y:679}]),
  24715. Node176compspts=[];
  24716. _ratio = GD.getRatioWithRotation(0, ratio);
  24717. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  24718. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  24719. for(var i=0;i<Node176points.length;i++){
  24720. if(i%2==0){
  24721. Node176compspts.push(Node176points[i]-Node176rect.x);
  24722. }else{
  24723. Node176compspts.push(Node176points[i]-Node176rect.y);
  24724. }
  24725. }
  24726. var Node176ptslength=Node176compspts.length;
  24727. if (Node176rect.height === 0) {
  24728. Node176compspts[0] -= 0;
  24729. Node176compspts[Node176ptslength-2] += 0;
  24730. } else if (Node176rect.width === 0){
  24731. Node176compspts[1] -= 0;
  24732. Node176compspts[Node176ptslength-1] += 0;
  24733. } else {
  24734. Node176compspts[0] -= 0;
  24735. Node176compspts[1] -= 0;
  24736. Node176compspts[Node176ptslength-2] += 0;
  24737. Node176compspts[Node176ptslength-1] += 0;
  24738. }
  24739. Node176 = new ht.Node();
  24740. Node176.borderWidth = 1;
  24741. Node176rect.width = Node176rect.width === 0 ? 0.0001 : Node176rect.width;
  24742. Node176rect.height = Node176rect.height === 0 ? 0.0001 : Node176rect.height;
  24743. var Node176endCompspts = [Node176compspts[Node176ptslength-2],Node176compspts[Node176ptslength-1],0,0];
  24744. var Node176startCompspts = [Node176compspts[0],Node176compspts[1],0,0];
  24745. Node176.setImage(GD.getPolyLineJSON());
  24746. Node176.setPosition(Node176rect.x+Node176rect.width/2,Node176rect.y+Node176rect.height/2);
  24747. Node176.setSize(Node176rect.width,Node176rect.height);
  24748. Node176.setStyle("opacity",1);
  24749. Node176.s({'pixelPerfect':true});
  24750. Node176borderwidth=1;
  24751. Node176.setRotation(0);
  24752. dataModel.add(Node176);
  24753. Node176.a('node.points',Node176compspts);
  24754. Node176.a('node.segments',[1,2]);
  24755. Node176.a('node.color','rgba(255,128,0,1)');
  24756. Node176.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24757. Node176.a('node.borderColor','rgba(255,128,0,1)');
  24758. Node176.a('node.background','rgba(255,128,0,1)');
  24759. Node176.a('node.gradient','');
  24760. Node176.a('node.gradientcolor','rgba(255,128,0,1)');
  24761. Node176.a('node.endCompspts',Node176endCompspts);
  24762. Node176.a('node.startCompspts',Node176startCompspts);
  24763. (function (node, img, compspts, endCompspts, startCompspts) {
  24764. var position = node.getPosition(),
  24765. w = node.getWidth()*_ratio.ratioX,
  24766. h = node.getHeight()*_ratio.ratioY;
  24767. function resetPoints(rx, ry) {
  24768. for (var i = 0, len = compspts.length; i < len; i++) {
  24769. if (i%2 === 0) {
  24770. compspts[i]*=rx;
  24771. } else {
  24772. compspts[i]*=ry;
  24773. }
  24774. }
  24775. endCompspts[0] = compspts[compspts.length-2];
  24776. endCompspts[1] = compspts[compspts.length-1];
  24777. endCompspts[2] *= rx;
  24778. endCompspts[3] *= ry;
  24779. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24780. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24781. startCompspts[0] = compspts[0];
  24782. startCompspts[1] = compspts[1];
  24783. startCompspts[2] *= rx;
  24784. startCompspts[3] *= ry;
  24785. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24786. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24787. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24788. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24789. }
  24790. node.setSize(w, h);
  24791. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24792. node.a('node.width', w);
  24793. node.a('node.height', h);
  24794. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24795. node.borderWidth = 1;
  24796. node.a('node.borderwidth',node.borderWidth);
  24797. node._nodename = 'Node176';
  24798. node._nodeType = 'line';
  24799. zoomNodeList.push({
  24800. node: node,
  24801. attr: 'node.borderwidth'
  24802. });
  24803. var setWidth = node.setWidth,
  24804. setHeight = node.setHeight,
  24805. timer, rx = 1, ry = 1;
  24806. node.setWidth = function (width) {
  24807. var _width = this.getWidth();
  24808. rx = width / _width;
  24809. node.a('node.width', width);
  24810. setWidth.apply(this, arguments);
  24811. resetPoints(rx, 1);
  24812. }
  24813. node.setHeight = function (height) {
  24814. var _height = this.getHeight();
  24815. ry = height / _height;
  24816. node.a('node.height', height);
  24817. setHeight.apply(this, arguments);
  24818. resetPoints(1, ry);
  24819. }
  24820. })(Node176, Node176.getImage(), Node176compspts, Node176endCompspts, Node176startCompspts);
  24821. var Node177_0points=[929, 726,935, 726],
  24822. Node177_0rect=ht.Default.unionPoint([{x:929,y:726},{x:935,y:726}]),
  24823. Node177_0compspts=[];
  24824. _ratio = GD.getRatioWithRotation(0, ratio);
  24825. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  24826. _endratio = GD.getRatioWithRotation(0, ratio);
  24827. for(var i=0;i<Node177_0points.length;i++){
  24828. if(i%2==0){
  24829. Node177_0compspts.push(Node177_0points[i]-Node177_0rect.x);
  24830. }else{
  24831. Node177_0compspts.push(Node177_0points[i]-Node177_0rect.y);
  24832. }
  24833. }
  24834. var Node177_0ptslength=Node177_0compspts.length;
  24835. if (Node177_0rect.height === 0) {
  24836. Node177_0compspts[0] -= 0;
  24837. Node177_0compspts[Node177_0ptslength-2] += 0;
  24838. } else if (Node177_0rect.width === 0){
  24839. Node177_0compspts[1] -= 0;
  24840. Node177_0compspts[Node177_0ptslength-1] += 0;
  24841. } else {
  24842. Node177_0compspts[0] -= 0;
  24843. Node177_0compspts[1] -= 0;
  24844. Node177_0compspts[Node177_0ptslength-2] += 0;
  24845. Node177_0compspts[Node177_0ptslength-1] += 0;
  24846. }
  24847. Node177_0 = new ht.Node();
  24848. Node177_0.borderWidth = 1;
  24849. Node177_0rect.width = Node177_0rect.width === 0 ? 0.0001 : Node177_0rect.width;
  24850. Node177_0rect.height = Node177_0rect.height === 0 ? 0.0001 : Node177_0rect.height;
  24851. var Node177_0endCompspts = [Node177_0compspts[Node177_0ptslength-2],Node177_0compspts[Node177_0ptslength-1],0,0];
  24852. var Node177_0startCompspts = [Node177_0compspts[0],Node177_0compspts[1],0,0];
  24853. Node177_0.setImage(GD.getPolyLineJSON());
  24854. Node177_0.setPosition(Node177_0rect.x+Node177_0rect.width/2,Node177_0rect.y+Node177_0rect.height/2);
  24855. Node177_0.setSize(Node177_0rect.width,Node177_0rect.height);
  24856. Node177_0.setStyle("opacity",1);
  24857. Node177_0.s({'pixelPerfect':true});
  24858. Node177_0borderwidth=1;
  24859. Node177_0.setRotation(0);
  24860. dataModel.add(Node177_0);
  24861. Node177_0.a('node.points',Node177_0compspts);
  24862. Node177_0.a('node.segments',[1,2]);
  24863. Node177_0.a('node.color','rgba(255,128,0,1)');
  24864. Node177_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24865. Node177_0.a('node.borderColor','rgba(255,128,0,1)');
  24866. Node177_0.a('node.background','rgba(255,128,0,1)');
  24867. Node177_0.a('node.gradient','');
  24868. Node177_0.a('node.gradientcolor','rgba(255,128,0,1)');
  24869. Node177_0.a('node.endCompspts',Node177_0endCompspts);
  24870. Node177_0.a('node.startCompspts',Node177_0startCompspts);
  24871. (function (node, img, compspts, endCompspts, startCompspts) {
  24872. var position = node.getPosition(),
  24873. w = node.getWidth()*_ratio.ratioX,
  24874. h = node.getHeight()*_ratio.ratioY;
  24875. function resetPoints(rx, ry) {
  24876. for (var i = 0, len = compspts.length; i < len; i++) {
  24877. if (i%2 === 0) {
  24878. compspts[i]*=rx;
  24879. } else {
  24880. compspts[i]*=ry;
  24881. }
  24882. }
  24883. endCompspts[0] = compspts[compspts.length-2];
  24884. endCompspts[1] = compspts[compspts.length-1];
  24885. endCompspts[2] *= rx;
  24886. endCompspts[3] *= ry;
  24887. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24888. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24889. startCompspts[0] = compspts[0];
  24890. startCompspts[1] = compspts[1];
  24891. startCompspts[2] *= rx;
  24892. startCompspts[3] *= ry;
  24893. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  24894. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  24895. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  24896. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  24897. }
  24898. node.setSize(w, h);
  24899. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  24900. node.a('node.width', w);
  24901. node.a('node.height', h);
  24902. resetPoints(_ratio.ratioX, _ratio.ratioY);
  24903. node.borderWidth = 1;
  24904. node.a('node.borderwidth',node.borderWidth);
  24905. node._nodename = 'Node177_0';
  24906. node._nodeType = 'line';
  24907. zoomNodeList.push({
  24908. node: node,
  24909. attr: 'node.borderwidth'
  24910. });
  24911. var setWidth = node.setWidth,
  24912. setHeight = node.setHeight,
  24913. timer, rx = 1, ry = 1;
  24914. node.setWidth = function (width) {
  24915. var _width = this.getWidth();
  24916. rx = width / _width;
  24917. node.a('node.width', width);
  24918. setWidth.apply(this, arguments);
  24919. resetPoints(rx, 1);
  24920. }
  24921. node.setHeight = function (height) {
  24922. var _height = this.getHeight();
  24923. ry = height / _height;
  24924. node.a('node.height', height);
  24925. setHeight.apply(this, arguments);
  24926. resetPoints(1, ry);
  24927. }
  24928. })(Node177_0, Node177_0.getImage(), Node177_0compspts, Node177_0endCompspts, Node177_0startCompspts);
  24929. var Node177_1points=[927, 723,938, 723],
  24930. Node177_1rect=ht.Default.unionPoint([{x:927,y:723},{x:938,y:723}]),
  24931. Node177_1compspts=[];
  24932. _ratio = GD.getRatioWithRotation(0, ratio);
  24933. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  24934. _endratio = GD.getRatioWithRotation(0, ratio);
  24935. for(var i=0;i<Node177_1points.length;i++){
  24936. if(i%2==0){
  24937. Node177_1compspts.push(Node177_1points[i]-Node177_1rect.x);
  24938. }else{
  24939. Node177_1compspts.push(Node177_1points[i]-Node177_1rect.y);
  24940. }
  24941. }
  24942. var Node177_1ptslength=Node177_1compspts.length;
  24943. if (Node177_1rect.height === 0) {
  24944. Node177_1compspts[0] -= 0;
  24945. Node177_1compspts[Node177_1ptslength-2] += 0;
  24946. } else if (Node177_1rect.width === 0){
  24947. Node177_1compspts[1] -= 0;
  24948. Node177_1compspts[Node177_1ptslength-1] += 0;
  24949. } else {
  24950. Node177_1compspts[0] -= 0;
  24951. Node177_1compspts[1] -= 0;
  24952. Node177_1compspts[Node177_1ptslength-2] += 0;
  24953. Node177_1compspts[Node177_1ptslength-1] += 0;
  24954. }
  24955. Node177_1 = new ht.Node();
  24956. Node177_1.borderWidth = 1;
  24957. Node177_1rect.width = Node177_1rect.width === 0 ? 0.0001 : Node177_1rect.width;
  24958. Node177_1rect.height = Node177_1rect.height === 0 ? 0.0001 : Node177_1rect.height;
  24959. var Node177_1endCompspts = [Node177_1compspts[Node177_1ptslength-2],Node177_1compspts[Node177_1ptslength-1],0,0];
  24960. var Node177_1startCompspts = [Node177_1compspts[0],Node177_1compspts[1],0,0];
  24961. Node177_1.setImage(GD.getPolyLineJSON());
  24962. Node177_1.setPosition(Node177_1rect.x+Node177_1rect.width/2,Node177_1rect.y+Node177_1rect.height/2);
  24963. Node177_1.setSize(Node177_1rect.width,Node177_1rect.height);
  24964. Node177_1.setStyle("opacity",1);
  24965. Node177_1.s({'pixelPerfect':true});
  24966. Node177_1borderwidth=1;
  24967. Node177_1.setRotation(0);
  24968. dataModel.add(Node177_1);
  24969. Node177_1.a('node.points',Node177_1compspts);
  24970. Node177_1.a('node.segments',[1,2]);
  24971. Node177_1.a('node.color','rgba(255,128,0,1)');
  24972. Node177_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  24973. Node177_1.a('node.borderColor','rgba(255,128,0,1)');
  24974. Node177_1.a('node.background','rgba(255,128,0,1)');
  24975. Node177_1.a('node.gradient','');
  24976. Node177_1.a('node.gradientcolor','rgba(255,128,0,1)');
  24977. Node177_1.a('node.endCompspts',Node177_1endCompspts);
  24978. Node177_1.a('node.startCompspts',Node177_1startCompspts);
  24979. (function (node, img, compspts, endCompspts, startCompspts) {
  24980. var position = node.getPosition(),
  24981. w = node.getWidth()*_ratio.ratioX,
  24982. h = node.getHeight()*_ratio.ratioY;
  24983. function resetPoints(rx, ry) {
  24984. for (var i = 0, len = compspts.length; i < len; i++) {
  24985. if (i%2 === 0) {
  24986. compspts[i]*=rx;
  24987. } else {
  24988. compspts[i]*=ry;
  24989. }
  24990. }
  24991. endCompspts[0] = compspts[compspts.length-2];
  24992. endCompspts[1] = compspts[compspts.length-1];
  24993. endCompspts[2] *= rx;
  24994. endCompspts[3] *= ry;
  24995. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  24996. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  24997. startCompspts[0] = compspts[0];
  24998. startCompspts[1] = compspts[1];
  24999. startCompspts[2] *= rx;
  25000. startCompspts[3] *= ry;
  25001. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25002. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25003. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25004. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25005. }
  25006. node.setSize(w, h);
  25007. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25008. node.a('node.width', w);
  25009. node.a('node.height', h);
  25010. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25011. node.borderWidth = 1;
  25012. node.a('node.borderwidth',node.borderWidth);
  25013. node._nodename = 'Node177_1';
  25014. node._nodeType = 'line';
  25015. zoomNodeList.push({
  25016. node: node,
  25017. attr: 'node.borderwidth'
  25018. });
  25019. var setWidth = node.setWidth,
  25020. setHeight = node.setHeight,
  25021. timer, rx = 1, ry = 1;
  25022. node.setWidth = function (width) {
  25023. var _width = this.getWidth();
  25024. rx = width / _width;
  25025. node.a('node.width', width);
  25026. setWidth.apply(this, arguments);
  25027. resetPoints(rx, 1);
  25028. }
  25029. node.setHeight = function (height) {
  25030. var _height = this.getHeight();
  25031. ry = height / _height;
  25032. node.a('node.height', height);
  25033. setHeight.apply(this, arguments);
  25034. resetPoints(1, ry);
  25035. }
  25036. })(Node177_1, Node177_1.getImage(), Node177_1compspts, Node177_1endCompspts, Node177_1startCompspts);
  25037. var Node177_2points=[924, 720,940, 720],
  25038. Node177_2rect=ht.Default.unionPoint([{x:924,y:720},{x:940,y:720}]),
  25039. Node177_2compspts=[];
  25040. _ratio = GD.getRatioWithRotation(0, ratio);
  25041. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25042. _endratio = GD.getRatioWithRotation(0, ratio);
  25043. for(var i=0;i<Node177_2points.length;i++){
  25044. if(i%2==0){
  25045. Node177_2compspts.push(Node177_2points[i]-Node177_2rect.x);
  25046. }else{
  25047. Node177_2compspts.push(Node177_2points[i]-Node177_2rect.y);
  25048. }
  25049. }
  25050. var Node177_2ptslength=Node177_2compspts.length;
  25051. if (Node177_2rect.height === 0) {
  25052. Node177_2compspts[0] -= 0;
  25053. Node177_2compspts[Node177_2ptslength-2] += 0;
  25054. } else if (Node177_2rect.width === 0){
  25055. Node177_2compspts[1] -= 0;
  25056. Node177_2compspts[Node177_2ptslength-1] += 0;
  25057. } else {
  25058. Node177_2compspts[0] -= 0;
  25059. Node177_2compspts[1] -= 0;
  25060. Node177_2compspts[Node177_2ptslength-2] += 0;
  25061. Node177_2compspts[Node177_2ptslength-1] += 0;
  25062. }
  25063. Node177_2 = new ht.Node();
  25064. Node177_2.borderWidth = 1;
  25065. Node177_2rect.width = Node177_2rect.width === 0 ? 0.0001 : Node177_2rect.width;
  25066. Node177_2rect.height = Node177_2rect.height === 0 ? 0.0001 : Node177_2rect.height;
  25067. var Node177_2endCompspts = [Node177_2compspts[Node177_2ptslength-2],Node177_2compspts[Node177_2ptslength-1],0,0];
  25068. var Node177_2startCompspts = [Node177_2compspts[0],Node177_2compspts[1],0,0];
  25069. Node177_2.setImage(GD.getPolyLineJSON());
  25070. Node177_2.setPosition(Node177_2rect.x+Node177_2rect.width/2,Node177_2rect.y+Node177_2rect.height/2);
  25071. Node177_2.setSize(Node177_2rect.width,Node177_2rect.height);
  25072. Node177_2.setStyle("opacity",1);
  25073. Node177_2.s({'pixelPerfect':true});
  25074. Node177_2borderwidth=1;
  25075. Node177_2.setRotation(0);
  25076. dataModel.add(Node177_2);
  25077. Node177_2.a('node.points',Node177_2compspts);
  25078. Node177_2.a('node.segments',[1,2]);
  25079. Node177_2.a('node.color','rgba(255,128,0,1)');
  25080. Node177_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25081. Node177_2.a('node.borderColor','rgba(255,128,0,1)');
  25082. Node177_2.a('node.background','rgba(255,128,0,1)');
  25083. Node177_2.a('node.gradient','');
  25084. Node177_2.a('node.gradientcolor','rgba(255,128,0,1)');
  25085. Node177_2.a('node.endCompspts',Node177_2endCompspts);
  25086. Node177_2.a('node.startCompspts',Node177_2startCompspts);
  25087. (function (node, img, compspts, endCompspts, startCompspts) {
  25088. var position = node.getPosition(),
  25089. w = node.getWidth()*_ratio.ratioX,
  25090. h = node.getHeight()*_ratio.ratioY;
  25091. function resetPoints(rx, ry) {
  25092. for (var i = 0, len = compspts.length; i < len; i++) {
  25093. if (i%2 === 0) {
  25094. compspts[i]*=rx;
  25095. } else {
  25096. compspts[i]*=ry;
  25097. }
  25098. }
  25099. endCompspts[0] = compspts[compspts.length-2];
  25100. endCompspts[1] = compspts[compspts.length-1];
  25101. endCompspts[2] *= rx;
  25102. endCompspts[3] *= ry;
  25103. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25104. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25105. startCompspts[0] = compspts[0];
  25106. startCompspts[1] = compspts[1];
  25107. startCompspts[2] *= rx;
  25108. startCompspts[3] *= ry;
  25109. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25110. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25111. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25112. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25113. }
  25114. node.setSize(w, h);
  25115. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25116. node.a('node.width', w);
  25117. node.a('node.height', h);
  25118. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25119. node.borderWidth = 1;
  25120. node.a('node.borderwidth',node.borderWidth);
  25121. node._nodename = 'Node177_2';
  25122. node._nodeType = 'line';
  25123. zoomNodeList.push({
  25124. node: node,
  25125. attr: 'node.borderwidth'
  25126. });
  25127. var setWidth = node.setWidth,
  25128. setHeight = node.setHeight,
  25129. timer, rx = 1, ry = 1;
  25130. node.setWidth = function (width) {
  25131. var _width = this.getWidth();
  25132. rx = width / _width;
  25133. node.a('node.width', width);
  25134. setWidth.apply(this, arguments);
  25135. resetPoints(rx, 1);
  25136. }
  25137. node.setHeight = function (height) {
  25138. var _height = this.getHeight();
  25139. ry = height / _height;
  25140. node.a('node.height', height);
  25141. setHeight.apply(this, arguments);
  25142. resetPoints(1, ry);
  25143. }
  25144. })(Node177_2, Node177_2.getImage(), Node177_2compspts, Node177_2endCompspts, Node177_2startCompspts);
  25145. var Node177_3points=[932, 720,932, 714],
  25146. Node177_3rect=ht.Default.unionPoint([{x:932,y:720},{x:932,y:714}]),
  25147. Node177_3compspts=[];
  25148. _ratio = GD.getRatioWithRotation(0, ratio);
  25149. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  25150. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  25151. for(var i=0;i<Node177_3points.length;i++){
  25152. if(i%2==0){
  25153. Node177_3compspts.push(Node177_3points[i]-Node177_3rect.x);
  25154. }else{
  25155. Node177_3compspts.push(Node177_3points[i]-Node177_3rect.y);
  25156. }
  25157. }
  25158. var Node177_3ptslength=Node177_3compspts.length;
  25159. if (Node177_3rect.height === 0) {
  25160. Node177_3compspts[0] -= 0;
  25161. Node177_3compspts[Node177_3ptslength-2] += 0;
  25162. } else if (Node177_3rect.width === 0){
  25163. Node177_3compspts[1] -= 0;
  25164. Node177_3compspts[Node177_3ptslength-1] += 0;
  25165. } else {
  25166. Node177_3compspts[0] -= 0;
  25167. Node177_3compspts[1] -= 0;
  25168. Node177_3compspts[Node177_3ptslength-2] += 0;
  25169. Node177_3compspts[Node177_3ptslength-1] += 0;
  25170. }
  25171. Node177_3 = new ht.Node();
  25172. Node177_3.borderWidth = 1;
  25173. Node177_3rect.width = Node177_3rect.width === 0 ? 0.0001 : Node177_3rect.width;
  25174. Node177_3rect.height = Node177_3rect.height === 0 ? 0.0001 : Node177_3rect.height;
  25175. var Node177_3endCompspts = [Node177_3compspts[Node177_3ptslength-2],Node177_3compspts[Node177_3ptslength-1],0,0];
  25176. var Node177_3startCompspts = [Node177_3compspts[0],Node177_3compspts[1],0,0];
  25177. Node177_3.setImage(GD.getPolyLineJSON());
  25178. Node177_3.setPosition(Node177_3rect.x+Node177_3rect.width/2,Node177_3rect.y+Node177_3rect.height/2);
  25179. Node177_3.setSize(Node177_3rect.width,Node177_3rect.height);
  25180. Node177_3.setStyle("opacity",1);
  25181. Node177_3.s({'pixelPerfect':true});
  25182. Node177_3borderwidth=1;
  25183. Node177_3.setRotation(0);
  25184. dataModel.add(Node177_3);
  25185. Node177_3.a('node.points',Node177_3compspts);
  25186. Node177_3.a('node.segments',[1,2]);
  25187. Node177_3.a('node.color','rgba(255,128,0,1)');
  25188. Node177_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25189. Node177_3.a('node.borderColor','rgba(255,128,0,1)');
  25190. Node177_3.a('node.background','rgba(255,128,0,1)');
  25191. Node177_3.a('node.gradient','');
  25192. Node177_3.a('node.gradientcolor','rgba(255,128,0,1)');
  25193. Node177_3.a('node.endCompspts',Node177_3endCompspts);
  25194. Node177_3.a('node.startCompspts',Node177_3startCompspts);
  25195. (function (node, img, compspts, endCompspts, startCompspts) {
  25196. var position = node.getPosition(),
  25197. w = node.getWidth()*_ratio.ratioX,
  25198. h = node.getHeight()*_ratio.ratioY;
  25199. function resetPoints(rx, ry) {
  25200. for (var i = 0, len = compspts.length; i < len; i++) {
  25201. if (i%2 === 0) {
  25202. compspts[i]*=rx;
  25203. } else {
  25204. compspts[i]*=ry;
  25205. }
  25206. }
  25207. endCompspts[0] = compspts[compspts.length-2];
  25208. endCompspts[1] = compspts[compspts.length-1];
  25209. endCompspts[2] *= rx;
  25210. endCompspts[3] *= ry;
  25211. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25212. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25213. startCompspts[0] = compspts[0];
  25214. startCompspts[1] = compspts[1];
  25215. startCompspts[2] *= rx;
  25216. startCompspts[3] *= ry;
  25217. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25218. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25219. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25220. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25221. }
  25222. node.setSize(w, h);
  25223. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25224. node.a('node.width', w);
  25225. node.a('node.height', h);
  25226. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25227. node.borderWidth = 1;
  25228. node.a('node.borderwidth',node.borderWidth);
  25229. node._nodename = 'Node177_3';
  25230. node._nodeType = 'line';
  25231. zoomNodeList.push({
  25232. node: node,
  25233. attr: 'node.borderwidth'
  25234. });
  25235. var setWidth = node.setWidth,
  25236. setHeight = node.setHeight,
  25237. timer, rx = 1, ry = 1;
  25238. node.setWidth = function (width) {
  25239. var _width = this.getWidth();
  25240. rx = width / _width;
  25241. node.a('node.width', width);
  25242. setWidth.apply(this, arguments);
  25243. resetPoints(rx, 1);
  25244. }
  25245. node.setHeight = function (height) {
  25246. var _height = this.getHeight();
  25247. ry = height / _height;
  25248. node.a('node.height', height);
  25249. setHeight.apply(this, arguments);
  25250. resetPoints(1, ry);
  25251. }
  25252. })(Node177_3, Node177_3.getImage(), Node177_3compspts, Node177_3endCompspts, Node177_3startCompspts);
  25253. var Node178_0points=[566, 728,572, 728],
  25254. Node178_0rect=ht.Default.unionPoint([{x:566,y:728},{x:572,y:728}]),
  25255. Node178_0compspts=[];
  25256. _ratio = GD.getRatioWithRotation(0, ratio);
  25257. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25258. _endratio = GD.getRatioWithRotation(0, ratio);
  25259. for(var i=0;i<Node178_0points.length;i++){
  25260. if(i%2==0){
  25261. Node178_0compspts.push(Node178_0points[i]-Node178_0rect.x);
  25262. }else{
  25263. Node178_0compspts.push(Node178_0points[i]-Node178_0rect.y);
  25264. }
  25265. }
  25266. var Node178_0ptslength=Node178_0compspts.length;
  25267. if (Node178_0rect.height === 0) {
  25268. Node178_0compspts[0] -= 0;
  25269. Node178_0compspts[Node178_0ptslength-2] += 0;
  25270. } else if (Node178_0rect.width === 0){
  25271. Node178_0compspts[1] -= 0;
  25272. Node178_0compspts[Node178_0ptslength-1] += 0;
  25273. } else {
  25274. Node178_0compspts[0] -= 0;
  25275. Node178_0compspts[1] -= 0;
  25276. Node178_0compspts[Node178_0ptslength-2] += 0;
  25277. Node178_0compspts[Node178_0ptslength-1] += 0;
  25278. }
  25279. Node178_0 = new ht.Node();
  25280. Node178_0.borderWidth = 1;
  25281. Node178_0rect.width = Node178_0rect.width === 0 ? 0.0001 : Node178_0rect.width;
  25282. Node178_0rect.height = Node178_0rect.height === 0 ? 0.0001 : Node178_0rect.height;
  25283. var Node178_0endCompspts = [Node178_0compspts[Node178_0ptslength-2],Node178_0compspts[Node178_0ptslength-1],0,0];
  25284. var Node178_0startCompspts = [Node178_0compspts[0],Node178_0compspts[1],0,0];
  25285. Node178_0.setImage(GD.getPolyLineJSON());
  25286. Node178_0.setPosition(Node178_0rect.x+Node178_0rect.width/2,Node178_0rect.y+Node178_0rect.height/2);
  25287. Node178_0.setSize(Node178_0rect.width,Node178_0rect.height);
  25288. Node178_0.setStyle("opacity",1);
  25289. Node178_0.s({'pixelPerfect':true});
  25290. Node178_0borderwidth=1;
  25291. Node178_0.setRotation(0);
  25292. dataModel.add(Node178_0);
  25293. Node178_0.a('node.points',Node178_0compspts);
  25294. Node178_0.a('node.segments',[1,2]);
  25295. Node178_0.a('node.color','rgba(255,128,0,1)');
  25296. Node178_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25297. Node178_0.a('node.borderColor','rgba(255,128,0,1)');
  25298. Node178_0.a('node.background','rgba(255,128,0,1)');
  25299. Node178_0.a('node.gradient','');
  25300. Node178_0.a('node.gradientcolor','rgba(255,128,0,1)');
  25301. Node178_0.a('node.endCompspts',Node178_0endCompspts);
  25302. Node178_0.a('node.startCompspts',Node178_0startCompspts);
  25303. (function (node, img, compspts, endCompspts, startCompspts) {
  25304. var position = node.getPosition(),
  25305. w = node.getWidth()*_ratio.ratioX,
  25306. h = node.getHeight()*_ratio.ratioY;
  25307. function resetPoints(rx, ry) {
  25308. for (var i = 0, len = compspts.length; i < len; i++) {
  25309. if (i%2 === 0) {
  25310. compspts[i]*=rx;
  25311. } else {
  25312. compspts[i]*=ry;
  25313. }
  25314. }
  25315. endCompspts[0] = compspts[compspts.length-2];
  25316. endCompspts[1] = compspts[compspts.length-1];
  25317. endCompspts[2] *= rx;
  25318. endCompspts[3] *= ry;
  25319. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25320. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25321. startCompspts[0] = compspts[0];
  25322. startCompspts[1] = compspts[1];
  25323. startCompspts[2] *= rx;
  25324. startCompspts[3] *= ry;
  25325. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25326. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25327. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25328. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25329. }
  25330. node.setSize(w, h);
  25331. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25332. node.a('node.width', w);
  25333. node.a('node.height', h);
  25334. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25335. node.borderWidth = 1;
  25336. node.a('node.borderwidth',node.borderWidth);
  25337. node._nodename = 'Node178_0';
  25338. node._nodeType = 'line';
  25339. zoomNodeList.push({
  25340. node: node,
  25341. attr: 'node.borderwidth'
  25342. });
  25343. var setWidth = node.setWidth,
  25344. setHeight = node.setHeight,
  25345. timer, rx = 1, ry = 1;
  25346. node.setWidth = function (width) {
  25347. var _width = this.getWidth();
  25348. rx = width / _width;
  25349. node.a('node.width', width);
  25350. setWidth.apply(this, arguments);
  25351. resetPoints(rx, 1);
  25352. }
  25353. node.setHeight = function (height) {
  25354. var _height = this.getHeight();
  25355. ry = height / _height;
  25356. node.a('node.height', height);
  25357. setHeight.apply(this, arguments);
  25358. resetPoints(1, ry);
  25359. }
  25360. })(Node178_0, Node178_0.getImage(), Node178_0compspts, Node178_0endCompspts, Node178_0startCompspts);
  25361. var Node178_1points=[563, 725,575, 725],
  25362. Node178_1rect=ht.Default.unionPoint([{x:563,y:725},{x:575,y:725}]),
  25363. Node178_1compspts=[];
  25364. _ratio = GD.getRatioWithRotation(0, ratio);
  25365. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25366. _endratio = GD.getRatioWithRotation(0, ratio);
  25367. for(var i=0;i<Node178_1points.length;i++){
  25368. if(i%2==0){
  25369. Node178_1compspts.push(Node178_1points[i]-Node178_1rect.x);
  25370. }else{
  25371. Node178_1compspts.push(Node178_1points[i]-Node178_1rect.y);
  25372. }
  25373. }
  25374. var Node178_1ptslength=Node178_1compspts.length;
  25375. if (Node178_1rect.height === 0) {
  25376. Node178_1compspts[0] -= 0;
  25377. Node178_1compspts[Node178_1ptslength-2] += 0;
  25378. } else if (Node178_1rect.width === 0){
  25379. Node178_1compspts[1] -= 0;
  25380. Node178_1compspts[Node178_1ptslength-1] += 0;
  25381. } else {
  25382. Node178_1compspts[0] -= 0;
  25383. Node178_1compspts[1] -= 0;
  25384. Node178_1compspts[Node178_1ptslength-2] += 0;
  25385. Node178_1compspts[Node178_1ptslength-1] += 0;
  25386. }
  25387. Node178_1 = new ht.Node();
  25388. Node178_1.borderWidth = 1;
  25389. Node178_1rect.width = Node178_1rect.width === 0 ? 0.0001 : Node178_1rect.width;
  25390. Node178_1rect.height = Node178_1rect.height === 0 ? 0.0001 : Node178_1rect.height;
  25391. var Node178_1endCompspts = [Node178_1compspts[Node178_1ptslength-2],Node178_1compspts[Node178_1ptslength-1],0,0];
  25392. var Node178_1startCompspts = [Node178_1compspts[0],Node178_1compspts[1],0,0];
  25393. Node178_1.setImage(GD.getPolyLineJSON());
  25394. Node178_1.setPosition(Node178_1rect.x+Node178_1rect.width/2,Node178_1rect.y+Node178_1rect.height/2);
  25395. Node178_1.setSize(Node178_1rect.width,Node178_1rect.height);
  25396. Node178_1.setStyle("opacity",1);
  25397. Node178_1.s({'pixelPerfect':true});
  25398. Node178_1borderwidth=1;
  25399. Node178_1.setRotation(0);
  25400. dataModel.add(Node178_1);
  25401. Node178_1.a('node.points',Node178_1compspts);
  25402. Node178_1.a('node.segments',[1,2]);
  25403. Node178_1.a('node.color','rgba(255,128,0,1)');
  25404. Node178_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25405. Node178_1.a('node.borderColor','rgba(255,128,0,1)');
  25406. Node178_1.a('node.background','rgba(255,128,0,1)');
  25407. Node178_1.a('node.gradient','');
  25408. Node178_1.a('node.gradientcolor','rgba(255,128,0,1)');
  25409. Node178_1.a('node.endCompspts',Node178_1endCompspts);
  25410. Node178_1.a('node.startCompspts',Node178_1startCompspts);
  25411. (function (node, img, compspts, endCompspts, startCompspts) {
  25412. var position = node.getPosition(),
  25413. w = node.getWidth()*_ratio.ratioX,
  25414. h = node.getHeight()*_ratio.ratioY;
  25415. function resetPoints(rx, ry) {
  25416. for (var i = 0, len = compspts.length; i < len; i++) {
  25417. if (i%2 === 0) {
  25418. compspts[i]*=rx;
  25419. } else {
  25420. compspts[i]*=ry;
  25421. }
  25422. }
  25423. endCompspts[0] = compspts[compspts.length-2];
  25424. endCompspts[1] = compspts[compspts.length-1];
  25425. endCompspts[2] *= rx;
  25426. endCompspts[3] *= ry;
  25427. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25428. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25429. startCompspts[0] = compspts[0];
  25430. startCompspts[1] = compspts[1];
  25431. startCompspts[2] *= rx;
  25432. startCompspts[3] *= ry;
  25433. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25434. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25435. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25436. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25437. }
  25438. node.setSize(w, h);
  25439. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25440. node.a('node.width', w);
  25441. node.a('node.height', h);
  25442. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25443. node.borderWidth = 1;
  25444. node.a('node.borderwidth',node.borderWidth);
  25445. node._nodename = 'Node178_1';
  25446. node._nodeType = 'line';
  25447. zoomNodeList.push({
  25448. node: node,
  25449. attr: 'node.borderwidth'
  25450. });
  25451. var setWidth = node.setWidth,
  25452. setHeight = node.setHeight,
  25453. timer, rx = 1, ry = 1;
  25454. node.setWidth = function (width) {
  25455. var _width = this.getWidth();
  25456. rx = width / _width;
  25457. node.a('node.width', width);
  25458. setWidth.apply(this, arguments);
  25459. resetPoints(rx, 1);
  25460. }
  25461. node.setHeight = function (height) {
  25462. var _height = this.getHeight();
  25463. ry = height / _height;
  25464. node.a('node.height', height);
  25465. setHeight.apply(this, arguments);
  25466. resetPoints(1, ry);
  25467. }
  25468. })(Node178_1, Node178_1.getImage(), Node178_1compspts, Node178_1endCompspts, Node178_1startCompspts);
  25469. var Node178_2points=[561, 722,577, 722],
  25470. Node178_2rect=ht.Default.unionPoint([{x:561,y:722},{x:577,y:722}]),
  25471. Node178_2compspts=[];
  25472. _ratio = GD.getRatioWithRotation(0, ratio);
  25473. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25474. _endratio = GD.getRatioWithRotation(0, ratio);
  25475. for(var i=0;i<Node178_2points.length;i++){
  25476. if(i%2==0){
  25477. Node178_2compspts.push(Node178_2points[i]-Node178_2rect.x);
  25478. }else{
  25479. Node178_2compspts.push(Node178_2points[i]-Node178_2rect.y);
  25480. }
  25481. }
  25482. var Node178_2ptslength=Node178_2compspts.length;
  25483. if (Node178_2rect.height === 0) {
  25484. Node178_2compspts[0] -= 0;
  25485. Node178_2compspts[Node178_2ptslength-2] += 0;
  25486. } else if (Node178_2rect.width === 0){
  25487. Node178_2compspts[1] -= 0;
  25488. Node178_2compspts[Node178_2ptslength-1] += 0;
  25489. } else {
  25490. Node178_2compspts[0] -= 0;
  25491. Node178_2compspts[1] -= 0;
  25492. Node178_2compspts[Node178_2ptslength-2] += 0;
  25493. Node178_2compspts[Node178_2ptslength-1] += 0;
  25494. }
  25495. Node178_2 = new ht.Node();
  25496. Node178_2.borderWidth = 1;
  25497. Node178_2rect.width = Node178_2rect.width === 0 ? 0.0001 : Node178_2rect.width;
  25498. Node178_2rect.height = Node178_2rect.height === 0 ? 0.0001 : Node178_2rect.height;
  25499. var Node178_2endCompspts = [Node178_2compspts[Node178_2ptslength-2],Node178_2compspts[Node178_2ptslength-1],0,0];
  25500. var Node178_2startCompspts = [Node178_2compspts[0],Node178_2compspts[1],0,0];
  25501. Node178_2.setImage(GD.getPolyLineJSON());
  25502. Node178_2.setPosition(Node178_2rect.x+Node178_2rect.width/2,Node178_2rect.y+Node178_2rect.height/2);
  25503. Node178_2.setSize(Node178_2rect.width,Node178_2rect.height);
  25504. Node178_2.setStyle("opacity",1);
  25505. Node178_2.s({'pixelPerfect':true});
  25506. Node178_2borderwidth=1;
  25507. Node178_2.setRotation(0);
  25508. dataModel.add(Node178_2);
  25509. Node178_2.a('node.points',Node178_2compspts);
  25510. Node178_2.a('node.segments',[1,2]);
  25511. Node178_2.a('node.color','rgba(255,128,0,1)');
  25512. Node178_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25513. Node178_2.a('node.borderColor','rgba(255,128,0,1)');
  25514. Node178_2.a('node.background','rgba(255,128,0,1)');
  25515. Node178_2.a('node.gradient','');
  25516. Node178_2.a('node.gradientcolor','rgba(255,128,0,1)');
  25517. Node178_2.a('node.endCompspts',Node178_2endCompspts);
  25518. Node178_2.a('node.startCompspts',Node178_2startCompspts);
  25519. (function (node, img, compspts, endCompspts, startCompspts) {
  25520. var position = node.getPosition(),
  25521. w = node.getWidth()*_ratio.ratioX,
  25522. h = node.getHeight()*_ratio.ratioY;
  25523. function resetPoints(rx, ry) {
  25524. for (var i = 0, len = compspts.length; i < len; i++) {
  25525. if (i%2 === 0) {
  25526. compspts[i]*=rx;
  25527. } else {
  25528. compspts[i]*=ry;
  25529. }
  25530. }
  25531. endCompspts[0] = compspts[compspts.length-2];
  25532. endCompspts[1] = compspts[compspts.length-1];
  25533. endCompspts[2] *= rx;
  25534. endCompspts[3] *= ry;
  25535. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25536. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25537. startCompspts[0] = compspts[0];
  25538. startCompspts[1] = compspts[1];
  25539. startCompspts[2] *= rx;
  25540. startCompspts[3] *= ry;
  25541. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25542. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25543. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25544. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25545. }
  25546. node.setSize(w, h);
  25547. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25548. node.a('node.width', w);
  25549. node.a('node.height', h);
  25550. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25551. node.borderWidth = 1;
  25552. node.a('node.borderwidth',node.borderWidth);
  25553. node._nodename = 'Node178_2';
  25554. node._nodeType = 'line';
  25555. zoomNodeList.push({
  25556. node: node,
  25557. attr: 'node.borderwidth'
  25558. });
  25559. var setWidth = node.setWidth,
  25560. setHeight = node.setHeight,
  25561. timer, rx = 1, ry = 1;
  25562. node.setWidth = function (width) {
  25563. var _width = this.getWidth();
  25564. rx = width / _width;
  25565. node.a('node.width', width);
  25566. setWidth.apply(this, arguments);
  25567. resetPoints(rx, 1);
  25568. }
  25569. node.setHeight = function (height) {
  25570. var _height = this.getHeight();
  25571. ry = height / _height;
  25572. node.a('node.height', height);
  25573. setHeight.apply(this, arguments);
  25574. resetPoints(1, ry);
  25575. }
  25576. })(Node178_2, Node178_2.getImage(), Node178_2compspts, Node178_2endCompspts, Node178_2startCompspts);
  25577. var Node178_3points=[569, 722,569, 716],
  25578. Node178_3rect=ht.Default.unionPoint([{x:569,y:722},{x:569,y:716}]),
  25579. Node178_3compspts=[];
  25580. _ratio = GD.getRatioWithRotation(0, ratio);
  25581. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  25582. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  25583. for(var i=0;i<Node178_3points.length;i++){
  25584. if(i%2==0){
  25585. Node178_3compspts.push(Node178_3points[i]-Node178_3rect.x);
  25586. }else{
  25587. Node178_3compspts.push(Node178_3points[i]-Node178_3rect.y);
  25588. }
  25589. }
  25590. var Node178_3ptslength=Node178_3compspts.length;
  25591. if (Node178_3rect.height === 0) {
  25592. Node178_3compspts[0] -= 0;
  25593. Node178_3compspts[Node178_3ptslength-2] += 0;
  25594. } else if (Node178_3rect.width === 0){
  25595. Node178_3compspts[1] -= 0;
  25596. Node178_3compspts[Node178_3ptslength-1] += 0;
  25597. } else {
  25598. Node178_3compspts[0] -= 0;
  25599. Node178_3compspts[1] -= 0;
  25600. Node178_3compspts[Node178_3ptslength-2] += 0;
  25601. Node178_3compspts[Node178_3ptslength-1] += 0;
  25602. }
  25603. Node178_3 = new ht.Node();
  25604. Node178_3.borderWidth = 1;
  25605. Node178_3rect.width = Node178_3rect.width === 0 ? 0.0001 : Node178_3rect.width;
  25606. Node178_3rect.height = Node178_3rect.height === 0 ? 0.0001 : Node178_3rect.height;
  25607. var Node178_3endCompspts = [Node178_3compspts[Node178_3ptslength-2],Node178_3compspts[Node178_3ptslength-1],0,0];
  25608. var Node178_3startCompspts = [Node178_3compspts[0],Node178_3compspts[1],0,0];
  25609. Node178_3.setImage(GD.getPolyLineJSON());
  25610. Node178_3.setPosition(Node178_3rect.x+Node178_3rect.width/2,Node178_3rect.y+Node178_3rect.height/2);
  25611. Node178_3.setSize(Node178_3rect.width,Node178_3rect.height);
  25612. Node178_3.setStyle("opacity",1);
  25613. Node178_3.s({'pixelPerfect':true});
  25614. Node178_3borderwidth=1;
  25615. Node178_3.setRotation(0);
  25616. dataModel.add(Node178_3);
  25617. Node178_3.a('node.points',Node178_3compspts);
  25618. Node178_3.a('node.segments',[1,2]);
  25619. Node178_3.a('node.color','rgba(255,128,0,1)');
  25620. Node178_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25621. Node178_3.a('node.borderColor','rgba(255,128,0,1)');
  25622. Node178_3.a('node.background','rgba(255,128,0,1)');
  25623. Node178_3.a('node.gradient','');
  25624. Node178_3.a('node.gradientcolor','rgba(255,128,0,1)');
  25625. Node178_3.a('node.endCompspts',Node178_3endCompspts);
  25626. Node178_3.a('node.startCompspts',Node178_3startCompspts);
  25627. (function (node, img, compspts, endCompspts, startCompspts) {
  25628. var position = node.getPosition(),
  25629. w = node.getWidth()*_ratio.ratioX,
  25630. h = node.getHeight()*_ratio.ratioY;
  25631. function resetPoints(rx, ry) {
  25632. for (var i = 0, len = compspts.length; i < len; i++) {
  25633. if (i%2 === 0) {
  25634. compspts[i]*=rx;
  25635. } else {
  25636. compspts[i]*=ry;
  25637. }
  25638. }
  25639. endCompspts[0] = compspts[compspts.length-2];
  25640. endCompspts[1] = compspts[compspts.length-1];
  25641. endCompspts[2] *= rx;
  25642. endCompspts[3] *= ry;
  25643. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25644. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25645. startCompspts[0] = compspts[0];
  25646. startCompspts[1] = compspts[1];
  25647. startCompspts[2] *= rx;
  25648. startCompspts[3] *= ry;
  25649. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25650. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25651. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25652. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25653. }
  25654. node.setSize(w, h);
  25655. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25656. node.a('node.width', w);
  25657. node.a('node.height', h);
  25658. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25659. node.borderWidth = 1;
  25660. node.a('node.borderwidth',node.borderWidth);
  25661. node._nodename = 'Node178_3';
  25662. node._nodeType = 'line';
  25663. zoomNodeList.push({
  25664. node: node,
  25665. attr: 'node.borderwidth'
  25666. });
  25667. var setWidth = node.setWidth,
  25668. setHeight = node.setHeight,
  25669. timer, rx = 1, ry = 1;
  25670. node.setWidth = function (width) {
  25671. var _width = this.getWidth();
  25672. rx = width / _width;
  25673. node.a('node.width', width);
  25674. setWidth.apply(this, arguments);
  25675. resetPoints(rx, 1);
  25676. }
  25677. node.setHeight = function (height) {
  25678. var _height = this.getHeight();
  25679. ry = height / _height;
  25680. node.a('node.height', height);
  25681. setHeight.apply(this, arguments);
  25682. resetPoints(1, ry);
  25683. }
  25684. })(Node178_3, Node178_3.getImage(), Node178_3compspts, Node178_3endCompspts, Node178_3startCompspts);
  25685. var Node179_0points=[1301, 726,1307, 726],
  25686. Node179_0rect=ht.Default.unionPoint([{x:1301,y:726},{x:1307,y:726}]),
  25687. Node179_0compspts=[];
  25688. _ratio = GD.getRatioWithRotation(0, ratio);
  25689. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25690. _endratio = GD.getRatioWithRotation(0, ratio);
  25691. for(var i=0;i<Node179_0points.length;i++){
  25692. if(i%2==0){
  25693. Node179_0compspts.push(Node179_0points[i]-Node179_0rect.x);
  25694. }else{
  25695. Node179_0compspts.push(Node179_0points[i]-Node179_0rect.y);
  25696. }
  25697. }
  25698. var Node179_0ptslength=Node179_0compspts.length;
  25699. if (Node179_0rect.height === 0) {
  25700. Node179_0compspts[0] -= 0;
  25701. Node179_0compspts[Node179_0ptslength-2] += 0;
  25702. } else if (Node179_0rect.width === 0){
  25703. Node179_0compspts[1] -= 0;
  25704. Node179_0compspts[Node179_0ptslength-1] += 0;
  25705. } else {
  25706. Node179_0compspts[0] -= 0;
  25707. Node179_0compspts[1] -= 0;
  25708. Node179_0compspts[Node179_0ptslength-2] += 0;
  25709. Node179_0compspts[Node179_0ptslength-1] += 0;
  25710. }
  25711. Node179_0 = new ht.Node();
  25712. Node179_0.borderWidth = 1;
  25713. Node179_0rect.width = Node179_0rect.width === 0 ? 0.0001 : Node179_0rect.width;
  25714. Node179_0rect.height = Node179_0rect.height === 0 ? 0.0001 : Node179_0rect.height;
  25715. var Node179_0endCompspts = [Node179_0compspts[Node179_0ptslength-2],Node179_0compspts[Node179_0ptslength-1],0,0];
  25716. var Node179_0startCompspts = [Node179_0compspts[0],Node179_0compspts[1],0,0];
  25717. Node179_0.setImage(GD.getPolyLineJSON());
  25718. Node179_0.setPosition(Node179_0rect.x+Node179_0rect.width/2,Node179_0rect.y+Node179_0rect.height/2);
  25719. Node179_0.setSize(Node179_0rect.width,Node179_0rect.height);
  25720. Node179_0.setStyle("opacity",1);
  25721. Node179_0.s({'pixelPerfect':true});
  25722. Node179_0borderwidth=1;
  25723. Node179_0.setRotation(0);
  25724. dataModel.add(Node179_0);
  25725. Node179_0.a('node.points',Node179_0compspts);
  25726. Node179_0.a('node.segments',[1,2]);
  25727. Node179_0.a('node.color','rgba(255,128,0,1)');
  25728. Node179_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25729. Node179_0.a('node.borderColor','rgba(255,128,0,1)');
  25730. Node179_0.a('node.background','rgba(255,128,0,1)');
  25731. Node179_0.a('node.gradient','');
  25732. Node179_0.a('node.gradientcolor','rgba(255,128,0,1)');
  25733. Node179_0.a('node.endCompspts',Node179_0endCompspts);
  25734. Node179_0.a('node.startCompspts',Node179_0startCompspts);
  25735. (function (node, img, compspts, endCompspts, startCompspts) {
  25736. var position = node.getPosition(),
  25737. w = node.getWidth()*_ratio.ratioX,
  25738. h = node.getHeight()*_ratio.ratioY;
  25739. function resetPoints(rx, ry) {
  25740. for (var i = 0, len = compspts.length; i < len; i++) {
  25741. if (i%2 === 0) {
  25742. compspts[i]*=rx;
  25743. } else {
  25744. compspts[i]*=ry;
  25745. }
  25746. }
  25747. endCompspts[0] = compspts[compspts.length-2];
  25748. endCompspts[1] = compspts[compspts.length-1];
  25749. endCompspts[2] *= rx;
  25750. endCompspts[3] *= ry;
  25751. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25752. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25753. startCompspts[0] = compspts[0];
  25754. startCompspts[1] = compspts[1];
  25755. startCompspts[2] *= rx;
  25756. startCompspts[3] *= ry;
  25757. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25758. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25759. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25760. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25761. }
  25762. node.setSize(w, h);
  25763. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25764. node.a('node.width', w);
  25765. node.a('node.height', h);
  25766. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25767. node.borderWidth = 1;
  25768. node.a('node.borderwidth',node.borderWidth);
  25769. node._nodename = 'Node179_0';
  25770. node._nodeType = 'line';
  25771. zoomNodeList.push({
  25772. node: node,
  25773. attr: 'node.borderwidth'
  25774. });
  25775. var setWidth = node.setWidth,
  25776. setHeight = node.setHeight,
  25777. timer, rx = 1, ry = 1;
  25778. node.setWidth = function (width) {
  25779. var _width = this.getWidth();
  25780. rx = width / _width;
  25781. node.a('node.width', width);
  25782. setWidth.apply(this, arguments);
  25783. resetPoints(rx, 1);
  25784. }
  25785. node.setHeight = function (height) {
  25786. var _height = this.getHeight();
  25787. ry = height / _height;
  25788. node.a('node.height', height);
  25789. setHeight.apply(this, arguments);
  25790. resetPoints(1, ry);
  25791. }
  25792. })(Node179_0, Node179_0.getImage(), Node179_0compspts, Node179_0endCompspts, Node179_0startCompspts);
  25793. var Node179_1points=[1298, 723,1310, 723],
  25794. Node179_1rect=ht.Default.unionPoint([{x:1298,y:723},{x:1310,y:723}]),
  25795. Node179_1compspts=[];
  25796. _ratio = GD.getRatioWithRotation(0, ratio);
  25797. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25798. _endratio = GD.getRatioWithRotation(0, ratio);
  25799. for(var i=0;i<Node179_1points.length;i++){
  25800. if(i%2==0){
  25801. Node179_1compspts.push(Node179_1points[i]-Node179_1rect.x);
  25802. }else{
  25803. Node179_1compspts.push(Node179_1points[i]-Node179_1rect.y);
  25804. }
  25805. }
  25806. var Node179_1ptslength=Node179_1compspts.length;
  25807. if (Node179_1rect.height === 0) {
  25808. Node179_1compspts[0] -= 0;
  25809. Node179_1compspts[Node179_1ptslength-2] += 0;
  25810. } else if (Node179_1rect.width === 0){
  25811. Node179_1compspts[1] -= 0;
  25812. Node179_1compspts[Node179_1ptslength-1] += 0;
  25813. } else {
  25814. Node179_1compspts[0] -= 0;
  25815. Node179_1compspts[1] -= 0;
  25816. Node179_1compspts[Node179_1ptslength-2] += 0;
  25817. Node179_1compspts[Node179_1ptslength-1] += 0;
  25818. }
  25819. Node179_1 = new ht.Node();
  25820. Node179_1.borderWidth = 1;
  25821. Node179_1rect.width = Node179_1rect.width === 0 ? 0.0001 : Node179_1rect.width;
  25822. Node179_1rect.height = Node179_1rect.height === 0 ? 0.0001 : Node179_1rect.height;
  25823. var Node179_1endCompspts = [Node179_1compspts[Node179_1ptslength-2],Node179_1compspts[Node179_1ptslength-1],0,0];
  25824. var Node179_1startCompspts = [Node179_1compspts[0],Node179_1compspts[1],0,0];
  25825. Node179_1.setImage(GD.getPolyLineJSON());
  25826. Node179_1.setPosition(Node179_1rect.x+Node179_1rect.width/2,Node179_1rect.y+Node179_1rect.height/2);
  25827. Node179_1.setSize(Node179_1rect.width,Node179_1rect.height);
  25828. Node179_1.setStyle("opacity",1);
  25829. Node179_1.s({'pixelPerfect':true});
  25830. Node179_1borderwidth=1;
  25831. Node179_1.setRotation(0);
  25832. dataModel.add(Node179_1);
  25833. Node179_1.a('node.points',Node179_1compspts);
  25834. Node179_1.a('node.segments',[1,2]);
  25835. Node179_1.a('node.color','rgba(255,128,0,1)');
  25836. Node179_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25837. Node179_1.a('node.borderColor','rgba(255,128,0,1)');
  25838. Node179_1.a('node.background','rgba(255,128,0,1)');
  25839. Node179_1.a('node.gradient','');
  25840. Node179_1.a('node.gradientcolor','rgba(255,128,0,1)');
  25841. Node179_1.a('node.endCompspts',Node179_1endCompspts);
  25842. Node179_1.a('node.startCompspts',Node179_1startCompspts);
  25843. (function (node, img, compspts, endCompspts, startCompspts) {
  25844. var position = node.getPosition(),
  25845. w = node.getWidth()*_ratio.ratioX,
  25846. h = node.getHeight()*_ratio.ratioY;
  25847. function resetPoints(rx, ry) {
  25848. for (var i = 0, len = compspts.length; i < len; i++) {
  25849. if (i%2 === 0) {
  25850. compspts[i]*=rx;
  25851. } else {
  25852. compspts[i]*=ry;
  25853. }
  25854. }
  25855. endCompspts[0] = compspts[compspts.length-2];
  25856. endCompspts[1] = compspts[compspts.length-1];
  25857. endCompspts[2] *= rx;
  25858. endCompspts[3] *= ry;
  25859. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25860. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25861. startCompspts[0] = compspts[0];
  25862. startCompspts[1] = compspts[1];
  25863. startCompspts[2] *= rx;
  25864. startCompspts[3] *= ry;
  25865. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25866. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25867. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25868. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25869. }
  25870. node.setSize(w, h);
  25871. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25872. node.a('node.width', w);
  25873. node.a('node.height', h);
  25874. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25875. node.borderWidth = 1;
  25876. node.a('node.borderwidth',node.borderWidth);
  25877. node._nodename = 'Node179_1';
  25878. node._nodeType = 'line';
  25879. zoomNodeList.push({
  25880. node: node,
  25881. attr: 'node.borderwidth'
  25882. });
  25883. var setWidth = node.setWidth,
  25884. setHeight = node.setHeight,
  25885. timer, rx = 1, ry = 1;
  25886. node.setWidth = function (width) {
  25887. var _width = this.getWidth();
  25888. rx = width / _width;
  25889. node.a('node.width', width);
  25890. setWidth.apply(this, arguments);
  25891. resetPoints(rx, 1);
  25892. }
  25893. node.setHeight = function (height) {
  25894. var _height = this.getHeight();
  25895. ry = height / _height;
  25896. node.a('node.height', height);
  25897. setHeight.apply(this, arguments);
  25898. resetPoints(1, ry);
  25899. }
  25900. })(Node179_1, Node179_1.getImage(), Node179_1compspts, Node179_1endCompspts, Node179_1startCompspts);
  25901. var Node179_2points=[1296, 720,1312, 720],
  25902. Node179_2rect=ht.Default.unionPoint([{x:1296,y:720},{x:1312,y:720}]),
  25903. Node179_2compspts=[];
  25904. _ratio = GD.getRatioWithRotation(0, ratio);
  25905. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  25906. _endratio = GD.getRatioWithRotation(0, ratio);
  25907. for(var i=0;i<Node179_2points.length;i++){
  25908. if(i%2==0){
  25909. Node179_2compspts.push(Node179_2points[i]-Node179_2rect.x);
  25910. }else{
  25911. Node179_2compspts.push(Node179_2points[i]-Node179_2rect.y);
  25912. }
  25913. }
  25914. var Node179_2ptslength=Node179_2compspts.length;
  25915. if (Node179_2rect.height === 0) {
  25916. Node179_2compspts[0] -= 0;
  25917. Node179_2compspts[Node179_2ptslength-2] += 0;
  25918. } else if (Node179_2rect.width === 0){
  25919. Node179_2compspts[1] -= 0;
  25920. Node179_2compspts[Node179_2ptslength-1] += 0;
  25921. } else {
  25922. Node179_2compspts[0] -= 0;
  25923. Node179_2compspts[1] -= 0;
  25924. Node179_2compspts[Node179_2ptslength-2] += 0;
  25925. Node179_2compspts[Node179_2ptslength-1] += 0;
  25926. }
  25927. Node179_2 = new ht.Node();
  25928. Node179_2.borderWidth = 1;
  25929. Node179_2rect.width = Node179_2rect.width === 0 ? 0.0001 : Node179_2rect.width;
  25930. Node179_2rect.height = Node179_2rect.height === 0 ? 0.0001 : Node179_2rect.height;
  25931. var Node179_2endCompspts = [Node179_2compspts[Node179_2ptslength-2],Node179_2compspts[Node179_2ptslength-1],0,0];
  25932. var Node179_2startCompspts = [Node179_2compspts[0],Node179_2compspts[1],0,0];
  25933. Node179_2.setImage(GD.getPolyLineJSON());
  25934. Node179_2.setPosition(Node179_2rect.x+Node179_2rect.width/2,Node179_2rect.y+Node179_2rect.height/2);
  25935. Node179_2.setSize(Node179_2rect.width,Node179_2rect.height);
  25936. Node179_2.setStyle("opacity",1);
  25937. Node179_2.s({'pixelPerfect':true});
  25938. Node179_2borderwidth=1;
  25939. Node179_2.setRotation(0);
  25940. dataModel.add(Node179_2);
  25941. Node179_2.a('node.points',Node179_2compspts);
  25942. Node179_2.a('node.segments',[1,2]);
  25943. Node179_2.a('node.color','rgba(255,128,0,1)');
  25944. Node179_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  25945. Node179_2.a('node.borderColor','rgba(255,128,0,1)');
  25946. Node179_2.a('node.background','rgba(255,128,0,1)');
  25947. Node179_2.a('node.gradient','');
  25948. Node179_2.a('node.gradientcolor','rgba(255,128,0,1)');
  25949. Node179_2.a('node.endCompspts',Node179_2endCompspts);
  25950. Node179_2.a('node.startCompspts',Node179_2startCompspts);
  25951. (function (node, img, compspts, endCompspts, startCompspts) {
  25952. var position = node.getPosition(),
  25953. w = node.getWidth()*_ratio.ratioX,
  25954. h = node.getHeight()*_ratio.ratioY;
  25955. function resetPoints(rx, ry) {
  25956. for (var i = 0, len = compspts.length; i < len; i++) {
  25957. if (i%2 === 0) {
  25958. compspts[i]*=rx;
  25959. } else {
  25960. compspts[i]*=ry;
  25961. }
  25962. }
  25963. endCompspts[0] = compspts[compspts.length-2];
  25964. endCompspts[1] = compspts[compspts.length-1];
  25965. endCompspts[2] *= rx;
  25966. endCompspts[3] *= ry;
  25967. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  25968. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  25969. startCompspts[0] = compspts[0];
  25970. startCompspts[1] = compspts[1];
  25971. startCompspts[2] *= rx;
  25972. startCompspts[3] *= ry;
  25973. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  25974. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  25975. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  25976. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  25977. }
  25978. node.setSize(w, h);
  25979. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  25980. node.a('node.width', w);
  25981. node.a('node.height', h);
  25982. resetPoints(_ratio.ratioX, _ratio.ratioY);
  25983. node.borderWidth = 1;
  25984. node.a('node.borderwidth',node.borderWidth);
  25985. node._nodename = 'Node179_2';
  25986. node._nodeType = 'line';
  25987. zoomNodeList.push({
  25988. node: node,
  25989. attr: 'node.borderwidth'
  25990. });
  25991. var setWidth = node.setWidth,
  25992. setHeight = node.setHeight,
  25993. timer, rx = 1, ry = 1;
  25994. node.setWidth = function (width) {
  25995. var _width = this.getWidth();
  25996. rx = width / _width;
  25997. node.a('node.width', width);
  25998. setWidth.apply(this, arguments);
  25999. resetPoints(rx, 1);
  26000. }
  26001. node.setHeight = function (height) {
  26002. var _height = this.getHeight();
  26003. ry = height / _height;
  26004. node.a('node.height', height);
  26005. setHeight.apply(this, arguments);
  26006. resetPoints(1, ry);
  26007. }
  26008. })(Node179_2, Node179_2.getImage(), Node179_2compspts, Node179_2endCompspts, Node179_2startCompspts);
  26009. var Node179_3points=[1304, 720,1304, 714],
  26010. Node179_3rect=ht.Default.unionPoint([{x:1304,y:720},{x:1304,y:714}]),
  26011. Node179_3compspts=[];
  26012. _ratio = GD.getRatioWithRotation(0, ratio);
  26013. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  26014. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  26015. for(var i=0;i<Node179_3points.length;i++){
  26016. if(i%2==0){
  26017. Node179_3compspts.push(Node179_3points[i]-Node179_3rect.x);
  26018. }else{
  26019. Node179_3compspts.push(Node179_3points[i]-Node179_3rect.y);
  26020. }
  26021. }
  26022. var Node179_3ptslength=Node179_3compspts.length;
  26023. if (Node179_3rect.height === 0) {
  26024. Node179_3compspts[0] -= 0;
  26025. Node179_3compspts[Node179_3ptslength-2] += 0;
  26026. } else if (Node179_3rect.width === 0){
  26027. Node179_3compspts[1] -= 0;
  26028. Node179_3compspts[Node179_3ptslength-1] += 0;
  26029. } else {
  26030. Node179_3compspts[0] -= 0;
  26031. Node179_3compspts[1] -= 0;
  26032. Node179_3compspts[Node179_3ptslength-2] += 0;
  26033. Node179_3compspts[Node179_3ptslength-1] += 0;
  26034. }
  26035. Node179_3 = new ht.Node();
  26036. Node179_3.borderWidth = 1;
  26037. Node179_3rect.width = Node179_3rect.width === 0 ? 0.0001 : Node179_3rect.width;
  26038. Node179_3rect.height = Node179_3rect.height === 0 ? 0.0001 : Node179_3rect.height;
  26039. var Node179_3endCompspts = [Node179_3compspts[Node179_3ptslength-2],Node179_3compspts[Node179_3ptslength-1],0,0];
  26040. var Node179_3startCompspts = [Node179_3compspts[0],Node179_3compspts[1],0,0];
  26041. Node179_3.setImage(GD.getPolyLineJSON());
  26042. Node179_3.setPosition(Node179_3rect.x+Node179_3rect.width/2,Node179_3rect.y+Node179_3rect.height/2);
  26043. Node179_3.setSize(Node179_3rect.width,Node179_3rect.height);
  26044. Node179_3.setStyle("opacity",1);
  26045. Node179_3.s({'pixelPerfect':true});
  26046. Node179_3borderwidth=1;
  26047. Node179_3.setRotation(0);
  26048. dataModel.add(Node179_3);
  26049. Node179_3.a('node.points',Node179_3compspts);
  26050. Node179_3.a('node.segments',[1,2]);
  26051. Node179_3.a('node.color','rgba(255,128,0,1)');
  26052. Node179_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  26053. Node179_3.a('node.borderColor','rgba(255,128,0,1)');
  26054. Node179_3.a('node.background','rgba(255,128,0,1)');
  26055. Node179_3.a('node.gradient','');
  26056. Node179_3.a('node.gradientcolor','rgba(255,128,0,1)');
  26057. Node179_3.a('node.endCompspts',Node179_3endCompspts);
  26058. Node179_3.a('node.startCompspts',Node179_3startCompspts);
  26059. (function (node, img, compspts, endCompspts, startCompspts) {
  26060. var position = node.getPosition(),
  26061. w = node.getWidth()*_ratio.ratioX,
  26062. h = node.getHeight()*_ratio.ratioY;
  26063. function resetPoints(rx, ry) {
  26064. for (var i = 0, len = compspts.length; i < len; i++) {
  26065. if (i%2 === 0) {
  26066. compspts[i]*=rx;
  26067. } else {
  26068. compspts[i]*=ry;
  26069. }
  26070. }
  26071. endCompspts[0] = compspts[compspts.length-2];
  26072. endCompspts[1] = compspts[compspts.length-1];
  26073. endCompspts[2] *= rx;
  26074. endCompspts[3] *= ry;
  26075. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  26076. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  26077. startCompspts[0] = compspts[0];
  26078. startCompspts[1] = compspts[1];
  26079. startCompspts[2] *= rx;
  26080. startCompspts[3] *= ry;
  26081. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  26082. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  26083. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  26084. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  26085. }
  26086. node.setSize(w, h);
  26087. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26088. node.a('node.width', w);
  26089. node.a('node.height', h);
  26090. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26091. node.borderWidth = 1;
  26092. node.a('node.borderwidth',node.borderWidth);
  26093. node._nodename = 'Node179_3';
  26094. node._nodeType = 'line';
  26095. zoomNodeList.push({
  26096. node: node,
  26097. attr: 'node.borderwidth'
  26098. });
  26099. var setWidth = node.setWidth,
  26100. setHeight = node.setHeight,
  26101. timer, rx = 1, ry = 1;
  26102. node.setWidth = function (width) {
  26103. var _width = this.getWidth();
  26104. rx = width / _width;
  26105. node.a('node.width', width);
  26106. setWidth.apply(this, arguments);
  26107. resetPoints(rx, 1);
  26108. }
  26109. node.setHeight = function (height) {
  26110. var _height = this.getHeight();
  26111. ry = height / _height;
  26112. node.a('node.height', height);
  26113. setHeight.apply(this, arguments);
  26114. resetPoints(1, ry);
  26115. }
  26116. })(Node179_3, Node179_3.getImage(), Node179_3compspts, Node179_3endCompspts, Node179_3startCompspts);
  26117. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  26118. var Node180_0type = 'oval';
  26119. var Node180_0 = new ht.Node(),
  26120. Node180_0BorderWidth = 2*2;
  26121. if (Node180_0type === 'arc') {
  26122. Node180_0BorderWidth *= 2;
  26123. }
  26124. Node180_0.setImage(GD.getRectJSON(31.87958*_ratio.ratioX, 24.7229*_ratio.ratioY, Node180_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  26125. Node180_0.setPosition(945*ratio.ratioX, 517*ratio.ratioY);
  26126. Node180_0.setSize(31.87958*_ratio.ratioX, 24.7229*_ratio.ratioY);
  26127. Node180_0.s({
  26128. 'pixelPerfect':true
  26129. /*@AddPara@*/
  26130. });
  26131. Node180_0.a('node.width', 31.87958*_ratio.ratioX);
  26132. Node180_0.a('node.height', 24.7229*_ratio.ratioY);
  26133. Node180_0.a('node.type', Node180_0type);
  26134. Node180_0.a('node.rect', [0, 0, 31.87958*_ratio.ratioX, 24.7229*_ratio.ratioY]);
  26135. Node180_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  26136. Node180_0.a('node.gradientcolor', '');
  26137. Node180_0.a('node.gradient', '');
  26138. Node180_0.a('node.borderwidth', Node180_0BorderWidth);
  26139. Node180_0.a('node.color', 'rgba(255,0,255,1)');
  26140. Node180_0.a('node.fillrect', [0,0,0,0]);
  26141. Node180_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  26142. Node180_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  26143. Node180_0.a('node.fillgradient', '');
  26144. if (Node180_0type !== 'rect') {
  26145. Node180_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  26146. Node180_0.a('node.arcTo', parseFloat('@arcTo@'));
  26147. Node180_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  26148. }
  26149. if (Node180_0type === 'arc') {
  26150. Node180_0.a('node.arcOval', true);
  26151. }
  26152. Node180_0.setRotation(0*Math.PI/180);
  26153. Node180_0.borderWidth = Node180_0BorderWidth;
  26154. Node180_0.borderFillwidth = Node180_0BorderWidth;
  26155. dataModel.add(Node180_0);
  26156. Node180_0._nodename = 'Node180_0'
  26157. Node180_0._nodeType = 'rect';
  26158. zoomNodeList.push({
  26159. node: Node180_0,
  26160. attr: 'node.borderwidth'
  26161. });
  26162. (function (node, _img) {
  26163. var setWidth = node.setWidth,
  26164. setHeight = node.setHeight;
  26165. node.setWidth = function (width) {
  26166. if (width === this.getWidth()) return ;
  26167. var height = this.getHeight();
  26168. this.a('node.width', width);
  26169. this.a('node.rect', [0,0,width, height]);
  26170. setWidth.apply(this, arguments);
  26171. }
  26172. node.setHeight = function (height) {
  26173. if (height === this.getHeight()) return ;
  26174. var width = this.getWidth();
  26175. this.a('node.height', height);
  26176. this.a('node.rect', [0,0,width, height]);
  26177. setHeight.apply(this, arguments);
  26178. }
  26179. })(Node180_0, Node180_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  26180. var Node180_1type = 'oval';
  26181. var Node180_1 = new ht.Node(),
  26182. Node180_1BorderWidth = 2*2;
  26183. if (Node180_1type === 'arc') {
  26184. Node180_1BorderWidth *= 2;
  26185. }
  26186. Node180_1.setImage(GD.getRectJSON(31.87958*_ratio.ratioX, 24.7229*_ratio.ratioY, Node180_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  26187. Node180_1.setPosition(945*ratio.ratioX, 537*ratio.ratioY);
  26188. Node180_1.setSize(31.87958*_ratio.ratioX, 24.7229*_ratio.ratioY);
  26189. Node180_1.s({
  26190. 'pixelPerfect':true
  26191. /*@AddPara@*/
  26192. });
  26193. Node180_1.a('node.width', 31.87958*_ratio.ratioX);
  26194. Node180_1.a('node.height', 24.7229*_ratio.ratioY);
  26195. Node180_1.a('node.type', Node180_1type);
  26196. Node180_1.a('node.rect', [0, 0, 31.87958*_ratio.ratioX, 24.7229*_ratio.ratioY]);
  26197. Node180_1.a('node.background', 'rgba(255,255,255,0.003921569)');
  26198. Node180_1.a('node.gradientcolor', '');
  26199. Node180_1.a('node.gradient', '');
  26200. Node180_1.a('node.borderwidth', Node180_1BorderWidth);
  26201. Node180_1.a('node.color', 'rgba(255,128,0,1)');
  26202. Node180_1.a('node.fillrect', [0,0,0,0]);
  26203. Node180_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  26204. Node180_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  26205. Node180_1.a('node.fillgradient', '');
  26206. if (Node180_1type !== 'rect') {
  26207. Node180_1.a('node.arcFrom', parseFloat('@arcFrom@'));
  26208. Node180_1.a('node.arcTo', parseFloat('@arcTo@'));
  26209. Node180_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  26210. }
  26211. if (Node180_1type === 'arc') {
  26212. Node180_1.a('node.arcOval', true);
  26213. }
  26214. Node180_1.setRotation(0*Math.PI/180);
  26215. Node180_1.borderWidth = Node180_1BorderWidth;
  26216. Node180_1.borderFillwidth = Node180_1BorderWidth;
  26217. dataModel.add(Node180_1);
  26218. Node180_1._nodename = 'Node180_1'
  26219. Node180_1._nodeType = 'rect';
  26220. zoomNodeList.push({
  26221. node: Node180_1,
  26222. attr: 'node.borderwidth'
  26223. });
  26224. (function (node, _img) {
  26225. var setWidth = node.setWidth,
  26226. setHeight = node.setHeight;
  26227. node.setWidth = function (width) {
  26228. if (width === this.getWidth()) return ;
  26229. var height = this.getHeight();
  26230. this.a('node.width', width);
  26231. this.a('node.rect', [0,0,width, height]);
  26232. setWidth.apply(this, arguments);
  26233. }
  26234. node.setHeight = function (height) {
  26235. if (height === this.getHeight()) return ;
  26236. var width = this.getWidth();
  26237. this.a('node.height', height);
  26238. this.a('node.rect', [0,0,width, height]);
  26239. setHeight.apply(this, arguments);
  26240. }
  26241. })(Node180_1, Node180_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  26242. var Node180_2type = 'oval';
  26243. var Node180_2 = new ht.Node(),
  26244. Node180_2BorderWidth = 2*2;
  26245. if (Node180_2type === 'arc') {
  26246. Node180_2BorderWidth *= 2;
  26247. }
  26248. Node180_2.setImage(GD.getRectJSON(31.8797*_ratio.ratioX, 24.72296*_ratio.ratioY, Node180_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  26249. Node180_2.setPosition(921*ratio.ratioX, 527*ratio.ratioY);
  26250. Node180_2.setSize(31.8797*_ratio.ratioX, 24.72296*_ratio.ratioY);
  26251. Node180_2.s({
  26252. 'pixelPerfect':true
  26253. /*@AddPara@*/
  26254. });
  26255. Node180_2.a('node.width', 31.8797*_ratio.ratioX);
  26256. Node180_2.a('node.height', 24.72296*_ratio.ratioY);
  26257. Node180_2.a('node.type', Node180_2type);
  26258. Node180_2.a('node.rect', [0, 0, 31.8797*_ratio.ratioX, 24.72296*_ratio.ratioY]);
  26259. Node180_2.a('node.background', 'rgba(255,255,255,0.003921569)');
  26260. Node180_2.a('node.gradientcolor', '');
  26261. Node180_2.a('node.gradient', '');
  26262. Node180_2.a('node.borderwidth', Node180_2BorderWidth);
  26263. Node180_2.a('node.color', 'rgba(255,0,255,1)');
  26264. Node180_2.a('node.fillrect', [0,0,0,0]);
  26265. Node180_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  26266. Node180_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  26267. Node180_2.a('node.fillgradient', '');
  26268. if (Node180_2type !== 'rect') {
  26269. Node180_2.a('node.arcFrom', parseFloat('@arcFrom@'));
  26270. Node180_2.a('node.arcTo', parseFloat('@arcTo@'));
  26271. Node180_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  26272. }
  26273. if (Node180_2type === 'arc') {
  26274. Node180_2.a('node.arcOval', true);
  26275. }
  26276. Node180_2.setRotation(0*Math.PI/180);
  26277. Node180_2.borderWidth = Node180_2BorderWidth;
  26278. Node180_2.borderFillwidth = Node180_2BorderWidth;
  26279. dataModel.add(Node180_2);
  26280. Node180_2._nodename = 'Node180_2'
  26281. Node180_2._nodeType = 'rect';
  26282. zoomNodeList.push({
  26283. node: Node180_2,
  26284. attr: 'node.borderwidth'
  26285. });
  26286. (function (node, _img) {
  26287. var setWidth = node.setWidth,
  26288. setHeight = node.setHeight;
  26289. node.setWidth = function (width) {
  26290. if (width === this.getWidth()) return ;
  26291. var height = this.getHeight();
  26292. this.a('node.width', width);
  26293. this.a('node.rect', [0,0,width, height]);
  26294. setWidth.apply(this, arguments);
  26295. }
  26296. node.setHeight = function (height) {
  26297. if (height === this.getHeight()) return ;
  26298. var width = this.getWidth();
  26299. this.a('node.height', height);
  26300. this.a('node.rect', [0,0,width, height]);
  26301. setHeight.apply(this, arguments);
  26302. }
  26303. })(Node180_2, Node180_2.getImage());var Node180_3rect=ht.Default.unionPoint([{x: 913, y: 520},{x: 913, y: 520},{x: 923, y: 520},{x: 918, y: 534}]),
  26304. Node180_3points=[913,520,913,520,923,520,918,534],
  26305. Node180_3compsPoints=[],
  26306. Node180_3SetPoints = [{x: 913, y: 520},{x: 913, y: 520},{x: 923, y: 520},{x: 918, y: 534}],
  26307. Node180_3setSegments = [1,2,2,2];
  26308. _ratio = GD.getRatioWithRotation(1.570796, ratio);
  26309. for(var i=0;i<Node180_3points.length;i++){
  26310. if(i%2==0){
  26311. Node180_3compsPoints.push(Node180_3points[i]-Node180_3rect.x);
  26312. }else{
  26313. Node180_3compsPoints.push(Node180_3points[i]-Node180_3rect.y);
  26314. }
  26315. }
  26316. var Node180_3 = new ht.Node();
  26317. Node180_3.setImage(GD.getPolyGonJSON());
  26318. Node180_3.setPosition(Node180_3rect.x + Node180_3rect.width/2, Node180_3rect.y + Node180_3rect.height/2);
  26319. Node180_3.setSize(Node180_3rect.width, Node180_3rect.height);
  26320. Node180_3.setRotation(1.570796);
  26321. Node180_3.borderWidth=2;
  26322. Node180_3.borderFillwidth=2*2;
  26323. Node180_3.s({'pixelPerfect':true});
  26324. dataModel.add(Node180_3);
  26325. // Node180_3.a('node.width', Node180_3rect.width*_ratio.ratioX);
  26326. // Node180_3.a('node.height', Node180_3rect.height*_ratio.ratioY);
  26327. Node180_3.a('node.clip', function(g,width,height,data) {
  26328. var clippoints = Node180_3SetPoints;
  26329. if(clippoints.length<=3) return;
  26330. if(Node180_3.a('Node180_3.isFill')=="false") return;
  26331. var clipcompsPoints=[];
  26332. var rect = ht.Default.unionPoint(clippoints);
  26333. for(var i=0;i<clippoints.length;i++){
  26334. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  26335. }
  26336. var clipsegments=Node180_3setSegments;
  26337. g.beginPath();
  26338. drawPoints(g,clipcompsPoints,clipsegments);
  26339. g.clip();
  26340. })
  26341. Node180_3.a('node.type', 'shape');
  26342. Node180_3.a('node.comsPoints', Node180_3compsPoints);
  26343. Node180_3.a('node.closePath', true);
  26344. Node180_3.a('node.borderwidth', 2);
  26345. Node180_3.a('node.color', 'rgba(255,0,255,1)');
  26346. Node180_3.a('node.background','rgba(255,255,255,0.003921569)');
  26347. Node180_3.a('node.closePath', true);
  26348. Node180_3.a('node.closePath', true);
  26349. Node180_3.a('node.gradient','');
  26350. Node180_3.a('node.gradientcolor','');
  26351. Node180_3.a('node.isFill','false');
  26352. Node180_3.a('node.original',[0,0,0,0]);
  26353. Node180_3.a('node.fillrect',[0,0,0,0]);
  26354. Node180_3.a('node.fillbackcolor','rgba(255,255,255,0.003921569)');
  26355. Node180_3.a('node.fillgradient','');
  26356. Node180_3.a('node.fillgradientcolor','');
  26357. Node180_3.a('node.segments',Node180_3setSegments);
  26358. Node180_3.a('node.borderPattern',"");
  26359. (function (node, nodecompsPoints, setPoints) {
  26360. var w = node.getWidth()*_ratio.ratioX,
  26361. h = node.getHeight()*_ratio.ratioY,
  26362. img = node.getImage();
  26363. function resetPoints(rx, ry) {
  26364. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  26365. if (i%2 === 0) {
  26366. nodecompsPoints[i]*=rx;
  26367. } else {
  26368. nodecompsPoints[i]*=ry;
  26369. }
  26370. if (setPoints[i]) {
  26371. setPoints[i].x *= rx;
  26372. setPoints[i].y *= ry;
  26373. }
  26374. }
  26375. }
  26376. node.setSize(w, h);
  26377. node.a('node.width', w);
  26378. node.a('node.height', h);
  26379. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26380. var position = node.getPosition();
  26381. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26382. node._nodename = 'Node180_3';
  26383. node._nodeType = 'polygon';
  26384. zoomNodeList.push({
  26385. node: node,
  26386. attr: 'node.borderwidth'
  26387. });
  26388. // 重载setWidth, setHeight
  26389. var setWidth = node.setWidth,
  26390. setHeight = node.setHeight,
  26391. timer, rx = 1, ry = 1;
  26392. node.setWidth = function (width) {
  26393. var _width = this.getWidth();
  26394. rx = width / _width;
  26395. node.a('node.width', width);
  26396. setWidth.apply(this, arguments);
  26397. resetPoints(rx, 1);
  26398. }
  26399. node.setHeight = function (height) {
  26400. var _height = this.getHeight();
  26401. ry = height / _height;
  26402. node.a('node.height', height);
  26403. setHeight.apply(this, arguments);
  26404. resetPoints(1, ry);
  26405. }
  26406. })(Node180_3, Node180_3compsPoints, Node180_3SetPoints );
  26407. var Node180_4rect=ht.Default.unionPoint([{x: 941, y: 531},{x: 941, y: 531},{x: 951, y: 531},{x: 946, y: 544}]),
  26408. Node180_4points=[941,531,941,531,951,531,946,544],
  26409. Node180_4compsPoints=[],
  26410. Node180_4SetPoints = [{x: 941, y: 531},{x: 941, y: 531},{x: 951, y: 531},{x: 946, y: 544}],
  26411. Node180_4setSegments = [1,2,2,2];
  26412. _ratio = GD.getRatioWithRotation(4.712389, ratio);
  26413. for(var i=0;i<Node180_4points.length;i++){
  26414. if(i%2==0){
  26415. Node180_4compsPoints.push(Node180_4points[i]-Node180_4rect.x);
  26416. }else{
  26417. Node180_4compsPoints.push(Node180_4points[i]-Node180_4rect.y);
  26418. }
  26419. }
  26420. var Node180_4 = new ht.Node();
  26421. Node180_4.setImage(GD.getPolyGonJSON());
  26422. Node180_4.setPosition(Node180_4rect.x + Node180_4rect.width/2, Node180_4rect.y + Node180_4rect.height/2);
  26423. Node180_4.setSize(Node180_4rect.width, Node180_4rect.height);
  26424. Node180_4.setRotation(4.712389);
  26425. Node180_4.borderWidth=2;
  26426. Node180_4.borderFillwidth=2*2;
  26427. Node180_4.s({'pixelPerfect':true});
  26428. dataModel.add(Node180_4);
  26429. // Node180_4.a('node.width', Node180_4rect.width*_ratio.ratioX);
  26430. // Node180_4.a('node.height', Node180_4rect.height*_ratio.ratioY);
  26431. Node180_4.a('node.clip', function(g,width,height,data) {
  26432. var clippoints = Node180_4SetPoints;
  26433. if(clippoints.length<=3) return;
  26434. if(Node180_4.a('Node180_4.isFill')=="false") return;
  26435. var clipcompsPoints=[];
  26436. var rect = ht.Default.unionPoint(clippoints);
  26437. for(var i=0;i<clippoints.length;i++){
  26438. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  26439. }
  26440. var clipsegments=Node180_4setSegments;
  26441. g.beginPath();
  26442. drawPoints(g,clipcompsPoints,clipsegments);
  26443. g.clip();
  26444. })
  26445. Node180_4.a('node.type', 'shape');
  26446. Node180_4.a('node.comsPoints', Node180_4compsPoints);
  26447. Node180_4.a('node.closePath', true);
  26448. Node180_4.a('node.borderwidth', 2);
  26449. Node180_4.a('node.color', 'rgba(255,128,0,1)');
  26450. Node180_4.a('node.background','rgba(255,255,255,0.003921569)');
  26451. Node180_4.a('node.closePath', true);
  26452. Node180_4.a('node.closePath', true);
  26453. Node180_4.a('node.gradient','');
  26454. Node180_4.a('node.gradientcolor','');
  26455. Node180_4.a('node.isFill','false');
  26456. Node180_4.a('node.original',[0,0,0,0]);
  26457. Node180_4.a('node.fillrect',[0,0,0,0]);
  26458. Node180_4.a('node.fillbackcolor','rgba(255,255,255,0.003921569)');
  26459. Node180_4.a('node.fillgradient','');
  26460. Node180_4.a('node.fillgradientcolor','');
  26461. Node180_4.a('node.segments',Node180_4setSegments);
  26462. Node180_4.a('node.borderPattern',"");
  26463. (function (node, nodecompsPoints, setPoints) {
  26464. var w = node.getWidth()*_ratio.ratioX,
  26465. h = node.getHeight()*_ratio.ratioY,
  26466. img = node.getImage();
  26467. function resetPoints(rx, ry) {
  26468. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  26469. if (i%2 === 0) {
  26470. nodecompsPoints[i]*=rx;
  26471. } else {
  26472. nodecompsPoints[i]*=ry;
  26473. }
  26474. if (setPoints[i]) {
  26475. setPoints[i].x *= rx;
  26476. setPoints[i].y *= ry;
  26477. }
  26478. }
  26479. }
  26480. node.setSize(w, h);
  26481. node.a('node.width', w);
  26482. node.a('node.height', h);
  26483. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26484. var position = node.getPosition();
  26485. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26486. node._nodename = 'Node180_4';
  26487. node._nodeType = 'polygon';
  26488. zoomNodeList.push({
  26489. node: node,
  26490. attr: 'node.borderwidth'
  26491. });
  26492. // 重载setWidth, setHeight
  26493. var setWidth = node.setWidth,
  26494. setHeight = node.setHeight,
  26495. timer, rx = 1, ry = 1;
  26496. node.setWidth = function (width) {
  26497. var _width = this.getWidth();
  26498. rx = width / _width;
  26499. node.a('node.width', width);
  26500. setWidth.apply(this, arguments);
  26501. resetPoints(rx, 1);
  26502. }
  26503. node.setHeight = function (height) {
  26504. var _height = this.getHeight();
  26505. ry = height / _height;
  26506. node.a('node.height', height);
  26507. setHeight.apply(this, arguments);
  26508. resetPoints(1, ry);
  26509. }
  26510. })(Node180_4, Node180_4compsPoints, Node180_4SetPoints );
  26511. var Node180_5points=[945, 509,945, 517],
  26512. Node180_5rect=ht.Default.unionPoint([{x:945,y:509},{x:945,y:517}]),
  26513. Node180_5compspts=[];
  26514. _ratio = GD.getRatioWithRotation(0, ratio);
  26515. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  26516. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  26517. for(var i=0;i<Node180_5points.length;i++){
  26518. if(i%2==0){
  26519. Node180_5compspts.push(Node180_5points[i]-Node180_5rect.x);
  26520. }else{
  26521. Node180_5compspts.push(Node180_5points[i]-Node180_5rect.y);
  26522. }
  26523. }
  26524. var Node180_5ptslength=Node180_5compspts.length;
  26525. if (Node180_5rect.height === 0) {
  26526. Node180_5compspts[0] -= 0;
  26527. Node180_5compspts[Node180_5ptslength-2] += 0;
  26528. } else if (Node180_5rect.width === 0){
  26529. Node180_5compspts[1] -= 0;
  26530. Node180_5compspts[Node180_5ptslength-1] += 0;
  26531. } else {
  26532. Node180_5compspts[0] -= 0;
  26533. Node180_5compspts[1] -= 0;
  26534. Node180_5compspts[Node180_5ptslength-2] += 0;
  26535. Node180_5compspts[Node180_5ptslength-1] += 0;
  26536. }
  26537. Node180_5 = new ht.Node();
  26538. Node180_5.borderWidth = 2;
  26539. Node180_5rect.width = Node180_5rect.width === 0 ? 0.0001 : Node180_5rect.width;
  26540. Node180_5rect.height = Node180_5rect.height === 0 ? 0.0001 : Node180_5rect.height;
  26541. var Node180_5endCompspts = [Node180_5compspts[Node180_5ptslength-2],Node180_5compspts[Node180_5ptslength-1],0,0];
  26542. var Node180_5startCompspts = [Node180_5compspts[0],Node180_5compspts[1],0,0];
  26543. Node180_5.setImage(GD.getPolyLineJSON());
  26544. Node180_5.setPosition(Node180_5rect.x+Node180_5rect.width/2,Node180_5rect.y+Node180_5rect.height/2);
  26545. Node180_5.setSize(Node180_5rect.width,Node180_5rect.height);
  26546. Node180_5.setStyle("opacity",1);
  26547. Node180_5.s({'pixelPerfect':true});
  26548. Node180_5borderwidth=2;
  26549. Node180_5.setRotation(0);
  26550. dataModel.add(Node180_5);
  26551. Node180_5.a('node.points',Node180_5compspts);
  26552. Node180_5.a('node.segments',[1,2]);
  26553. Node180_5.a('node.color','rgba(255,0,255,1)');
  26554. Node180_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
  26555. Node180_5.a('node.borderColor','rgba(255,0,255,1)');
  26556. Node180_5.a('node.background','rgba(255,0,255,1)');
  26557. Node180_5.a('node.gradient','');
  26558. Node180_5.a('node.gradientcolor','rgba(255,0,255,1)');
  26559. Node180_5.a('node.endCompspts',Node180_5endCompspts);
  26560. Node180_5.a('node.startCompspts',Node180_5startCompspts);
  26561. (function (node, img, compspts, endCompspts, startCompspts) {
  26562. var position = node.getPosition(),
  26563. w = node.getWidth()*_ratio.ratioX,
  26564. h = node.getHeight()*_ratio.ratioY;
  26565. function resetPoints(rx, ry) {
  26566. for (var i = 0, len = compspts.length; i < len; i++) {
  26567. if (i%2 === 0) {
  26568. compspts[i]*=rx;
  26569. } else {
  26570. compspts[i]*=ry;
  26571. }
  26572. }
  26573. endCompspts[0] = compspts[compspts.length-2];
  26574. endCompspts[1] = compspts[compspts.length-1];
  26575. endCompspts[2] *= rx;
  26576. endCompspts[3] *= ry;
  26577. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  26578. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  26579. startCompspts[0] = compspts[0];
  26580. startCompspts[1] = compspts[1];
  26581. startCompspts[2] *= rx;
  26582. startCompspts[3] *= ry;
  26583. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  26584. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  26585. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  26586. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  26587. }
  26588. node.setSize(w, h);
  26589. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26590. node.a('node.width', w);
  26591. node.a('node.height', h);
  26592. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26593. node.borderWidth = 2;
  26594. node.a('node.borderwidth',node.borderWidth);
  26595. node._nodename = 'Node180_5';
  26596. node._nodeType = 'line';
  26597. zoomNodeList.push({
  26598. node: node,
  26599. attr: 'node.borderwidth'
  26600. });
  26601. var setWidth = node.setWidth,
  26602. setHeight = node.setHeight,
  26603. timer, rx = 1, ry = 1;
  26604. node.setWidth = function (width) {
  26605. var _width = this.getWidth();
  26606. rx = width / _width;
  26607. node.a('node.width', width);
  26608. setWidth.apply(this, arguments);
  26609. resetPoints(rx, 1);
  26610. }
  26611. node.setHeight = function (height) {
  26612. var _height = this.getHeight();
  26613. ry = height / _height;
  26614. node.a('node.height', height);
  26615. setHeight.apply(this, arguments);
  26616. resetPoints(1, ry);
  26617. }
  26618. })(Node180_5, Node180_5.getImage(), Node180_5compspts, Node180_5endCompspts, Node180_5startCompspts);
  26619. var Node180_6points=[945, 517,953, 522],
  26620. Node180_6rect=ht.Default.unionPoint([{x:945,y:517},{x:953,y:522}]),
  26621. Node180_6compspts=[];
  26622. _ratio = GD.getRatioWithRotation(0, ratio);
  26623. var _startratio = GD.getRatioWithRotation(3.70019196893336, ratio),
  26624. _endratio = GD.getRatioWithRotation(0.558599315343562, ratio);
  26625. for(var i=0;i<Node180_6points.length;i++){
  26626. if(i%2==0){
  26627. Node180_6compspts.push(Node180_6points[i]-Node180_6rect.x);
  26628. }else{
  26629. Node180_6compspts.push(Node180_6points[i]-Node180_6rect.y);
  26630. }
  26631. }
  26632. var Node180_6ptslength=Node180_6compspts.length;
  26633. if (Node180_6rect.height === 0) {
  26634. Node180_6compspts[0] -= 0;
  26635. Node180_6compspts[Node180_6ptslength-2] += 0;
  26636. } else if (Node180_6rect.width === 0){
  26637. Node180_6compspts[1] -= 0;
  26638. Node180_6compspts[Node180_6ptslength-1] += 0;
  26639. } else {
  26640. Node180_6compspts[0] -= 0;
  26641. Node180_6compspts[1] -= 0;
  26642. Node180_6compspts[Node180_6ptslength-2] += 0;
  26643. Node180_6compspts[Node180_6ptslength-1] += 0;
  26644. }
  26645. Node180_6 = new ht.Node();
  26646. Node180_6.borderWidth = 2;
  26647. Node180_6rect.width = Node180_6rect.width === 0 ? 0.0001 : Node180_6rect.width;
  26648. Node180_6rect.height = Node180_6rect.height === 0 ? 0.0001 : Node180_6rect.height;
  26649. var Node180_6endCompspts = [Node180_6compspts[Node180_6ptslength-2],Node180_6compspts[Node180_6ptslength-1],0,0];
  26650. var Node180_6startCompspts = [Node180_6compspts[0],Node180_6compspts[1],0,0];
  26651. Node180_6.setImage(GD.getPolyLineJSON());
  26652. Node180_6.setPosition(Node180_6rect.x+Node180_6rect.width/2,Node180_6rect.y+Node180_6rect.height/2);
  26653. Node180_6.setSize(Node180_6rect.width,Node180_6rect.height);
  26654. Node180_6.setStyle("opacity",1);
  26655. Node180_6.s({'pixelPerfect':true});
  26656. Node180_6borderwidth=2;
  26657. Node180_6.setRotation(0);
  26658. dataModel.add(Node180_6);
  26659. Node180_6.a('node.points',Node180_6compspts);
  26660. Node180_6.a('node.segments',[1,2]);
  26661. Node180_6.a('node.color','rgba(255,0,255,1)');
  26662. Node180_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  26663. Node180_6.a('node.borderColor','rgba(255,0,255,1)');
  26664. Node180_6.a('node.background','rgba(255,0,255,1)');
  26665. Node180_6.a('node.gradient','');
  26666. Node180_6.a('node.gradientcolor','rgba(255,0,255,1)');
  26667. Node180_6.a('node.endCompspts',Node180_6endCompspts);
  26668. Node180_6.a('node.startCompspts',Node180_6startCompspts);
  26669. (function (node, img, compspts, endCompspts, startCompspts) {
  26670. var position = node.getPosition(),
  26671. w = node.getWidth()*_ratio.ratioX,
  26672. h = node.getHeight()*_ratio.ratioY;
  26673. function resetPoints(rx, ry) {
  26674. for (var i = 0, len = compspts.length; i < len; i++) {
  26675. if (i%2 === 0) {
  26676. compspts[i]*=rx;
  26677. } else {
  26678. compspts[i]*=ry;
  26679. }
  26680. }
  26681. endCompspts[0] = compspts[compspts.length-2];
  26682. endCompspts[1] = compspts[compspts.length-1];
  26683. endCompspts[2] *= rx;
  26684. endCompspts[3] *= ry;
  26685. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  26686. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  26687. startCompspts[0] = compspts[0];
  26688. startCompspts[1] = compspts[1];
  26689. startCompspts[2] *= rx;
  26690. startCompspts[3] *= ry;
  26691. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  26692. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  26693. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  26694. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  26695. }
  26696. node.setSize(w, h);
  26697. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26698. node.a('node.width', w);
  26699. node.a('node.height', h);
  26700. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26701. node.borderWidth = 2;
  26702. node.a('node.borderwidth',node.borderWidth);
  26703. node._nodename = 'Node180_6';
  26704. node._nodeType = 'line';
  26705. zoomNodeList.push({
  26706. node: node,
  26707. attr: 'node.borderwidth'
  26708. });
  26709. var setWidth = node.setWidth,
  26710. setHeight = node.setHeight,
  26711. timer, rx = 1, ry = 1;
  26712. node.setWidth = function (width) {
  26713. var _width = this.getWidth();
  26714. rx = width / _width;
  26715. node.a('node.width', width);
  26716. setWidth.apply(this, arguments);
  26717. resetPoints(rx, 1);
  26718. }
  26719. node.setHeight = function (height) {
  26720. var _height = this.getHeight();
  26721. ry = height / _height;
  26722. node.a('node.height', height);
  26723. setHeight.apply(this, arguments);
  26724. resetPoints(1, ry);
  26725. }
  26726. })(Node180_6, Node180_6.getImage(), Node180_6compspts, Node180_6endCompspts, Node180_6startCompspts);
  26727. var Node180_7points=[945, 517,937, 522],
  26728. Node180_7rect=ht.Default.unionPoint([{x:945,y:517},{x:937,y:522}]),
  26729. Node180_7compspts=[];
  26730. _ratio = GD.getRatioWithRotation(0, ratio);
  26731. var _startratio = GD.getRatioWithRotation(-0.558599315343562, ratio),
  26732. _endratio = GD.getRatioWithRotation(2.58299333824623, ratio);
  26733. for(var i=0;i<Node180_7points.length;i++){
  26734. if(i%2==0){
  26735. Node180_7compspts.push(Node180_7points[i]-Node180_7rect.x);
  26736. }else{
  26737. Node180_7compspts.push(Node180_7points[i]-Node180_7rect.y);
  26738. }
  26739. }
  26740. var Node180_7ptslength=Node180_7compspts.length;
  26741. if (Node180_7rect.height === 0) {
  26742. Node180_7compspts[0] -= 0;
  26743. Node180_7compspts[Node180_7ptslength-2] += 0;
  26744. } else if (Node180_7rect.width === 0){
  26745. Node180_7compspts[1] -= 0;
  26746. Node180_7compspts[Node180_7ptslength-1] += 0;
  26747. } else {
  26748. Node180_7compspts[0] -= 0;
  26749. Node180_7compspts[1] -= 0;
  26750. Node180_7compspts[Node180_7ptslength-2] += 0;
  26751. Node180_7compspts[Node180_7ptslength-1] += 0;
  26752. }
  26753. Node180_7 = new ht.Node();
  26754. Node180_7.borderWidth = 2;
  26755. Node180_7rect.width = Node180_7rect.width === 0 ? 0.0001 : Node180_7rect.width;
  26756. Node180_7rect.height = Node180_7rect.height === 0 ? 0.0001 : Node180_7rect.height;
  26757. var Node180_7endCompspts = [Node180_7compspts[Node180_7ptslength-2],Node180_7compspts[Node180_7ptslength-1],0,0];
  26758. var Node180_7startCompspts = [Node180_7compspts[0],Node180_7compspts[1],0,0];
  26759. Node180_7.setImage(GD.getPolyLineJSON());
  26760. Node180_7.setPosition(Node180_7rect.x+Node180_7rect.width/2,Node180_7rect.y+Node180_7rect.height/2);
  26761. Node180_7.setSize(Node180_7rect.width,Node180_7rect.height);
  26762. Node180_7.setStyle("opacity",1);
  26763. Node180_7.s({'pixelPerfect':true});
  26764. Node180_7borderwidth=2;
  26765. Node180_7.setRotation(0);
  26766. dataModel.add(Node180_7);
  26767. Node180_7.a('node.points',Node180_7compspts);
  26768. Node180_7.a('node.segments',[1,2]);
  26769. Node180_7.a('node.color','rgba(255,0,255,1)');
  26770. Node180_7.a('node.borderPattern',getDashStyle("@borderPattern@"));
  26771. Node180_7.a('node.borderColor','rgba(255,0,255,1)');
  26772. Node180_7.a('node.background','rgba(255,0,255,1)');
  26773. Node180_7.a('node.gradient','');
  26774. Node180_7.a('node.gradientcolor','rgba(255,0,255,1)');
  26775. Node180_7.a('node.endCompspts',Node180_7endCompspts);
  26776. Node180_7.a('node.startCompspts',Node180_7startCompspts);
  26777. (function (node, img, compspts, endCompspts, startCompspts) {
  26778. var position = node.getPosition(),
  26779. w = node.getWidth()*_ratio.ratioX,
  26780. h = node.getHeight()*_ratio.ratioY;
  26781. function resetPoints(rx, ry) {
  26782. for (var i = 0, len = compspts.length; i < len; i++) {
  26783. if (i%2 === 0) {
  26784. compspts[i]*=rx;
  26785. } else {
  26786. compspts[i]*=ry;
  26787. }
  26788. }
  26789. endCompspts[0] = compspts[compspts.length-2];
  26790. endCompspts[1] = compspts[compspts.length-1];
  26791. endCompspts[2] *= rx;
  26792. endCompspts[3] *= ry;
  26793. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  26794. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  26795. startCompspts[0] = compspts[0];
  26796. startCompspts[1] = compspts[1];
  26797. startCompspts[2] *= rx;
  26798. startCompspts[3] *= ry;
  26799. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  26800. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  26801. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  26802. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  26803. }
  26804. node.setSize(w, h);
  26805. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26806. node.a('node.width', w);
  26807. node.a('node.height', h);
  26808. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26809. node.borderWidth = 2;
  26810. node.a('node.borderwidth',node.borderWidth);
  26811. node._nodename = 'Node180_7';
  26812. node._nodeType = 'line';
  26813. zoomNodeList.push({
  26814. node: node,
  26815. attr: 'node.borderwidth'
  26816. });
  26817. var setWidth = node.setWidth,
  26818. setHeight = node.setHeight,
  26819. timer, rx = 1, ry = 1;
  26820. node.setWidth = function (width) {
  26821. var _width = this.getWidth();
  26822. rx = width / _width;
  26823. node.a('node.width', width);
  26824. setWidth.apply(this, arguments);
  26825. resetPoints(rx, 1);
  26826. }
  26827. node.setHeight = function (height) {
  26828. var _height = this.getHeight();
  26829. ry = height / _height;
  26830. node.a('node.height', height);
  26831. setHeight.apply(this, arguments);
  26832. resetPoints(1, ry);
  26833. }
  26834. })(Node180_7, Node180_7.getImage(), Node180_7compspts, Node180_7endCompspts, Node180_7startCompspts);
  26835. var Node180_8_0points=[915, 538,974, 507],
  26836. Node180_8_0rect=ht.Default.unionPoint([{x:915,y:538},{x:974,y:507}]),
  26837. Node180_8_0compspts=[];
  26838. _ratio = GD.getRatioWithRotation(0, ratio);
  26839. var _startratio = GD.getRatioWithRotation(2.65781355466739, ratio),
  26840. _endratio = GD.getRatioWithRotation(-0.483779098922405, ratio);
  26841. for(var i=0;i<Node180_8_0points.length;i++){
  26842. if(i%2==0){
  26843. Node180_8_0compspts.push(Node180_8_0points[i]-Node180_8_0rect.x);
  26844. }else{
  26845. Node180_8_0compspts.push(Node180_8_0points[i]-Node180_8_0rect.y);
  26846. }
  26847. }
  26848. var Node180_8_0ptslength=Node180_8_0compspts.length;
  26849. if (Node180_8_0rect.height === 0) {
  26850. Node180_8_0compspts[0] -= 0;
  26851. Node180_8_0compspts[Node180_8_0ptslength-2] += 0;
  26852. } else if (Node180_8_0rect.width === 0){
  26853. Node180_8_0compspts[1] -= 0;
  26854. Node180_8_0compspts[Node180_8_0ptslength-1] += 0;
  26855. } else {
  26856. Node180_8_0compspts[0] -= 0;
  26857. Node180_8_0compspts[1] -= 0;
  26858. Node180_8_0compspts[Node180_8_0ptslength-2] += 0;
  26859. Node180_8_0compspts[Node180_8_0ptslength-1] += 0;
  26860. }
  26861. Node180_8_0 = new ht.Node();
  26862. Node180_8_0.borderWidth = 2;
  26863. Node180_8_0rect.width = Node180_8_0rect.width === 0 ? 0.0001 : Node180_8_0rect.width;
  26864. Node180_8_0rect.height = Node180_8_0rect.height === 0 ? 0.0001 : Node180_8_0rect.height;
  26865. var Node180_8_0endCompspts = [Node180_8_0compspts[Node180_8_0ptslength-2],Node180_8_0compspts[Node180_8_0ptslength-1],0,0];
  26866. var Node180_8_0startCompspts = [Node180_8_0compspts[0],Node180_8_0compspts[1],0,0];
  26867. Node180_8_0.setImage(GD.getPolyLineJSON());
  26868. Node180_8_0.setPosition(Node180_8_0rect.x+Node180_8_0rect.width/2,Node180_8_0rect.y+Node180_8_0rect.height/2);
  26869. Node180_8_0.setSize(Node180_8_0rect.width,Node180_8_0rect.height);
  26870. Node180_8_0.setStyle("opacity",1);
  26871. Node180_8_0.s({'pixelPerfect':true});
  26872. Node180_8_0borderwidth=2;
  26873. Node180_8_0.setRotation(0);
  26874. dataModel.add(Node180_8_0);
  26875. Node180_8_0.a('node.points',Node180_8_0compspts);
  26876. Node180_8_0.a('node.segments',[1,2]);
  26877. Node180_8_0.a('node.color','rgba(255,0,255,1)');
  26878. Node180_8_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  26879. Node180_8_0.a('node.borderColor','rgba(255,0,255,1)');
  26880. Node180_8_0.a('node.background','rgba(255,0,255,1)');
  26881. Node180_8_0.a('node.gradient','');
  26882. Node180_8_0.a('node.gradientcolor','rgba(255,0,255,1)');
  26883. Node180_8_0.a('node.endCompspts',Node180_8_0endCompspts);
  26884. Node180_8_0.a('node.startCompspts',Node180_8_0startCompspts);
  26885. (function (node, img, compspts, endCompspts, startCompspts) {
  26886. var position = node.getPosition(),
  26887. w = node.getWidth()*_ratio.ratioX,
  26888. h = node.getHeight()*_ratio.ratioY;
  26889. function resetPoints(rx, ry) {
  26890. for (var i = 0, len = compspts.length; i < len; i++) {
  26891. if (i%2 === 0) {
  26892. compspts[i]*=rx;
  26893. } else {
  26894. compspts[i]*=ry;
  26895. }
  26896. }
  26897. endCompspts[0] = compspts[compspts.length-2];
  26898. endCompspts[1] = compspts[compspts.length-1];
  26899. endCompspts[2] *= rx;
  26900. endCompspts[3] *= ry;
  26901. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  26902. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  26903. startCompspts[0] = compspts[0];
  26904. startCompspts[1] = compspts[1];
  26905. startCompspts[2] *= rx;
  26906. startCompspts[3] *= ry;
  26907. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  26908. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  26909. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  26910. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  26911. }
  26912. node.setSize(w, h);
  26913. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  26914. node.a('node.width', w);
  26915. node.a('node.height', h);
  26916. resetPoints(_ratio.ratioX, _ratio.ratioY);
  26917. node.borderWidth = 2;
  26918. node.a('node.borderwidth',node.borderWidth);
  26919. node._nodename = 'Node180_8_0';
  26920. node._nodeType = 'line';
  26921. zoomNodeList.push({
  26922. node: node,
  26923. attr: 'node.borderwidth'
  26924. });
  26925. var setWidth = node.setWidth,
  26926. setHeight = node.setHeight,
  26927. timer, rx = 1, ry = 1;
  26928. node.setWidth = function (width) {
  26929. var _width = this.getWidth();
  26930. rx = width / _width;
  26931. node.a('node.width', width);
  26932. setWidth.apply(this, arguments);
  26933. resetPoints(rx, 1);
  26934. }
  26935. node.setHeight = function (height) {
  26936. var _height = this.getHeight();
  26937. ry = height / _height;
  26938. node.a('node.height', height);
  26939. setHeight.apply(this, arguments);
  26940. resetPoints(1, ry);
  26941. }
  26942. })(Node180_8_0, Node180_8_0.getImage(), Node180_8_0compspts, Node180_8_0endCompspts, Node180_8_0startCompspts);
  26943. var Node180_8_1rect=ht.Default.unionPoint([{x: 966, y: 505},{x: 966, y: 505},{x: 975, y: 504},{x: 969, y: 515}]),
  26944. Node180_8_1points=[966,505,966,505,975,504,969,515],
  26945. Node180_8_1compsPoints=[],
  26946. Node180_8_1SetPoints = [{x: 966, y: 505},{x: 966, y: 505},{x: 975, y: 504},{x: 969, y: 515}],
  26947. Node180_8_1setSegments = [1,2,2,2];
  26948. _ratio = GD.getRatioWithRotation(4.101523, ratio);
  26949. for(var i=0;i<Node180_8_1points.length;i++){
  26950. if(i%2==0){
  26951. Node180_8_1compsPoints.push(Node180_8_1points[i]-Node180_8_1rect.x);
  26952. }else{
  26953. Node180_8_1compsPoints.push(Node180_8_1points[i]-Node180_8_1rect.y);
  26954. }
  26955. }
  26956. var Node180_8_1 = new ht.Node();
  26957. Node180_8_1.setImage(GD.getPolyGonJSON());
  26958. Node180_8_1.setPosition(Node180_8_1rect.x + Node180_8_1rect.width/2, Node180_8_1rect.y + Node180_8_1rect.height/2);
  26959. Node180_8_1.setSize(Node180_8_1rect.width, Node180_8_1rect.height);
  26960. Node180_8_1.setRotation(4.101523);
  26961. Node180_8_1.borderWidth=2;
  26962. Node180_8_1.borderFillwidth=2*2;
  26963. Node180_8_1.s({'pixelPerfect':true});
  26964. dataModel.add(Node180_8_1);
  26965. // Node180_8_1.a('node.width', Node180_8_1rect.width*_ratio.ratioX);
  26966. // Node180_8_1.a('node.height', Node180_8_1rect.height*_ratio.ratioY);
  26967. Node180_8_1.a('node.clip', function(g,width,height,data) {
  26968. var clippoints = Node180_8_1SetPoints;
  26969. if(clippoints.length<=3) return;
  26970. if(Node180_8_1.a('Node180_8_1.isFill')=="false") return;
  26971. var clipcompsPoints=[];
  26972. var rect = ht.Default.unionPoint(clippoints);
  26973. for(var i=0;i<clippoints.length;i++){
  26974. clipcompsPoints.push({x:clippoints[i].x-rect.x,y:clippoints[i].y-rect.y});
  26975. }
  26976. var clipsegments=Node180_8_1setSegments;
  26977. g.beginPath();
  26978. drawPoints(g,clipcompsPoints,clipsegments);
  26979. g.clip();
  26980. })
  26981. Node180_8_1.a('node.type', 'shape');
  26982. Node180_8_1.a('node.comsPoints', Node180_8_1compsPoints);
  26983. Node180_8_1.a('node.closePath', true);
  26984. Node180_8_1.a('node.borderwidth', 2);
  26985. Node180_8_1.a('node.color', 'rgba(255,0,255,1)');
  26986. Node180_8_1.a('node.background','rgba(255,0,255,1)');
  26987. Node180_8_1.a('node.closePath', true);
  26988. Node180_8_1.a('node.closePath', true);
  26989. Node180_8_1.a('node.gradient','');
  26990. Node180_8_1.a('node.gradientcolor','rgba(255,0,255,1)');
  26991. Node180_8_1.a('node.isFill','false');
  26992. Node180_8_1.a('node.original',[0,0,0,0]);
  26993. Node180_8_1.a('node.fillrect',[0,0,0,0]);
  26994. Node180_8_1.a('node.fillbackcolor','rgba(255,0,255,1)');
  26995. Node180_8_1.a('node.fillgradient','');
  26996. Node180_8_1.a('node.fillgradientcolor','rgba(255,0,255,1)');
  26997. Node180_8_1.a('node.segments',Node180_8_1setSegments);
  26998. Node180_8_1.a('node.borderPattern',"");
  26999. (function (node, nodecompsPoints, setPoints) {
  27000. var w = node.getWidth()*_ratio.ratioX,
  27001. h = node.getHeight()*_ratio.ratioY,
  27002. img = node.getImage();
  27003. function resetPoints(rx, ry) {
  27004. for (var i = 0, len = nodecompsPoints.length; i < len; i++) {
  27005. if (i%2 === 0) {
  27006. nodecompsPoints[i]*=rx;
  27007. } else {
  27008. nodecompsPoints[i]*=ry;
  27009. }
  27010. if (setPoints[i]) {
  27011. setPoints[i].x *= rx;
  27012. setPoints[i].y *= ry;
  27013. }
  27014. }
  27015. }
  27016. node.setSize(w, h);
  27017. node.a('node.width', w);
  27018. node.a('node.height', h);
  27019. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27020. var position = node.getPosition();
  27021. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27022. node._nodename = 'Node180_8_1';
  27023. node._nodeType = 'polygon';
  27024. zoomNodeList.push({
  27025. node: node,
  27026. attr: 'node.borderwidth'
  27027. });
  27028. // 重载setWidth, setHeight
  27029. var setWidth = node.setWidth,
  27030. setHeight = node.setHeight,
  27031. timer, rx = 1, ry = 1;
  27032. node.setWidth = function (width) {
  27033. var _width = this.getWidth();
  27034. rx = width / _width;
  27035. node.a('node.width', width);
  27036. setWidth.apply(this, arguments);
  27037. resetPoints(rx, 1);
  27038. }
  27039. node.setHeight = function (height) {
  27040. var _height = this.getHeight();
  27041. ry = height / _height;
  27042. node.a('node.height', height);
  27043. setHeight.apply(this, arguments);
  27044. resetPoints(1, ry);
  27045. }
  27046. })(Node180_8_1, Node180_8_1compsPoints, Node180_8_1SetPoints );
  27047. var Node181_0points=[516, 262,522, 262],
  27048. Node181_0rect=ht.Default.unionPoint([{x:516,y:262},{x:522,y:262}]),
  27049. Node181_0compspts=[];
  27050. _ratio = GD.getRatioWithRotation(0, ratio);
  27051. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27052. _endratio = GD.getRatioWithRotation(0, ratio);
  27053. for(var i=0;i<Node181_0points.length;i++){
  27054. if(i%2==0){
  27055. Node181_0compspts.push(Node181_0points[i]-Node181_0rect.x);
  27056. }else{
  27057. Node181_0compspts.push(Node181_0points[i]-Node181_0rect.y);
  27058. }
  27059. }
  27060. var Node181_0ptslength=Node181_0compspts.length;
  27061. if (Node181_0rect.height === 0) {
  27062. Node181_0compspts[0] -= 0;
  27063. Node181_0compspts[Node181_0ptslength-2] += 0;
  27064. } else if (Node181_0rect.width === 0){
  27065. Node181_0compspts[1] -= 0;
  27066. Node181_0compspts[Node181_0ptslength-1] += 0;
  27067. } else {
  27068. Node181_0compspts[0] -= 0;
  27069. Node181_0compspts[1] -= 0;
  27070. Node181_0compspts[Node181_0ptslength-2] += 0;
  27071. Node181_0compspts[Node181_0ptslength-1] += 0;
  27072. }
  27073. Node181_0 = new ht.Node();
  27074. Node181_0.borderWidth = 1;
  27075. Node181_0rect.width = Node181_0rect.width === 0 ? 0.0001 : Node181_0rect.width;
  27076. Node181_0rect.height = Node181_0rect.height === 0 ? 0.0001 : Node181_0rect.height;
  27077. var Node181_0endCompspts = [Node181_0compspts[Node181_0ptslength-2],Node181_0compspts[Node181_0ptslength-1],0,0];
  27078. var Node181_0startCompspts = [Node181_0compspts[0],Node181_0compspts[1],0,0];
  27079. Node181_0.setImage(GD.getPolyLineJSON());
  27080. Node181_0.setPosition(Node181_0rect.x+Node181_0rect.width/2,Node181_0rect.y+Node181_0rect.height/2);
  27081. Node181_0.setSize(Node181_0rect.width,Node181_0rect.height);
  27082. Node181_0.setStyle("opacity",1);
  27083. Node181_0.s({'pixelPerfect':true});
  27084. Node181_0borderwidth=1;
  27085. Node181_0.setRotation(0);
  27086. dataModel.add(Node181_0);
  27087. Node181_0.a('node.points',Node181_0compspts);
  27088. Node181_0.a('node.segments',[1,2]);
  27089. Node181_0.a('node.color','rgba(255,0,255,1)');
  27090. Node181_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27091. Node181_0.a('node.borderColor','rgba(255,0,255,1)');
  27092. Node181_0.a('node.background','rgba(255,0,255,1)');
  27093. Node181_0.a('node.gradient','');
  27094. Node181_0.a('node.gradientcolor','rgba(255,0,255,1)');
  27095. Node181_0.a('node.endCompspts',Node181_0endCompspts);
  27096. Node181_0.a('node.startCompspts',Node181_0startCompspts);
  27097. (function (node, img, compspts, endCompspts, startCompspts) {
  27098. var position = node.getPosition(),
  27099. w = node.getWidth()*_ratio.ratioX,
  27100. h = node.getHeight()*_ratio.ratioY;
  27101. function resetPoints(rx, ry) {
  27102. for (var i = 0, len = compspts.length; i < len; i++) {
  27103. if (i%2 === 0) {
  27104. compspts[i]*=rx;
  27105. } else {
  27106. compspts[i]*=ry;
  27107. }
  27108. }
  27109. endCompspts[0] = compspts[compspts.length-2];
  27110. endCompspts[1] = compspts[compspts.length-1];
  27111. endCompspts[2] *= rx;
  27112. endCompspts[3] *= ry;
  27113. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27114. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27115. startCompspts[0] = compspts[0];
  27116. startCompspts[1] = compspts[1];
  27117. startCompspts[2] *= rx;
  27118. startCompspts[3] *= ry;
  27119. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27120. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27121. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27122. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27123. }
  27124. node.setSize(w, h);
  27125. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27126. node.a('node.width', w);
  27127. node.a('node.height', h);
  27128. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27129. node.borderWidth = 1;
  27130. node.a('node.borderwidth',node.borderWidth);
  27131. node._nodename = 'Node181_0';
  27132. node._nodeType = 'line';
  27133. zoomNodeList.push({
  27134. node: node,
  27135. attr: 'node.borderwidth'
  27136. });
  27137. var setWidth = node.setWidth,
  27138. setHeight = node.setHeight,
  27139. timer, rx = 1, ry = 1;
  27140. node.setWidth = function (width) {
  27141. var _width = this.getWidth();
  27142. rx = width / _width;
  27143. node.a('node.width', width);
  27144. setWidth.apply(this, arguments);
  27145. resetPoints(rx, 1);
  27146. }
  27147. node.setHeight = function (height) {
  27148. var _height = this.getHeight();
  27149. ry = height / _height;
  27150. node.a('node.height', height);
  27151. setHeight.apply(this, arguments);
  27152. resetPoints(1, ry);
  27153. }
  27154. })(Node181_0, Node181_0.getImage(), Node181_0compspts, Node181_0endCompspts, Node181_0startCompspts);
  27155. var Node181_1points=[513, 259,525, 259],
  27156. Node181_1rect=ht.Default.unionPoint([{x:513,y:259},{x:525,y:259}]),
  27157. Node181_1compspts=[];
  27158. _ratio = GD.getRatioWithRotation(0, ratio);
  27159. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27160. _endratio = GD.getRatioWithRotation(0, ratio);
  27161. for(var i=0;i<Node181_1points.length;i++){
  27162. if(i%2==0){
  27163. Node181_1compspts.push(Node181_1points[i]-Node181_1rect.x);
  27164. }else{
  27165. Node181_1compspts.push(Node181_1points[i]-Node181_1rect.y);
  27166. }
  27167. }
  27168. var Node181_1ptslength=Node181_1compspts.length;
  27169. if (Node181_1rect.height === 0) {
  27170. Node181_1compspts[0] -= 0;
  27171. Node181_1compspts[Node181_1ptslength-2] += 0;
  27172. } else if (Node181_1rect.width === 0){
  27173. Node181_1compspts[1] -= 0;
  27174. Node181_1compspts[Node181_1ptslength-1] += 0;
  27175. } else {
  27176. Node181_1compspts[0] -= 0;
  27177. Node181_1compspts[1] -= 0;
  27178. Node181_1compspts[Node181_1ptslength-2] += 0;
  27179. Node181_1compspts[Node181_1ptslength-1] += 0;
  27180. }
  27181. Node181_1 = new ht.Node();
  27182. Node181_1.borderWidth = 1;
  27183. Node181_1rect.width = Node181_1rect.width === 0 ? 0.0001 : Node181_1rect.width;
  27184. Node181_1rect.height = Node181_1rect.height === 0 ? 0.0001 : Node181_1rect.height;
  27185. var Node181_1endCompspts = [Node181_1compspts[Node181_1ptslength-2],Node181_1compspts[Node181_1ptslength-1],0,0];
  27186. var Node181_1startCompspts = [Node181_1compspts[0],Node181_1compspts[1],0,0];
  27187. Node181_1.setImage(GD.getPolyLineJSON());
  27188. Node181_1.setPosition(Node181_1rect.x+Node181_1rect.width/2,Node181_1rect.y+Node181_1rect.height/2);
  27189. Node181_1.setSize(Node181_1rect.width,Node181_1rect.height);
  27190. Node181_1.setStyle("opacity",1);
  27191. Node181_1.s({'pixelPerfect':true});
  27192. Node181_1borderwidth=1;
  27193. Node181_1.setRotation(0);
  27194. dataModel.add(Node181_1);
  27195. Node181_1.a('node.points',Node181_1compspts);
  27196. Node181_1.a('node.segments',[1,2]);
  27197. Node181_1.a('node.color','rgba(255,0,255,1)');
  27198. Node181_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27199. Node181_1.a('node.borderColor','rgba(255,0,255,1)');
  27200. Node181_1.a('node.background','rgba(255,0,255,1)');
  27201. Node181_1.a('node.gradient','');
  27202. Node181_1.a('node.gradientcolor','rgba(255,0,255,1)');
  27203. Node181_1.a('node.endCompspts',Node181_1endCompspts);
  27204. Node181_1.a('node.startCompspts',Node181_1startCompspts);
  27205. (function (node, img, compspts, endCompspts, startCompspts) {
  27206. var position = node.getPosition(),
  27207. w = node.getWidth()*_ratio.ratioX,
  27208. h = node.getHeight()*_ratio.ratioY;
  27209. function resetPoints(rx, ry) {
  27210. for (var i = 0, len = compspts.length; i < len; i++) {
  27211. if (i%2 === 0) {
  27212. compspts[i]*=rx;
  27213. } else {
  27214. compspts[i]*=ry;
  27215. }
  27216. }
  27217. endCompspts[0] = compspts[compspts.length-2];
  27218. endCompspts[1] = compspts[compspts.length-1];
  27219. endCompspts[2] *= rx;
  27220. endCompspts[3] *= ry;
  27221. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27222. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27223. startCompspts[0] = compspts[0];
  27224. startCompspts[1] = compspts[1];
  27225. startCompspts[2] *= rx;
  27226. startCompspts[3] *= ry;
  27227. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27228. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27229. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27230. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27231. }
  27232. node.setSize(w, h);
  27233. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27234. node.a('node.width', w);
  27235. node.a('node.height', h);
  27236. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27237. node.borderWidth = 1;
  27238. node.a('node.borderwidth',node.borderWidth);
  27239. node._nodename = 'Node181_1';
  27240. node._nodeType = 'line';
  27241. zoomNodeList.push({
  27242. node: node,
  27243. attr: 'node.borderwidth'
  27244. });
  27245. var setWidth = node.setWidth,
  27246. setHeight = node.setHeight,
  27247. timer, rx = 1, ry = 1;
  27248. node.setWidth = function (width) {
  27249. var _width = this.getWidth();
  27250. rx = width / _width;
  27251. node.a('node.width', width);
  27252. setWidth.apply(this, arguments);
  27253. resetPoints(rx, 1);
  27254. }
  27255. node.setHeight = function (height) {
  27256. var _height = this.getHeight();
  27257. ry = height / _height;
  27258. node.a('node.height', height);
  27259. setHeight.apply(this, arguments);
  27260. resetPoints(1, ry);
  27261. }
  27262. })(Node181_1, Node181_1.getImage(), Node181_1compspts, Node181_1endCompspts, Node181_1startCompspts);
  27263. var Node181_2points=[511, 256,527, 256],
  27264. Node181_2rect=ht.Default.unionPoint([{x:511,y:256},{x:527,y:256}]),
  27265. Node181_2compspts=[];
  27266. _ratio = GD.getRatioWithRotation(0, ratio);
  27267. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27268. _endratio = GD.getRatioWithRotation(0, ratio);
  27269. for(var i=0;i<Node181_2points.length;i++){
  27270. if(i%2==0){
  27271. Node181_2compspts.push(Node181_2points[i]-Node181_2rect.x);
  27272. }else{
  27273. Node181_2compspts.push(Node181_2points[i]-Node181_2rect.y);
  27274. }
  27275. }
  27276. var Node181_2ptslength=Node181_2compspts.length;
  27277. if (Node181_2rect.height === 0) {
  27278. Node181_2compspts[0] -= 0;
  27279. Node181_2compspts[Node181_2ptslength-2] += 0;
  27280. } else if (Node181_2rect.width === 0){
  27281. Node181_2compspts[1] -= 0;
  27282. Node181_2compspts[Node181_2ptslength-1] += 0;
  27283. } else {
  27284. Node181_2compspts[0] -= 0;
  27285. Node181_2compspts[1] -= 0;
  27286. Node181_2compspts[Node181_2ptslength-2] += 0;
  27287. Node181_2compspts[Node181_2ptslength-1] += 0;
  27288. }
  27289. Node181_2 = new ht.Node();
  27290. Node181_2.borderWidth = 1;
  27291. Node181_2rect.width = Node181_2rect.width === 0 ? 0.0001 : Node181_2rect.width;
  27292. Node181_2rect.height = Node181_2rect.height === 0 ? 0.0001 : Node181_2rect.height;
  27293. var Node181_2endCompspts = [Node181_2compspts[Node181_2ptslength-2],Node181_2compspts[Node181_2ptslength-1],0,0];
  27294. var Node181_2startCompspts = [Node181_2compspts[0],Node181_2compspts[1],0,0];
  27295. Node181_2.setImage(GD.getPolyLineJSON());
  27296. Node181_2.setPosition(Node181_2rect.x+Node181_2rect.width/2,Node181_2rect.y+Node181_2rect.height/2);
  27297. Node181_2.setSize(Node181_2rect.width,Node181_2rect.height);
  27298. Node181_2.setStyle("opacity",1);
  27299. Node181_2.s({'pixelPerfect':true});
  27300. Node181_2borderwidth=1;
  27301. Node181_2.setRotation(0);
  27302. dataModel.add(Node181_2);
  27303. Node181_2.a('node.points',Node181_2compspts);
  27304. Node181_2.a('node.segments',[1,2]);
  27305. Node181_2.a('node.color','rgba(255,0,255,1)');
  27306. Node181_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27307. Node181_2.a('node.borderColor','rgba(255,0,255,1)');
  27308. Node181_2.a('node.background','rgba(255,0,255,1)');
  27309. Node181_2.a('node.gradient','');
  27310. Node181_2.a('node.gradientcolor','rgba(255,0,255,1)');
  27311. Node181_2.a('node.endCompspts',Node181_2endCompspts);
  27312. Node181_2.a('node.startCompspts',Node181_2startCompspts);
  27313. (function (node, img, compspts, endCompspts, startCompspts) {
  27314. var position = node.getPosition(),
  27315. w = node.getWidth()*_ratio.ratioX,
  27316. h = node.getHeight()*_ratio.ratioY;
  27317. function resetPoints(rx, ry) {
  27318. for (var i = 0, len = compspts.length; i < len; i++) {
  27319. if (i%2 === 0) {
  27320. compspts[i]*=rx;
  27321. } else {
  27322. compspts[i]*=ry;
  27323. }
  27324. }
  27325. endCompspts[0] = compspts[compspts.length-2];
  27326. endCompspts[1] = compspts[compspts.length-1];
  27327. endCompspts[2] *= rx;
  27328. endCompspts[3] *= ry;
  27329. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27330. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27331. startCompspts[0] = compspts[0];
  27332. startCompspts[1] = compspts[1];
  27333. startCompspts[2] *= rx;
  27334. startCompspts[3] *= ry;
  27335. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27336. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27337. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27338. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27339. }
  27340. node.setSize(w, h);
  27341. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27342. node.a('node.width', w);
  27343. node.a('node.height', h);
  27344. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27345. node.borderWidth = 1;
  27346. node.a('node.borderwidth',node.borderWidth);
  27347. node._nodename = 'Node181_2';
  27348. node._nodeType = 'line';
  27349. zoomNodeList.push({
  27350. node: node,
  27351. attr: 'node.borderwidth'
  27352. });
  27353. var setWidth = node.setWidth,
  27354. setHeight = node.setHeight,
  27355. timer, rx = 1, ry = 1;
  27356. node.setWidth = function (width) {
  27357. var _width = this.getWidth();
  27358. rx = width / _width;
  27359. node.a('node.width', width);
  27360. setWidth.apply(this, arguments);
  27361. resetPoints(rx, 1);
  27362. }
  27363. node.setHeight = function (height) {
  27364. var _height = this.getHeight();
  27365. ry = height / _height;
  27366. node.a('node.height', height);
  27367. setHeight.apply(this, arguments);
  27368. resetPoints(1, ry);
  27369. }
  27370. })(Node181_2, Node181_2.getImage(), Node181_2compspts, Node181_2endCompspts, Node181_2startCompspts);
  27371. var Node181_3points=[519, 256,519, 250],
  27372. Node181_3rect=ht.Default.unionPoint([{x:519,y:256},{x:519,y:250}]),
  27373. Node181_3compspts=[];
  27374. _ratio = GD.getRatioWithRotation(0, ratio);
  27375. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  27376. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  27377. for(var i=0;i<Node181_3points.length;i++){
  27378. if(i%2==0){
  27379. Node181_3compspts.push(Node181_3points[i]-Node181_3rect.x);
  27380. }else{
  27381. Node181_3compspts.push(Node181_3points[i]-Node181_3rect.y);
  27382. }
  27383. }
  27384. var Node181_3ptslength=Node181_3compspts.length;
  27385. if (Node181_3rect.height === 0) {
  27386. Node181_3compspts[0] -= 0;
  27387. Node181_3compspts[Node181_3ptslength-2] += 0;
  27388. } else if (Node181_3rect.width === 0){
  27389. Node181_3compspts[1] -= 0;
  27390. Node181_3compspts[Node181_3ptslength-1] += 0;
  27391. } else {
  27392. Node181_3compspts[0] -= 0;
  27393. Node181_3compspts[1] -= 0;
  27394. Node181_3compspts[Node181_3ptslength-2] += 0;
  27395. Node181_3compspts[Node181_3ptslength-1] += 0;
  27396. }
  27397. Node181_3 = new ht.Node();
  27398. Node181_3.borderWidth = 1;
  27399. Node181_3rect.width = Node181_3rect.width === 0 ? 0.0001 : Node181_3rect.width;
  27400. Node181_3rect.height = Node181_3rect.height === 0 ? 0.0001 : Node181_3rect.height;
  27401. var Node181_3endCompspts = [Node181_3compspts[Node181_3ptslength-2],Node181_3compspts[Node181_3ptslength-1],0,0];
  27402. var Node181_3startCompspts = [Node181_3compspts[0],Node181_3compspts[1],0,0];
  27403. Node181_3.setImage(GD.getPolyLineJSON());
  27404. Node181_3.setPosition(Node181_3rect.x+Node181_3rect.width/2,Node181_3rect.y+Node181_3rect.height/2);
  27405. Node181_3.setSize(Node181_3rect.width,Node181_3rect.height);
  27406. Node181_3.setStyle("opacity",1);
  27407. Node181_3.s({'pixelPerfect':true});
  27408. Node181_3borderwidth=1;
  27409. Node181_3.setRotation(0);
  27410. dataModel.add(Node181_3);
  27411. Node181_3.a('node.points',Node181_3compspts);
  27412. Node181_3.a('node.segments',[1,2]);
  27413. Node181_3.a('node.color','rgba(255,0,255,1)');
  27414. Node181_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27415. Node181_3.a('node.borderColor','rgba(255,0,255,1)');
  27416. Node181_3.a('node.background','rgba(255,0,255,1)');
  27417. Node181_3.a('node.gradient','');
  27418. Node181_3.a('node.gradientcolor','rgba(255,0,255,1)');
  27419. Node181_3.a('node.endCompspts',Node181_3endCompspts);
  27420. Node181_3.a('node.startCompspts',Node181_3startCompspts);
  27421. (function (node, img, compspts, endCompspts, startCompspts) {
  27422. var position = node.getPosition(),
  27423. w = node.getWidth()*_ratio.ratioX,
  27424. h = node.getHeight()*_ratio.ratioY;
  27425. function resetPoints(rx, ry) {
  27426. for (var i = 0, len = compspts.length; i < len; i++) {
  27427. if (i%2 === 0) {
  27428. compspts[i]*=rx;
  27429. } else {
  27430. compspts[i]*=ry;
  27431. }
  27432. }
  27433. endCompspts[0] = compspts[compspts.length-2];
  27434. endCompspts[1] = compspts[compspts.length-1];
  27435. endCompspts[2] *= rx;
  27436. endCompspts[3] *= ry;
  27437. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27438. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27439. startCompspts[0] = compspts[0];
  27440. startCompspts[1] = compspts[1];
  27441. startCompspts[2] *= rx;
  27442. startCompspts[3] *= ry;
  27443. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27444. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27445. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27446. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27447. }
  27448. node.setSize(w, h);
  27449. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27450. node.a('node.width', w);
  27451. node.a('node.height', h);
  27452. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27453. node.borderWidth = 1;
  27454. node.a('node.borderwidth',node.borderWidth);
  27455. node._nodename = 'Node181_3';
  27456. node._nodeType = 'line';
  27457. zoomNodeList.push({
  27458. node: node,
  27459. attr: 'node.borderwidth'
  27460. });
  27461. var setWidth = node.setWidth,
  27462. setHeight = node.setHeight,
  27463. timer, rx = 1, ry = 1;
  27464. node.setWidth = function (width) {
  27465. var _width = this.getWidth();
  27466. rx = width / _width;
  27467. node.a('node.width', width);
  27468. setWidth.apply(this, arguments);
  27469. resetPoints(rx, 1);
  27470. }
  27471. node.setHeight = function (height) {
  27472. var _height = this.getHeight();
  27473. ry = height / _height;
  27474. node.a('node.height', height);
  27475. setHeight.apply(this, arguments);
  27476. resetPoints(1, ry);
  27477. }
  27478. })(Node181_3, Node181_3.getImage(), Node181_3compspts, Node181_3endCompspts, Node181_3startCompspts);
  27479. var Node182_0points=[516, 306,522, 306],
  27480. Node182_0rect=ht.Default.unionPoint([{x:516,y:306},{x:522,y:306}]),
  27481. Node182_0compspts=[];
  27482. _ratio = GD.getRatioWithRotation(0, ratio);
  27483. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27484. _endratio = GD.getRatioWithRotation(0, ratio);
  27485. for(var i=0;i<Node182_0points.length;i++){
  27486. if(i%2==0){
  27487. Node182_0compspts.push(Node182_0points[i]-Node182_0rect.x);
  27488. }else{
  27489. Node182_0compspts.push(Node182_0points[i]-Node182_0rect.y);
  27490. }
  27491. }
  27492. var Node182_0ptslength=Node182_0compspts.length;
  27493. if (Node182_0rect.height === 0) {
  27494. Node182_0compspts[0] -= 0;
  27495. Node182_0compspts[Node182_0ptslength-2] += 0;
  27496. } else if (Node182_0rect.width === 0){
  27497. Node182_0compspts[1] -= 0;
  27498. Node182_0compspts[Node182_0ptslength-1] += 0;
  27499. } else {
  27500. Node182_0compspts[0] -= 0;
  27501. Node182_0compspts[1] -= 0;
  27502. Node182_0compspts[Node182_0ptslength-2] += 0;
  27503. Node182_0compspts[Node182_0ptslength-1] += 0;
  27504. }
  27505. Node182_0 = new ht.Node();
  27506. Node182_0.borderWidth = 1;
  27507. Node182_0rect.width = Node182_0rect.width === 0 ? 0.0001 : Node182_0rect.width;
  27508. Node182_0rect.height = Node182_0rect.height === 0 ? 0.0001 : Node182_0rect.height;
  27509. var Node182_0endCompspts = [Node182_0compspts[Node182_0ptslength-2],Node182_0compspts[Node182_0ptslength-1],0,0];
  27510. var Node182_0startCompspts = [Node182_0compspts[0],Node182_0compspts[1],0,0];
  27511. Node182_0.setImage(GD.getPolyLineJSON());
  27512. Node182_0.setPosition(Node182_0rect.x+Node182_0rect.width/2,Node182_0rect.y+Node182_0rect.height/2);
  27513. Node182_0.setSize(Node182_0rect.width,Node182_0rect.height);
  27514. Node182_0.setStyle("opacity",1);
  27515. Node182_0.s({'pixelPerfect':true});
  27516. Node182_0borderwidth=1;
  27517. Node182_0.setRotation(0);
  27518. dataModel.add(Node182_0);
  27519. Node182_0.a('node.points',Node182_0compspts);
  27520. Node182_0.a('node.segments',[1,2]);
  27521. Node182_0.a('node.color','rgba(255,0,255,1)');
  27522. Node182_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27523. Node182_0.a('node.borderColor','rgba(255,0,255,1)');
  27524. Node182_0.a('node.background','rgba(255,0,255,1)');
  27525. Node182_0.a('node.gradient','');
  27526. Node182_0.a('node.gradientcolor','rgba(255,0,255,1)');
  27527. Node182_0.a('node.endCompspts',Node182_0endCompspts);
  27528. Node182_0.a('node.startCompspts',Node182_0startCompspts);
  27529. (function (node, img, compspts, endCompspts, startCompspts) {
  27530. var position = node.getPosition(),
  27531. w = node.getWidth()*_ratio.ratioX,
  27532. h = node.getHeight()*_ratio.ratioY;
  27533. function resetPoints(rx, ry) {
  27534. for (var i = 0, len = compspts.length; i < len; i++) {
  27535. if (i%2 === 0) {
  27536. compspts[i]*=rx;
  27537. } else {
  27538. compspts[i]*=ry;
  27539. }
  27540. }
  27541. endCompspts[0] = compspts[compspts.length-2];
  27542. endCompspts[1] = compspts[compspts.length-1];
  27543. endCompspts[2] *= rx;
  27544. endCompspts[3] *= ry;
  27545. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27546. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27547. startCompspts[0] = compspts[0];
  27548. startCompspts[1] = compspts[1];
  27549. startCompspts[2] *= rx;
  27550. startCompspts[3] *= ry;
  27551. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27552. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27553. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27554. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27555. }
  27556. node.setSize(w, h);
  27557. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27558. node.a('node.width', w);
  27559. node.a('node.height', h);
  27560. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27561. node.borderWidth = 1;
  27562. node.a('node.borderwidth',node.borderWidth);
  27563. node._nodename = 'Node182_0';
  27564. node._nodeType = 'line';
  27565. zoomNodeList.push({
  27566. node: node,
  27567. attr: 'node.borderwidth'
  27568. });
  27569. var setWidth = node.setWidth,
  27570. setHeight = node.setHeight,
  27571. timer, rx = 1, ry = 1;
  27572. node.setWidth = function (width) {
  27573. var _width = this.getWidth();
  27574. rx = width / _width;
  27575. node.a('node.width', width);
  27576. setWidth.apply(this, arguments);
  27577. resetPoints(rx, 1);
  27578. }
  27579. node.setHeight = function (height) {
  27580. var _height = this.getHeight();
  27581. ry = height / _height;
  27582. node.a('node.height', height);
  27583. setHeight.apply(this, arguments);
  27584. resetPoints(1, ry);
  27585. }
  27586. })(Node182_0, Node182_0.getImage(), Node182_0compspts, Node182_0endCompspts, Node182_0startCompspts);
  27587. var Node182_1points=[513, 303,525, 303],
  27588. Node182_1rect=ht.Default.unionPoint([{x:513,y:303},{x:525,y:303}]),
  27589. Node182_1compspts=[];
  27590. _ratio = GD.getRatioWithRotation(0, ratio);
  27591. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27592. _endratio = GD.getRatioWithRotation(0, ratio);
  27593. for(var i=0;i<Node182_1points.length;i++){
  27594. if(i%2==0){
  27595. Node182_1compspts.push(Node182_1points[i]-Node182_1rect.x);
  27596. }else{
  27597. Node182_1compspts.push(Node182_1points[i]-Node182_1rect.y);
  27598. }
  27599. }
  27600. var Node182_1ptslength=Node182_1compspts.length;
  27601. if (Node182_1rect.height === 0) {
  27602. Node182_1compspts[0] -= 0;
  27603. Node182_1compspts[Node182_1ptslength-2] += 0;
  27604. } else if (Node182_1rect.width === 0){
  27605. Node182_1compspts[1] -= 0;
  27606. Node182_1compspts[Node182_1ptslength-1] += 0;
  27607. } else {
  27608. Node182_1compspts[0] -= 0;
  27609. Node182_1compspts[1] -= 0;
  27610. Node182_1compspts[Node182_1ptslength-2] += 0;
  27611. Node182_1compspts[Node182_1ptslength-1] += 0;
  27612. }
  27613. Node182_1 = new ht.Node();
  27614. Node182_1.borderWidth = 1;
  27615. Node182_1rect.width = Node182_1rect.width === 0 ? 0.0001 : Node182_1rect.width;
  27616. Node182_1rect.height = Node182_1rect.height === 0 ? 0.0001 : Node182_1rect.height;
  27617. var Node182_1endCompspts = [Node182_1compspts[Node182_1ptslength-2],Node182_1compspts[Node182_1ptslength-1],0,0];
  27618. var Node182_1startCompspts = [Node182_1compspts[0],Node182_1compspts[1],0,0];
  27619. Node182_1.setImage(GD.getPolyLineJSON());
  27620. Node182_1.setPosition(Node182_1rect.x+Node182_1rect.width/2,Node182_1rect.y+Node182_1rect.height/2);
  27621. Node182_1.setSize(Node182_1rect.width,Node182_1rect.height);
  27622. Node182_1.setStyle("opacity",1);
  27623. Node182_1.s({'pixelPerfect':true});
  27624. Node182_1borderwidth=1;
  27625. Node182_1.setRotation(0);
  27626. dataModel.add(Node182_1);
  27627. Node182_1.a('node.points',Node182_1compspts);
  27628. Node182_1.a('node.segments',[1,2]);
  27629. Node182_1.a('node.color','rgba(255,0,255,1)');
  27630. Node182_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27631. Node182_1.a('node.borderColor','rgba(255,0,255,1)');
  27632. Node182_1.a('node.background','rgba(255,0,255,1)');
  27633. Node182_1.a('node.gradient','');
  27634. Node182_1.a('node.gradientcolor','rgba(255,0,255,1)');
  27635. Node182_1.a('node.endCompspts',Node182_1endCompspts);
  27636. Node182_1.a('node.startCompspts',Node182_1startCompspts);
  27637. (function (node, img, compspts, endCompspts, startCompspts) {
  27638. var position = node.getPosition(),
  27639. w = node.getWidth()*_ratio.ratioX,
  27640. h = node.getHeight()*_ratio.ratioY;
  27641. function resetPoints(rx, ry) {
  27642. for (var i = 0, len = compspts.length; i < len; i++) {
  27643. if (i%2 === 0) {
  27644. compspts[i]*=rx;
  27645. } else {
  27646. compspts[i]*=ry;
  27647. }
  27648. }
  27649. endCompspts[0] = compspts[compspts.length-2];
  27650. endCompspts[1] = compspts[compspts.length-1];
  27651. endCompspts[2] *= rx;
  27652. endCompspts[3] *= ry;
  27653. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27654. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27655. startCompspts[0] = compspts[0];
  27656. startCompspts[1] = compspts[1];
  27657. startCompspts[2] *= rx;
  27658. startCompspts[3] *= ry;
  27659. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27660. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27661. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27662. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27663. }
  27664. node.setSize(w, h);
  27665. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27666. node.a('node.width', w);
  27667. node.a('node.height', h);
  27668. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27669. node.borderWidth = 1;
  27670. node.a('node.borderwidth',node.borderWidth);
  27671. node._nodename = 'Node182_1';
  27672. node._nodeType = 'line';
  27673. zoomNodeList.push({
  27674. node: node,
  27675. attr: 'node.borderwidth'
  27676. });
  27677. var setWidth = node.setWidth,
  27678. setHeight = node.setHeight,
  27679. timer, rx = 1, ry = 1;
  27680. node.setWidth = function (width) {
  27681. var _width = this.getWidth();
  27682. rx = width / _width;
  27683. node.a('node.width', width);
  27684. setWidth.apply(this, arguments);
  27685. resetPoints(rx, 1);
  27686. }
  27687. node.setHeight = function (height) {
  27688. var _height = this.getHeight();
  27689. ry = height / _height;
  27690. node.a('node.height', height);
  27691. setHeight.apply(this, arguments);
  27692. resetPoints(1, ry);
  27693. }
  27694. })(Node182_1, Node182_1.getImage(), Node182_1compspts, Node182_1endCompspts, Node182_1startCompspts);
  27695. var Node182_2points=[511, 299,527, 299],
  27696. Node182_2rect=ht.Default.unionPoint([{x:511,y:299},{x:527,y:299}]),
  27697. Node182_2compspts=[];
  27698. _ratio = GD.getRatioWithRotation(0, ratio);
  27699. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27700. _endratio = GD.getRatioWithRotation(0, ratio);
  27701. for(var i=0;i<Node182_2points.length;i++){
  27702. if(i%2==0){
  27703. Node182_2compspts.push(Node182_2points[i]-Node182_2rect.x);
  27704. }else{
  27705. Node182_2compspts.push(Node182_2points[i]-Node182_2rect.y);
  27706. }
  27707. }
  27708. var Node182_2ptslength=Node182_2compspts.length;
  27709. if (Node182_2rect.height === 0) {
  27710. Node182_2compspts[0] -= 0;
  27711. Node182_2compspts[Node182_2ptslength-2] += 0;
  27712. } else if (Node182_2rect.width === 0){
  27713. Node182_2compspts[1] -= 0;
  27714. Node182_2compspts[Node182_2ptslength-1] += 0;
  27715. } else {
  27716. Node182_2compspts[0] -= 0;
  27717. Node182_2compspts[1] -= 0;
  27718. Node182_2compspts[Node182_2ptslength-2] += 0;
  27719. Node182_2compspts[Node182_2ptslength-1] += 0;
  27720. }
  27721. Node182_2 = new ht.Node();
  27722. Node182_2.borderWidth = 1;
  27723. Node182_2rect.width = Node182_2rect.width === 0 ? 0.0001 : Node182_2rect.width;
  27724. Node182_2rect.height = Node182_2rect.height === 0 ? 0.0001 : Node182_2rect.height;
  27725. var Node182_2endCompspts = [Node182_2compspts[Node182_2ptslength-2],Node182_2compspts[Node182_2ptslength-1],0,0];
  27726. var Node182_2startCompspts = [Node182_2compspts[0],Node182_2compspts[1],0,0];
  27727. Node182_2.setImage(GD.getPolyLineJSON());
  27728. Node182_2.setPosition(Node182_2rect.x+Node182_2rect.width/2,Node182_2rect.y+Node182_2rect.height/2);
  27729. Node182_2.setSize(Node182_2rect.width,Node182_2rect.height);
  27730. Node182_2.setStyle("opacity",1);
  27731. Node182_2.s({'pixelPerfect':true});
  27732. Node182_2borderwidth=1;
  27733. Node182_2.setRotation(0);
  27734. dataModel.add(Node182_2);
  27735. Node182_2.a('node.points',Node182_2compspts);
  27736. Node182_2.a('node.segments',[1,2]);
  27737. Node182_2.a('node.color','rgba(255,0,255,1)');
  27738. Node182_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27739. Node182_2.a('node.borderColor','rgba(255,0,255,1)');
  27740. Node182_2.a('node.background','rgba(255,0,255,1)');
  27741. Node182_2.a('node.gradient','');
  27742. Node182_2.a('node.gradientcolor','rgba(255,0,255,1)');
  27743. Node182_2.a('node.endCompspts',Node182_2endCompspts);
  27744. Node182_2.a('node.startCompspts',Node182_2startCompspts);
  27745. (function (node, img, compspts, endCompspts, startCompspts) {
  27746. var position = node.getPosition(),
  27747. w = node.getWidth()*_ratio.ratioX,
  27748. h = node.getHeight()*_ratio.ratioY;
  27749. function resetPoints(rx, ry) {
  27750. for (var i = 0, len = compspts.length; i < len; i++) {
  27751. if (i%2 === 0) {
  27752. compspts[i]*=rx;
  27753. } else {
  27754. compspts[i]*=ry;
  27755. }
  27756. }
  27757. endCompspts[0] = compspts[compspts.length-2];
  27758. endCompspts[1] = compspts[compspts.length-1];
  27759. endCompspts[2] *= rx;
  27760. endCompspts[3] *= ry;
  27761. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27762. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27763. startCompspts[0] = compspts[0];
  27764. startCompspts[1] = compspts[1];
  27765. startCompspts[2] *= rx;
  27766. startCompspts[3] *= ry;
  27767. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27768. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27769. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27770. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27771. }
  27772. node.setSize(w, h);
  27773. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27774. node.a('node.width', w);
  27775. node.a('node.height', h);
  27776. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27777. node.borderWidth = 1;
  27778. node.a('node.borderwidth',node.borderWidth);
  27779. node._nodename = 'Node182_2';
  27780. node._nodeType = 'line';
  27781. zoomNodeList.push({
  27782. node: node,
  27783. attr: 'node.borderwidth'
  27784. });
  27785. var setWidth = node.setWidth,
  27786. setHeight = node.setHeight,
  27787. timer, rx = 1, ry = 1;
  27788. node.setWidth = function (width) {
  27789. var _width = this.getWidth();
  27790. rx = width / _width;
  27791. node.a('node.width', width);
  27792. setWidth.apply(this, arguments);
  27793. resetPoints(rx, 1);
  27794. }
  27795. node.setHeight = function (height) {
  27796. var _height = this.getHeight();
  27797. ry = height / _height;
  27798. node.a('node.height', height);
  27799. setHeight.apply(this, arguments);
  27800. resetPoints(1, ry);
  27801. }
  27802. })(Node182_2, Node182_2.getImage(), Node182_2compspts, Node182_2endCompspts, Node182_2startCompspts);
  27803. var Node182_3points=[519, 299,519, 294],
  27804. Node182_3rect=ht.Default.unionPoint([{x:519,y:299},{x:519,y:294}]),
  27805. Node182_3compspts=[];
  27806. _ratio = GD.getRatioWithRotation(0, ratio);
  27807. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  27808. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  27809. for(var i=0;i<Node182_3points.length;i++){
  27810. if(i%2==0){
  27811. Node182_3compspts.push(Node182_3points[i]-Node182_3rect.x);
  27812. }else{
  27813. Node182_3compspts.push(Node182_3points[i]-Node182_3rect.y);
  27814. }
  27815. }
  27816. var Node182_3ptslength=Node182_3compspts.length;
  27817. if (Node182_3rect.height === 0) {
  27818. Node182_3compspts[0] -= 0;
  27819. Node182_3compspts[Node182_3ptslength-2] += 0;
  27820. } else if (Node182_3rect.width === 0){
  27821. Node182_3compspts[1] -= 0;
  27822. Node182_3compspts[Node182_3ptslength-1] += 0;
  27823. } else {
  27824. Node182_3compspts[0] -= 0;
  27825. Node182_3compspts[1] -= 0;
  27826. Node182_3compspts[Node182_3ptslength-2] += 0;
  27827. Node182_3compspts[Node182_3ptslength-1] += 0;
  27828. }
  27829. Node182_3 = new ht.Node();
  27830. Node182_3.borderWidth = 1;
  27831. Node182_3rect.width = Node182_3rect.width === 0 ? 0.0001 : Node182_3rect.width;
  27832. Node182_3rect.height = Node182_3rect.height === 0 ? 0.0001 : Node182_3rect.height;
  27833. var Node182_3endCompspts = [Node182_3compspts[Node182_3ptslength-2],Node182_3compspts[Node182_3ptslength-1],0,0];
  27834. var Node182_3startCompspts = [Node182_3compspts[0],Node182_3compspts[1],0,0];
  27835. Node182_3.setImage(GD.getPolyLineJSON());
  27836. Node182_3.setPosition(Node182_3rect.x+Node182_3rect.width/2,Node182_3rect.y+Node182_3rect.height/2);
  27837. Node182_3.setSize(Node182_3rect.width,Node182_3rect.height);
  27838. Node182_3.setStyle("opacity",1);
  27839. Node182_3.s({'pixelPerfect':true});
  27840. Node182_3borderwidth=1;
  27841. Node182_3.setRotation(0);
  27842. dataModel.add(Node182_3);
  27843. Node182_3.a('node.points',Node182_3compspts);
  27844. Node182_3.a('node.segments',[1,2]);
  27845. Node182_3.a('node.color','rgba(255,0,255,1)');
  27846. Node182_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27847. Node182_3.a('node.borderColor','rgba(255,0,255,1)');
  27848. Node182_3.a('node.background','rgba(255,0,255,1)');
  27849. Node182_3.a('node.gradient','');
  27850. Node182_3.a('node.gradientcolor','rgba(255,0,255,1)');
  27851. Node182_3.a('node.endCompspts',Node182_3endCompspts);
  27852. Node182_3.a('node.startCompspts',Node182_3startCompspts);
  27853. (function (node, img, compspts, endCompspts, startCompspts) {
  27854. var position = node.getPosition(),
  27855. w = node.getWidth()*_ratio.ratioX,
  27856. h = node.getHeight()*_ratio.ratioY;
  27857. function resetPoints(rx, ry) {
  27858. for (var i = 0, len = compspts.length; i < len; i++) {
  27859. if (i%2 === 0) {
  27860. compspts[i]*=rx;
  27861. } else {
  27862. compspts[i]*=ry;
  27863. }
  27864. }
  27865. endCompspts[0] = compspts[compspts.length-2];
  27866. endCompspts[1] = compspts[compspts.length-1];
  27867. endCompspts[2] *= rx;
  27868. endCompspts[3] *= ry;
  27869. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27870. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27871. startCompspts[0] = compspts[0];
  27872. startCompspts[1] = compspts[1];
  27873. startCompspts[2] *= rx;
  27874. startCompspts[3] *= ry;
  27875. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27876. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27877. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27878. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27879. }
  27880. node.setSize(w, h);
  27881. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27882. node.a('node.width', w);
  27883. node.a('node.height', h);
  27884. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27885. node.borderWidth = 1;
  27886. node.a('node.borderwidth',node.borderWidth);
  27887. node._nodename = 'Node182_3';
  27888. node._nodeType = 'line';
  27889. zoomNodeList.push({
  27890. node: node,
  27891. attr: 'node.borderwidth'
  27892. });
  27893. var setWidth = node.setWidth,
  27894. setHeight = node.setHeight,
  27895. timer, rx = 1, ry = 1;
  27896. node.setWidth = function (width) {
  27897. var _width = this.getWidth();
  27898. rx = width / _width;
  27899. node.a('node.width', width);
  27900. setWidth.apply(this, arguments);
  27901. resetPoints(rx, 1);
  27902. }
  27903. node.setHeight = function (height) {
  27904. var _height = this.getHeight();
  27905. ry = height / _height;
  27906. node.a('node.height', height);
  27907. setHeight.apply(this, arguments);
  27908. resetPoints(1, ry);
  27909. }
  27910. })(Node182_3, Node182_3.getImage(), Node182_3compspts, Node182_3endCompspts, Node182_3startCompspts);
  27911. var Node183_0points=[516, 348,522, 348],
  27912. Node183_0rect=ht.Default.unionPoint([{x:516,y:348},{x:522,y:348}]),
  27913. Node183_0compspts=[];
  27914. _ratio = GD.getRatioWithRotation(0, ratio);
  27915. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  27916. _endratio = GD.getRatioWithRotation(0, ratio);
  27917. for(var i=0;i<Node183_0points.length;i++){
  27918. if(i%2==0){
  27919. Node183_0compspts.push(Node183_0points[i]-Node183_0rect.x);
  27920. }else{
  27921. Node183_0compspts.push(Node183_0points[i]-Node183_0rect.y);
  27922. }
  27923. }
  27924. var Node183_0ptslength=Node183_0compspts.length;
  27925. if (Node183_0rect.height === 0) {
  27926. Node183_0compspts[0] -= 0;
  27927. Node183_0compspts[Node183_0ptslength-2] += 0;
  27928. } else if (Node183_0rect.width === 0){
  27929. Node183_0compspts[1] -= 0;
  27930. Node183_0compspts[Node183_0ptslength-1] += 0;
  27931. } else {
  27932. Node183_0compspts[0] -= 0;
  27933. Node183_0compspts[1] -= 0;
  27934. Node183_0compspts[Node183_0ptslength-2] += 0;
  27935. Node183_0compspts[Node183_0ptslength-1] += 0;
  27936. }
  27937. Node183_0 = new ht.Node();
  27938. Node183_0.borderWidth = 1;
  27939. Node183_0rect.width = Node183_0rect.width === 0 ? 0.0001 : Node183_0rect.width;
  27940. Node183_0rect.height = Node183_0rect.height === 0 ? 0.0001 : Node183_0rect.height;
  27941. var Node183_0endCompspts = [Node183_0compspts[Node183_0ptslength-2],Node183_0compspts[Node183_0ptslength-1],0,0];
  27942. var Node183_0startCompspts = [Node183_0compspts[0],Node183_0compspts[1],0,0];
  27943. Node183_0.setImage(GD.getPolyLineJSON());
  27944. Node183_0.setPosition(Node183_0rect.x+Node183_0rect.width/2,Node183_0rect.y+Node183_0rect.height/2);
  27945. Node183_0.setSize(Node183_0rect.width,Node183_0rect.height);
  27946. Node183_0.setStyle("opacity",1);
  27947. Node183_0.s({'pixelPerfect':true});
  27948. Node183_0borderwidth=1;
  27949. Node183_0.setRotation(0);
  27950. dataModel.add(Node183_0);
  27951. Node183_0.a('node.points',Node183_0compspts);
  27952. Node183_0.a('node.segments',[1,2]);
  27953. Node183_0.a('node.color','rgba(255,0,255,1)');
  27954. Node183_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
  27955. Node183_0.a('node.borderColor','rgba(255,0,255,1)');
  27956. Node183_0.a('node.background','rgba(255,0,255,1)');
  27957. Node183_0.a('node.gradient','');
  27958. Node183_0.a('node.gradientcolor','rgba(255,0,255,1)');
  27959. Node183_0.a('node.endCompspts',Node183_0endCompspts);
  27960. Node183_0.a('node.startCompspts',Node183_0startCompspts);
  27961. (function (node, img, compspts, endCompspts, startCompspts) {
  27962. var position = node.getPosition(),
  27963. w = node.getWidth()*_ratio.ratioX,
  27964. h = node.getHeight()*_ratio.ratioY;
  27965. function resetPoints(rx, ry) {
  27966. for (var i = 0, len = compspts.length; i < len; i++) {
  27967. if (i%2 === 0) {
  27968. compspts[i]*=rx;
  27969. } else {
  27970. compspts[i]*=ry;
  27971. }
  27972. }
  27973. endCompspts[0] = compspts[compspts.length-2];
  27974. endCompspts[1] = compspts[compspts.length-1];
  27975. endCompspts[2] *= rx;
  27976. endCompspts[3] *= ry;
  27977. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  27978. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  27979. startCompspts[0] = compspts[0];
  27980. startCompspts[1] = compspts[1];
  27981. startCompspts[2] *= rx;
  27982. startCompspts[3] *= ry;
  27983. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  27984. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  27985. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  27986. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  27987. }
  27988. node.setSize(w, h);
  27989. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  27990. node.a('node.width', w);
  27991. node.a('node.height', h);
  27992. resetPoints(_ratio.ratioX, _ratio.ratioY);
  27993. node.borderWidth = 1;
  27994. node.a('node.borderwidth',node.borderWidth);
  27995. node._nodename = 'Node183_0';
  27996. node._nodeType = 'line';
  27997. zoomNodeList.push({
  27998. node: node,
  27999. attr: 'node.borderwidth'
  28000. });
  28001. var setWidth = node.setWidth,
  28002. setHeight = node.setHeight,
  28003. timer, rx = 1, ry = 1;
  28004. node.setWidth = function (width) {
  28005. var _width = this.getWidth();
  28006. rx = width / _width;
  28007. node.a('node.width', width);
  28008. setWidth.apply(this, arguments);
  28009. resetPoints(rx, 1);
  28010. }
  28011. node.setHeight = function (height) {
  28012. var _height = this.getHeight();
  28013. ry = height / _height;
  28014. node.a('node.height', height);
  28015. setHeight.apply(this, arguments);
  28016. resetPoints(1, ry);
  28017. }
  28018. })(Node183_0, Node183_0.getImage(), Node183_0compspts, Node183_0endCompspts, Node183_0startCompspts);
  28019. var Node183_1points=[513, 345,525, 345],
  28020. Node183_1rect=ht.Default.unionPoint([{x:513,y:345},{x:525,y:345}]),
  28021. Node183_1compspts=[];
  28022. _ratio = GD.getRatioWithRotation(0, ratio);
  28023. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  28024. _endratio = GD.getRatioWithRotation(0, ratio);
  28025. for(var i=0;i<Node183_1points.length;i++){
  28026. if(i%2==0){
  28027. Node183_1compspts.push(Node183_1points[i]-Node183_1rect.x);
  28028. }else{
  28029. Node183_1compspts.push(Node183_1points[i]-Node183_1rect.y);
  28030. }
  28031. }
  28032. var Node183_1ptslength=Node183_1compspts.length;
  28033. if (Node183_1rect.height === 0) {
  28034. Node183_1compspts[0] -= 0;
  28035. Node183_1compspts[Node183_1ptslength-2] += 0;
  28036. } else if (Node183_1rect.width === 0){
  28037. Node183_1compspts[1] -= 0;
  28038. Node183_1compspts[Node183_1ptslength-1] += 0;
  28039. } else {
  28040. Node183_1compspts[0] -= 0;
  28041. Node183_1compspts[1] -= 0;
  28042. Node183_1compspts[Node183_1ptslength-2] += 0;
  28043. Node183_1compspts[Node183_1ptslength-1] += 0;
  28044. }
  28045. Node183_1 = new ht.Node();
  28046. Node183_1.borderWidth = 1;
  28047. Node183_1rect.width = Node183_1rect.width === 0 ? 0.0001 : Node183_1rect.width;
  28048. Node183_1rect.height = Node183_1rect.height === 0 ? 0.0001 : Node183_1rect.height;
  28049. var Node183_1endCompspts = [Node183_1compspts[Node183_1ptslength-2],Node183_1compspts[Node183_1ptslength-1],0,0];
  28050. var Node183_1startCompspts = [Node183_1compspts[0],Node183_1compspts[1],0,0];
  28051. Node183_1.setImage(GD.getPolyLineJSON());
  28052. Node183_1.setPosition(Node183_1rect.x+Node183_1rect.width/2,Node183_1rect.y+Node183_1rect.height/2);
  28053. Node183_1.setSize(Node183_1rect.width,Node183_1rect.height);
  28054. Node183_1.setStyle("opacity",1);
  28055. Node183_1.s({'pixelPerfect':true});
  28056. Node183_1borderwidth=1;
  28057. Node183_1.setRotation(0);
  28058. dataModel.add(Node183_1);
  28059. Node183_1.a('node.points',Node183_1compspts);
  28060. Node183_1.a('node.segments',[1,2]);
  28061. Node183_1.a('node.color','rgba(255,0,255,1)');
  28062. Node183_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
  28063. Node183_1.a('node.borderColor','rgba(255,0,255,1)');
  28064. Node183_1.a('node.background','rgba(255,0,255,1)');
  28065. Node183_1.a('node.gradient','');
  28066. Node183_1.a('node.gradientcolor','rgba(255,0,255,1)');
  28067. Node183_1.a('node.endCompspts',Node183_1endCompspts);
  28068. Node183_1.a('node.startCompspts',Node183_1startCompspts);
  28069. (function (node, img, compspts, endCompspts, startCompspts) {
  28070. var position = node.getPosition(),
  28071. w = node.getWidth()*_ratio.ratioX,
  28072. h = node.getHeight()*_ratio.ratioY;
  28073. function resetPoints(rx, ry) {
  28074. for (var i = 0, len = compspts.length; i < len; i++) {
  28075. if (i%2 === 0) {
  28076. compspts[i]*=rx;
  28077. } else {
  28078. compspts[i]*=ry;
  28079. }
  28080. }
  28081. endCompspts[0] = compspts[compspts.length-2];
  28082. endCompspts[1] = compspts[compspts.length-1];
  28083. endCompspts[2] *= rx;
  28084. endCompspts[3] *= ry;
  28085. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  28086. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  28087. startCompspts[0] = compspts[0];
  28088. startCompspts[1] = compspts[1];
  28089. startCompspts[2] *= rx;
  28090. startCompspts[3] *= ry;
  28091. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  28092. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  28093. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  28094. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  28095. }
  28096. node.setSize(w, h);
  28097. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  28098. node.a('node.width', w);
  28099. node.a('node.height', h);
  28100. resetPoints(_ratio.ratioX, _ratio.ratioY);
  28101. node.borderWidth = 1;
  28102. node.a('node.borderwidth',node.borderWidth);
  28103. node._nodename = 'Node183_1';
  28104. node._nodeType = 'line';
  28105. zoomNodeList.push({
  28106. node: node,
  28107. attr: 'node.borderwidth'
  28108. });
  28109. var setWidth = node.setWidth,
  28110. setHeight = node.setHeight,
  28111. timer, rx = 1, ry = 1;
  28112. node.setWidth = function (width) {
  28113. var _width = this.getWidth();
  28114. rx = width / _width;
  28115. node.a('node.width', width);
  28116. setWidth.apply(this, arguments);
  28117. resetPoints(rx, 1);
  28118. }
  28119. node.setHeight = function (height) {
  28120. var _height = this.getHeight();
  28121. ry = height / _height;
  28122. node.a('node.height', height);
  28123. setHeight.apply(this, arguments);
  28124. resetPoints(1, ry);
  28125. }
  28126. })(Node183_1, Node183_1.getImage(), Node183_1compspts, Node183_1endCompspts, Node183_1startCompspts);
  28127. var Node183_2points=[511, 342,527, 342],
  28128. Node183_2rect=ht.Default.unionPoint([{x:511,y:342},{x:527,y:342}]),
  28129. Node183_2compspts=[];
  28130. _ratio = GD.getRatioWithRotation(0, ratio);
  28131. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  28132. _endratio = GD.getRatioWithRotation(0, ratio);
  28133. for(var i=0;i<Node183_2points.length;i++){
  28134. if(i%2==0){
  28135. Node183_2compspts.push(Node183_2points[i]-Node183_2rect.x);
  28136. }else{
  28137. Node183_2compspts.push(Node183_2points[i]-Node183_2rect.y);
  28138. }
  28139. }
  28140. var Node183_2ptslength=Node183_2compspts.length;
  28141. if (Node183_2rect.height === 0) {
  28142. Node183_2compspts[0] -= 0;
  28143. Node183_2compspts[Node183_2ptslength-2] += 0;
  28144. } else if (Node183_2rect.width === 0){
  28145. Node183_2compspts[1] -= 0;
  28146. Node183_2compspts[Node183_2ptslength-1] += 0;
  28147. } else {
  28148. Node183_2compspts[0] -= 0;
  28149. Node183_2compspts[1] -= 0;
  28150. Node183_2compspts[Node183_2ptslength-2] += 0;
  28151. Node183_2compspts[Node183_2ptslength-1] += 0;
  28152. }
  28153. Node183_2 = new ht.Node();
  28154. Node183_2.borderWidth = 1;
  28155. Node183_2rect.width = Node183_2rect.width === 0 ? 0.0001 : Node183_2rect.width;
  28156. Node183_2rect.height = Node183_2rect.height === 0 ? 0.0001 : Node183_2rect.height;
  28157. var Node183_2endCompspts = [Node183_2compspts[Node183_2ptslength-2],Node183_2compspts[Node183_2ptslength-1],0,0];
  28158. var Node183_2startCompspts = [Node183_2compspts[0],Node183_2compspts[1],0,0];
  28159. Node183_2.setImage(GD.getPolyLineJSON());
  28160. Node183_2.setPosition(Node183_2rect.x+Node183_2rect.width/2,Node183_2rect.y+Node183_2rect.height/2);
  28161. Node183_2.setSize(Node183_2rect.width,Node183_2rect.height);
  28162. Node183_2.setStyle("opacity",1);
  28163. Node183_2.s({'pixelPerfect':true});
  28164. Node183_2borderwidth=1;
  28165. Node183_2.setRotation(0);
  28166. dataModel.add(Node183_2);
  28167. Node183_2.a('node.points',Node183_2compspts);
  28168. Node183_2.a('node.segments',[1,2]);
  28169. Node183_2.a('node.color','rgba(255,0,255,1)');
  28170. Node183_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
  28171. Node183_2.a('node.borderColor','rgba(255,0,255,1)');
  28172. Node183_2.a('node.background','rgba(255,0,255,1)');
  28173. Node183_2.a('node.gradient','');
  28174. Node183_2.a('node.gradientcolor','rgba(255,0,255,1)');
  28175. Node183_2.a('node.endCompspts',Node183_2endCompspts);
  28176. Node183_2.a('node.startCompspts',Node183_2startCompspts);
  28177. (function (node, img, compspts, endCompspts, startCompspts) {
  28178. var position = node.getPosition(),
  28179. w = node.getWidth()*_ratio.ratioX,
  28180. h = node.getHeight()*_ratio.ratioY;
  28181. function resetPoints(rx, ry) {
  28182. for (var i = 0, len = compspts.length; i < len; i++) {
  28183. if (i%2 === 0) {
  28184. compspts[i]*=rx;
  28185. } else {
  28186. compspts[i]*=ry;
  28187. }
  28188. }
  28189. endCompspts[0] = compspts[compspts.length-2];
  28190. endCompspts[1] = compspts[compspts.length-1];
  28191. endCompspts[2] *= rx;
  28192. endCompspts[3] *= ry;
  28193. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  28194. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  28195. startCompspts[0] = compspts[0];
  28196. startCompspts[1] = compspts[1];
  28197. startCompspts[2] *= rx;
  28198. startCompspts[3] *= ry;
  28199. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  28200. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  28201. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  28202. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  28203. }
  28204. node.setSize(w, h);
  28205. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  28206. node.a('node.width', w);
  28207. node.a('node.height', h);
  28208. resetPoints(_ratio.ratioX, _ratio.ratioY);
  28209. node.borderWidth = 1;
  28210. node.a('node.borderwidth',node.borderWidth);
  28211. node._nodename = 'Node183_2';
  28212. node._nodeType = 'line';
  28213. zoomNodeList.push({
  28214. node: node,
  28215. attr: 'node.borderwidth'
  28216. });
  28217. var setWidth = node.setWidth,
  28218. setHeight = node.setHeight,
  28219. timer, rx = 1, ry = 1;
  28220. node.setWidth = function (width) {
  28221. var _width = this.getWidth();
  28222. rx = width / _width;
  28223. node.a('node.width', width);
  28224. setWidth.apply(this, arguments);
  28225. resetPoints(rx, 1);
  28226. }
  28227. node.setHeight = function (height) {
  28228. var _height = this.getHeight();
  28229. ry = height / _height;
  28230. node.a('node.height', height);
  28231. setHeight.apply(this, arguments);
  28232. resetPoints(1, ry);
  28233. }
  28234. })(Node183_2, Node183_2.getImage(), Node183_2compspts, Node183_2endCompspts, Node183_2startCompspts);
  28235. var Node183_3points=[519, 342,519, 336],
  28236. Node183_3rect=ht.Default.unionPoint([{x:519,y:342},{x:519,y:336}]),
  28237. Node183_3compspts=[];
  28238. _ratio = GD.getRatioWithRotation(0, ratio);
  28239. var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
  28240. _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
  28241. for(var i=0;i<Node183_3points.length;i++){
  28242. if(i%2==0){
  28243. Node183_3compspts.push(Node183_3points[i]-Node183_3rect.x);
  28244. }else{
  28245. Node183_3compspts.push(Node183_3points[i]-Node183_3rect.y);
  28246. }
  28247. }
  28248. var Node183_3ptslength=Node183_3compspts.length;
  28249. if (Node183_3rect.height === 0) {
  28250. Node183_3compspts[0] -= 0;
  28251. Node183_3compspts[Node183_3ptslength-2] += 0;
  28252. } else if (Node183_3rect.width === 0){
  28253. Node183_3compspts[1] -= 0;
  28254. Node183_3compspts[Node183_3ptslength-1] += 0;
  28255. } else {
  28256. Node183_3compspts[0] -= 0;
  28257. Node183_3compspts[1] -= 0;
  28258. Node183_3compspts[Node183_3ptslength-2] += 0;
  28259. Node183_3compspts[Node183_3ptslength-1] += 0;
  28260. }
  28261. Node183_3 = new ht.Node();
  28262. Node183_3.borderWidth = 1;
  28263. Node183_3rect.width = Node183_3rect.width === 0 ? 0.0001 : Node183_3rect.width;
  28264. Node183_3rect.height = Node183_3rect.height === 0 ? 0.0001 : Node183_3rect.height;
  28265. var Node183_3endCompspts = [Node183_3compspts[Node183_3ptslength-2],Node183_3compspts[Node183_3ptslength-1],0,0];
  28266. var Node183_3startCompspts = [Node183_3compspts[0],Node183_3compspts[1],0,0];
  28267. Node183_3.setImage(GD.getPolyLineJSON());
  28268. Node183_3.setPosition(Node183_3rect.x+Node183_3rect.width/2,Node183_3rect.y+Node183_3rect.height/2);
  28269. Node183_3.setSize(Node183_3rect.width,Node183_3rect.height);
  28270. Node183_3.setStyle("opacity",1);
  28271. Node183_3.s({'pixelPerfect':true});
  28272. Node183_3borderwidth=1;
  28273. Node183_3.setRotation(0);
  28274. dataModel.add(Node183_3);
  28275. Node183_3.a('node.points',Node183_3compspts);
  28276. Node183_3.a('node.segments',[1,2]);
  28277. Node183_3.a('node.color','rgba(255,0,255,1)');
  28278. Node183_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
  28279. Node183_3.a('node.borderColor','rgba(255,0,255,1)');
  28280. Node183_3.a('node.background','rgba(255,0,255,1)');
  28281. Node183_3.a('node.gradient','');
  28282. Node183_3.a('node.gradientcolor','rgba(255,0,255,1)');
  28283. Node183_3.a('node.endCompspts',Node183_3endCompspts);
  28284. Node183_3.a('node.startCompspts',Node183_3startCompspts);
  28285. (function (node, img, compspts, endCompspts, startCompspts) {
  28286. var position = node.getPosition(),
  28287. w = node.getWidth()*_ratio.ratioX,
  28288. h = node.getHeight()*_ratio.ratioY;
  28289. function resetPoints(rx, ry) {
  28290. for (var i = 0, len = compspts.length; i < len; i++) {
  28291. if (i%2 === 0) {
  28292. compspts[i]*=rx;
  28293. } else {
  28294. compspts[i]*=ry;
  28295. }
  28296. }
  28297. endCompspts[0] = compspts[compspts.length-2];
  28298. endCompspts[1] = compspts[compspts.length-1];
  28299. endCompspts[2] *= rx;
  28300. endCompspts[3] *= ry;
  28301. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  28302. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  28303. startCompspts[0] = compspts[0];
  28304. startCompspts[1] = compspts[1];
  28305. startCompspts[2] *= rx;
  28306. startCompspts[3] *= ry;
  28307. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  28308. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  28309. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  28310. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  28311. }
  28312. node.setSize(w, h);
  28313. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  28314. node.a('node.width', w);
  28315. node.a('node.height', h);
  28316. resetPoints(_ratio.ratioX, _ratio.ratioY);
  28317. node.borderWidth = 1;
  28318. node.a('node.borderwidth',node.borderWidth);
  28319. node._nodename = 'Node183_3';
  28320. node._nodeType = 'line';
  28321. zoomNodeList.push({
  28322. node: node,
  28323. attr: 'node.borderwidth'
  28324. });
  28325. var setWidth = node.setWidth,
  28326. setHeight = node.setHeight,
  28327. timer, rx = 1, ry = 1;
  28328. node.setWidth = function (width) {
  28329. var _width = this.getWidth();
  28330. rx = width / _width;
  28331. node.a('node.width', width);
  28332. setWidth.apply(this, arguments);
  28333. resetPoints(rx, 1);
  28334. }
  28335. node.setHeight = function (height) {
  28336. var _height = this.getHeight();
  28337. ry = height / _height;
  28338. node.a('node.height', height);
  28339. setHeight.apply(this, arguments);
  28340. resetPoints(1, ry);
  28341. }
  28342. })(Node183_3, Node183_3.getImage(), Node183_3compspts, Node183_3endCompspts, Node183_3startCompspts);
  28343. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28344. var Node184 = new ht.Node();
  28345. var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 116*_ratio.ratioX, Node184height = 28*_ratio.ratioY;
  28346. (function () {
  28347. if (Node184align === 'left') {
  28348. Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
  28349. Node184textWidth = Node184width;
  28350. Node184lineStart = 1;
  28351. } else if (Node184align === 'right') {
  28352. Node184textStart = 0;
  28353. Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
  28354. Node184lineStart = (Node184width - (ht.Default.getTextSize('峰 劲 线', ' '+ Node184fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  28355. } else if (Node184align === 'center') {
  28356. Node184textStart = -3;
  28357. Node184textWidth = Node184width;
  28358. Node184lineStart = Node184width - ht.Default.getTextSize('峰 劲 线', ' '+ Node184fontSize + 'px "微软雅黑"').width - 11;
  28359. }
  28360. })();
  28361. Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "微软雅黑"'))
  28362. Node184.setPosition(485*ratio.ratioX, 176*ratio.ratioY);
  28363. Node184.setWidth(Node184width);
  28364. Node184.setHeight(Node184height);
  28365. Node184._nodeType = 'text';
  28366. Node184._disallowEvert = true;
  28367. Node184.setRotation(0*Math.PI/180);
  28368. Node184.a('node.width', Node184width);
  28369. Node184.a('node.height', Node184height);
  28370. Node184.a('node.rect', [0, 0, Node184width, Node184height]);
  28371. Node184.a('node.bordercolor','rgba(255,255,255,1)');
  28372. Node184.a('node.borderwidth', 0);
  28373. Node184.a('node.background','' || 'rgba(0,0,0,0)');
  28374. Node184.a('node.gradient','');
  28375. Node184.a('node.gradientcolor','');
  28376. Node184.a('node.text','峰 劲 线');
  28377. Node184.a('node.textalign','left');
  28378. Node184.a('node.textvAlign','middle');
  28379. Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
  28380. Node184.a('node.color','rgba(255,255,255,1)');
  28381. Node184.a('node.font',' '+ Node184fontSize + 'px "微软雅黑"');
  28382. Node184.a('node.textvisible',true);
  28383. Node184.a('node.linefeed',false);
  28384. if (false) {
  28385. Node184.a('node.textfunc',function(g) {
  28386. g.beginPath();
  28387. var str=Node184.a('node.text') || '峰 劲 线';
  28388. var color=Node184.a('node.color') || 'rgba(255,255,255,1)';
  28389. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "微软雅黑"', 0,g);
  28390. });
  28391. }
  28392. if (false) {
  28393. Node184.a('node.underlinepoints',[Node184lineStart, (28 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('峰 劲 线', ' '+ Node184fontSize + 'px "微软雅黑"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
  28394. Node184.a('node.underlinevisible',false);
  28395. Node184.a('node.underlineBorderWidth', 1);
  28396. }
  28397. dataModel.add(Node184);
  28398. zoomNodeList.push({
  28399. node: Node184,
  28400. borderWidth: 0,
  28401. attr: 'node.borderwidth'
  28402. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28403. var Node185 = new ht.lib['断路器通用图元'](454*ratio.ratioX, 296*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0020',}, function (){return {}}, 'Node185');
  28404. _libModel.add("Node185", Node185);
  28405. Node185.setRotation(0*Math.PI/180);
  28406. ;
  28407. ;
  28408. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28409. var Node186 = new ht.lib['断路器通用图元'](930*ratio.ratioX, 297*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0032',}, function (){return {}}, 'Node186');
  28410. _libModel.add("Node186", Node186);
  28411. Node186.setRotation(0*Math.PI/180);
  28412. ;
  28413. ;
  28414. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28415. var Node187 = new ht.lib['断路器通用图元'](1303*ratio.ratioX, 287*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0044',}, function (){return {}}, 'Node187');
  28416. _libModel.add("Node187", Node187);
  28417. Node187.setRotation(0*Math.PI/180);
  28418. ;
  28419. ;
  28420. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28421. var Node188 = new ht.lib['断路器通用图元'](434*ratio.ratioX, 586*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0069',}, function (){return {}}, 'Node188');
  28422. _libModel.add("Node188", Node188);
  28423. Node188.setRotation(0*Math.PI/180);
  28424. ;
  28425. ;
  28426. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28427. var Node189 = new ht.lib['断路器通用图元'](930*ratio.ratioX, 425*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0002',}, function (){return {}}, 'Node189');
  28428. _libModel.add("Node189", Node189);
  28429. Node189.setRotation(0*Math.PI/180);
  28430. ;
  28431. ;
  28432. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28433. var Node190 = new ht.lib['断路器通用图元'](930*ratio.ratioX, 589*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0016',}, function (){return {}}, 'Node190');
  28434. _libModel.add("Node190", Node190);
  28435. Node190.setRotation(0*Math.PI/180);
  28436. ;
  28437. ;
  28438. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28439. var Node191 = new ht.lib['断路器通用图元'](1455*ratio.ratioX, 586*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0050',}, function (){return {}}, 'Node191');
  28440. _libModel.add("Node191", Node191);
  28441. Node191.setRotation(0*Math.PI/180);
  28442. ;
  28443. ;
  28444. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28445. var Node192 = new ht.lib['断路器通用图元'](542*ratio.ratioX, 650*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0051',}, function (){return {}}, 'Node192');
  28446. _libModel.add("Node192", Node192);
  28447. Node192.setRotation(0*Math.PI/180);
  28448. ;
  28449. ;
  28450. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28451. var Node193 = new ht.lib['断路器通用图元'](905*ratio.ratioX, 652*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0057',}, function (){return {}}, 'Node193');
  28452. _libModel.add("Node193", Node193);
  28453. Node193.setRotation(0*Math.PI/180);
  28454. ;
  28455. ;
  28456. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28457. var Node194 = new ht.lib['断路器通用图元'](1277*ratio.ratioX, 650*ratio.ratioY, 14*_ratio.ratioX, 18*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0063',}, function (){return {}}, 'Node194');
  28458. _libModel.add("Node194", Node194);
  28459. Node194.setRotation(0*Math.PI/180);
  28460. ;
  28461. ;
  28462. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28463. var Node195 = new ht.lib['开关通用图元'](456*ratio.ratioX, 257*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0024',}, function (){return {}}, 'Node195');
  28464. _libModel.add("Node195", Node195);
  28465. Node195.setRotation(0*Math.PI/180);
  28466. ;
  28467. ;
  28468. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28469. var Node196 = new ht.lib['开关通用图元'](456*ratio.ratioX, 337*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0022',}, function (){return {}}, 'Node196');
  28470. _libModel.add("Node196", Node196);
  28471. Node196.setRotation(0*Math.PI/180);
  28472. ;
  28473. ;
  28474. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28475. var Node197 = new ht.lib['开关通用图元'](931*ratio.ratioX, 257*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0036',}, function (){return {}}, 'Node197');
  28476. _libModel.add("Node197", Node197);
  28477. Node197.setRotation(0*Math.PI/180);
  28478. ;
  28479. ;
  28480. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28481. var Node198 = new ht.lib['开关通用图元'](931*ratio.ratioX, 333*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0034',}, function (){return {}}, 'Node198');
  28482. _libModel.add("Node198", Node198);
  28483. Node198.setRotation(0*Math.PI/180);
  28484. ;
  28485. ;
  28486. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28487. var Node199 = new ht.lib['开关通用图元'](434*ratio.ratioX, 476*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0074',}, function (){return {}}, 'Node199');
  28488. _libModel.add("Node199", Node199);
  28489. Node199.setRotation(0*Math.PI/180);
  28490. ;
  28491. ;
  28492. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28493. var Node200 = new ht.lib['开关通用图元'](931*ratio.ratioX, 387*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0006',}, function (){return {}}, 'Node200');
  28494. _libModel.add("Node200", Node200);
  28495. Node200.setRotation(0*Math.PI/180);
  28496. ;
  28497. ;
  28498. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28499. var Node201 = new ht.lib['开关通用图元'](931*ratio.ratioX, 467*ratio.ratioY, 20*_ratio.ratioX, 22*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0004',}, function (){return {}}, 'Node201');
  28500. _libModel.add("Node201", Node201);
  28501. Node201.setRotation(0*Math.PI/180);
  28502. ;
  28503. ;
  28504. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28505. var Node202 = new ht.lib['手车通用图元'](434*ratio.ratioX, 588*ratio.ratioY, 20*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0072',}, function (){return {}}, 'Node202');
  28506. _libModel.add("Node202", Node202);
  28507. Node202.setRotation(0*Math.PI/180);
  28508. ;
  28509. ;
  28510. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28511. var Node203 = new ht.lib['手车通用图元'](931*ratio.ratioX, 590*ratio.ratioY, 20*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0018',}, function (){return {}}, 'Node203');
  28512. _libModel.add("Node203", Node203);
  28513. Node203.setRotation(0*Math.PI/180);
  28514. ;
  28515. ;
  28516. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28517. var Node204 = new ht.Node();
  28518. var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'left', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 32*_ratio.ratioX, Node204height = 23*_ratio.ratioY;
  28519. (function () {
  28520. if (Node204align === 'left') {
  28521. Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9;
  28522. Node204textWidth = Node204width;
  28523. Node204lineStart = 1;
  28524. } else if (Node204align === 'right') {
  28525. Node204textStart = 0;
  28526. Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2;
  28527. Node204lineStart = (Node204width - (ht.Default.getTextSize('P :', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5;
  28528. } else if (Node204align === 'center') {
  28529. Node204textStart = -3;
  28530. Node204textWidth = Node204width;
  28531. Node204lineStart = Node204width - ht.Default.getTextSize('P :', ' '+ Node204fontSize + 'px "Arial"').width - 11;
  28532. }
  28533. })();
  28534. Node204.setImage(GD.getTextJSON(Node204width, Node204height, true, false, false, ' '+ Node204fontSize + 'px "Arial"'))
  28535. Node204.setPosition(499*ratio.ratioX, 794*ratio.ratioY);
  28536. Node204.setWidth(Node204width);
  28537. Node204.setHeight(Node204height);
  28538. Node204._nodeType = 'text';
  28539. Node204._disallowEvert = true;
  28540. Node204.setRotation(0*Math.PI/180);
  28541. Node204.a('node.width', Node204width);
  28542. Node204.a('node.height', Node204height);
  28543. Node204.a('node.rect', [0, 0, Node204width, Node204height]);
  28544. Node204.a('node.bordercolor','rgba(0,0,0,1)');
  28545. Node204.a('node.borderwidth', 0);
  28546. Node204.a('node.background','' || 'rgba(0,0,0,0)');
  28547. Node204.a('node.gradient','');
  28548. Node204.a('node.gradientcolor','');
  28549. Node204.a('node.text','P :');
  28550. Node204.a('node.textalign','left');
  28551. Node204.a('node.textvAlign','middle');
  28552. Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]);
  28553. Node204.a('node.color','rgba(0,0,0,1)');
  28554. Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"');
  28555. Node204.a('node.textvisible',true);
  28556. Node204.a('node.linefeed',false);
  28557. if (false) {
  28558. Node204.a('node.textfunc',function(g) {
  28559. g.beginPath();
  28560. var str=Node204.a('node.text') || 'P :';
  28561. var color=Node204.a('node.color') || 'rgba(0,0,0,1)';
  28562. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"left",color,' '+ Node204fontSize + 'px "Arial"', 0,g);
  28563. });
  28564. }
  28565. if (false) {
  28566. Node204.a('node.underlinepoints',[Node204lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('P :', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]);
  28567. Node204.a('node.underlinevisible',false);
  28568. Node204.a('node.underlineBorderWidth', 1);
  28569. }
  28570. dataModel.add(Node204);
  28571. zoomNodeList.push({
  28572. node: Node204,
  28573. borderWidth: 0,
  28574. attr: 'node.borderwidth'
  28575. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28576. var Node205 = new ht.Node();
  28577. var Node205textStart, Node205textWidth, Node205lineStart, Node205align = 'left', Node205fontSize = 13.3333*_ratio.ratioY,Node205width = 32*_ratio.ratioX, Node205height = 23*_ratio.ratioY;
  28578. (function () {
  28579. if (Node205align === 'left') {
  28580. Node205textStart = Node205fontSize * 0.2 > 2 ? Node205fontSize * 0.2 - 4 : Node205fontSize * 0.2 - 9;
  28581. Node205textWidth = Node205width;
  28582. Node205lineStart = 1;
  28583. } else if (Node205align === 'right') {
  28584. Node205textStart = 0;
  28585. Node205textWidth =Node205fontSize <= 8 ? Node205width + Node205fontSize * 0.2 + 6 : Node205width - Node205fontSize * 0.2;
  28586. Node205lineStart = (Node205width - (ht.Default.getTextSize('Q :', ' '+ Node205fontSize + 'px "Arial"').width + 6)) * 0.5;
  28587. } else if (Node205align === 'center') {
  28588. Node205textStart = -3;
  28589. Node205textWidth = Node205width;
  28590. Node205lineStart = Node205width - ht.Default.getTextSize('Q :', ' '+ Node205fontSize + 'px "Arial"').width - 11;
  28591. }
  28592. })();
  28593. Node205.setImage(GD.getTextJSON(Node205width, Node205height, true, false, false, ' '+ Node205fontSize + 'px "Arial"'))
  28594. Node205.setPosition(498*ratio.ratioX, 811*ratio.ratioY);
  28595. Node205.setWidth(Node205width);
  28596. Node205.setHeight(Node205height);
  28597. Node205._nodeType = 'text';
  28598. Node205._disallowEvert = true;
  28599. Node205.setRotation(0*Math.PI/180);
  28600. Node205.a('node.width', Node205width);
  28601. Node205.a('node.height', Node205height);
  28602. Node205.a('node.rect', [0, 0, Node205width, Node205height]);
  28603. Node205.a('node.bordercolor','rgba(0,0,0,1)');
  28604. Node205.a('node.borderwidth', 0);
  28605. Node205.a('node.background','' || 'rgba(0,0,0,0)');
  28606. Node205.a('node.gradient','');
  28607. Node205.a('node.gradientcolor','');
  28608. Node205.a('node.text','Q :');
  28609. Node205.a('node.textalign','left');
  28610. Node205.a('node.textvAlign','middle');
  28611. Node205.a('node.textrect', [Node205textStart, 0, Node205textWidth, Node205height]);
  28612. Node205.a('node.color','rgba(0,0,0,1)');
  28613. Node205.a('node.font',' '+ Node205fontSize + 'px "Arial"');
  28614. Node205.a('node.textvisible',true);
  28615. Node205.a('node.linefeed',false);
  28616. if (false) {
  28617. Node205.a('node.textfunc',function(g) {
  28618. g.beginPath();
  28619. var str=Node205.a('node.text') || 'Q :';
  28620. var color=Node205.a('node.color') || 'rgba(0,0,0,1)';
  28621. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205width,Node205height,13.3333*_ratio.ratioY,"left",color,' '+ Node205fontSize + 'px "Arial"', 0,g);
  28622. });
  28623. }
  28624. if (false) {
  28625. Node205.a('node.underlinepoints',[Node205lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node205fontSize + 2 , ht.Default.getTextSize('Q :', ' '+ Node205fontSize + 'px "Arial"').width + 6, (Node205height - Node205fontSize) * 0.5*_ratio.ratioY + Node205fontSize + 2 ]);
  28626. Node205.a('node.underlinevisible',false);
  28627. Node205.a('node.underlineBorderWidth', 1);
  28628. }
  28629. dataModel.add(Node205);
  28630. zoomNodeList.push({
  28631. node: Node205,
  28632. borderWidth: 0,
  28633. attr: 'node.borderwidth'
  28634. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28635. var Node206 = new ht.Node();
  28636. var Node206textStart, Node206textWidth, Node206lineStart, Node206align = 'left', Node206fontSize = 13.3333*_ratio.ratioY,Node206width = 42*_ratio.ratioX, Node206height = 23*_ratio.ratioY;
  28637. (function () {
  28638. if (Node206align === 'left') {
  28639. Node206textStart = Node206fontSize * 0.2 > 2 ? Node206fontSize * 0.2 - 4 : Node206fontSize * 0.2 - 9;
  28640. Node206textWidth = Node206width;
  28641. Node206lineStart = 1;
  28642. } else if (Node206align === 'right') {
  28643. Node206textStart = 0;
  28644. Node206textWidth =Node206fontSize <= 8 ? Node206width + Node206fontSize * 0.2 + 6 : Node206width - Node206fontSize * 0.2;
  28645. Node206lineStart = (Node206width - (ht.Default.getTextSize('IA :', ' '+ Node206fontSize + 'px "Arial"').width + 6)) * 0.5;
  28646. } else if (Node206align === 'center') {
  28647. Node206textStart = -3;
  28648. Node206textWidth = Node206width;
  28649. Node206lineStart = Node206width - ht.Default.getTextSize('IA :', ' '+ Node206fontSize + 'px "Arial"').width - 11;
  28650. }
  28651. })();
  28652. Node206.setImage(GD.getTextJSON(Node206width, Node206height, true, false, false, ' '+ Node206fontSize + 'px "Arial"'))
  28653. Node206.setPosition(501*ratio.ratioX, 779*ratio.ratioY);
  28654. Node206.setWidth(Node206width);
  28655. Node206.setHeight(Node206height);
  28656. Node206._nodeType = 'text';
  28657. Node206._disallowEvert = true;
  28658. Node206.setRotation(0*Math.PI/180);
  28659. Node206.a('node.width', Node206width);
  28660. Node206.a('node.height', Node206height);
  28661. Node206.a('node.rect', [0, 0, Node206width, Node206height]);
  28662. Node206.a('node.bordercolor','rgba(0,0,0,1)');
  28663. Node206.a('node.borderwidth', 0);
  28664. Node206.a('node.background','' || 'rgba(0,0,0,0)');
  28665. Node206.a('node.gradient','');
  28666. Node206.a('node.gradientcolor','');
  28667. Node206.a('node.text','IA :');
  28668. Node206.a('node.textalign','left');
  28669. Node206.a('node.textvAlign','middle');
  28670. Node206.a('node.textrect', [Node206textStart, 0, Node206textWidth, Node206height]);
  28671. Node206.a('node.color','rgba(0,0,0,1)');
  28672. Node206.a('node.font',' '+ Node206fontSize + 'px "Arial"');
  28673. Node206.a('node.textvisible',true);
  28674. Node206.a('node.linefeed',false);
  28675. if (false) {
  28676. Node206.a('node.textfunc',function(g) {
  28677. g.beginPath();
  28678. var str=Node206.a('node.text') || 'IA :';
  28679. var color=Node206.a('node.color') || 'rgba(0,0,0,1)';
  28680. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node206width,Node206height,13.3333*_ratio.ratioY,"left",color,' '+ Node206fontSize + 'px "Arial"', 0,g);
  28681. });
  28682. }
  28683. if (false) {
  28684. Node206.a('node.underlinepoints',[Node206lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node206fontSize + 2 , ht.Default.getTextSize('IA :', ' '+ Node206fontSize + 'px "Arial"').width + 6, (Node206height - Node206fontSize) * 0.5*_ratio.ratioY + Node206fontSize + 2 ]);
  28685. Node206.a('node.underlinevisible',false);
  28686. Node206.a('node.underlineBorderWidth', 1);
  28687. }
  28688. dataModel.add(Node206);
  28689. zoomNodeList.push({
  28690. node: Node206,
  28691. borderWidth: 0,
  28692. attr: 'node.borderwidth'
  28693. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28694. var Node207 = new ht.Node();
  28695. var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'left', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 74*_ratio.ratioX, Node207height = 23*_ratio.ratioY;
  28696. (function () {
  28697. if (Node207align === 'left') {
  28698. Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9;
  28699. Node207textWidth = Node207width;
  28700. Node207lineStart = 1;
  28701. } else if (Node207align === 'right') {
  28702. Node207textStart = 0;
  28703. Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2;
  28704. Node207lineStart = (Node207width - (ht.Default.getTextSize('COS :', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5;
  28705. } else if (Node207align === 'center') {
  28706. Node207textStart = -3;
  28707. Node207textWidth = Node207width;
  28708. Node207lineStart = Node207width - ht.Default.getTextSize('COS :', ' '+ Node207fontSize + 'px "Arial"').width - 11;
  28709. }
  28710. })();
  28711. Node207.setImage(GD.getTextJSON(Node207width, Node207height, true, false, false, ' '+ Node207fontSize + 'px "Arial"'))
  28712. Node207.setPosition(501*ratio.ratioX, 828*ratio.ratioY);
  28713. Node207.setWidth(Node207width);
  28714. Node207.setHeight(Node207height);
  28715. Node207._nodeType = 'text';
  28716. Node207._disallowEvert = true;
  28717. Node207.setRotation(0*Math.PI/180);
  28718. Node207.a('node.width', Node207width);
  28719. Node207.a('node.height', Node207height);
  28720. Node207.a('node.rect', [0, 0, Node207width, Node207height]);
  28721. Node207.a('node.bordercolor','rgba(0,0,0,1)');
  28722. Node207.a('node.borderwidth', 0);
  28723. Node207.a('node.background','' || 'rgba(0,0,0,0)');
  28724. Node207.a('node.gradient','');
  28725. Node207.a('node.gradientcolor','');
  28726. Node207.a('node.text','COS :');
  28727. Node207.a('node.textalign','left');
  28728. Node207.a('node.textvAlign','middle');
  28729. Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]);
  28730. Node207.a('node.color','rgba(0,0,0,1)');
  28731. Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"');
  28732. Node207.a('node.textvisible',true);
  28733. Node207.a('node.linefeed',false);
  28734. if (false) {
  28735. Node207.a('node.textfunc',function(g) {
  28736. g.beginPath();
  28737. var str=Node207.a('node.text') || 'COS :';
  28738. var color=Node207.a('node.color') || 'rgba(0,0,0,1)';
  28739. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"left",color,' '+ Node207fontSize + 'px "Arial"', 0,g);
  28740. });
  28741. }
  28742. if (false) {
  28743. Node207.a('node.underlinepoints',[Node207lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('COS :', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]);
  28744. Node207.a('node.underlinevisible',false);
  28745. Node207.a('node.underlineBorderWidth', 1);
  28746. }
  28747. dataModel.add(Node207);
  28748. zoomNodeList.push({
  28749. node: Node207,
  28750. borderWidth: 0,
  28751. attr: 'node.borderwidth'
  28752. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28753. var Node208 = new ht.Node();
  28754. var Node208textStart, Node208textWidth, Node208lineStart, Node208align = 'left', Node208fontSize = 13.3333*_ratio.ratioY,Node208width = 68*_ratio.ratioX, Node208height = 18*_ratio.ratioY;
  28755. (function () {
  28756. if (Node208align === 'left') {
  28757. Node208textStart = Node208fontSize * 0.2 > 2 ? Node208fontSize * 0.2 - 4 : Node208fontSize * 0.2 - 9;
  28758. Node208textWidth = Node208width;
  28759. Node208lineStart = 1;
  28760. } else if (Node208align === 'right') {
  28761. Node208textStart = 0;
  28762. Node208textWidth =Node208fontSize <= 8 ? Node208width + Node208fontSize * 0.2 + 6 : Node208width - Node208fontSize * 0.2;
  28763. Node208lineStart = (Node208width - (ht.Default.getTextSize('MW', ' '+ Node208fontSize + 'px "Arial"').width + 6)) * 0.5;
  28764. } else if (Node208align === 'center') {
  28765. Node208textStart = -3;
  28766. Node208textWidth = Node208width;
  28767. Node208lineStart = Node208width - ht.Default.getTextSize('MW', ' '+ Node208fontSize + 'px "Arial"').width - 11;
  28768. }
  28769. })();
  28770. Node208.setImage(GD.getTextJSON(Node208width, Node208height, true, false, false, ' '+ Node208fontSize + 'px "Arial"'))
  28771. Node208.setPosition(613*ratio.ratioX, 795*ratio.ratioY);
  28772. Node208.setWidth(Node208width);
  28773. Node208.setHeight(Node208height);
  28774. Node208._nodeType = 'text';
  28775. Node208._disallowEvert = true;
  28776. Node208.setRotation(0*Math.PI/180);
  28777. Node208.a('node.width', Node208width);
  28778. Node208.a('node.height', Node208height);
  28779. Node208.a('node.rect', [0, 0, Node208width, Node208height]);
  28780. Node208.a('node.bordercolor','rgba(0,0,0,1)');
  28781. Node208.a('node.borderwidth', 0);
  28782. Node208.a('node.background','' || 'rgba(0,0,0,0)');
  28783. Node208.a('node.gradient','');
  28784. Node208.a('node.gradientcolor','');
  28785. Node208.a('node.text','MW');
  28786. Node208.a('node.textalign','left');
  28787. Node208.a('node.textvAlign','middle');
  28788. Node208.a('node.textrect', [Node208textStart, 0, Node208textWidth, Node208height]);
  28789. Node208.a('node.color','rgba(0,0,0,1)');
  28790. Node208.a('node.font',' '+ Node208fontSize + 'px "Arial"');
  28791. Node208.a('node.textvisible',true);
  28792. Node208.a('node.linefeed',false);
  28793. if (false) {
  28794. Node208.a('node.textfunc',function(g) {
  28795. g.beginPath();
  28796. var str=Node208.a('node.text') || 'MW';
  28797. var color=Node208.a('node.color') || 'rgba(0,0,0,1)';
  28798. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node208width,Node208height,13.3333*_ratio.ratioY,"left",color,' '+ Node208fontSize + 'px "Arial"', 0,g);
  28799. });
  28800. }
  28801. if (false) {
  28802. Node208.a('node.underlinepoints',[Node208lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node208fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node208fontSize + 'px "Arial"').width + 6, (Node208height - Node208fontSize) * 0.5*_ratio.ratioY + Node208fontSize + 2 ]);
  28803. Node208.a('node.underlinevisible',false);
  28804. Node208.a('node.underlineBorderWidth', 1);
  28805. }
  28806. dataModel.add(Node208);
  28807. zoomNodeList.push({
  28808. node: Node208,
  28809. borderWidth: 0,
  28810. attr: 'node.borderwidth'
  28811. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28812. var Node209 = new ht.Node();
  28813. var Node209textStart, Node209textWidth, Node209lineStart, Node209align = 'left', Node209fontSize = 13.3333*_ratio.ratioY,Node209width = 68*_ratio.ratioX, Node209height = 18*_ratio.ratioY;
  28814. (function () {
  28815. if (Node209align === 'left') {
  28816. Node209textStart = Node209fontSize * 0.2 > 2 ? Node209fontSize * 0.2 - 4 : Node209fontSize * 0.2 - 9;
  28817. Node209textWidth = Node209width;
  28818. Node209lineStart = 1;
  28819. } else if (Node209align === 'right') {
  28820. Node209textStart = 0;
  28821. Node209textWidth =Node209fontSize <= 8 ? Node209width + Node209fontSize * 0.2 + 6 : Node209width - Node209fontSize * 0.2;
  28822. Node209lineStart = (Node209width - (ht.Default.getTextSize('MVR', ' '+ Node209fontSize + 'px "Arial"').width + 6)) * 0.5;
  28823. } else if (Node209align === 'center') {
  28824. Node209textStart = -3;
  28825. Node209textWidth = Node209width;
  28826. Node209lineStart = Node209width - ht.Default.getTextSize('MVR', ' '+ Node209fontSize + 'px "Arial"').width - 11;
  28827. }
  28828. })();
  28829. Node209.setImage(GD.getTextJSON(Node209width, Node209height, true, false, false, ' '+ Node209fontSize + 'px "Arial"'))
  28830. Node209.setPosition(611*ratio.ratioX, 812*ratio.ratioY);
  28831. Node209.setWidth(Node209width);
  28832. Node209.setHeight(Node209height);
  28833. Node209._nodeType = 'text';
  28834. Node209._disallowEvert = true;
  28835. Node209.setRotation(0*Math.PI/180);
  28836. Node209.a('node.width', Node209width);
  28837. Node209.a('node.height', Node209height);
  28838. Node209.a('node.rect', [0, 0, Node209width, Node209height]);
  28839. Node209.a('node.bordercolor','rgba(0,0,0,1)');
  28840. Node209.a('node.borderwidth', 0);
  28841. Node209.a('node.background','' || 'rgba(0,0,0,0)');
  28842. Node209.a('node.gradient','');
  28843. Node209.a('node.gradientcolor','');
  28844. Node209.a('node.text','MVR');
  28845. Node209.a('node.textalign','left');
  28846. Node209.a('node.textvAlign','middle');
  28847. Node209.a('node.textrect', [Node209textStart, 0, Node209textWidth, Node209height]);
  28848. Node209.a('node.color','rgba(0,0,0,1)');
  28849. Node209.a('node.font',' '+ Node209fontSize + 'px "Arial"');
  28850. Node209.a('node.textvisible',true);
  28851. Node209.a('node.linefeed',false);
  28852. if (false) {
  28853. Node209.a('node.textfunc',function(g) {
  28854. g.beginPath();
  28855. var str=Node209.a('node.text') || 'MVR';
  28856. var color=Node209.a('node.color') || 'rgba(0,0,0,1)';
  28857. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node209width,Node209height,13.3333*_ratio.ratioY,"left",color,' '+ Node209fontSize + 'px "Arial"', 0,g);
  28858. });
  28859. }
  28860. if (false) {
  28861. Node209.a('node.underlinepoints',[Node209lineStart, (18 - 13.3333) * 0.5 * _ratio.ratioY + Node209fontSize + 2 , ht.Default.getTextSize('MVR', ' '+ Node209fontSize + 'px "Arial"').width + 6, (Node209height - Node209fontSize) * 0.5*_ratio.ratioY + Node209fontSize + 2 ]);
  28862. Node209.a('node.underlinevisible',false);
  28863. Node209.a('node.underlineBorderWidth', 1);
  28864. }
  28865. dataModel.add(Node209);
  28866. zoomNodeList.push({
  28867. node: Node209,
  28868. borderWidth: 0,
  28869. attr: 'node.borderwidth'
  28870. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28871. var Node210 = new ht.lib['手车通用图元'](1455*ratio.ratioX, 587*ratio.ratioY, 20*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0050',}, function (){return {}}, 'Node210');
  28872. _libModel.add("Node210", Node210);
  28873. Node210.setRotation(0*Math.PI/180);
  28874. ;
  28875. ;
  28876. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28877. var Node211 = new ht.lib['手车通用图元'](542*ratio.ratioX, 651*ratio.ratioY, 20*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0055',}, function (){return {}}, 'Node211');
  28878. _libModel.add("Node211", Node211);
  28879. Node211.setRotation(0*Math.PI/180);
  28880. ;
  28881. ;
  28882. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28883. var Node212 = new ht.lib['手车通用图元'](905*ratio.ratioX, 651*ratio.ratioY, 20*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0061',}, function (){return {}}, 'Node212');
  28884. _libModel.add("Node212", Node212);
  28885. Node212.setRotation(0*Math.PI/180);
  28886. ;
  28887. ;
  28888. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28889. var Node213 = new ht.lib['手车通用图元'](1278*ratio.ratioX, 650*ratio.ratioY, 20*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0067',}, function (){return {}}, 'Node213');
  28890. _libModel.add("Node213", Node213);
  28891. Node213.setRotation(0*Math.PI/180);
  28892. ;
  28893. ;
  28894. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28895. var Node214 = new ht.lib['倒置 接地刀闸通用图元'](520*ratio.ratioX, 243*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0030',}, function (){return {}}, 'Node214');
  28896. _libModel.add("Node214", Node214);
  28897. Node214.setRotation(0*Math.PI/180);
  28898. ;
  28899. ;
  28900. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28901. var Node215 = new ht.lib['倒置 接地刀闸通用图元'](520*ratio.ratioX, 287*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0028',}, function (){return {}}, 'Node215');
  28902. _libModel.add("Node215", Node215);
  28903. Node215.setRotation(0*Math.PI/180);
  28904. ;
  28905. ;
  28906. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28907. var Node216 = new ht.lib['倒置 接地刀闸通用图元'](520*ratio.ratioX, 330*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0027',}, function (){return {}}, 'Node216');
  28908. _libModel.add("Node216", Node216);
  28909. Node216.setRotation(0*Math.PI/180);
  28910. ;
  28911. ;
  28912. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28913. var Node217 = new ht.lib['倒置 接地刀闸通用图元'](996*ratio.ratioX, 241*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0042',}, function (){return {}}, 'Node217');
  28914. _libModel.add("Node217", Node217);
  28915. Node217.setRotation(0*Math.PI/180);
  28916. ;
  28917. ;
  28918. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28919. var Node218 = new ht.lib['倒置 接地刀闸通用图元'](995*ratio.ratioX, 284*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0040',}, function (){return {}}, 'Node218');
  28920. _libModel.add("Node218", Node218);
  28921. Node218.setRotation(0*Math.PI/180);
  28922. ;
  28923. ;
  28924. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28925. var Node219 = new ht.lib['倒置 接地刀闸通用图元'](996*ratio.ratioX, 326*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0038',}, function (){return {}}, 'Node219');
  28926. _libModel.add("Node219", Node219);
  28927. Node219.setRotation(0*Math.PI/180);
  28928. ;
  28929. ;
  28930. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28931. var Node220 = new ht.lib['倒置 接地刀闸通用图元'](1369*ratio.ratioX, 278*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0046',}, function (){return {}}, 'Node220');
  28932. _libModel.add("Node220", Node220);
  28933. Node220.setRotation(0*Math.PI/180);
  28934. ;
  28935. ;
  28936. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28937. var Node221 = new ht.lib['倒置 接地刀闸通用图元'](1369*ratio.ratioX, 326*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0048',}, function (){return {}}, 'Node221');
  28938. _libModel.add("Node221", Node221);
  28939. Node221.setRotation(0*Math.PI/180);
  28940. ;
  28941. ;
  28942. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28943. var Node222 = new ht.lib['倒置 接地刀闸通用图元'](484*ratio.ratioX, 460*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0070',}, function (){return {}}, 'Node222');
  28944. _libModel.add("Node222", Node222);
  28945. Node222.setRotation(0*Math.PI/180);
  28946. ;
  28947. ;
  28948. _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
  28949. var Node223 = new ht.lib['倒置 接地刀闸通用图元'](354*ratio.ratioX, 507*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 180*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0071',}, function (){return {}}, 'Node223');
  28950. _libModel.add("Node223", Node223);
  28951. Node223.setRotation(180*Math.PI/180);
  28952. ;
  28953. ;
  28954. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28955. var Node224 = new ht.lib['倒置 接地刀闸通用图元'](996*ratio.ratioX, 415*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0012',}, function (){return {}}, 'Node224');
  28956. _libModel.add("Node224", Node224);
  28957. Node224.setRotation(0*Math.PI/180);
  28958. ;
  28959. ;
  28960. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28961. var Node225 = new ht.lib['倒置 接地刀闸通用图元'](996*ratio.ratioX, 456*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0010',}, function (){return {}}, 'Node225');
  28962. _libModel.add("Node225", Node225);
  28963. Node225.setRotation(0*Math.PI/180);
  28964. ;
  28965. ;
  28966. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28967. var Node226 = new ht.lib['倒置 接地刀闸通用图元'](996*ratio.ratioX, 499*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0008',}, function (){return {}}, 'Node226');
  28968. _libModel.add("Node226", Node226);
  28969. Node226.setRotation(0*Math.PI/180);
  28970. ;
  28971. ;
  28972. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28973. var Node227 = new ht.lib['倒置 接地刀闸通用图元'](850*ratio.ratioX, 553*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0014',}, function (){return {}}, 'Node227');
  28974. _libModel.add("Node227", Node227);
  28975. Node227.setRotation(0*Math.PI/180);
  28976. ;
  28977. ;
  28978. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28979. var Node228 = new ht.lib['倒置 接地刀闸通用图元'](569*ratio.ratioX, 707*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0053',}, function (){return {}}, 'Node228');
  28980. _libModel.add("Node228", Node228);
  28981. Node228.setRotation(0*Math.PI/180);
  28982. ;
  28983. ;
  28984. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28985. var Node229 = new ht.lib['倒置 接地刀闸通用图元'](933*ratio.ratioX, 704*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0059',}, function (){return {}}, 'Node229');
  28986. _libModel.add("Node229", Node229);
  28987. Node229.setRotation(0*Math.PI/180);
  28988. ;
  28989. ;
  28990. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28991. var Node230 = new ht.lib['倒置 接地刀闸通用图元'](1305*ratio.ratioX, 706*ratio.ratioY, 16*_ratio.ratioX, 19*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GL_DQ.SX_GD_GLF_DQ_P1_L1_001_DI0065',}, function (){return {}}, 'Node230');
  28992. _libModel.add("Node230", Node230);
  28993. Node230.setRotation(0*Math.PI/180);
  28994. ;
  28995. ;
  28996. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  28997. var Node231 = new ht.Node();
  28998. var Node231textStart, Node231textWidth, Node231lineStart, Node231align = 'left', Node231fontSize = 13.3333*_ratio.ratioY,Node231width = 50*_ratio.ratioX, Node231height = 20*_ratio.ratioY;
  28999. (function () {
  29000. if (Node231align === 'left') {
  29001. Node231textStart = Node231fontSize * 0.2 > 2 ? Node231fontSize * 0.2 - 4 : Node231fontSize * 0.2 - 9;
  29002. Node231textWidth = Node231width;
  29003. Node231lineStart = 1;
  29004. } else if (Node231align === 'right') {
  29005. Node231textStart = 0;
  29006. Node231textWidth =Node231fontSize <= 8 ? Node231width + Node231fontSize * 0.2 + 6 : Node231width - Node231fontSize * 0.2;
  29007. Node231lineStart = (Node231width - (ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "Arial"').width + 6)) * 0.5;
  29008. } else if (Node231align === 'center') {
  29009. Node231textStart = -3;
  29010. Node231textWidth = Node231width;
  29011. Node231lineStart = Node231width - ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "Arial"').width - 11;
  29012. }
  29013. })();
  29014. Node231.setImage(GD.getTextJSON(Node231width, Node231height, true, false, false, ' '+ Node231fontSize + 'px "Arial"'))
  29015. Node231.setPosition(241*ratio.ratioX, 237*ratio.ratioY);
  29016. Node231.setWidth(Node231width);
  29017. Node231.setHeight(Node231height);
  29018. Node231._nodeType = 'text';
  29019. Node231._disallowEvert = true;
  29020. Node231.setRotation(0*Math.PI/180);
  29021. Node231.a('node.width', Node231width);
  29022. Node231.a('node.height', Node231height);
  29023. Node231.a('node.rect', [0, 0, Node231width, Node231height]);
  29024. Node231.a('node.bordercolor','rgba(0,0,0,1)');
  29025. Node231.a('node.borderwidth', 0);
  29026. Node231.a('node.background','' || 'rgba(0,0,0,0)');
  29027. Node231.a('node.gradient','');
  29028. Node231.a('node.gradientcolor','');
  29029. Node231.a('node.text','0');
  29030. Node231.a('node.textalign','left');
  29031. Node231.a('node.textvAlign','middle');
  29032. Node231.a('node.textrect', [Node231textStart, 0, Node231textWidth, Node231height]);
  29033. Node231.a('node.color','rgba(0,0,0,1)');
  29034. Node231.a('node.font',' '+ Node231fontSize + 'px "Arial"');
  29035. Node231.a('node.textvisible',true);
  29036. Node231.a('node.linefeed',false);
  29037. if (false) {
  29038. Node231.a('node.textfunc',function(g) {
  29039. g.beginPath();
  29040. var str=Node231.a('node.text') || '0';
  29041. var color=Node231.a('node.color') || 'rgba(0,0,0,1)';
  29042. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node231width,Node231height,13.3333*_ratio.ratioY,"left",color,' '+ Node231fontSize + 'px "Arial"', 0,g);
  29043. });
  29044. }
  29045. if (false) {
  29046. Node231.a('node.underlinepoints',[Node231lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node231fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "Arial"').width + 6, (Node231height - Node231fontSize) * 0.5*_ratio.ratioY + Node231fontSize + 2 ]);
  29047. Node231.a('node.underlinevisible',false);
  29048. Node231.a('node.underlineBorderWidth', 1);
  29049. }
  29050. dataModel.add(Node231);
  29051. zoomNodeList.push({
  29052. node: Node231,
  29053. borderWidth: 0,
  29054. attr: 'node.borderwidth'
  29055. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29056. var Node232 = new ht.Node();
  29057. var Node232textStart, Node232textWidth, Node232lineStart, Node232align = 'left', Node232fontSize = 13.3333*_ratio.ratioY,Node232width = 50*_ratio.ratioX, Node232height = 20*_ratio.ratioY;
  29058. (function () {
  29059. if (Node232align === 'left') {
  29060. Node232textStart = Node232fontSize * 0.2 > 2 ? Node232fontSize * 0.2 - 4 : Node232fontSize * 0.2 - 9;
  29061. Node232textWidth = Node232width;
  29062. Node232lineStart = 1;
  29063. } else if (Node232align === 'right') {
  29064. Node232textStart = 0;
  29065. Node232textWidth =Node232fontSize <= 8 ? Node232width + Node232fontSize * 0.2 + 6 : Node232width - Node232fontSize * 0.2;
  29066. Node232lineStart = (Node232width - (ht.Default.getTextSize('0', ' '+ Node232fontSize + 'px "Arial"').width + 6)) * 0.5;
  29067. } else if (Node232align === 'center') {
  29068. Node232textStart = -3;
  29069. Node232textWidth = Node232width;
  29070. Node232lineStart = Node232width - ht.Default.getTextSize('0', ' '+ Node232fontSize + 'px "Arial"').width - 11;
  29071. }
  29072. })();
  29073. Node232.setImage(GD.getTextJSON(Node232width, Node232height, true, false, false, ' '+ Node232fontSize + 'px "Arial"'))
  29074. Node232.setPosition(241*ratio.ratioX, 279*ratio.ratioY);
  29075. Node232.setWidth(Node232width);
  29076. Node232.setHeight(Node232height);
  29077. Node232._nodeType = 'text';
  29078. Node232._disallowEvert = true;
  29079. Node232.setRotation(0*Math.PI/180);
  29080. Node232.a('node.width', Node232width);
  29081. Node232.a('node.height', Node232height);
  29082. Node232.a('node.rect', [0, 0, Node232width, Node232height]);
  29083. Node232.a('node.bordercolor','rgba(0,0,0,1)');
  29084. Node232.a('node.borderwidth', 0);
  29085. Node232.a('node.background','' || 'rgba(0,0,0,0)');
  29086. Node232.a('node.gradient','');
  29087. Node232.a('node.gradientcolor','');
  29088. Node232.a('node.text','0');
  29089. Node232.a('node.textalign','left');
  29090. Node232.a('node.textvAlign','middle');
  29091. Node232.a('node.textrect', [Node232textStart, 0, Node232textWidth, Node232height]);
  29092. Node232.a('node.color','rgba(0,0,0,1)');
  29093. Node232.a('node.font',' '+ Node232fontSize + 'px "Arial"');
  29094. Node232.a('node.textvisible',true);
  29095. Node232.a('node.linefeed',false);
  29096. if (false) {
  29097. Node232.a('node.textfunc',function(g) {
  29098. g.beginPath();
  29099. var str=Node232.a('node.text') || '0';
  29100. var color=Node232.a('node.color') || 'rgba(0,0,0,1)';
  29101. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node232width,Node232height,13.3333*_ratio.ratioY,"left",color,' '+ Node232fontSize + 'px "Arial"', 0,g);
  29102. });
  29103. }
  29104. if (false) {
  29105. Node232.a('node.underlinepoints',[Node232lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node232fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node232fontSize + 'px "Arial"').width + 6, (Node232height - Node232fontSize) * 0.5*_ratio.ratioY + Node232fontSize + 2 ]);
  29106. Node232.a('node.underlinevisible',false);
  29107. Node232.a('node.underlineBorderWidth', 1);
  29108. }
  29109. dataModel.add(Node232);
  29110. zoomNodeList.push({
  29111. node: Node232,
  29112. borderWidth: 0,
  29113. attr: 'node.borderwidth'
  29114. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29115. var Node233 = new ht.Node();
  29116. var Node233textStart, Node233textWidth, Node233lineStart, Node233align = 'left', Node233fontSize = 13.3333*_ratio.ratioY,Node233width = 50*_ratio.ratioX, Node233height = 20*_ratio.ratioY;
  29117. (function () {
  29118. if (Node233align === 'left') {
  29119. Node233textStart = Node233fontSize * 0.2 > 2 ? Node233fontSize * 0.2 - 4 : Node233fontSize * 0.2 - 9;
  29120. Node233textWidth = Node233width;
  29121. Node233lineStart = 1;
  29122. } else if (Node233align === 'right') {
  29123. Node233textStart = 0;
  29124. Node233textWidth =Node233fontSize <= 8 ? Node233width + Node233fontSize * 0.2 + 6 : Node233width - Node233fontSize * 0.2;
  29125. Node233lineStart = (Node233width - (ht.Default.getTextSize('0', ' '+ Node233fontSize + 'px "Arial"').width + 6)) * 0.5;
  29126. } else if (Node233align === 'center') {
  29127. Node233textStart = -3;
  29128. Node233textWidth = Node233width;
  29129. Node233lineStart = Node233width - ht.Default.getTextSize('0', ' '+ Node233fontSize + 'px "Arial"').width - 11;
  29130. }
  29131. })();
  29132. Node233.setImage(GD.getTextJSON(Node233width, Node233height, true, false, false, ' '+ Node233fontSize + 'px "Arial"'))
  29133. Node233.setPosition(241*ratio.ratioX, 303*ratio.ratioY);
  29134. Node233.setWidth(Node233width);
  29135. Node233.setHeight(Node233height);
  29136. Node233._nodeType = 'text';
  29137. Node233._disallowEvert = true;
  29138. Node233.setRotation(0*Math.PI/180);
  29139. Node233.a('node.width', Node233width);
  29140. Node233.a('node.height', Node233height);
  29141. Node233.a('node.rect', [0, 0, Node233width, Node233height]);
  29142. Node233.a('node.bordercolor','rgba(0,0,0,1)');
  29143. Node233.a('node.borderwidth', 0);
  29144. Node233.a('node.background','' || 'rgba(0,0,0,0)');
  29145. Node233.a('node.gradient','');
  29146. Node233.a('node.gradientcolor','');
  29147. Node233.a('node.text','0');
  29148. Node233.a('node.textalign','left');
  29149. Node233.a('node.textvAlign','middle');
  29150. Node233.a('node.textrect', [Node233textStart, 0, Node233textWidth, Node233height]);
  29151. Node233.a('node.color','rgba(0,0,0,1)');
  29152. Node233.a('node.font',' '+ Node233fontSize + 'px "Arial"');
  29153. Node233.a('node.textvisible',true);
  29154. Node233.a('node.linefeed',false);
  29155. if (false) {
  29156. Node233.a('node.textfunc',function(g) {
  29157. g.beginPath();
  29158. var str=Node233.a('node.text') || '0';
  29159. var color=Node233.a('node.color') || 'rgba(0,0,0,1)';
  29160. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node233width,Node233height,13.3333*_ratio.ratioY,"left",color,' '+ Node233fontSize + 'px "Arial"', 0,g);
  29161. });
  29162. }
  29163. if (false) {
  29164. Node233.a('node.underlinepoints',[Node233lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node233fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node233fontSize + 'px "Arial"').width + 6, (Node233height - Node233fontSize) * 0.5*_ratio.ratioY + Node233fontSize + 2 ]);
  29165. Node233.a('node.underlinevisible',false);
  29166. Node233.a('node.underlineBorderWidth', 1);
  29167. }
  29168. dataModel.add(Node233);
  29169. zoomNodeList.push({
  29170. node: Node233,
  29171. borderWidth: 0,
  29172. attr: 'node.borderwidth'
  29173. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29174. var Node234 = new ht.Node();
  29175. var Node234textStart, Node234textWidth, Node234lineStart, Node234align = 'left', Node234fontSize = 13.3333*_ratio.ratioY,Node234width = 50*_ratio.ratioX, Node234height = 20*_ratio.ratioY;
  29176. (function () {
  29177. if (Node234align === 'left') {
  29178. Node234textStart = Node234fontSize * 0.2 > 2 ? Node234fontSize * 0.2 - 4 : Node234fontSize * 0.2 - 9;
  29179. Node234textWidth = Node234width;
  29180. Node234lineStart = 1;
  29181. } else if (Node234align === 'right') {
  29182. Node234textStart = 0;
  29183. Node234textWidth =Node234fontSize <= 8 ? Node234width + Node234fontSize * 0.2 + 6 : Node234width - Node234fontSize * 0.2;
  29184. Node234lineStart = (Node234width - (ht.Default.getTextSize('0', ' '+ Node234fontSize + 'px "Arial"').width + 6)) * 0.5;
  29185. } else if (Node234align === 'center') {
  29186. Node234textStart = -3;
  29187. Node234textWidth = Node234width;
  29188. Node234lineStart = Node234width - ht.Default.getTextSize('0', ' '+ Node234fontSize + 'px "Arial"').width - 11;
  29189. }
  29190. })();
  29191. Node234.setImage(GD.getTextJSON(Node234width, Node234height, true, false, false, ' '+ Node234fontSize + 'px "Arial"'))
  29192. Node234.setPosition(241*ratio.ratioX, 328*ratio.ratioY);
  29193. Node234.setWidth(Node234width);
  29194. Node234.setHeight(Node234height);
  29195. Node234._nodeType = 'text';
  29196. Node234._disallowEvert = true;
  29197. Node234.setRotation(0*Math.PI/180);
  29198. Node234.a('node.width', Node234width);
  29199. Node234.a('node.height', Node234height);
  29200. Node234.a('node.rect', [0, 0, Node234width, Node234height]);
  29201. Node234.a('node.bordercolor','rgba(0,0,0,1)');
  29202. Node234.a('node.borderwidth', 0);
  29203. Node234.a('node.background','' || 'rgba(0,0,0,0)');
  29204. Node234.a('node.gradient','');
  29205. Node234.a('node.gradientcolor','');
  29206. Node234.a('node.text','0');
  29207. Node234.a('node.textalign','left');
  29208. Node234.a('node.textvAlign','middle');
  29209. Node234.a('node.textrect', [Node234textStart, 0, Node234textWidth, Node234height]);
  29210. Node234.a('node.color','rgba(0,0,0,1)');
  29211. Node234.a('node.font',' '+ Node234fontSize + 'px "Arial"');
  29212. Node234.a('node.textvisible',true);
  29213. Node234.a('node.linefeed',false);
  29214. if (false) {
  29215. Node234.a('node.textfunc',function(g) {
  29216. g.beginPath();
  29217. var str=Node234.a('node.text') || '0';
  29218. var color=Node234.a('node.color') || 'rgba(0,0,0,1)';
  29219. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node234width,Node234height,13.3333*_ratio.ratioY,"left",color,' '+ Node234fontSize + 'px "Arial"', 0,g);
  29220. });
  29221. }
  29222. if (false) {
  29223. Node234.a('node.underlinepoints',[Node234lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node234fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node234fontSize + 'px "Arial"').width + 6, (Node234height - Node234fontSize) * 0.5*_ratio.ratioY + Node234fontSize + 2 ]);
  29224. Node234.a('node.underlinevisible',false);
  29225. Node234.a('node.underlineBorderWidth', 1);
  29226. }
  29227. dataModel.add(Node234);
  29228. zoomNodeList.push({
  29229. node: Node234,
  29230. borderWidth: 0,
  29231. attr: 'node.borderwidth'
  29232. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29233. var Node235 = new ht.Node();
  29234. var Node235textStart, Node235textWidth, Node235lineStart, Node235align = 'left', Node235fontSize = 13.3333*_ratio.ratioY,Node235width = 50*_ratio.ratioX, Node235height = 20*_ratio.ratioY;
  29235. (function () {
  29236. if (Node235align === 'left') {
  29237. Node235textStart = Node235fontSize * 0.2 > 2 ? Node235fontSize * 0.2 - 4 : Node235fontSize * 0.2 - 9;
  29238. Node235textWidth = Node235width;
  29239. Node235lineStart = 1;
  29240. } else if (Node235align === 'right') {
  29241. Node235textStart = 0;
  29242. Node235textWidth =Node235fontSize <= 8 ? Node235width + Node235fontSize * 0.2 + 6 : Node235width - Node235fontSize * 0.2;
  29243. Node235lineStart = (Node235width - (ht.Default.getTextSize('0', ' '+ Node235fontSize + 'px "Arial"').width + 6)) * 0.5;
  29244. } else if (Node235align === 'center') {
  29245. Node235textStart = -3;
  29246. Node235textWidth = Node235width;
  29247. Node235lineStart = Node235width - ht.Default.getTextSize('0', ' '+ Node235fontSize + 'px "Arial"').width - 11;
  29248. }
  29249. })();
  29250. Node235.setImage(GD.getTextJSON(Node235width, Node235height, true, false, false, ' '+ Node235fontSize + 'px "Arial"'))
  29251. Node235.setPosition(736*ratio.ratioX, 262*ratio.ratioY);
  29252. Node235.setWidth(Node235width);
  29253. Node235.setHeight(Node235height);
  29254. Node235._nodeType = 'text';
  29255. Node235._disallowEvert = true;
  29256. Node235.setRotation(0*Math.PI/180);
  29257. Node235.a('node.width', Node235width);
  29258. Node235.a('node.height', Node235height);
  29259. Node235.a('node.rect', [0, 0, Node235width, Node235height]);
  29260. Node235.a('node.bordercolor','rgba(0,0,0,1)');
  29261. Node235.a('node.borderwidth', 0);
  29262. Node235.a('node.background','' || 'rgba(0,0,0,0)');
  29263. Node235.a('node.gradient','');
  29264. Node235.a('node.gradientcolor','');
  29265. Node235.a('node.text','0');
  29266. Node235.a('node.textalign','left');
  29267. Node235.a('node.textvAlign','middle');
  29268. Node235.a('node.textrect', [Node235textStart, 0, Node235textWidth, Node235height]);
  29269. Node235.a('node.color','rgba(0,0,0,1)');
  29270. Node235.a('node.font',' '+ Node235fontSize + 'px "Arial"');
  29271. Node235.a('node.textvisible',true);
  29272. Node235.a('node.linefeed',false);
  29273. if (false) {
  29274. Node235.a('node.textfunc',function(g) {
  29275. g.beginPath();
  29276. var str=Node235.a('node.text') || '0';
  29277. var color=Node235.a('node.color') || 'rgba(0,0,0,1)';
  29278. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node235width,Node235height,13.3333*_ratio.ratioY,"left",color,' '+ Node235fontSize + 'px "Arial"', 0,g);
  29279. });
  29280. }
  29281. if (false) {
  29282. Node235.a('node.underlinepoints',[Node235lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node235fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node235fontSize + 'px "Arial"').width + 6, (Node235height - Node235fontSize) * 0.5*_ratio.ratioY + Node235fontSize + 2 ]);
  29283. Node235.a('node.underlinevisible',false);
  29284. Node235.a('node.underlineBorderWidth', 1);
  29285. }
  29286. dataModel.add(Node235);
  29287. zoomNodeList.push({
  29288. node: Node235,
  29289. borderWidth: 0,
  29290. attr: 'node.borderwidth'
  29291. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29292. var Node236 = new ht.Node();
  29293. var Node236textStart, Node236textWidth, Node236lineStart, Node236align = 'left', Node236fontSize = 13.3333*_ratio.ratioY,Node236width = 50*_ratio.ratioX, Node236height = 20*_ratio.ratioY;
  29294. (function () {
  29295. if (Node236align === 'left') {
  29296. Node236textStart = Node236fontSize * 0.2 > 2 ? Node236fontSize * 0.2 - 4 : Node236fontSize * 0.2 - 9;
  29297. Node236textWidth = Node236width;
  29298. Node236lineStart = 1;
  29299. } else if (Node236align === 'right') {
  29300. Node236textStart = 0;
  29301. Node236textWidth =Node236fontSize <= 8 ? Node236width + Node236fontSize * 0.2 + 6 : Node236width - Node236fontSize * 0.2;
  29302. Node236lineStart = (Node236width - (ht.Default.getTextSize('0', ' '+ Node236fontSize + 'px "Arial"').width + 6)) * 0.5;
  29303. } else if (Node236align === 'center') {
  29304. Node236textStart = -3;
  29305. Node236textWidth = Node236width;
  29306. Node236lineStart = Node236width - ht.Default.getTextSize('0', ' '+ Node236fontSize + 'px "Arial"').width - 11;
  29307. }
  29308. })();
  29309. Node236.setImage(GD.getTextJSON(Node236width, Node236height, true, false, false, ' '+ Node236fontSize + 'px "Arial"'))
  29310. Node236.setPosition(736*ratio.ratioX, 284*ratio.ratioY);
  29311. Node236.setWidth(Node236width);
  29312. Node236.setHeight(Node236height);
  29313. Node236._nodeType = 'text';
  29314. Node236._disallowEvert = true;
  29315. Node236.setRotation(0*Math.PI/180);
  29316. Node236.a('node.width', Node236width);
  29317. Node236.a('node.height', Node236height);
  29318. Node236.a('node.rect', [0, 0, Node236width, Node236height]);
  29319. Node236.a('node.bordercolor','rgba(0,0,0,1)');
  29320. Node236.a('node.borderwidth', 0);
  29321. Node236.a('node.background','' || 'rgba(0,0,0,0)');
  29322. Node236.a('node.gradient','');
  29323. Node236.a('node.gradientcolor','');
  29324. Node236.a('node.text','0');
  29325. Node236.a('node.textalign','left');
  29326. Node236.a('node.textvAlign','middle');
  29327. Node236.a('node.textrect', [Node236textStart, 0, Node236textWidth, Node236height]);
  29328. Node236.a('node.color','rgba(0,0,0,1)');
  29329. Node236.a('node.font',' '+ Node236fontSize + 'px "Arial"');
  29330. Node236.a('node.textvisible',true);
  29331. Node236.a('node.linefeed',false);
  29332. if (false) {
  29333. Node236.a('node.textfunc',function(g) {
  29334. g.beginPath();
  29335. var str=Node236.a('node.text') || '0';
  29336. var color=Node236.a('node.color') || 'rgba(0,0,0,1)';
  29337. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node236width,Node236height,13.3333*_ratio.ratioY,"left",color,' '+ Node236fontSize + 'px "Arial"', 0,g);
  29338. });
  29339. }
  29340. if (false) {
  29341. Node236.a('node.underlinepoints',[Node236lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node236fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node236fontSize + 'px "Arial"').width + 6, (Node236height - Node236fontSize) * 0.5*_ratio.ratioY + Node236fontSize + 2 ]);
  29342. Node236.a('node.underlinevisible',false);
  29343. Node236.a('node.underlineBorderWidth', 1);
  29344. }
  29345. dataModel.add(Node236);
  29346. zoomNodeList.push({
  29347. node: Node236,
  29348. borderWidth: 0,
  29349. attr: 'node.borderwidth'
  29350. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29351. var Node237 = new ht.Node();
  29352. var Node237textStart, Node237textWidth, Node237lineStart, Node237align = 'left', Node237fontSize = 13.3333*_ratio.ratioY,Node237width = 50*_ratio.ratioX, Node237height = 20*_ratio.ratioY;
  29353. (function () {
  29354. if (Node237align === 'left') {
  29355. Node237textStart = Node237fontSize * 0.2 > 2 ? Node237fontSize * 0.2 - 4 : Node237fontSize * 0.2 - 9;
  29356. Node237textWidth = Node237width;
  29357. Node237lineStart = 1;
  29358. } else if (Node237align === 'right') {
  29359. Node237textStart = 0;
  29360. Node237textWidth =Node237fontSize <= 8 ? Node237width + Node237fontSize * 0.2 + 6 : Node237width - Node237fontSize * 0.2;
  29361. Node237lineStart = (Node237width - (ht.Default.getTextSize('0', ' '+ Node237fontSize + 'px "Arial"').width + 6)) * 0.5;
  29362. } else if (Node237align === 'center') {
  29363. Node237textStart = -3;
  29364. Node237textWidth = Node237width;
  29365. Node237lineStart = Node237width - ht.Default.getTextSize('0', ' '+ Node237fontSize + 'px "Arial"').width - 11;
  29366. }
  29367. })();
  29368. Node237.setImage(GD.getTextJSON(Node237width, Node237height, true, false, false, ' '+ Node237fontSize + 'px "Arial"'))
  29369. Node237.setPosition(736*ratio.ratioX, 309*ratio.ratioY);
  29370. Node237.setWidth(Node237width);
  29371. Node237.setHeight(Node237height);
  29372. Node237._nodeType = 'text';
  29373. Node237._disallowEvert = true;
  29374. Node237.setRotation(0*Math.PI/180);
  29375. Node237.a('node.width', Node237width);
  29376. Node237.a('node.height', Node237height);
  29377. Node237.a('node.rect', [0, 0, Node237width, Node237height]);
  29378. Node237.a('node.bordercolor','rgba(0,0,0,1)');
  29379. Node237.a('node.borderwidth', 0);
  29380. Node237.a('node.background','' || 'rgba(0,0,0,0)');
  29381. Node237.a('node.gradient','');
  29382. Node237.a('node.gradientcolor','');
  29383. Node237.a('node.text','0');
  29384. Node237.a('node.textalign','left');
  29385. Node237.a('node.textvAlign','middle');
  29386. Node237.a('node.textrect', [Node237textStart, 0, Node237textWidth, Node237height]);
  29387. Node237.a('node.color','rgba(0,0,0,1)');
  29388. Node237.a('node.font',' '+ Node237fontSize + 'px "Arial"');
  29389. Node237.a('node.textvisible',true);
  29390. Node237.a('node.linefeed',false);
  29391. if (false) {
  29392. Node237.a('node.textfunc',function(g) {
  29393. g.beginPath();
  29394. var str=Node237.a('node.text') || '0';
  29395. var color=Node237.a('node.color') || 'rgba(0,0,0,1)';
  29396. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node237width,Node237height,13.3333*_ratio.ratioY,"left",color,' '+ Node237fontSize + 'px "Arial"', 0,g);
  29397. });
  29398. }
  29399. if (false) {
  29400. Node237.a('node.underlinepoints',[Node237lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node237fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node237fontSize + 'px "Arial"').width + 6, (Node237height - Node237fontSize) * 0.5*_ratio.ratioY + Node237fontSize + 2 ]);
  29401. Node237.a('node.underlinevisible',false);
  29402. Node237.a('node.underlineBorderWidth', 1);
  29403. }
  29404. dataModel.add(Node237);
  29405. zoomNodeList.push({
  29406. node: Node237,
  29407. borderWidth: 0,
  29408. attr: 'node.borderwidth'
  29409. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29410. var Node238 = new ht.Node();
  29411. var Node238textStart, Node238textWidth, Node238lineStart, Node238align = 'left', Node238fontSize = 13.3333*_ratio.ratioY,Node238width = 50*_ratio.ratioX, Node238height = 20*_ratio.ratioY;
  29412. (function () {
  29413. if (Node238align === 'left') {
  29414. Node238textStart = Node238fontSize * 0.2 > 2 ? Node238fontSize * 0.2 - 4 : Node238fontSize * 0.2 - 9;
  29415. Node238textWidth = Node238width;
  29416. Node238lineStart = 1;
  29417. } else if (Node238align === 'right') {
  29418. Node238textStart = 0;
  29419. Node238textWidth =Node238fontSize <= 8 ? Node238width + Node238fontSize * 0.2 + 6 : Node238width - Node238fontSize * 0.2;
  29420. Node238lineStart = (Node238width - (ht.Default.getTextSize('0', ' '+ Node238fontSize + 'px "Arial"').width + 6)) * 0.5;
  29421. } else if (Node238align === 'center') {
  29422. Node238textStart = -3;
  29423. Node238textWidth = Node238width;
  29424. Node238lineStart = Node238width - ht.Default.getTextSize('0', ' '+ Node238fontSize + 'px "Arial"').width - 11;
  29425. }
  29426. })();
  29427. Node238.setImage(GD.getTextJSON(Node238width, Node238height, true, false, false, ' '+ Node238fontSize + 'px "Arial"'))
  29428. Node238.setPosition(736*ratio.ratioX, 334*ratio.ratioY);
  29429. Node238.setWidth(Node238width);
  29430. Node238.setHeight(Node238height);
  29431. Node238._nodeType = 'text';
  29432. Node238._disallowEvert = true;
  29433. Node238.setRotation(0*Math.PI/180);
  29434. Node238.a('node.width', Node238width);
  29435. Node238.a('node.height', Node238height);
  29436. Node238.a('node.rect', [0, 0, Node238width, Node238height]);
  29437. Node238.a('node.bordercolor','rgba(0,0,0,1)');
  29438. Node238.a('node.borderwidth', 0);
  29439. Node238.a('node.background','' || 'rgba(0,0,0,0)');
  29440. Node238.a('node.gradient','');
  29441. Node238.a('node.gradientcolor','');
  29442. Node238.a('node.text','0');
  29443. Node238.a('node.textalign','left');
  29444. Node238.a('node.textvAlign','middle');
  29445. Node238.a('node.textrect', [Node238textStart, 0, Node238textWidth, Node238height]);
  29446. Node238.a('node.color','rgba(0,0,0,1)');
  29447. Node238.a('node.font',' '+ Node238fontSize + 'px "Arial"');
  29448. Node238.a('node.textvisible',true);
  29449. Node238.a('node.linefeed',false);
  29450. if (false) {
  29451. Node238.a('node.textfunc',function(g) {
  29452. g.beginPath();
  29453. var str=Node238.a('node.text') || '0';
  29454. var color=Node238.a('node.color') || 'rgba(0,0,0,1)';
  29455. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node238width,Node238height,13.3333*_ratio.ratioY,"left",color,' '+ Node238fontSize + 'px "Arial"', 0,g);
  29456. });
  29457. }
  29458. if (false) {
  29459. Node238.a('node.underlinepoints',[Node238lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node238fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node238fontSize + 'px "Arial"').width + 6, (Node238height - Node238fontSize) * 0.5*_ratio.ratioY + Node238fontSize + 2 ]);
  29460. Node238.a('node.underlinevisible',false);
  29461. Node238.a('node.underlineBorderWidth', 1);
  29462. }
  29463. dataModel.add(Node238);
  29464. zoomNodeList.push({
  29465. node: Node238,
  29466. borderWidth: 0,
  29467. attr: 'node.borderwidth'
  29468. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29469. var Node239 = new ht.Node();
  29470. var Node239textStart, Node239textWidth, Node239lineStart, Node239align = 'left', Node239fontSize = 13.3333*_ratio.ratioY,Node239width = 50*_ratio.ratioX, Node239height = 20*_ratio.ratioY;
  29471. (function () {
  29472. if (Node239align === 'left') {
  29473. Node239textStart = Node239fontSize * 0.2 > 2 ? Node239fontSize * 0.2 - 4 : Node239fontSize * 0.2 - 9;
  29474. Node239textWidth = Node239width;
  29475. Node239lineStart = 1;
  29476. } else if (Node239align === 'right') {
  29477. Node239textStart = 0;
  29478. Node239textWidth =Node239fontSize <= 8 ? Node239width + Node239fontSize * 0.2 + 6 : Node239width - Node239fontSize * 0.2;
  29479. Node239lineStart = (Node239width - (ht.Default.getTextSize('0', ' '+ Node239fontSize + 'px "Arial"').width + 6)) * 0.5;
  29480. } else if (Node239align === 'center') {
  29481. Node239textStart = -3;
  29482. Node239textWidth = Node239width;
  29483. Node239lineStart = Node239width - ht.Default.getTextSize('0', ' '+ Node239fontSize + 'px "Arial"').width - 11;
  29484. }
  29485. })();
  29486. Node239.setImage(GD.getTextJSON(Node239width, Node239height, true, false, false, ' '+ Node239fontSize + 'px "Arial"'))
  29487. Node239.setPosition(1184*ratio.ratioX, 261*ratio.ratioY);
  29488. Node239.setWidth(Node239width);
  29489. Node239.setHeight(Node239height);
  29490. Node239._nodeType = 'text';
  29491. Node239._disallowEvert = true;
  29492. Node239.setRotation(0*Math.PI/180);
  29493. Node239.a('node.width', Node239width);
  29494. Node239.a('node.height', Node239height);
  29495. Node239.a('node.rect', [0, 0, Node239width, Node239height]);
  29496. Node239.a('node.bordercolor','rgba(0,0,0,1)');
  29497. Node239.a('node.borderwidth', 0);
  29498. Node239.a('node.background','' || 'rgba(0,0,0,0)');
  29499. Node239.a('node.gradient','');
  29500. Node239.a('node.gradientcolor','');
  29501. Node239.a('node.text','0');
  29502. Node239.a('node.textalign','left');
  29503. Node239.a('node.textvAlign','middle');
  29504. Node239.a('node.textrect', [Node239textStart, 0, Node239textWidth, Node239height]);
  29505. Node239.a('node.color','rgba(0,0,0,1)');
  29506. Node239.a('node.font',' '+ Node239fontSize + 'px "Arial"');
  29507. Node239.a('node.textvisible',true);
  29508. Node239.a('node.linefeed',false);
  29509. if (false) {
  29510. Node239.a('node.textfunc',function(g) {
  29511. g.beginPath();
  29512. var str=Node239.a('node.text') || '0';
  29513. var color=Node239.a('node.color') || 'rgba(0,0,0,1)';
  29514. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node239width,Node239height,13.3333*_ratio.ratioY,"left",color,' '+ Node239fontSize + 'px "Arial"', 0,g);
  29515. });
  29516. }
  29517. if (false) {
  29518. Node239.a('node.underlinepoints',[Node239lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node239fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node239fontSize + 'px "Arial"').width + 6, (Node239height - Node239fontSize) * 0.5*_ratio.ratioY + Node239fontSize + 2 ]);
  29519. Node239.a('node.underlinevisible',false);
  29520. Node239.a('node.underlineBorderWidth', 1);
  29521. }
  29522. dataModel.add(Node239);
  29523. zoomNodeList.push({
  29524. node: Node239,
  29525. borderWidth: 0,
  29526. attr: 'node.borderwidth'
  29527. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29528. var Node240 = new ht.Node();
  29529. var Node240textStart, Node240textWidth, Node240lineStart, Node240align = 'left', Node240fontSize = 13.3333*_ratio.ratioY,Node240width = 50*_ratio.ratioX, Node240height = 20*_ratio.ratioY;
  29530. (function () {
  29531. if (Node240align === 'left') {
  29532. Node240textStart = Node240fontSize * 0.2 > 2 ? Node240fontSize * 0.2 - 4 : Node240fontSize * 0.2 - 9;
  29533. Node240textWidth = Node240width;
  29534. Node240lineStart = 1;
  29535. } else if (Node240align === 'right') {
  29536. Node240textStart = 0;
  29537. Node240textWidth =Node240fontSize <= 8 ? Node240width + Node240fontSize * 0.2 + 6 : Node240width - Node240fontSize * 0.2;
  29538. Node240lineStart = (Node240width - (ht.Default.getTextSize('0', ' '+ Node240fontSize + 'px "Arial"').width + 6)) * 0.5;
  29539. } else if (Node240align === 'center') {
  29540. Node240textStart = -3;
  29541. Node240textWidth = Node240width;
  29542. Node240lineStart = Node240width - ht.Default.getTextSize('0', ' '+ Node240fontSize + 'px "Arial"').width - 11;
  29543. }
  29544. })();
  29545. Node240.setImage(GD.getTextJSON(Node240width, Node240height, true, false, false, ' '+ Node240fontSize + 'px "Arial"'))
  29546. Node240.setPosition(1184*ratio.ratioX, 283*ratio.ratioY);
  29547. Node240.setWidth(Node240width);
  29548. Node240.setHeight(Node240height);
  29549. Node240._nodeType = 'text';
  29550. Node240._disallowEvert = true;
  29551. Node240.setRotation(0*Math.PI/180);
  29552. Node240.a('node.width', Node240width);
  29553. Node240.a('node.height', Node240height);
  29554. Node240.a('node.rect', [0, 0, Node240width, Node240height]);
  29555. Node240.a('node.bordercolor','rgba(0,0,0,1)');
  29556. Node240.a('node.borderwidth', 0);
  29557. Node240.a('node.background','' || 'rgba(0,0,0,0)');
  29558. Node240.a('node.gradient','');
  29559. Node240.a('node.gradientcolor','');
  29560. Node240.a('node.text','0');
  29561. Node240.a('node.textalign','left');
  29562. Node240.a('node.textvAlign','middle');
  29563. Node240.a('node.textrect', [Node240textStart, 0, Node240textWidth, Node240height]);
  29564. Node240.a('node.color','rgba(0,0,0,1)');
  29565. Node240.a('node.font',' '+ Node240fontSize + 'px "Arial"');
  29566. Node240.a('node.textvisible',true);
  29567. Node240.a('node.linefeed',false);
  29568. if (false) {
  29569. Node240.a('node.textfunc',function(g) {
  29570. g.beginPath();
  29571. var str=Node240.a('node.text') || '0';
  29572. var color=Node240.a('node.color') || 'rgba(0,0,0,1)';
  29573. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node240width,Node240height,13.3333*_ratio.ratioY,"left",color,' '+ Node240fontSize + 'px "Arial"', 0,g);
  29574. });
  29575. }
  29576. if (false) {
  29577. Node240.a('node.underlinepoints',[Node240lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node240fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node240fontSize + 'px "Arial"').width + 6, (Node240height - Node240fontSize) * 0.5*_ratio.ratioY + Node240fontSize + 2 ]);
  29578. Node240.a('node.underlinevisible',false);
  29579. Node240.a('node.underlineBorderWidth', 1);
  29580. }
  29581. dataModel.add(Node240);
  29582. zoomNodeList.push({
  29583. node: Node240,
  29584. borderWidth: 0,
  29585. attr: 'node.borderwidth'
  29586. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29587. var Node241 = new ht.Node();
  29588. var Node241textStart, Node241textWidth, Node241lineStart, Node241align = 'left', Node241fontSize = 13.3333*_ratio.ratioY,Node241width = 50*_ratio.ratioX, Node241height = 20*_ratio.ratioY;
  29589. (function () {
  29590. if (Node241align === 'left') {
  29591. Node241textStart = Node241fontSize * 0.2 > 2 ? Node241fontSize * 0.2 - 4 : Node241fontSize * 0.2 - 9;
  29592. Node241textWidth = Node241width;
  29593. Node241lineStart = 1;
  29594. } else if (Node241align === 'right') {
  29595. Node241textStart = 0;
  29596. Node241textWidth =Node241fontSize <= 8 ? Node241width + Node241fontSize * 0.2 + 6 : Node241width - Node241fontSize * 0.2;
  29597. Node241lineStart = (Node241width - (ht.Default.getTextSize('0', ' '+ Node241fontSize + 'px "Arial"').width + 6)) * 0.5;
  29598. } else if (Node241align === 'center') {
  29599. Node241textStart = -3;
  29600. Node241textWidth = Node241width;
  29601. Node241lineStart = Node241width - ht.Default.getTextSize('0', ' '+ Node241fontSize + 'px "Arial"').width - 11;
  29602. }
  29603. })();
  29604. Node241.setImage(GD.getTextJSON(Node241width, Node241height, true, false, false, ' '+ Node241fontSize + 'px "Arial"'))
  29605. Node241.setPosition(1184*ratio.ratioX, 308*ratio.ratioY);
  29606. Node241.setWidth(Node241width);
  29607. Node241.setHeight(Node241height);
  29608. Node241._nodeType = 'text';
  29609. Node241._disallowEvert = true;
  29610. Node241.setRotation(0*Math.PI/180);
  29611. Node241.a('node.width', Node241width);
  29612. Node241.a('node.height', Node241height);
  29613. Node241.a('node.rect', [0, 0, Node241width, Node241height]);
  29614. Node241.a('node.bordercolor','rgba(0,0,0,1)');
  29615. Node241.a('node.borderwidth', 0);
  29616. Node241.a('node.background','' || 'rgba(0,0,0,0)');
  29617. Node241.a('node.gradient','');
  29618. Node241.a('node.gradientcolor','');
  29619. Node241.a('node.text','0');
  29620. Node241.a('node.textalign','left');
  29621. Node241.a('node.textvAlign','middle');
  29622. Node241.a('node.textrect', [Node241textStart, 0, Node241textWidth, Node241height]);
  29623. Node241.a('node.color','rgba(0,0,0,1)');
  29624. Node241.a('node.font',' '+ Node241fontSize + 'px "Arial"');
  29625. Node241.a('node.textvisible',true);
  29626. Node241.a('node.linefeed',false);
  29627. if (false) {
  29628. Node241.a('node.textfunc',function(g) {
  29629. g.beginPath();
  29630. var str=Node241.a('node.text') || '0';
  29631. var color=Node241.a('node.color') || 'rgba(0,0,0,1)';
  29632. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node241width,Node241height,13.3333*_ratio.ratioY,"left",color,' '+ Node241fontSize + 'px "Arial"', 0,g);
  29633. });
  29634. }
  29635. if (false) {
  29636. Node241.a('node.underlinepoints',[Node241lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node241fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node241fontSize + 'px "Arial"').width + 6, (Node241height - Node241fontSize) * 0.5*_ratio.ratioY + Node241fontSize + 2 ]);
  29637. Node241.a('node.underlinevisible',false);
  29638. Node241.a('node.underlineBorderWidth', 1);
  29639. }
  29640. dataModel.add(Node241);
  29641. zoomNodeList.push({
  29642. node: Node241,
  29643. borderWidth: 0,
  29644. attr: 'node.borderwidth'
  29645. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29646. var Node242 = new ht.Node();
  29647. var Node242textStart, Node242textWidth, Node242lineStart, Node242align = 'left', Node242fontSize = 13.3333*_ratio.ratioY,Node242width = 50*_ratio.ratioX, Node242height = 20*_ratio.ratioY;
  29648. (function () {
  29649. if (Node242align === 'left') {
  29650. Node242textStart = Node242fontSize * 0.2 > 2 ? Node242fontSize * 0.2 - 4 : Node242fontSize * 0.2 - 9;
  29651. Node242textWidth = Node242width;
  29652. Node242lineStart = 1;
  29653. } else if (Node242align === 'right') {
  29654. Node242textStart = 0;
  29655. Node242textWidth =Node242fontSize <= 8 ? Node242width + Node242fontSize * 0.2 + 6 : Node242width - Node242fontSize * 0.2;
  29656. Node242lineStart = (Node242width - (ht.Default.getTextSize('0', ' '+ Node242fontSize + 'px "Arial"').width + 6)) * 0.5;
  29657. } else if (Node242align === 'center') {
  29658. Node242textStart = -3;
  29659. Node242textWidth = Node242width;
  29660. Node242lineStart = Node242width - ht.Default.getTextSize('0', ' '+ Node242fontSize + 'px "Arial"').width - 11;
  29661. }
  29662. })();
  29663. Node242.setImage(GD.getTextJSON(Node242width, Node242height, true, false, false, ' '+ Node242fontSize + 'px "Arial"'))
  29664. Node242.setPosition(1184*ratio.ratioX, 333*ratio.ratioY);
  29665. Node242.setWidth(Node242width);
  29666. Node242.setHeight(Node242height);
  29667. Node242._nodeType = 'text';
  29668. Node242._disallowEvert = true;
  29669. Node242.setRotation(0*Math.PI/180);
  29670. Node242.a('node.width', Node242width);
  29671. Node242.a('node.height', Node242height);
  29672. Node242.a('node.rect', [0, 0, Node242width, Node242height]);
  29673. Node242.a('node.bordercolor','rgba(0,0,0,1)');
  29674. Node242.a('node.borderwidth', 0);
  29675. Node242.a('node.background','' || 'rgba(0,0,0,0)');
  29676. Node242.a('node.gradient','');
  29677. Node242.a('node.gradientcolor','');
  29678. Node242.a('node.text','0');
  29679. Node242.a('node.textalign','left');
  29680. Node242.a('node.textvAlign','middle');
  29681. Node242.a('node.textrect', [Node242textStart, 0, Node242textWidth, Node242height]);
  29682. Node242.a('node.color','rgba(0,0,0,1)');
  29683. Node242.a('node.font',' '+ Node242fontSize + 'px "Arial"');
  29684. Node242.a('node.textvisible',true);
  29685. Node242.a('node.linefeed',false);
  29686. if (false) {
  29687. Node242.a('node.textfunc',function(g) {
  29688. g.beginPath();
  29689. var str=Node242.a('node.text') || '0';
  29690. var color=Node242.a('node.color') || 'rgba(0,0,0,1)';
  29691. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node242width,Node242height,13.3333*_ratio.ratioY,"left",color,' '+ Node242fontSize + 'px "Arial"', 0,g);
  29692. });
  29693. }
  29694. if (false) {
  29695. Node242.a('node.underlinepoints',[Node242lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node242fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node242fontSize + 'px "Arial"').width + 6, (Node242height - Node242fontSize) * 0.5*_ratio.ratioY + Node242fontSize + 2 ]);
  29696. Node242.a('node.underlinevisible',false);
  29697. Node242.a('node.underlineBorderWidth', 1);
  29698. }
  29699. dataModel.add(Node242);
  29700. zoomNodeList.push({
  29701. node: Node242,
  29702. borderWidth: 0,
  29703. attr: 'node.borderwidth'
  29704. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29705. var Node243 = new ht.Node();
  29706. var Node243textStart, Node243textWidth, Node243lineStart, Node243align = 'left', Node243fontSize = 13.3333*_ratio.ratioY,Node243width = 50*_ratio.ratioX, Node243height = 20*_ratio.ratioY;
  29707. (function () {
  29708. if (Node243align === 'left') {
  29709. Node243textStart = Node243fontSize * 0.2 > 2 ? Node243fontSize * 0.2 - 4 : Node243fontSize * 0.2 - 9;
  29710. Node243textWidth = Node243width;
  29711. Node243lineStart = 1;
  29712. } else if (Node243align === 'right') {
  29713. Node243textStart = 0;
  29714. Node243textWidth =Node243fontSize <= 8 ? Node243width + Node243fontSize * 0.2 + 6 : Node243width - Node243fontSize * 0.2;
  29715. Node243lineStart = (Node243width - (ht.Default.getTextSize('0', ' '+ Node243fontSize + 'px "Arial"').width + 6)) * 0.5;
  29716. } else if (Node243align === 'center') {
  29717. Node243textStart = -3;
  29718. Node243textWidth = Node243width;
  29719. Node243lineStart = Node243width - ht.Default.getTextSize('0', ' '+ Node243fontSize + 'px "Arial"').width - 11;
  29720. }
  29721. })();
  29722. Node243.setImage(GD.getTextJSON(Node243width, Node243height, true, false, false, ' '+ Node243fontSize + 'px "Arial"'))
  29723. Node243.setPosition(239*ratio.ratioX, 453*ratio.ratioY);
  29724. Node243.setWidth(Node243width);
  29725. Node243.setHeight(Node243height);
  29726. Node243._nodeType = 'text';
  29727. Node243._disallowEvert = true;
  29728. Node243.setRotation(0*Math.PI/180);
  29729. Node243.a('node.width', Node243width);
  29730. Node243.a('node.height', Node243height);
  29731. Node243.a('node.rect', [0, 0, Node243width, Node243height]);
  29732. Node243.a('node.bordercolor','rgba(0,0,0,1)');
  29733. Node243.a('node.borderwidth', 0);
  29734. Node243.a('node.background','' || 'rgba(0,0,0,0)');
  29735. Node243.a('node.gradient','');
  29736. Node243.a('node.gradientcolor','');
  29737. Node243.a('node.text','0');
  29738. Node243.a('node.textalign','left');
  29739. Node243.a('node.textvAlign','middle');
  29740. Node243.a('node.textrect', [Node243textStart, 0, Node243textWidth, Node243height]);
  29741. Node243.a('node.color','rgba(0,0,0,1)');
  29742. Node243.a('node.font',' '+ Node243fontSize + 'px "Arial"');
  29743. Node243.a('node.textvisible',true);
  29744. Node243.a('node.linefeed',false);
  29745. if (false) {
  29746. Node243.a('node.textfunc',function(g) {
  29747. g.beginPath();
  29748. var str=Node243.a('node.text') || '0';
  29749. var color=Node243.a('node.color') || 'rgba(0,0,0,1)';
  29750. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node243width,Node243height,13.3333*_ratio.ratioY,"left",color,' '+ Node243fontSize + 'px "Arial"', 0,g);
  29751. });
  29752. }
  29753. if (false) {
  29754. Node243.a('node.underlinepoints',[Node243lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node243fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node243fontSize + 'px "Arial"').width + 6, (Node243height - Node243fontSize) * 0.5*_ratio.ratioY + Node243fontSize + 2 ]);
  29755. Node243.a('node.underlinevisible',false);
  29756. Node243.a('node.underlineBorderWidth', 1);
  29757. }
  29758. dataModel.add(Node243);
  29759. zoomNodeList.push({
  29760. node: Node243,
  29761. borderWidth: 0,
  29762. attr: 'node.borderwidth'
  29763. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29764. var Node244 = new ht.Node();
  29765. var Node244textStart, Node244textWidth, Node244lineStart, Node244align = 'left', Node244fontSize = 13.3333*_ratio.ratioY,Node244width = 50*_ratio.ratioX, Node244height = 20*_ratio.ratioY;
  29766. (function () {
  29767. if (Node244align === 'left') {
  29768. Node244textStart = Node244fontSize * 0.2 > 2 ? Node244fontSize * 0.2 - 4 : Node244fontSize * 0.2 - 9;
  29769. Node244textWidth = Node244width;
  29770. Node244lineStart = 1;
  29771. } else if (Node244align === 'right') {
  29772. Node244textStart = 0;
  29773. Node244textWidth =Node244fontSize <= 8 ? Node244width + Node244fontSize * 0.2 + 6 : Node244width - Node244fontSize * 0.2;
  29774. Node244lineStart = (Node244width - (ht.Default.getTextSize('0', ' '+ Node244fontSize + 'px "Arial"').width + 6)) * 0.5;
  29775. } else if (Node244align === 'center') {
  29776. Node244textStart = -3;
  29777. Node244textWidth = Node244width;
  29778. Node244lineStart = Node244width - ht.Default.getTextSize('0', ' '+ Node244fontSize + 'px "Arial"').width - 11;
  29779. }
  29780. })();
  29781. Node244.setImage(GD.getTextJSON(Node244width, Node244height, true, false, false, ' '+ Node244fontSize + 'px "Arial"'))
  29782. Node244.setPosition(239*ratio.ratioX, 475*ratio.ratioY);
  29783. Node244.setWidth(Node244width);
  29784. Node244.setHeight(Node244height);
  29785. Node244._nodeType = 'text';
  29786. Node244._disallowEvert = true;
  29787. Node244.setRotation(0*Math.PI/180);
  29788. Node244.a('node.width', Node244width);
  29789. Node244.a('node.height', Node244height);
  29790. Node244.a('node.rect', [0, 0, Node244width, Node244height]);
  29791. Node244.a('node.bordercolor','rgba(0,0,0,1)');
  29792. Node244.a('node.borderwidth', 0);
  29793. Node244.a('node.background','' || 'rgba(0,0,0,0)');
  29794. Node244.a('node.gradient','');
  29795. Node244.a('node.gradientcolor','');
  29796. Node244.a('node.text','0');
  29797. Node244.a('node.textalign','left');
  29798. Node244.a('node.textvAlign','middle');
  29799. Node244.a('node.textrect', [Node244textStart, 0, Node244textWidth, Node244height]);
  29800. Node244.a('node.color','rgba(0,0,0,1)');
  29801. Node244.a('node.font',' '+ Node244fontSize + 'px "Arial"');
  29802. Node244.a('node.textvisible',true);
  29803. Node244.a('node.linefeed',false);
  29804. if (false) {
  29805. Node244.a('node.textfunc',function(g) {
  29806. g.beginPath();
  29807. var str=Node244.a('node.text') || '0';
  29808. var color=Node244.a('node.color') || 'rgba(0,0,0,1)';
  29809. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node244width,Node244height,13.3333*_ratio.ratioY,"left",color,' '+ Node244fontSize + 'px "Arial"', 0,g);
  29810. });
  29811. }
  29812. if (false) {
  29813. Node244.a('node.underlinepoints',[Node244lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node244fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node244fontSize + 'px "Arial"').width + 6, (Node244height - Node244fontSize) * 0.5*_ratio.ratioY + Node244fontSize + 2 ]);
  29814. Node244.a('node.underlinevisible',false);
  29815. Node244.a('node.underlineBorderWidth', 1);
  29816. }
  29817. dataModel.add(Node244);
  29818. zoomNodeList.push({
  29819. node: Node244,
  29820. borderWidth: 0,
  29821. attr: 'node.borderwidth'
  29822. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29823. var Node245 = new ht.Node();
  29824. var Node245textStart, Node245textWidth, Node245lineStart, Node245align = 'left', Node245fontSize = 13.3333*_ratio.ratioY,Node245width = 50*_ratio.ratioX, Node245height = 20*_ratio.ratioY;
  29825. (function () {
  29826. if (Node245align === 'left') {
  29827. Node245textStart = Node245fontSize * 0.2 > 2 ? Node245fontSize * 0.2 - 4 : Node245fontSize * 0.2 - 9;
  29828. Node245textWidth = Node245width;
  29829. Node245lineStart = 1;
  29830. } else if (Node245align === 'right') {
  29831. Node245textStart = 0;
  29832. Node245textWidth =Node245fontSize <= 8 ? Node245width + Node245fontSize * 0.2 + 6 : Node245width - Node245fontSize * 0.2;
  29833. Node245lineStart = (Node245width - (ht.Default.getTextSize('0', ' '+ Node245fontSize + 'px "Arial"').width + 6)) * 0.5;
  29834. } else if (Node245align === 'center') {
  29835. Node245textStart = -3;
  29836. Node245textWidth = Node245width;
  29837. Node245lineStart = Node245width - ht.Default.getTextSize('0', ' '+ Node245fontSize + 'px "Arial"').width - 11;
  29838. }
  29839. })();
  29840. Node245.setImage(GD.getTextJSON(Node245width, Node245height, true, false, false, ' '+ Node245fontSize + 'px "Arial"'))
  29841. Node245.setPosition(239*ratio.ratioX, 517*ratio.ratioY);
  29842. Node245.setWidth(Node245width);
  29843. Node245.setHeight(Node245height);
  29844. Node245._nodeType = 'text';
  29845. Node245._disallowEvert = true;
  29846. Node245.setRotation(0*Math.PI/180);
  29847. Node245.a('node.width', Node245width);
  29848. Node245.a('node.height', Node245height);
  29849. Node245.a('node.rect', [0, 0, Node245width, Node245height]);
  29850. Node245.a('node.bordercolor','rgba(0,0,0,1)');
  29851. Node245.a('node.borderwidth', 0);
  29852. Node245.a('node.background','' || 'rgba(0,0,0,0)');
  29853. Node245.a('node.gradient','');
  29854. Node245.a('node.gradientcolor','');
  29855. Node245.a('node.text','0');
  29856. Node245.a('node.textalign','left');
  29857. Node245.a('node.textvAlign','middle');
  29858. Node245.a('node.textrect', [Node245textStart, 0, Node245textWidth, Node245height]);
  29859. Node245.a('node.color','rgba(0,0,0,1)');
  29860. Node245.a('node.font',' '+ Node245fontSize + 'px "Arial"');
  29861. Node245.a('node.textvisible',true);
  29862. Node245.a('node.linefeed',false);
  29863. if (false) {
  29864. Node245.a('node.textfunc',function(g) {
  29865. g.beginPath();
  29866. var str=Node245.a('node.text') || '0';
  29867. var color=Node245.a('node.color') || 'rgba(0,0,0,1)';
  29868. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node245width,Node245height,13.3333*_ratio.ratioY,"left",color,' '+ Node245fontSize + 'px "Arial"', 0,g);
  29869. });
  29870. }
  29871. if (false) {
  29872. Node245.a('node.underlinepoints',[Node245lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node245fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node245fontSize + 'px "Arial"').width + 6, (Node245height - Node245fontSize) * 0.5*_ratio.ratioY + Node245fontSize + 2 ]);
  29873. Node245.a('node.underlinevisible',false);
  29874. Node245.a('node.underlineBorderWidth', 1);
  29875. }
  29876. dataModel.add(Node245);
  29877. zoomNodeList.push({
  29878. node: Node245,
  29879. borderWidth: 0,
  29880. attr: 'node.borderwidth'
  29881. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29882. var Node246 = new ht.Node();
  29883. var Node246textStart, Node246textWidth, Node246lineStart, Node246align = 'left', Node246fontSize = 13.3333*_ratio.ratioY,Node246width = 50*_ratio.ratioX, Node246height = 20*_ratio.ratioY;
  29884. (function () {
  29885. if (Node246align === 'left') {
  29886. Node246textStart = Node246fontSize * 0.2 > 2 ? Node246fontSize * 0.2 - 4 : Node246fontSize * 0.2 - 9;
  29887. Node246textWidth = Node246width;
  29888. Node246lineStart = 1;
  29889. } else if (Node246align === 'right') {
  29890. Node246textStart = 0;
  29891. Node246textWidth =Node246fontSize <= 8 ? Node246width + Node246fontSize * 0.2 + 6 : Node246width - Node246fontSize * 0.2;
  29892. Node246lineStart = (Node246width - (ht.Default.getTextSize('0', ' '+ Node246fontSize + 'px "Arial"').width + 6)) * 0.5;
  29893. } else if (Node246align === 'center') {
  29894. Node246textStart = -3;
  29895. Node246textWidth = Node246width;
  29896. Node246lineStart = Node246width - ht.Default.getTextSize('0', ' '+ Node246fontSize + 'px "Arial"').width - 11;
  29897. }
  29898. })();
  29899. Node246.setImage(GD.getTextJSON(Node246width, Node246height, true, false, false, ' '+ Node246fontSize + 'px "Arial"'))
  29900. Node246.setPosition(239*ratio.ratioX, 542*ratio.ratioY);
  29901. Node246.setWidth(Node246width);
  29902. Node246.setHeight(Node246height);
  29903. Node246._nodeType = 'text';
  29904. Node246._disallowEvert = true;
  29905. Node246.setRotation(0*Math.PI/180);
  29906. Node246.a('node.width', Node246width);
  29907. Node246.a('node.height', Node246height);
  29908. Node246.a('node.rect', [0, 0, Node246width, Node246height]);
  29909. Node246.a('node.bordercolor','rgba(0,0,0,1)');
  29910. Node246.a('node.borderwidth', 0);
  29911. Node246.a('node.background','' || 'rgba(0,0,0,0)');
  29912. Node246.a('node.gradient','');
  29913. Node246.a('node.gradientcolor','');
  29914. Node246.a('node.text','0');
  29915. Node246.a('node.textalign','left');
  29916. Node246.a('node.textvAlign','middle');
  29917. Node246.a('node.textrect', [Node246textStart, 0, Node246textWidth, Node246height]);
  29918. Node246.a('node.color','rgba(0,0,0,1)');
  29919. Node246.a('node.font',' '+ Node246fontSize + 'px "Arial"');
  29920. Node246.a('node.textvisible',true);
  29921. Node246.a('node.linefeed',false);
  29922. if (false) {
  29923. Node246.a('node.textfunc',function(g) {
  29924. g.beginPath();
  29925. var str=Node246.a('node.text') || '0';
  29926. var color=Node246.a('node.color') || 'rgba(0,0,0,1)';
  29927. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node246width,Node246height,13.3333*_ratio.ratioY,"left",color,' '+ Node246fontSize + 'px "Arial"', 0,g);
  29928. });
  29929. }
  29930. if (false) {
  29931. Node246.a('node.underlinepoints',[Node246lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node246fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node246fontSize + 'px "Arial"').width + 6, (Node246height - Node246fontSize) * 0.5*_ratio.ratioY + Node246fontSize + 2 ]);
  29932. Node246.a('node.underlinevisible',false);
  29933. Node246.a('node.underlineBorderWidth', 1);
  29934. }
  29935. dataModel.add(Node246);
  29936. zoomNodeList.push({
  29937. node: Node246,
  29938. borderWidth: 0,
  29939. attr: 'node.borderwidth'
  29940. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  29941. var Node247 = new ht.Node();
  29942. var Node247textStart, Node247textWidth, Node247lineStart, Node247align = 'left', Node247fontSize = 13.3333*_ratio.ratioY,Node247width = 50*_ratio.ratioX, Node247height = 20*_ratio.ratioY;
  29943. (function () {
  29944. if (Node247align === 'left') {
  29945. Node247textStart = Node247fontSize * 0.2 > 2 ? Node247fontSize * 0.2 - 4 : Node247fontSize * 0.2 - 9;
  29946. Node247textWidth = Node247width;
  29947. Node247lineStart = 1;
  29948. } else if (Node247align === 'right') {
  29949. Node247textStart = 0;
  29950. Node247textWidth =Node247fontSize <= 8 ? Node247width + Node247fontSize * 0.2 + 6 : Node247width - Node247fontSize * 0.2;
  29951. Node247lineStart = (Node247width - (ht.Default.getTextSize('0', ' '+ Node247fontSize + 'px "Arial"').width + 6)) * 0.5;
  29952. } else if (Node247align === 'center') {
  29953. Node247textStart = -3;
  29954. Node247textWidth = Node247width;
  29955. Node247lineStart = Node247width - ht.Default.getTextSize('0', ' '+ Node247fontSize + 'px "Arial"').width - 11;
  29956. }
  29957. })();
  29958. Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, ' '+ Node247fontSize + 'px "Arial"'))
  29959. Node247.setPosition(239*ratio.ratioX, 566*ratio.ratioY);
  29960. Node247.setWidth(Node247width);
  29961. Node247.setHeight(Node247height);
  29962. Node247._nodeType = 'text';
  29963. Node247._disallowEvert = true;
  29964. Node247.setRotation(0*Math.PI/180);
  29965. Node247.a('node.width', Node247width);
  29966. Node247.a('node.height', Node247height);
  29967. Node247.a('node.rect', [0, 0, Node247width, Node247height]);
  29968. Node247.a('node.bordercolor','rgba(0,0,0,1)');
  29969. Node247.a('node.borderwidth', 0);
  29970. Node247.a('node.background','' || 'rgba(0,0,0,0)');
  29971. Node247.a('node.gradient','');
  29972. Node247.a('node.gradientcolor','');
  29973. Node247.a('node.text','0');
  29974. Node247.a('node.textalign','left');
  29975. Node247.a('node.textvAlign','middle');
  29976. Node247.a('node.textrect', [Node247textStart, 0, Node247textWidth, Node247height]);
  29977. Node247.a('node.color','rgba(0,0,0,1)');
  29978. Node247.a('node.font',' '+ Node247fontSize + 'px "Arial"');
  29979. Node247.a('node.textvisible',true);
  29980. Node247.a('node.linefeed',false);
  29981. if (false) {
  29982. Node247.a('node.textfunc',function(g) {
  29983. g.beginPath();
  29984. var str=Node247.a('node.text') || '0';
  29985. var color=Node247.a('node.color') || 'rgba(0,0,0,1)';
  29986. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node247width,Node247height,13.3333*_ratio.ratioY,"left",color,' '+ Node247fontSize + 'px "Arial"', 0,g);
  29987. });
  29988. }
  29989. if (false) {
  29990. Node247.a('node.underlinepoints',[Node247lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node247fontSize + 'px "Arial"').width + 6, (Node247height - Node247fontSize) * 0.5*_ratio.ratioY + Node247fontSize + 2 ]);
  29991. Node247.a('node.underlinevisible',false);
  29992. Node247.a('node.underlineBorderWidth', 1);
  29993. }
  29994. dataModel.add(Node247);
  29995. zoomNodeList.push({
  29996. node: Node247,
  29997. borderWidth: 0,
  29998. attr: 'node.borderwidth'
  29999. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30000. var Node248 = new ht.Node();
  30001. var Node248textStart, Node248textWidth, Node248lineStart, Node248align = 'left', Node248fontSize = 13.3333*_ratio.ratioY,Node248width = 50*_ratio.ratioX, Node248height = 20*_ratio.ratioY;
  30002. (function () {
  30003. if (Node248align === 'left') {
  30004. Node248textStart = Node248fontSize * 0.2 > 2 ? Node248fontSize * 0.2 - 4 : Node248fontSize * 0.2 - 9;
  30005. Node248textWidth = Node248width;
  30006. Node248lineStart = 1;
  30007. } else if (Node248align === 'right') {
  30008. Node248textStart = 0;
  30009. Node248textWidth =Node248fontSize <= 8 ? Node248width + Node248fontSize * 0.2 + 6 : Node248width - Node248fontSize * 0.2;
  30010. Node248lineStart = (Node248width - (ht.Default.getTextSize('0', ' '+ Node248fontSize + 'px "Arial"').width + 6)) * 0.5;
  30011. } else if (Node248align === 'center') {
  30012. Node248textStart = -3;
  30013. Node248textWidth = Node248width;
  30014. Node248lineStart = Node248width - ht.Default.getTextSize('0', ' '+ Node248fontSize + 'px "Arial"').width - 11;
  30015. }
  30016. })();
  30017. Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "Arial"'))
  30018. Node248.setPosition(668*ratio.ratioX, 455*ratio.ratioY);
  30019. Node248.setWidth(Node248width);
  30020. Node248.setHeight(Node248height);
  30021. Node248._nodeType = 'text';
  30022. Node248._disallowEvert = true;
  30023. Node248.setRotation(0*Math.PI/180);
  30024. Node248.a('node.width', Node248width);
  30025. Node248.a('node.height', Node248height);
  30026. Node248.a('node.rect', [0, 0, Node248width, Node248height]);
  30027. Node248.a('node.bordercolor','rgba(0,0,0,1)');
  30028. Node248.a('node.borderwidth', 0);
  30029. Node248.a('node.background','' || 'rgba(0,0,0,0)');
  30030. Node248.a('node.gradient','');
  30031. Node248.a('node.gradientcolor','');
  30032. Node248.a('node.text','0');
  30033. Node248.a('node.textalign','left');
  30034. Node248.a('node.textvAlign','middle');
  30035. Node248.a('node.textrect', [Node248textStart, 0, Node248textWidth, Node248height]);
  30036. Node248.a('node.color','rgba(0,0,0,1)');
  30037. Node248.a('node.font',' '+ Node248fontSize + 'px "Arial"');
  30038. Node248.a('node.textvisible',true);
  30039. Node248.a('node.linefeed',false);
  30040. if (false) {
  30041. Node248.a('node.textfunc',function(g) {
  30042. g.beginPath();
  30043. var str=Node248.a('node.text') || '0';
  30044. var color=Node248.a('node.color') || 'rgba(0,0,0,1)';
  30045. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node248width,Node248height,13.3333*_ratio.ratioY,"left",color,' '+ Node248fontSize + 'px "Arial"', 0,g);
  30046. });
  30047. }
  30048. if (false) {
  30049. Node248.a('node.underlinepoints',[Node248lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node248fontSize + 'px "Arial"').width + 6, (Node248height - Node248fontSize) * 0.5*_ratio.ratioY + Node248fontSize + 2 ]);
  30050. Node248.a('node.underlinevisible',false);
  30051. Node248.a('node.underlineBorderWidth', 1);
  30052. }
  30053. dataModel.add(Node248);
  30054. zoomNodeList.push({
  30055. node: Node248,
  30056. borderWidth: 0,
  30057. attr: 'node.borderwidth'
  30058. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30059. var Node249 = new ht.Node();
  30060. var Node249textStart, Node249textWidth, Node249lineStart, Node249align = 'left', Node249fontSize = 13.3333*_ratio.ratioY,Node249width = 50*_ratio.ratioX, Node249height = 20*_ratio.ratioY;
  30061. (function () {
  30062. if (Node249align === 'left') {
  30063. Node249textStart = Node249fontSize * 0.2 > 2 ? Node249fontSize * 0.2 - 4 : Node249fontSize * 0.2 - 9;
  30064. Node249textWidth = Node249width;
  30065. Node249lineStart = 1;
  30066. } else if (Node249align === 'right') {
  30067. Node249textStart = 0;
  30068. Node249textWidth =Node249fontSize <= 8 ? Node249width + Node249fontSize * 0.2 + 6 : Node249width - Node249fontSize * 0.2;
  30069. Node249lineStart = (Node249width - (ht.Default.getTextSize('0', ' '+ Node249fontSize + 'px "Arial"').width + 6)) * 0.5;
  30070. } else if (Node249align === 'center') {
  30071. Node249textStart = -3;
  30072. Node249textWidth = Node249width;
  30073. Node249lineStart = Node249width - ht.Default.getTextSize('0', ' '+ Node249fontSize + 'px "Arial"').width - 11;
  30074. }
  30075. })();
  30076. Node249.setImage(GD.getTextJSON(Node249width, Node249height, true, false, false, ' '+ Node249fontSize + 'px "Arial"'))
  30077. Node249.setPosition(668*ratio.ratioX, 385*ratio.ratioY);
  30078. Node249.setWidth(Node249width);
  30079. Node249.setHeight(Node249height);
  30080. Node249._nodeType = 'text';
  30081. Node249._disallowEvert = true;
  30082. Node249.setRotation(0*Math.PI/180);
  30083. Node249.a('node.width', Node249width);
  30084. Node249.a('node.height', Node249height);
  30085. Node249.a('node.rect', [0, 0, Node249width, Node249height]);
  30086. Node249.a('node.bordercolor','rgba(0,0,0,1)');
  30087. Node249.a('node.borderwidth', 0);
  30088. Node249.a('node.background','' || 'rgba(0,0,0,0)');
  30089. Node249.a('node.gradient','');
  30090. Node249.a('node.gradientcolor','');
  30091. Node249.a('node.text','0');
  30092. Node249.a('node.textalign','left');
  30093. Node249.a('node.textvAlign','middle');
  30094. Node249.a('node.textrect', [Node249textStart, 0, Node249textWidth, Node249height]);
  30095. Node249.a('node.color','rgba(0,0,0,1)');
  30096. Node249.a('node.font',' '+ Node249fontSize + 'px "Arial"');
  30097. Node249.a('node.textvisible',true);
  30098. Node249.a('node.linefeed',false);
  30099. if (false) {
  30100. Node249.a('node.textfunc',function(g) {
  30101. g.beginPath();
  30102. var str=Node249.a('node.text') || '0';
  30103. var color=Node249.a('node.color') || 'rgba(0,0,0,1)';
  30104. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node249width,Node249height,13.3333*_ratio.ratioY,"left",color,' '+ Node249fontSize + 'px "Arial"', 0,g);
  30105. });
  30106. }
  30107. if (false) {
  30108. Node249.a('node.underlinepoints',[Node249lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node249fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node249fontSize + 'px "Arial"').width + 6, (Node249height - Node249fontSize) * 0.5*_ratio.ratioY + Node249fontSize + 2 ]);
  30109. Node249.a('node.underlinevisible',false);
  30110. Node249.a('node.underlineBorderWidth', 1);
  30111. }
  30112. dataModel.add(Node249);
  30113. zoomNodeList.push({
  30114. node: Node249,
  30115. borderWidth: 0,
  30116. attr: 'node.borderwidth'
  30117. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30118. var Node250 = new ht.Node();
  30119. var Node250textStart, Node250textWidth, Node250lineStart, Node250align = 'left', Node250fontSize = 13.3333*_ratio.ratioY,Node250width = 50*_ratio.ratioX, Node250height = 20*_ratio.ratioY;
  30120. (function () {
  30121. if (Node250align === 'left') {
  30122. Node250textStart = Node250fontSize * 0.2 > 2 ? Node250fontSize * 0.2 - 4 : Node250fontSize * 0.2 - 9;
  30123. Node250textWidth = Node250width;
  30124. Node250lineStart = 1;
  30125. } else if (Node250align === 'right') {
  30126. Node250textStart = 0;
  30127. Node250textWidth =Node250fontSize <= 8 ? Node250width + Node250fontSize * 0.2 + 6 : Node250width - Node250fontSize * 0.2;
  30128. Node250lineStart = (Node250width - (ht.Default.getTextSize('0', ' '+ Node250fontSize + 'px "Arial"').width + 6)) * 0.5;
  30129. } else if (Node250align === 'center') {
  30130. Node250textStart = -3;
  30131. Node250textWidth = Node250width;
  30132. Node250lineStart = Node250width - ht.Default.getTextSize('0', ' '+ Node250fontSize + 'px "Arial"').width - 11;
  30133. }
  30134. })();
  30135. Node250.setImage(GD.getTextJSON(Node250width, Node250height, true, false, false, ' '+ Node250fontSize + 'px "Arial"'))
  30136. Node250.setPosition(668*ratio.ratioX, 407*ratio.ratioY);
  30137. Node250.setWidth(Node250width);
  30138. Node250.setHeight(Node250height);
  30139. Node250._nodeType = 'text';
  30140. Node250._disallowEvert = true;
  30141. Node250.setRotation(0*Math.PI/180);
  30142. Node250.a('node.width', Node250width);
  30143. Node250.a('node.height', Node250height);
  30144. Node250.a('node.rect', [0, 0, Node250width, Node250height]);
  30145. Node250.a('node.bordercolor','rgba(0,0,0,1)');
  30146. Node250.a('node.borderwidth', 0);
  30147. Node250.a('node.background','' || 'rgba(0,0,0,0)');
  30148. Node250.a('node.gradient','');
  30149. Node250.a('node.gradientcolor','');
  30150. Node250.a('node.text','0');
  30151. Node250.a('node.textalign','left');
  30152. Node250.a('node.textvAlign','middle');
  30153. Node250.a('node.textrect', [Node250textStart, 0, Node250textWidth, Node250height]);
  30154. Node250.a('node.color','rgba(0,0,0,1)');
  30155. Node250.a('node.font',' '+ Node250fontSize + 'px "Arial"');
  30156. Node250.a('node.textvisible',true);
  30157. Node250.a('node.linefeed',false);
  30158. if (false) {
  30159. Node250.a('node.textfunc',function(g) {
  30160. g.beginPath();
  30161. var str=Node250.a('node.text') || '0';
  30162. var color=Node250.a('node.color') || 'rgba(0,0,0,1)';
  30163. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node250width,Node250height,13.3333*_ratio.ratioY,"left",color,' '+ Node250fontSize + 'px "Arial"', 0,g);
  30164. });
  30165. }
  30166. if (false) {
  30167. Node250.a('node.underlinepoints',[Node250lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node250fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node250fontSize + 'px "Arial"').width + 6, (Node250height - Node250fontSize) * 0.5*_ratio.ratioY + Node250fontSize + 2 ]);
  30168. Node250.a('node.underlinevisible',false);
  30169. Node250.a('node.underlineBorderWidth', 1);
  30170. }
  30171. dataModel.add(Node250);
  30172. zoomNodeList.push({
  30173. node: Node250,
  30174. borderWidth: 0,
  30175. attr: 'node.borderwidth'
  30176. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30177. var Node251 = new ht.Node();
  30178. var Node251textStart, Node251textWidth, Node251lineStart, Node251align = 'left', Node251fontSize = 13.3333*_ratio.ratioY,Node251width = 50*_ratio.ratioX, Node251height = 20*_ratio.ratioY;
  30179. (function () {
  30180. if (Node251align === 'left') {
  30181. Node251textStart = Node251fontSize * 0.2 > 2 ? Node251fontSize * 0.2 - 4 : Node251fontSize * 0.2 - 9;
  30182. Node251textWidth = Node251width;
  30183. Node251lineStart = 1;
  30184. } else if (Node251align === 'right') {
  30185. Node251textStart = 0;
  30186. Node251textWidth =Node251fontSize <= 8 ? Node251width + Node251fontSize * 0.2 + 6 : Node251width - Node251fontSize * 0.2;
  30187. Node251lineStart = (Node251width - (ht.Default.getTextSize('0', ' '+ Node251fontSize + 'px "Arial"').width + 6)) * 0.5;
  30188. } else if (Node251align === 'center') {
  30189. Node251textStart = -3;
  30190. Node251textWidth = Node251width;
  30191. Node251lineStart = Node251width - ht.Default.getTextSize('0', ' '+ Node251fontSize + 'px "Arial"').width - 11;
  30192. }
  30193. })();
  30194. Node251.setImage(GD.getTextJSON(Node251width, Node251height, true, false, false, ' '+ Node251fontSize + 'px "Arial"'))
  30195. Node251.setPosition(668*ratio.ratioX, 431*ratio.ratioY);
  30196. Node251.setWidth(Node251width);
  30197. Node251.setHeight(Node251height);
  30198. Node251._nodeType = 'text';
  30199. Node251._disallowEvert = true;
  30200. Node251.setRotation(0*Math.PI/180);
  30201. Node251.a('node.width', Node251width);
  30202. Node251.a('node.height', Node251height);
  30203. Node251.a('node.rect', [0, 0, Node251width, Node251height]);
  30204. Node251.a('node.bordercolor','rgba(0,0,0,1)');
  30205. Node251.a('node.borderwidth', 0);
  30206. Node251.a('node.background','' || 'rgba(0,0,0,0)');
  30207. Node251.a('node.gradient','');
  30208. Node251.a('node.gradientcolor','');
  30209. Node251.a('node.text','0');
  30210. Node251.a('node.textalign','left');
  30211. Node251.a('node.textvAlign','middle');
  30212. Node251.a('node.textrect', [Node251textStart, 0, Node251textWidth, Node251height]);
  30213. Node251.a('node.color','rgba(0,0,0,1)');
  30214. Node251.a('node.font',' '+ Node251fontSize + 'px "Arial"');
  30215. Node251.a('node.textvisible',true);
  30216. Node251.a('node.linefeed',false);
  30217. if (false) {
  30218. Node251.a('node.textfunc',function(g) {
  30219. g.beginPath();
  30220. var str=Node251.a('node.text') || '0';
  30221. var color=Node251.a('node.color') || 'rgba(0,0,0,1)';
  30222. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node251width,Node251height,13.3333*_ratio.ratioY,"left",color,' '+ Node251fontSize + 'px "Arial"', 0,g);
  30223. });
  30224. }
  30225. if (false) {
  30226. Node251.a('node.underlinepoints',[Node251lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node251fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node251fontSize + 'px "Arial"').width + 6, (Node251height - Node251fontSize) * 0.5*_ratio.ratioY + Node251fontSize + 2 ]);
  30227. Node251.a('node.underlinevisible',false);
  30228. Node251.a('node.underlineBorderWidth', 1);
  30229. }
  30230. dataModel.add(Node251);
  30231. zoomNodeList.push({
  30232. node: Node251,
  30233. borderWidth: 0,
  30234. attr: 'node.borderwidth'
  30235. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30236. var Node252 = new ht.Node();
  30237. var Node252textStart, Node252textWidth, Node252lineStart, Node252align = 'left', Node252fontSize = 13.3333*_ratio.ratioY,Node252width = 50*_ratio.ratioX, Node252height = 20*_ratio.ratioY;
  30238. (function () {
  30239. if (Node252align === 'left') {
  30240. Node252textStart = Node252fontSize * 0.2 > 2 ? Node252fontSize * 0.2 - 4 : Node252fontSize * 0.2 - 9;
  30241. Node252textWidth = Node252width;
  30242. Node252lineStart = 1;
  30243. } else if (Node252align === 'right') {
  30244. Node252textStart = 0;
  30245. Node252textWidth =Node252fontSize <= 8 ? Node252width + Node252fontSize * 0.2 + 6 : Node252width - Node252fontSize * 0.2;
  30246. Node252lineStart = (Node252width - (ht.Default.getTextSize('0', ' '+ Node252fontSize + 'px "Arial"').width + 6)) * 0.5;
  30247. } else if (Node252align === 'center') {
  30248. Node252textStart = -3;
  30249. Node252textWidth = Node252width;
  30250. Node252lineStart = Node252width - ht.Default.getTextSize('0', ' '+ Node252fontSize + 'px "Arial"').width - 11;
  30251. }
  30252. })();
  30253. Node252.setImage(GD.getTextJSON(Node252width, Node252height, true, false, false, ' '+ Node252fontSize + 'px "Arial"'))
  30254. Node252.setPosition(631*ratio.ratioX, 602*ratio.ratioY);
  30255. Node252.setWidth(Node252width);
  30256. Node252.setHeight(Node252height);
  30257. Node252._nodeType = 'text';
  30258. Node252._disallowEvert = true;
  30259. Node252.setRotation(0*Math.PI/180);
  30260. Node252.a('node.width', Node252width);
  30261. Node252.a('node.height', Node252height);
  30262. Node252.a('node.rect', [0, 0, Node252width, Node252height]);
  30263. Node252.a('node.bordercolor','rgba(0,0,0,1)');
  30264. Node252.a('node.borderwidth', 0);
  30265. Node252.a('node.background','' || 'rgba(0,0,0,0)');
  30266. Node252.a('node.gradient','');
  30267. Node252.a('node.gradientcolor','');
  30268. Node252.a('node.text','0');
  30269. Node252.a('node.textalign','left');
  30270. Node252.a('node.textvAlign','middle');
  30271. Node252.a('node.textrect', [Node252textStart, 0, Node252textWidth, Node252height]);
  30272. Node252.a('node.color','rgba(0,0,0,1)');
  30273. Node252.a('node.font',' '+ Node252fontSize + 'px "Arial"');
  30274. Node252.a('node.textvisible',true);
  30275. Node252.a('node.linefeed',false);
  30276. if (false) {
  30277. Node252.a('node.textfunc',function(g) {
  30278. g.beginPath();
  30279. var str=Node252.a('node.text') || '0';
  30280. var color=Node252.a('node.color') || 'rgba(0,0,0,1)';
  30281. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node252width,Node252height,13.3333*_ratio.ratioY,"left",color,' '+ Node252fontSize + 'px "Arial"', 0,g);
  30282. });
  30283. }
  30284. if (false) {
  30285. Node252.a('node.underlinepoints',[Node252lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node252fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node252fontSize + 'px "Arial"').width + 6, (Node252height - Node252fontSize) * 0.5*_ratio.ratioY + Node252fontSize + 2 ]);
  30286. Node252.a('node.underlinevisible',false);
  30287. Node252.a('node.underlineBorderWidth', 1);
  30288. }
  30289. dataModel.add(Node252);
  30290. zoomNodeList.push({
  30291. node: Node252,
  30292. borderWidth: 0,
  30293. attr: 'node.borderwidth'
  30294. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30295. var Node253 = new ht.Node();
  30296. var Node253textStart, Node253textWidth, Node253lineStart, Node253align = 'left', Node253fontSize = 13.3333*_ratio.ratioY,Node253width = 50*_ratio.ratioX, Node253height = 20*_ratio.ratioY;
  30297. (function () {
  30298. if (Node253align === 'left') {
  30299. Node253textStart = Node253fontSize * 0.2 > 2 ? Node253fontSize * 0.2 - 4 : Node253fontSize * 0.2 - 9;
  30300. Node253textWidth = Node253width;
  30301. Node253lineStart = 1;
  30302. } else if (Node253align === 'right') {
  30303. Node253textStart = 0;
  30304. Node253textWidth =Node253fontSize <= 8 ? Node253width + Node253fontSize * 0.2 + 6 : Node253width - Node253fontSize * 0.2;
  30305. Node253lineStart = (Node253width - (ht.Default.getTextSize('0', ' '+ Node253fontSize + 'px "Arial"').width + 6)) * 0.5;
  30306. } else if (Node253align === 'center') {
  30307. Node253textStart = -3;
  30308. Node253textWidth = Node253width;
  30309. Node253lineStart = Node253width - ht.Default.getTextSize('0', ' '+ Node253fontSize + 'px "Arial"').width - 11;
  30310. }
  30311. })();
  30312. Node253.setImage(GD.getTextJSON(Node253width, Node253height, true, false, false, ' '+ Node253fontSize + 'px "Arial"'))
  30313. Node253.setPosition(631*ratio.ratioX, 532*ratio.ratioY);
  30314. Node253.setWidth(Node253width);
  30315. Node253.setHeight(Node253height);
  30316. Node253._nodeType = 'text';
  30317. Node253._disallowEvert = true;
  30318. Node253.setRotation(0*Math.PI/180);
  30319. Node253.a('node.width', Node253width);
  30320. Node253.a('node.height', Node253height);
  30321. Node253.a('node.rect', [0, 0, Node253width, Node253height]);
  30322. Node253.a('node.bordercolor','rgba(0,0,0,1)');
  30323. Node253.a('node.borderwidth', 0);
  30324. Node253.a('node.background','' || 'rgba(0,0,0,0)');
  30325. Node253.a('node.gradient','');
  30326. Node253.a('node.gradientcolor','');
  30327. Node253.a('node.text','0');
  30328. Node253.a('node.textalign','left');
  30329. Node253.a('node.textvAlign','middle');
  30330. Node253.a('node.textrect', [Node253textStart, 0, Node253textWidth, Node253height]);
  30331. Node253.a('node.color','rgba(0,0,0,1)');
  30332. Node253.a('node.font',' '+ Node253fontSize + 'px "Arial"');
  30333. Node253.a('node.textvisible',true);
  30334. Node253.a('node.linefeed',false);
  30335. if (false) {
  30336. Node253.a('node.textfunc',function(g) {
  30337. g.beginPath();
  30338. var str=Node253.a('node.text') || '0';
  30339. var color=Node253.a('node.color') || 'rgba(0,0,0,1)';
  30340. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node253width,Node253height,13.3333*_ratio.ratioY,"left",color,' '+ Node253fontSize + 'px "Arial"', 0,g);
  30341. });
  30342. }
  30343. if (false) {
  30344. Node253.a('node.underlinepoints',[Node253lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node253fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node253fontSize + 'px "Arial"').width + 6, (Node253height - Node253fontSize) * 0.5*_ratio.ratioY + Node253fontSize + 2 ]);
  30345. Node253.a('node.underlinevisible',false);
  30346. Node253.a('node.underlineBorderWidth', 1);
  30347. }
  30348. dataModel.add(Node253);
  30349. zoomNodeList.push({
  30350. node: Node253,
  30351. borderWidth: 0,
  30352. attr: 'node.borderwidth'
  30353. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30354. var Node254 = new ht.Node();
  30355. var Node254textStart, Node254textWidth, Node254lineStart, Node254align = 'left', Node254fontSize = 13.3333*_ratio.ratioY,Node254width = 50*_ratio.ratioX, Node254height = 20*_ratio.ratioY;
  30356. (function () {
  30357. if (Node254align === 'left') {
  30358. Node254textStart = Node254fontSize * 0.2 > 2 ? Node254fontSize * 0.2 - 4 : Node254fontSize * 0.2 - 9;
  30359. Node254textWidth = Node254width;
  30360. Node254lineStart = 1;
  30361. } else if (Node254align === 'right') {
  30362. Node254textStart = 0;
  30363. Node254textWidth =Node254fontSize <= 8 ? Node254width + Node254fontSize * 0.2 + 6 : Node254width - Node254fontSize * 0.2;
  30364. Node254lineStart = (Node254width - (ht.Default.getTextSize('0', ' '+ Node254fontSize + 'px "Arial"').width + 6)) * 0.5;
  30365. } else if (Node254align === 'center') {
  30366. Node254textStart = -3;
  30367. Node254textWidth = Node254width;
  30368. Node254lineStart = Node254width - ht.Default.getTextSize('0', ' '+ Node254fontSize + 'px "Arial"').width - 11;
  30369. }
  30370. })();
  30371. Node254.setImage(GD.getTextJSON(Node254width, Node254height, true, false, false, ' '+ Node254fontSize + 'px "Arial"'))
  30372. Node254.setPosition(631*ratio.ratioX, 554*ratio.ratioY);
  30373. Node254.setWidth(Node254width);
  30374. Node254.setHeight(Node254height);
  30375. Node254._nodeType = 'text';
  30376. Node254._disallowEvert = true;
  30377. Node254.setRotation(0*Math.PI/180);
  30378. Node254.a('node.width', Node254width);
  30379. Node254.a('node.height', Node254height);
  30380. Node254.a('node.rect', [0, 0, Node254width, Node254height]);
  30381. Node254.a('node.bordercolor','rgba(0,0,0,1)');
  30382. Node254.a('node.borderwidth', 0);
  30383. Node254.a('node.background','' || 'rgba(0,0,0,0)');
  30384. Node254.a('node.gradient','');
  30385. Node254.a('node.gradientcolor','');
  30386. Node254.a('node.text','0');
  30387. Node254.a('node.textalign','left');
  30388. Node254.a('node.textvAlign','middle');
  30389. Node254.a('node.textrect', [Node254textStart, 0, Node254textWidth, Node254height]);
  30390. Node254.a('node.color','rgba(0,0,0,1)');
  30391. Node254.a('node.font',' '+ Node254fontSize + 'px "Arial"');
  30392. Node254.a('node.textvisible',true);
  30393. Node254.a('node.linefeed',false);
  30394. if (false) {
  30395. Node254.a('node.textfunc',function(g) {
  30396. g.beginPath();
  30397. var str=Node254.a('node.text') || '0';
  30398. var color=Node254.a('node.color') || 'rgba(0,0,0,1)';
  30399. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node254width,Node254height,13.3333*_ratio.ratioY,"left",color,' '+ Node254fontSize + 'px "Arial"', 0,g);
  30400. });
  30401. }
  30402. if (false) {
  30403. Node254.a('node.underlinepoints',[Node254lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node254fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node254fontSize + 'px "Arial"').width + 6, (Node254height - Node254fontSize) * 0.5*_ratio.ratioY + Node254fontSize + 2 ]);
  30404. Node254.a('node.underlinevisible',false);
  30405. Node254.a('node.underlineBorderWidth', 1);
  30406. }
  30407. dataModel.add(Node254);
  30408. zoomNodeList.push({
  30409. node: Node254,
  30410. borderWidth: 0,
  30411. attr: 'node.borderwidth'
  30412. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30413. var Node255 = new ht.Node();
  30414. var Node255textStart, Node255textWidth, Node255lineStart, Node255align = 'left', Node255fontSize = 13.3333*_ratio.ratioY,Node255width = 50*_ratio.ratioX, Node255height = 20*_ratio.ratioY;
  30415. (function () {
  30416. if (Node255align === 'left') {
  30417. Node255textStart = Node255fontSize * 0.2 > 2 ? Node255fontSize * 0.2 - 4 : Node255fontSize * 0.2 - 9;
  30418. Node255textWidth = Node255width;
  30419. Node255lineStart = 1;
  30420. } else if (Node255align === 'right') {
  30421. Node255textStart = 0;
  30422. Node255textWidth =Node255fontSize <= 8 ? Node255width + Node255fontSize * 0.2 + 6 : Node255width - Node255fontSize * 0.2;
  30423. Node255lineStart = (Node255width - (ht.Default.getTextSize('0', ' '+ Node255fontSize + 'px "Arial"').width + 6)) * 0.5;
  30424. } else if (Node255align === 'center') {
  30425. Node255textStart = -3;
  30426. Node255textWidth = Node255width;
  30427. Node255lineStart = Node255width - ht.Default.getTextSize('0', ' '+ Node255fontSize + 'px "Arial"').width - 11;
  30428. }
  30429. })();
  30430. Node255.setImage(GD.getTextJSON(Node255width, Node255height, true, false, false, ' '+ Node255fontSize + 'px "Arial"'))
  30431. Node255.setPosition(631*ratio.ratioX, 579*ratio.ratioY);
  30432. Node255.setWidth(Node255width);
  30433. Node255.setHeight(Node255height);
  30434. Node255._nodeType = 'text';
  30435. Node255._disallowEvert = true;
  30436. Node255.setRotation(0*Math.PI/180);
  30437. Node255.a('node.width', Node255width);
  30438. Node255.a('node.height', Node255height);
  30439. Node255.a('node.rect', [0, 0, Node255width, Node255height]);
  30440. Node255.a('node.bordercolor','rgba(0,0,0,1)');
  30441. Node255.a('node.borderwidth', 0);
  30442. Node255.a('node.background','' || 'rgba(0,0,0,0)');
  30443. Node255.a('node.gradient','');
  30444. Node255.a('node.gradientcolor','');
  30445. Node255.a('node.text','0');
  30446. Node255.a('node.textalign','left');
  30447. Node255.a('node.textvAlign','middle');
  30448. Node255.a('node.textrect', [Node255textStart, 0, Node255textWidth, Node255height]);
  30449. Node255.a('node.color','rgba(0,0,0,1)');
  30450. Node255.a('node.font',' '+ Node255fontSize + 'px "Arial"');
  30451. Node255.a('node.textvisible',true);
  30452. Node255.a('node.linefeed',false);
  30453. if (false) {
  30454. Node255.a('node.textfunc',function(g) {
  30455. g.beginPath();
  30456. var str=Node255.a('node.text') || '0';
  30457. var color=Node255.a('node.color') || 'rgba(0,0,0,1)';
  30458. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node255width,Node255height,13.3333*_ratio.ratioY,"left",color,' '+ Node255fontSize + 'px "Arial"', 0,g);
  30459. });
  30460. }
  30461. if (false) {
  30462. Node255.a('node.underlinepoints',[Node255lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node255fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node255fontSize + 'px "Arial"').width + 6, (Node255height - Node255fontSize) * 0.5*_ratio.ratioY + Node255fontSize + 2 ]);
  30463. Node255.a('node.underlinevisible',false);
  30464. Node255.a('node.underlineBorderWidth', 1);
  30465. }
  30466. dataModel.add(Node255);
  30467. zoomNodeList.push({
  30468. node: Node255,
  30469. borderWidth: 0,
  30470. attr: 'node.borderwidth'
  30471. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30472. var Node256 = new ht.Node();
  30473. var Node256textStart, Node256textWidth, Node256lineStart, Node256align = 'left', Node256fontSize = 13.3333*_ratio.ratioY,Node256width = 50*_ratio.ratioX, Node256height = 20*_ratio.ratioY;
  30474. (function () {
  30475. if (Node256align === 'left') {
  30476. Node256textStart = Node256fontSize * 0.2 > 2 ? Node256fontSize * 0.2 - 4 : Node256fontSize * 0.2 - 9;
  30477. Node256textWidth = Node256width;
  30478. Node256lineStart = 1;
  30479. } else if (Node256align === 'right') {
  30480. Node256textStart = 0;
  30481. Node256textWidth =Node256fontSize <= 8 ? Node256width + Node256fontSize * 0.2 + 6 : Node256width - Node256fontSize * 0.2;
  30482. Node256lineStart = (Node256width - (ht.Default.getTextSize('0', ' '+ Node256fontSize + 'px "Arial"').width + 6)) * 0.5;
  30483. } else if (Node256align === 'center') {
  30484. Node256textStart = -3;
  30485. Node256textWidth = Node256width;
  30486. Node256lineStart = Node256width - ht.Default.getTextSize('0', ' '+ Node256fontSize + 'px "Arial"').width - 11;
  30487. }
  30488. })();
  30489. Node256.setImage(GD.getTextJSON(Node256width, Node256height, true, false, false, ' '+ Node256fontSize + 'px "Arial"'))
  30490. Node256.setPosition(1235*ratio.ratioX, 607*ratio.ratioY);
  30491. Node256.setWidth(Node256width);
  30492. Node256.setHeight(Node256height);
  30493. Node256._nodeType = 'text';
  30494. Node256._disallowEvert = true;
  30495. Node256.setRotation(0*Math.PI/180);
  30496. Node256.a('node.width', Node256width);
  30497. Node256.a('node.height', Node256height);
  30498. Node256.a('node.rect', [0, 0, Node256width, Node256height]);
  30499. Node256.a('node.bordercolor','rgba(0,0,0,1)');
  30500. Node256.a('node.borderwidth', 0);
  30501. Node256.a('node.background','' || 'rgba(0,0,0,0)');
  30502. Node256.a('node.gradient','');
  30503. Node256.a('node.gradientcolor','');
  30504. Node256.a('node.text','0');
  30505. Node256.a('node.textalign','left');
  30506. Node256.a('node.textvAlign','middle');
  30507. Node256.a('node.textrect', [Node256textStart, 0, Node256textWidth, Node256height]);
  30508. Node256.a('node.color','rgba(0,0,0,1)');
  30509. Node256.a('node.font',' '+ Node256fontSize + 'px "Arial"');
  30510. Node256.a('node.textvisible',true);
  30511. Node256.a('node.linefeed',false);
  30512. if (false) {
  30513. Node256.a('node.textfunc',function(g) {
  30514. g.beginPath();
  30515. var str=Node256.a('node.text') || '0';
  30516. var color=Node256.a('node.color') || 'rgba(0,0,0,1)';
  30517. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node256width,Node256height,13.3333*_ratio.ratioY,"left",color,' '+ Node256fontSize + 'px "Arial"', 0,g);
  30518. });
  30519. }
  30520. if (false) {
  30521. Node256.a('node.underlinepoints',[Node256lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node256fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node256fontSize + 'px "Arial"').width + 6, (Node256height - Node256fontSize) * 0.5*_ratio.ratioY + Node256fontSize + 2 ]);
  30522. Node256.a('node.underlinevisible',false);
  30523. Node256.a('node.underlineBorderWidth', 1);
  30524. }
  30525. dataModel.add(Node256);
  30526. zoomNodeList.push({
  30527. node: Node256,
  30528. borderWidth: 0,
  30529. attr: 'node.borderwidth'
  30530. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30531. var Node257 = new ht.Node();
  30532. var Node257textStart, Node257textWidth, Node257lineStart, Node257align = 'left', Node257fontSize = 13.3333*_ratio.ratioY,Node257width = 50*_ratio.ratioX, Node257height = 20*_ratio.ratioY;
  30533. (function () {
  30534. if (Node257align === 'left') {
  30535. Node257textStart = Node257fontSize * 0.2 > 2 ? Node257fontSize * 0.2 - 4 : Node257fontSize * 0.2 - 9;
  30536. Node257textWidth = Node257width;
  30537. Node257lineStart = 1;
  30538. } else if (Node257align === 'right') {
  30539. Node257textStart = 0;
  30540. Node257textWidth =Node257fontSize <= 8 ? Node257width + Node257fontSize * 0.2 + 6 : Node257width - Node257fontSize * 0.2;
  30541. Node257lineStart = (Node257width - (ht.Default.getTextSize('0', ' '+ Node257fontSize + 'px "Arial"').width + 6)) * 0.5;
  30542. } else if (Node257align === 'center') {
  30543. Node257textStart = -3;
  30544. Node257textWidth = Node257width;
  30545. Node257lineStart = Node257width - ht.Default.getTextSize('0', ' '+ Node257fontSize + 'px "Arial"').width - 11;
  30546. }
  30547. })();
  30548. Node257.setImage(GD.getTextJSON(Node257width, Node257height, true, false, false, ' '+ Node257fontSize + 'px "Arial"'))
  30549. Node257.setPosition(1235*ratio.ratioX, 537*ratio.ratioY);
  30550. Node257.setWidth(Node257width);
  30551. Node257.setHeight(Node257height);
  30552. Node257._nodeType = 'text';
  30553. Node257._disallowEvert = true;
  30554. Node257.setRotation(0*Math.PI/180);
  30555. Node257.a('node.width', Node257width);
  30556. Node257.a('node.height', Node257height);
  30557. Node257.a('node.rect', [0, 0, Node257width, Node257height]);
  30558. Node257.a('node.bordercolor','rgba(0,0,0,1)');
  30559. Node257.a('node.borderwidth', 0);
  30560. Node257.a('node.background','' || 'rgba(0,0,0,0)');
  30561. Node257.a('node.gradient','');
  30562. Node257.a('node.gradientcolor','');
  30563. Node257.a('node.text','0');
  30564. Node257.a('node.textalign','left');
  30565. Node257.a('node.textvAlign','middle');
  30566. Node257.a('node.textrect', [Node257textStart, 0, Node257textWidth, Node257height]);
  30567. Node257.a('node.color','rgba(0,0,0,1)');
  30568. Node257.a('node.font',' '+ Node257fontSize + 'px "Arial"');
  30569. Node257.a('node.textvisible',true);
  30570. Node257.a('node.linefeed',false);
  30571. if (false) {
  30572. Node257.a('node.textfunc',function(g) {
  30573. g.beginPath();
  30574. var str=Node257.a('node.text') || '0';
  30575. var color=Node257.a('node.color') || 'rgba(0,0,0,1)';
  30576. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node257width,Node257height,13.3333*_ratio.ratioY,"left",color,' '+ Node257fontSize + 'px "Arial"', 0,g);
  30577. });
  30578. }
  30579. if (false) {
  30580. Node257.a('node.underlinepoints',[Node257lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node257fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node257fontSize + 'px "Arial"').width + 6, (Node257height - Node257fontSize) * 0.5*_ratio.ratioY + Node257fontSize + 2 ]);
  30581. Node257.a('node.underlinevisible',false);
  30582. Node257.a('node.underlineBorderWidth', 1);
  30583. }
  30584. dataModel.add(Node257);
  30585. zoomNodeList.push({
  30586. node: Node257,
  30587. borderWidth: 0,
  30588. attr: 'node.borderwidth'
  30589. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30590. var Node258 = new ht.Node();
  30591. var Node258textStart, Node258textWidth, Node258lineStart, Node258align = 'left', Node258fontSize = 13.3333*_ratio.ratioY,Node258width = 50*_ratio.ratioX, Node258height = 20*_ratio.ratioY;
  30592. (function () {
  30593. if (Node258align === 'left') {
  30594. Node258textStart = Node258fontSize * 0.2 > 2 ? Node258fontSize * 0.2 - 4 : Node258fontSize * 0.2 - 9;
  30595. Node258textWidth = Node258width;
  30596. Node258lineStart = 1;
  30597. } else if (Node258align === 'right') {
  30598. Node258textStart = 0;
  30599. Node258textWidth =Node258fontSize <= 8 ? Node258width + Node258fontSize * 0.2 + 6 : Node258width - Node258fontSize * 0.2;
  30600. Node258lineStart = (Node258width - (ht.Default.getTextSize('0', ' '+ Node258fontSize + 'px "Arial"').width + 6)) * 0.5;
  30601. } else if (Node258align === 'center') {
  30602. Node258textStart = -3;
  30603. Node258textWidth = Node258width;
  30604. Node258lineStart = Node258width - ht.Default.getTextSize('0', ' '+ Node258fontSize + 'px "Arial"').width - 11;
  30605. }
  30606. })();
  30607. Node258.setImage(GD.getTextJSON(Node258width, Node258height, true, false, false, ' '+ Node258fontSize + 'px "Arial"'))
  30608. Node258.setPosition(1235*ratio.ratioX, 559*ratio.ratioY);
  30609. Node258.setWidth(Node258width);
  30610. Node258.setHeight(Node258height);
  30611. Node258._nodeType = 'text';
  30612. Node258._disallowEvert = true;
  30613. Node258.setRotation(0*Math.PI/180);
  30614. Node258.a('node.width', Node258width);
  30615. Node258.a('node.height', Node258height);
  30616. Node258.a('node.rect', [0, 0, Node258width, Node258height]);
  30617. Node258.a('node.bordercolor','rgba(0,0,0,1)');
  30618. Node258.a('node.borderwidth', 0);
  30619. Node258.a('node.background','' || 'rgba(0,0,0,0)');
  30620. Node258.a('node.gradient','');
  30621. Node258.a('node.gradientcolor','');
  30622. Node258.a('node.text','0');
  30623. Node258.a('node.textalign','left');
  30624. Node258.a('node.textvAlign','middle');
  30625. Node258.a('node.textrect', [Node258textStart, 0, Node258textWidth, Node258height]);
  30626. Node258.a('node.color','rgba(0,0,0,1)');
  30627. Node258.a('node.font',' '+ Node258fontSize + 'px "Arial"');
  30628. Node258.a('node.textvisible',true);
  30629. Node258.a('node.linefeed',false);
  30630. if (false) {
  30631. Node258.a('node.textfunc',function(g) {
  30632. g.beginPath();
  30633. var str=Node258.a('node.text') || '0';
  30634. var color=Node258.a('node.color') || 'rgba(0,0,0,1)';
  30635. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node258width,Node258height,13.3333*_ratio.ratioY,"left",color,' '+ Node258fontSize + 'px "Arial"', 0,g);
  30636. });
  30637. }
  30638. if (false) {
  30639. Node258.a('node.underlinepoints',[Node258lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node258fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node258fontSize + 'px "Arial"').width + 6, (Node258height - Node258fontSize) * 0.5*_ratio.ratioY + Node258fontSize + 2 ]);
  30640. Node258.a('node.underlinevisible',false);
  30641. Node258.a('node.underlineBorderWidth', 1);
  30642. }
  30643. dataModel.add(Node258);
  30644. zoomNodeList.push({
  30645. node: Node258,
  30646. borderWidth: 0,
  30647. attr: 'node.borderwidth'
  30648. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30649. var Node259 = new ht.Node();
  30650. var Node259textStart, Node259textWidth, Node259lineStart, Node259align = 'left', Node259fontSize = 13.3333*_ratio.ratioY,Node259width = 50*_ratio.ratioX, Node259height = 20*_ratio.ratioY;
  30651. (function () {
  30652. if (Node259align === 'left') {
  30653. Node259textStart = Node259fontSize * 0.2 > 2 ? Node259fontSize * 0.2 - 4 : Node259fontSize * 0.2 - 9;
  30654. Node259textWidth = Node259width;
  30655. Node259lineStart = 1;
  30656. } else if (Node259align === 'right') {
  30657. Node259textStart = 0;
  30658. Node259textWidth =Node259fontSize <= 8 ? Node259width + Node259fontSize * 0.2 + 6 : Node259width - Node259fontSize * 0.2;
  30659. Node259lineStart = (Node259width - (ht.Default.getTextSize('0', ' '+ Node259fontSize + 'px "Arial"').width + 6)) * 0.5;
  30660. } else if (Node259align === 'center') {
  30661. Node259textStart = -3;
  30662. Node259textWidth = Node259width;
  30663. Node259lineStart = Node259width - ht.Default.getTextSize('0', ' '+ Node259fontSize + 'px "Arial"').width - 11;
  30664. }
  30665. })();
  30666. Node259.setImage(GD.getTextJSON(Node259width, Node259height, true, false, false, ' '+ Node259fontSize + 'px "Arial"'))
  30667. Node259.setPosition(1235*ratio.ratioX, 583*ratio.ratioY);
  30668. Node259.setWidth(Node259width);
  30669. Node259.setHeight(Node259height);
  30670. Node259._nodeType = 'text';
  30671. Node259._disallowEvert = true;
  30672. Node259.setRotation(0*Math.PI/180);
  30673. Node259.a('node.width', Node259width);
  30674. Node259.a('node.height', Node259height);
  30675. Node259.a('node.rect', [0, 0, Node259width, Node259height]);
  30676. Node259.a('node.bordercolor','rgba(0,0,0,1)');
  30677. Node259.a('node.borderwidth', 0);
  30678. Node259.a('node.background','' || 'rgba(0,0,0,0)');
  30679. Node259.a('node.gradient','');
  30680. Node259.a('node.gradientcolor','');
  30681. Node259.a('node.text','0');
  30682. Node259.a('node.textalign','left');
  30683. Node259.a('node.textvAlign','middle');
  30684. Node259.a('node.textrect', [Node259textStart, 0, Node259textWidth, Node259height]);
  30685. Node259.a('node.color','rgba(0,0,0,1)');
  30686. Node259.a('node.font',' '+ Node259fontSize + 'px "Arial"');
  30687. Node259.a('node.textvisible',true);
  30688. Node259.a('node.linefeed',false);
  30689. if (false) {
  30690. Node259.a('node.textfunc',function(g) {
  30691. g.beginPath();
  30692. var str=Node259.a('node.text') || '0';
  30693. var color=Node259.a('node.color') || 'rgba(0,0,0,1)';
  30694. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259width,Node259height,13.3333*_ratio.ratioY,"left",color,' '+ Node259fontSize + 'px "Arial"', 0,g);
  30695. });
  30696. }
  30697. if (false) {
  30698. Node259.a('node.underlinepoints',[Node259lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node259fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node259fontSize + 'px "Arial"').width + 6, (Node259height - Node259fontSize) * 0.5*_ratio.ratioY + Node259fontSize + 2 ]);
  30699. Node259.a('node.underlinevisible',false);
  30700. Node259.a('node.underlineBorderWidth', 1);
  30701. }
  30702. dataModel.add(Node259);
  30703. zoomNodeList.push({
  30704. node: Node259,
  30705. borderWidth: 0,
  30706. attr: 'node.borderwidth'
  30707. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30708. var Node260 = new ht.Node();
  30709. var Node260textStart, Node260textWidth, Node260lineStart, Node260align = 'left', Node260fontSize = 13.3333*_ratio.ratioY,Node260width = 64*_ratio.ratioX, Node260height = 23*_ratio.ratioY;
  30710. (function () {
  30711. if (Node260align === 'left') {
  30712. Node260textStart = Node260fontSize * 0.2 > 2 ? Node260fontSize * 0.2 - 4 : Node260fontSize * 0.2 - 9;
  30713. Node260textWidth = Node260width;
  30714. Node260lineStart = 1;
  30715. } else if (Node260align === 'right') {
  30716. Node260textStart = 0;
  30717. Node260textWidth =Node260fontSize <= 8 ? Node260width + Node260fontSize * 0.2 + 6 : Node260width - Node260fontSize * 0.2;
  30718. Node260lineStart = (Node260width - (ht.Default.getTextSize('Uc :', ' '+ Node260fontSize + 'px "Arial"').width + 6)) * 0.5;
  30719. } else if (Node260align === 'center') {
  30720. Node260textStart = -3;
  30721. Node260textWidth = Node260width;
  30722. Node260lineStart = Node260width - ht.Default.getTextSize('Uc :', ' '+ Node260fontSize + 'px "Arial"').width - 11;
  30723. }
  30724. })();
  30725. Node260.setImage(GD.getTextJSON(Node260width, Node260height, true, false, false, ' '+ Node260fontSize + 'px "Arial"'))
  30726. Node260.setPosition(211*ratio.ratioX, 258*ratio.ratioY);
  30727. Node260.setWidth(Node260width);
  30728. Node260.setHeight(Node260height);
  30729. Node260._nodeType = 'text';
  30730. Node260._disallowEvert = true;
  30731. Node260.setRotation(0*Math.PI/180);
  30732. Node260.a('node.width', Node260width);
  30733. Node260.a('node.height', Node260height);
  30734. Node260.a('node.rect', [0, 0, Node260width, Node260height]);
  30735. Node260.a('node.bordercolor','rgba(0,0,0,1)');
  30736. Node260.a('node.borderwidth', 0);
  30737. Node260.a('node.background','' || 'rgba(0,0,0,0)');
  30738. Node260.a('node.gradient','');
  30739. Node260.a('node.gradientcolor','');
  30740. Node260.a('node.text','Uc :');
  30741. Node260.a('node.textalign','left');
  30742. Node260.a('node.textvAlign','middle');
  30743. Node260.a('node.textrect', [Node260textStart, 0, Node260textWidth, Node260height]);
  30744. Node260.a('node.color','rgba(0,0,0,1)');
  30745. Node260.a('node.font',' '+ Node260fontSize + 'px "Arial"');
  30746. Node260.a('node.textvisible',true);
  30747. Node260.a('node.linefeed',false);
  30748. if (false) {
  30749. Node260.a('node.textfunc',function(g) {
  30750. g.beginPath();
  30751. var str=Node260.a('node.text') || 'Uc :';
  30752. var color=Node260.a('node.color') || 'rgba(0,0,0,1)';
  30753. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260width,Node260height,13.3333*_ratio.ratioY,"left",color,' '+ Node260fontSize + 'px "Arial"', 0,g);
  30754. });
  30755. }
  30756. if (false) {
  30757. Node260.a('node.underlinepoints',[Node260lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node260fontSize + 2 , ht.Default.getTextSize('Uc :', ' '+ Node260fontSize + 'px "Arial"').width + 6, (Node260height - Node260fontSize) * 0.5*_ratio.ratioY + Node260fontSize + 2 ]);
  30758. Node260.a('node.underlinevisible',false);
  30759. Node260.a('node.underlineBorderWidth', 1);
  30760. }
  30761. dataModel.add(Node260);
  30762. zoomNodeList.push({
  30763. node: Node260,
  30764. borderWidth: 0,
  30765. attr: 'node.borderwidth'
  30766. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30767. var Node261 = new ht.Node();
  30768. var Node261textStart, Node261textWidth, Node261lineStart, Node261align = 'left', Node261fontSize = 13.3333*_ratio.ratioY,Node261width = 50*_ratio.ratioX, Node261height = 20*_ratio.ratioY;
  30769. (function () {
  30770. if (Node261align === 'left') {
  30771. Node261textStart = Node261fontSize * 0.2 > 2 ? Node261fontSize * 0.2 - 4 : Node261fontSize * 0.2 - 9;
  30772. Node261textWidth = Node261width;
  30773. Node261lineStart = 1;
  30774. } else if (Node261align === 'right') {
  30775. Node261textStart = 0;
  30776. Node261textWidth =Node261fontSize <= 8 ? Node261width + Node261fontSize * 0.2 + 6 : Node261width - Node261fontSize * 0.2;
  30777. Node261lineStart = (Node261width - (ht.Default.getTextSize('0', ' '+ Node261fontSize + 'px "Arial"').width + 6)) * 0.5;
  30778. } else if (Node261align === 'center') {
  30779. Node261textStart = -3;
  30780. Node261textWidth = Node261width;
  30781. Node261lineStart = Node261width - ht.Default.getTextSize('0', ' '+ Node261fontSize + 'px "Arial"').width - 11;
  30782. }
  30783. })();
  30784. Node261.setImage(GD.getTextJSON(Node261width, Node261height, true, false, false, ' '+ Node261fontSize + 'px "Arial"'))
  30785. Node261.setPosition(241*ratio.ratioX, 258*ratio.ratioY);
  30786. Node261.setWidth(Node261width);
  30787. Node261.setHeight(Node261height);
  30788. Node261._nodeType = 'text';
  30789. Node261._disallowEvert = true;
  30790. Node261.setRotation(0*Math.PI/180);
  30791. Node261.a('node.width', Node261width);
  30792. Node261.a('node.height', Node261height);
  30793. Node261.a('node.rect', [0, 0, Node261width, Node261height]);
  30794. Node261.a('node.bordercolor','rgba(0,0,0,1)');
  30795. Node261.a('node.borderwidth', 0);
  30796. Node261.a('node.background','' || 'rgba(0,0,0,0)');
  30797. Node261.a('node.gradient','');
  30798. Node261.a('node.gradientcolor','');
  30799. Node261.a('node.text','0');
  30800. Node261.a('node.textalign','left');
  30801. Node261.a('node.textvAlign','middle');
  30802. Node261.a('node.textrect', [Node261textStart, 0, Node261textWidth, Node261height]);
  30803. Node261.a('node.color','rgba(0,0,0,1)');
  30804. Node261.a('node.font',' '+ Node261fontSize + 'px "Arial"');
  30805. Node261.a('node.textvisible',true);
  30806. Node261.a('node.linefeed',false);
  30807. if (false) {
  30808. Node261.a('node.textfunc',function(g) {
  30809. g.beginPath();
  30810. var str=Node261.a('node.text') || '0';
  30811. var color=Node261.a('node.color') || 'rgba(0,0,0,1)';
  30812. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261width,Node261height,13.3333*_ratio.ratioY,"left",color,' '+ Node261fontSize + 'px "Arial"', 0,g);
  30813. });
  30814. }
  30815. if (false) {
  30816. Node261.a('node.underlinepoints',[Node261lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node261fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node261fontSize + 'px "Arial"').width + 6, (Node261height - Node261fontSize) * 0.5*_ratio.ratioY + Node261fontSize + 2 ]);
  30817. Node261.a('node.underlinevisible',false);
  30818. Node261.a('node.underlineBorderWidth', 1);
  30819. }
  30820. dataModel.add(Node261);
  30821. zoomNodeList.push({
  30822. node: Node261,
  30823. borderWidth: 0,
  30824. attr: 'node.borderwidth'
  30825. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30826. var Node262 = new ht.Node();
  30827. var Node262textStart, Node262textWidth, Node262lineStart, Node262align = 'left', Node262fontSize = 13.3333*_ratio.ratioY,Node262width = 32*_ratio.ratioX, Node262height = 23*_ratio.ratioY;
  30828. (function () {
  30829. if (Node262align === 'left') {
  30830. Node262textStart = Node262fontSize * 0.2 > 2 ? Node262fontSize * 0.2 - 4 : Node262fontSize * 0.2 - 9;
  30831. Node262textWidth = Node262width;
  30832. Node262lineStart = 1;
  30833. } else if (Node262align === 'right') {
  30834. Node262textStart = 0;
  30835. Node262textWidth =Node262fontSize <= 8 ? Node262width + Node262fontSize * 0.2 + 6 : Node262width - Node262fontSize * 0.2;
  30836. Node262lineStart = (Node262width - (ht.Default.getTextSize('Ua :', ' '+ Node262fontSize + 'px "Arial"').width + 6)) * 0.5;
  30837. } else if (Node262align === 'center') {
  30838. Node262textStart = -3;
  30839. Node262textWidth = Node262width;
  30840. Node262lineStart = Node262width - ht.Default.getTextSize('Ua :', ' '+ Node262fontSize + 'px "Arial"').width - 11;
  30841. }
  30842. })();
  30843. Node262.setImage(GD.getTextJSON(Node262width, Node262height, true, false, false, ' '+ Node262fontSize + 'px "Arial"'))
  30844. Node262.setPosition(189*ratio.ratioX, 451*ratio.ratioY);
  30845. Node262.setWidth(Node262width);
  30846. Node262.setHeight(Node262height);
  30847. Node262._nodeType = 'text';
  30848. Node262._disallowEvert = true;
  30849. Node262.setRotation(0*Math.PI/180);
  30850. Node262.a('node.width', Node262width);
  30851. Node262.a('node.height', Node262height);
  30852. Node262.a('node.rect', [0, 0, Node262width, Node262height]);
  30853. Node262.a('node.bordercolor','rgba(0,0,0,1)');
  30854. Node262.a('node.borderwidth', 0);
  30855. Node262.a('node.background','' || 'rgba(0,0,0,0)');
  30856. Node262.a('node.gradient','');
  30857. Node262.a('node.gradientcolor','');
  30858. Node262.a('node.text','Ua :');
  30859. Node262.a('node.textalign','left');
  30860. Node262.a('node.textvAlign','middle');
  30861. Node262.a('node.textrect', [Node262textStart, 0, Node262textWidth, Node262height]);
  30862. Node262.a('node.color','rgba(0,0,0,1)');
  30863. Node262.a('node.font',' '+ Node262fontSize + 'px "Arial"');
  30864. Node262.a('node.textvisible',true);
  30865. Node262.a('node.linefeed',false);
  30866. if (false) {
  30867. Node262.a('node.textfunc',function(g) {
  30868. g.beginPath();
  30869. var str=Node262.a('node.text') || 'Ua :';
  30870. var color=Node262.a('node.color') || 'rgba(0,0,0,1)';
  30871. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node262width,Node262height,13.3333*_ratio.ratioY,"left",color,' '+ Node262fontSize + 'px "Arial"', 0,g);
  30872. });
  30873. }
  30874. if (false) {
  30875. Node262.a('node.underlinepoints',[Node262lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node262fontSize + 2 , ht.Default.getTextSize('Ua :', ' '+ Node262fontSize + 'px "Arial"').width + 6, (Node262height - Node262fontSize) * 0.5*_ratio.ratioY + Node262fontSize + 2 ]);
  30876. Node262.a('node.underlinevisible',false);
  30877. Node262.a('node.underlineBorderWidth', 1);
  30878. }
  30879. dataModel.add(Node262);
  30880. zoomNodeList.push({
  30881. node: Node262,
  30882. borderWidth: 0,
  30883. attr: 'node.borderwidth'
  30884. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30885. var Node263 = new ht.Node();
  30886. var Node263textStart, Node263textWidth, Node263lineStart, Node263align = 'left', Node263fontSize = 13.3333*_ratio.ratioY,Node263width = 31*_ratio.ratioX, Node263height = 23*_ratio.ratioY;
  30887. (function () {
  30888. if (Node263align === 'left') {
  30889. Node263textStart = Node263fontSize * 0.2 > 2 ? Node263fontSize * 0.2 - 4 : Node263fontSize * 0.2 - 9;
  30890. Node263textWidth = Node263width;
  30891. Node263lineStart = 1;
  30892. } else if (Node263align === 'right') {
  30893. Node263textStart = 0;
  30894. Node263textWidth =Node263fontSize <= 8 ? Node263width + Node263fontSize * 0.2 + 6 : Node263width - Node263fontSize * 0.2;
  30895. Node263lineStart = (Node263width - (ht.Default.getTextSize('Ub :', ' '+ Node263fontSize + 'px "Arial"').width + 6)) * 0.5;
  30896. } else if (Node263align === 'center') {
  30897. Node263textStart = -3;
  30898. Node263textWidth = Node263width;
  30899. Node263lineStart = Node263width - ht.Default.getTextSize('Ub :', ' '+ Node263fontSize + 'px "Arial"').width - 11;
  30900. }
  30901. })();
  30902. Node263.setImage(GD.getTextJSON(Node263width, Node263height, true, false, false, ' '+ Node263fontSize + 'px "Arial"'))
  30903. Node263.setPosition(190*ratio.ratioX, 474*ratio.ratioY);
  30904. Node263.setWidth(Node263width);
  30905. Node263.setHeight(Node263height);
  30906. Node263._nodeType = 'text';
  30907. Node263._disallowEvert = true;
  30908. Node263.setRotation(0*Math.PI/180);
  30909. Node263.a('node.width', Node263width);
  30910. Node263.a('node.height', Node263height);
  30911. Node263.a('node.rect', [0, 0, Node263width, Node263height]);
  30912. Node263.a('node.bordercolor','rgba(0,0,0,1)');
  30913. Node263.a('node.borderwidth', 0);
  30914. Node263.a('node.background','' || 'rgba(0,0,0,0)');
  30915. Node263.a('node.gradient','');
  30916. Node263.a('node.gradientcolor','');
  30917. Node263.a('node.text','Ub :');
  30918. Node263.a('node.textalign','left');
  30919. Node263.a('node.textvAlign','middle');
  30920. Node263.a('node.textrect', [Node263textStart, 0, Node263textWidth, Node263height]);
  30921. Node263.a('node.color','rgba(0,0,0,1)');
  30922. Node263.a('node.font',' '+ Node263fontSize + 'px "Arial"');
  30923. Node263.a('node.textvisible',true);
  30924. Node263.a('node.linefeed',false);
  30925. if (false) {
  30926. Node263.a('node.textfunc',function(g) {
  30927. g.beginPath();
  30928. var str=Node263.a('node.text') || 'Ub :';
  30929. var color=Node263.a('node.color') || 'rgba(0,0,0,1)';
  30930. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node263width,Node263height,13.3333*_ratio.ratioY,"left",color,' '+ Node263fontSize + 'px "Arial"', 0,g);
  30931. });
  30932. }
  30933. if (false) {
  30934. Node263.a('node.underlinepoints',[Node263lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node263fontSize + 2 , ht.Default.getTextSize('Ub :', ' '+ Node263fontSize + 'px "Arial"').width + 6, (Node263height - Node263fontSize) * 0.5*_ratio.ratioY + Node263fontSize + 2 ]);
  30935. Node263.a('node.underlinevisible',false);
  30936. Node263.a('node.underlineBorderWidth', 1);
  30937. }
  30938. dataModel.add(Node263);
  30939. zoomNodeList.push({
  30940. node: Node263,
  30941. borderWidth: 0,
  30942. attr: 'node.borderwidth'
  30943. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  30944. var Node264 = new ht.Node();
  30945. var Node264textStart, Node264textWidth, Node264lineStart, Node264align = 'left', Node264fontSize = 13.3333*_ratio.ratioY,Node264width = 39*_ratio.ratioX, Node264height = 23*_ratio.ratioY;
  30946. (function () {
  30947. if (Node264align === 'left') {
  30948. Node264textStart = Node264fontSize * 0.2 > 2 ? Node264fontSize * 0.2 - 4 : Node264fontSize * 0.2 - 9;
  30949. Node264textWidth = Node264width;
  30950. Node264lineStart = 1;
  30951. } else if (Node264align === 'right') {
  30952. Node264textStart = 0;
  30953. Node264textWidth =Node264fontSize <= 8 ? Node264width + Node264fontSize * 0.2 + 6 : Node264width - Node264fontSize * 0.2;
  30954. Node264lineStart = (Node264width - (ht.Default.getTextSize('Uab :', ' '+ Node264fontSize + 'px "Arial"').width + 6)) * 0.5;
  30955. } else if (Node264align === 'center') {
  30956. Node264textStart = -3;
  30957. Node264textWidth = Node264width;
  30958. Node264lineStart = Node264width - ht.Default.getTextSize('Uab :', ' '+ Node264fontSize + 'px "Arial"').width - 11;
  30959. }
  30960. })();
  30961. Node264.setImage(GD.getTextJSON(Node264width, Node264height, true, false, false, ' '+ Node264fontSize + 'px "Arial"'))
  30962. Node264.setPosition(185*ratio.ratioX, 516*ratio.ratioY);
  30963. Node264.setWidth(Node264width);
  30964. Node264.setHeight(Node264height);
  30965. Node264._nodeType = 'text';
  30966. Node264._disallowEvert = true;
  30967. Node264.setRotation(0*Math.PI/180);
  30968. Node264.a('node.width', Node264width);
  30969. Node264.a('node.height', Node264height);
  30970. Node264.a('node.rect', [0, 0, Node264width, Node264height]);
  30971. Node264.a('node.bordercolor','rgba(0,0,0,1)');
  30972. Node264.a('node.borderwidth', 0);
  30973. Node264.a('node.background','' || 'rgba(0,0,0,0)');
  30974. Node264.a('node.gradient','');
  30975. Node264.a('node.gradientcolor','');
  30976. Node264.a('node.text','Uab :');
  30977. Node264.a('node.textalign','left');
  30978. Node264.a('node.textvAlign','middle');
  30979. Node264.a('node.textrect', [Node264textStart, 0, Node264textWidth, Node264height]);
  30980. Node264.a('node.color','rgba(0,0,0,1)');
  30981. Node264.a('node.font',' '+ Node264fontSize + 'px "Arial"');
  30982. Node264.a('node.textvisible',true);
  30983. Node264.a('node.linefeed',false);
  30984. if (false) {
  30985. Node264.a('node.textfunc',function(g) {
  30986. g.beginPath();
  30987. var str=Node264.a('node.text') || 'Uab :';
  30988. var color=Node264.a('node.color') || 'rgba(0,0,0,1)';
  30989. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264width,Node264height,13.3333*_ratio.ratioY,"left",color,' '+ Node264fontSize + 'px "Arial"', 0,g);
  30990. });
  30991. }
  30992. if (false) {
  30993. Node264.a('node.underlinepoints',[Node264lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node264fontSize + 2 , ht.Default.getTextSize('Uab :', ' '+ Node264fontSize + 'px "Arial"').width + 6, (Node264height - Node264fontSize) * 0.5*_ratio.ratioY + Node264fontSize + 2 ]);
  30994. Node264.a('node.underlinevisible',false);
  30995. Node264.a('node.underlineBorderWidth', 1);
  30996. }
  30997. dataModel.add(Node264);
  30998. zoomNodeList.push({
  30999. node: Node264,
  31000. borderWidth: 0,
  31001. attr: 'node.borderwidth'
  31002. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31003. var Node265 = new ht.Node();
  31004. var Node265textStart, Node265textWidth, Node265lineStart, Node265align = 'left', Node265fontSize = 13.3333*_ratio.ratioY,Node265width = 32*_ratio.ratioX, Node265height = 23*_ratio.ratioY;
  31005. (function () {
  31006. if (Node265align === 'left') {
  31007. Node265textStart = Node265fontSize * 0.2 > 2 ? Node265fontSize * 0.2 - 4 : Node265fontSize * 0.2 - 9;
  31008. Node265textWidth = Node265width;
  31009. Node265lineStart = 1;
  31010. } else if (Node265align === 'right') {
  31011. Node265textStart = 0;
  31012. Node265textWidth =Node265fontSize <= 8 ? Node265width + Node265fontSize * 0.2 + 6 : Node265width - Node265fontSize * 0.2;
  31013. Node265lineStart = (Node265width - (ht.Default.getTextSize('U0 :', ' '+ Node265fontSize + 'px "Arial"').width + 6)) * 0.5;
  31014. } else if (Node265align === 'center') {
  31015. Node265textStart = -3;
  31016. Node265textWidth = Node265width;
  31017. Node265lineStart = Node265width - ht.Default.getTextSize('U0 :', ' '+ Node265fontSize + 'px "Arial"').width - 11;
  31018. }
  31019. })();
  31020. Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, ' '+ Node265fontSize + 'px "Arial"'))
  31021. Node265.setPosition(190*ratio.ratioX, 540*ratio.ratioY);
  31022. Node265.setWidth(Node265width);
  31023. Node265.setHeight(Node265height);
  31024. Node265._nodeType = 'text';
  31025. Node265._disallowEvert = true;
  31026. Node265.setRotation(0*Math.PI/180);
  31027. Node265.a('node.width', Node265width);
  31028. Node265.a('node.height', Node265height);
  31029. Node265.a('node.rect', [0, 0, Node265width, Node265height]);
  31030. Node265.a('node.bordercolor','rgba(0,0,0,1)');
  31031. Node265.a('node.borderwidth', 0);
  31032. Node265.a('node.background','' || 'rgba(0,0,0,0)');
  31033. Node265.a('node.gradient','');
  31034. Node265.a('node.gradientcolor','');
  31035. Node265.a('node.text','U0 :');
  31036. Node265.a('node.textalign','left');
  31037. Node265.a('node.textvAlign','middle');
  31038. Node265.a('node.textrect', [Node265textStart, 0, Node265textWidth, Node265height]);
  31039. Node265.a('node.color','rgba(0,0,0,1)');
  31040. Node265.a('node.font',' '+ Node265fontSize + 'px "Arial"');
  31041. Node265.a('node.textvisible',true);
  31042. Node265.a('node.linefeed',false);
  31043. if (false) {
  31044. Node265.a('node.textfunc',function(g) {
  31045. g.beginPath();
  31046. var str=Node265.a('node.text') || 'U0 :';
  31047. var color=Node265.a('node.color') || 'rgba(0,0,0,1)';
  31048. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265width,Node265height,13.3333*_ratio.ratioY,"left",color,' '+ Node265fontSize + 'px "Arial"', 0,g);
  31049. });
  31050. }
  31051. if (false) {
  31052. Node265.a('node.underlinepoints',[Node265lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node265fontSize + 2 , ht.Default.getTextSize('U0 :', ' '+ Node265fontSize + 'px "Arial"').width + 6, (Node265height - Node265fontSize) * 0.5*_ratio.ratioY + Node265fontSize + 2 ]);
  31053. Node265.a('node.underlinevisible',false);
  31054. Node265.a('node.underlineBorderWidth', 1);
  31055. }
  31056. dataModel.add(Node265);
  31057. zoomNodeList.push({
  31058. node: Node265,
  31059. borderWidth: 0,
  31060. attr: 'node.borderwidth'
  31061. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31062. var Node266 = new ht.Node();
  31063. var Node266textStart, Node266textWidth, Node266lineStart, Node266align = 'left', Node266fontSize = 13.3333*_ratio.ratioY,Node266width = 32*_ratio.ratioX, Node266height = 23*_ratio.ratioY;
  31064. (function () {
  31065. if (Node266align === 'left') {
  31066. Node266textStart = Node266fontSize * 0.2 > 2 ? Node266fontSize * 0.2 - 4 : Node266fontSize * 0.2 - 9;
  31067. Node266textWidth = Node266width;
  31068. Node266lineStart = 1;
  31069. } else if (Node266align === 'right') {
  31070. Node266textStart = 0;
  31071. Node266textWidth =Node266fontSize <= 8 ? Node266width + Node266fontSize * 0.2 + 6 : Node266width - Node266fontSize * 0.2;
  31072. Node266lineStart = (Node266width - (ht.Default.getTextSize('F :', ' '+ Node266fontSize + 'px "Arial"').width + 6)) * 0.5;
  31073. } else if (Node266align === 'center') {
  31074. Node266textStart = -3;
  31075. Node266textWidth = Node266width;
  31076. Node266lineStart = Node266width - ht.Default.getTextSize('F :', ' '+ Node266fontSize + 'px "Arial"').width - 11;
  31077. }
  31078. })();
  31079. Node266.setImage(GD.getTextJSON(Node266width, Node266height, true, false, false, ' '+ Node266fontSize + 'px "Arial"'))
  31080. Node266.setPosition(199*ratio.ratioX, 567*ratio.ratioY);
  31081. Node266.setWidth(Node266width);
  31082. Node266.setHeight(Node266height);
  31083. Node266._nodeType = 'text';
  31084. Node266._disallowEvert = true;
  31085. Node266.setRotation(0*Math.PI/180);
  31086. Node266.a('node.width', Node266width);
  31087. Node266.a('node.height', Node266height);
  31088. Node266.a('node.rect', [0, 0, Node266width, Node266height]);
  31089. Node266.a('node.bordercolor','rgba(0,0,0,1)');
  31090. Node266.a('node.borderwidth', 0);
  31091. Node266.a('node.background','' || 'rgba(0,0,0,0)');
  31092. Node266.a('node.gradient','');
  31093. Node266.a('node.gradientcolor','');
  31094. Node266.a('node.text','F :');
  31095. Node266.a('node.textalign','left');
  31096. Node266.a('node.textvAlign','middle');
  31097. Node266.a('node.textrect', [Node266textStart, 0, Node266textWidth, Node266height]);
  31098. Node266.a('node.color','rgba(0,0,0,1)');
  31099. Node266.a('node.font',' '+ Node266fontSize + 'px "Arial"');
  31100. Node266.a('node.textvisible',true);
  31101. Node266.a('node.linefeed',false);
  31102. if (false) {
  31103. Node266.a('node.textfunc',function(g) {
  31104. g.beginPath();
  31105. var str=Node266.a('node.text') || 'F :';
  31106. var color=Node266.a('node.color') || 'rgba(0,0,0,1)';
  31107. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266width,Node266height,13.3333*_ratio.ratioY,"left",color,' '+ Node266fontSize + 'px "Arial"', 0,g);
  31108. });
  31109. }
  31110. if (false) {
  31111. Node266.a('node.underlinepoints',[Node266lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node266fontSize + 2 , ht.Default.getTextSize('F :', ' '+ Node266fontSize + 'px "Arial"').width + 6, (Node266height - Node266fontSize) * 0.5*_ratio.ratioY + Node266fontSize + 2 ]);
  31112. Node266.a('node.underlinevisible',false);
  31113. Node266.a('node.underlineBorderWidth', 1);
  31114. }
  31115. dataModel.add(Node266);
  31116. zoomNodeList.push({
  31117. node: Node266,
  31118. borderWidth: 0,
  31119. attr: 'node.borderwidth'
  31120. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31121. var Node267 = new ht.Node();
  31122. var Node267textStart, Node267textWidth, Node267lineStart, Node267align = 'left', Node267fontSize = 13.3333*_ratio.ratioY,Node267width = 50*_ratio.ratioX, Node267height = 20*_ratio.ratioY;
  31123. (function () {
  31124. if (Node267align === 'left') {
  31125. Node267textStart = Node267fontSize * 0.2 > 2 ? Node267fontSize * 0.2 - 4 : Node267fontSize * 0.2 - 9;
  31126. Node267textWidth = Node267width;
  31127. Node267lineStart = 1;
  31128. } else if (Node267align === 'right') {
  31129. Node267textStart = 0;
  31130. Node267textWidth =Node267fontSize <= 8 ? Node267width + Node267fontSize * 0.2 + 6 : Node267width - Node267fontSize * 0.2;
  31131. Node267lineStart = (Node267width - (ht.Default.getTextSize('0', ' '+ Node267fontSize + 'px "Arial"').width + 6)) * 0.5;
  31132. } else if (Node267align === 'center') {
  31133. Node267textStart = -3;
  31134. Node267textWidth = Node267width;
  31135. Node267lineStart = Node267width - ht.Default.getTextSize('0', ' '+ Node267fontSize + 'px "Arial"').width - 11;
  31136. }
  31137. })();
  31138. Node267.setImage(GD.getTextJSON(Node267width, Node267height, true, false, false, ' '+ Node267fontSize + 'px "Arial"'))
  31139. Node267.setPosition(241*ratio.ratioX, 497*ratio.ratioY);
  31140. Node267.setWidth(Node267width);
  31141. Node267.setHeight(Node267height);
  31142. Node267._nodeType = 'text';
  31143. Node267._disallowEvert = true;
  31144. Node267.setRotation(0*Math.PI/180);
  31145. Node267.a('node.width', Node267width);
  31146. Node267.a('node.height', Node267height);
  31147. Node267.a('node.rect', [0, 0, Node267width, Node267height]);
  31148. Node267.a('node.bordercolor','rgba(0,0,0,1)');
  31149. Node267.a('node.borderwidth', 0);
  31150. Node267.a('node.background','' || 'rgba(0,0,0,0)');
  31151. Node267.a('node.gradient','');
  31152. Node267.a('node.gradientcolor','');
  31153. Node267.a('node.text','0');
  31154. Node267.a('node.textalign','left');
  31155. Node267.a('node.textvAlign','middle');
  31156. Node267.a('node.textrect', [Node267textStart, 0, Node267textWidth, Node267height]);
  31157. Node267.a('node.color','rgba(0,0,0,1)');
  31158. Node267.a('node.font',' '+ Node267fontSize + 'px "Arial"');
  31159. Node267.a('node.textvisible',true);
  31160. Node267.a('node.linefeed',false);
  31161. if (false) {
  31162. Node267.a('node.textfunc',function(g) {
  31163. g.beginPath();
  31164. var str=Node267.a('node.text') || '0';
  31165. var color=Node267.a('node.color') || 'rgba(0,0,0,1)';
  31166. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267width,Node267height,13.3333*_ratio.ratioY,"left",color,' '+ Node267fontSize + 'px "Arial"', 0,g);
  31167. });
  31168. }
  31169. if (false) {
  31170. Node267.a('node.underlinepoints',[Node267lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node267fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node267fontSize + 'px "Arial"').width + 6, (Node267height - Node267fontSize) * 0.5*_ratio.ratioY + Node267fontSize + 2 ]);
  31171. Node267.a('node.underlinevisible',false);
  31172. Node267.a('node.underlineBorderWidth', 1);
  31173. }
  31174. dataModel.add(Node267);
  31175. zoomNodeList.push({
  31176. node: Node267,
  31177. borderWidth: 0,
  31178. attr: 'node.borderwidth'
  31179. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31180. var Node268 = new ht.Node();
  31181. var Node268textStart, Node268textWidth, Node268lineStart, Node268align = 'left', Node268fontSize = 13.3333*_ratio.ratioY,Node268width = 32*_ratio.ratioX, Node268height = 23*_ratio.ratioY;
  31182. (function () {
  31183. if (Node268align === 'left') {
  31184. Node268textStart = Node268fontSize * 0.2 > 2 ? Node268fontSize * 0.2 - 4 : Node268fontSize * 0.2 - 9;
  31185. Node268textWidth = Node268width;
  31186. Node268lineStart = 1;
  31187. } else if (Node268align === 'right') {
  31188. Node268textStart = 0;
  31189. Node268textWidth =Node268fontSize <= 8 ? Node268width + Node268fontSize * 0.2 + 6 : Node268width - Node268fontSize * 0.2;
  31190. Node268lineStart = (Node268width - (ht.Default.getTextSize('Uc :', ' '+ Node268fontSize + 'px "Arial"').width + 6)) * 0.5;
  31191. } else if (Node268align === 'center') {
  31192. Node268textStart = -3;
  31193. Node268textWidth = Node268width;
  31194. Node268lineStart = Node268width - ht.Default.getTextSize('Uc :', ' '+ Node268fontSize + 'px "Arial"').width - 11;
  31195. }
  31196. })();
  31197. Node268.setImage(GD.getTextJSON(Node268width, Node268height, true, false, false, ' '+ Node268fontSize + 'px "Arial"'))
  31198. Node268.setPosition(190*ratio.ratioX, 496*ratio.ratioY);
  31199. Node268.setWidth(Node268width);
  31200. Node268.setHeight(Node268height);
  31201. Node268._nodeType = 'text';
  31202. Node268._disallowEvert = true;
  31203. Node268.setRotation(0*Math.PI/180);
  31204. Node268.a('node.width', Node268width);
  31205. Node268.a('node.height', Node268height);
  31206. Node268.a('node.rect', [0, 0, Node268width, Node268height]);
  31207. Node268.a('node.bordercolor','rgba(0,0,0,1)');
  31208. Node268.a('node.borderwidth', 0);
  31209. Node268.a('node.background','' || 'rgba(0,0,0,0)');
  31210. Node268.a('node.gradient','');
  31211. Node268.a('node.gradientcolor','');
  31212. Node268.a('node.text','Uc :');
  31213. Node268.a('node.textalign','left');
  31214. Node268.a('node.textvAlign','middle');
  31215. Node268.a('node.textrect', [Node268textStart, 0, Node268textWidth, Node268height]);
  31216. Node268.a('node.color','rgba(0,0,0,1)');
  31217. Node268.a('node.font',' '+ Node268fontSize + 'px "Arial"');
  31218. Node268.a('node.textvisible',true);
  31219. Node268.a('node.linefeed',false);
  31220. if (false) {
  31221. Node268.a('node.textfunc',function(g) {
  31222. g.beginPath();
  31223. var str=Node268.a('node.text') || 'Uc :';
  31224. var color=Node268.a('node.color') || 'rgba(0,0,0,1)';
  31225. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268width,Node268height,13.3333*_ratio.ratioY,"left",color,' '+ Node268fontSize + 'px "Arial"', 0,g);
  31226. });
  31227. }
  31228. if (false) {
  31229. Node268.a('node.underlinepoints',[Node268lineStart, (23 - 13.3333) * 0.5 * _ratio.ratioY + Node268fontSize + 2 , ht.Default.getTextSize('Uc :', ' '+ Node268fontSize + 'px "Arial"').width + 6, (Node268height - Node268fontSize) * 0.5*_ratio.ratioY + Node268fontSize + 2 ]);
  31230. Node268.a('node.underlinevisible',false);
  31231. Node268.a('node.underlineBorderWidth', 1);
  31232. }
  31233. dataModel.add(Node268);
  31234. zoomNodeList.push({
  31235. node: Node268,
  31236. borderWidth: 0,
  31237. attr: 'node.borderwidth'
  31238. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31239. var Node269 = new ht.Node();
  31240. var Node269textStart, Node269textWidth, Node269lineStart, Node269align = 'left', Node269fontSize = 13.3333*_ratio.ratioY,Node269width = 50*_ratio.ratioX, Node269height = 20*_ratio.ratioY;
  31241. (function () {
  31242. if (Node269align === 'left') {
  31243. Node269textStart = Node269fontSize * 0.2 > 2 ? Node269fontSize * 0.2 - 4 : Node269fontSize * 0.2 - 9;
  31244. Node269textWidth = Node269width;
  31245. Node269lineStart = 1;
  31246. } else if (Node269align === 'right') {
  31247. Node269textStart = 0;
  31248. Node269textWidth =Node269fontSize <= 8 ? Node269width + Node269fontSize * 0.2 + 6 : Node269width - Node269fontSize * 0.2;
  31249. Node269lineStart = (Node269width - (ht.Default.getTextSize('0', ' '+ Node269fontSize + 'px "Arial"').width + 6)) * 0.5;
  31250. } else if (Node269align === 'center') {
  31251. Node269textStart = -3;
  31252. Node269textWidth = Node269width;
  31253. Node269lineStart = Node269width - ht.Default.getTextSize('0', ' '+ Node269fontSize + 'px "Arial"').width - 11;
  31254. }
  31255. })();
  31256. Node269.setImage(GD.getTextJSON(Node269width, Node269height, true, false, false, ' '+ Node269fontSize + 'px "Arial"'))
  31257. Node269.setPosition(1234*ratio.ratioX, 431*ratio.ratioY);
  31258. Node269.setWidth(Node269width);
  31259. Node269.setHeight(Node269height);
  31260. Node269._nodeType = 'text';
  31261. Node269._disallowEvert = true;
  31262. Node269.setRotation(0*Math.PI/180);
  31263. Node269.a('node.width', Node269width);
  31264. Node269.a('node.height', Node269height);
  31265. Node269.a('node.rect', [0, 0, Node269width, Node269height]);
  31266. Node269.a('node.bordercolor','rgba(0,0,0,1)');
  31267. Node269.a('node.borderwidth', 0);
  31268. Node269.a('node.background','' || 'rgba(0,0,0,0)');
  31269. Node269.a('node.gradient','');
  31270. Node269.a('node.gradientcolor','');
  31271. Node269.a('node.text','0');
  31272. Node269.a('node.textalign','left');
  31273. Node269.a('node.textvAlign','middle');
  31274. Node269.a('node.textrect', [Node269textStart, 0, Node269textWidth, Node269height]);
  31275. Node269.a('node.color','rgba(0,0,0,1)');
  31276. Node269.a('node.font',' '+ Node269fontSize + 'px "Arial"');
  31277. Node269.a('node.textvisible',true);
  31278. Node269.a('node.linefeed',false);
  31279. if (false) {
  31280. Node269.a('node.textfunc',function(g) {
  31281. g.beginPath();
  31282. var str=Node269.a('node.text') || '0';
  31283. var color=Node269.a('node.color') || 'rgba(0,0,0,1)';
  31284. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269width,Node269height,13.3333*_ratio.ratioY,"left",color,' '+ Node269fontSize + 'px "Arial"', 0,g);
  31285. });
  31286. }
  31287. if (false) {
  31288. Node269.a('node.underlinepoints',[Node269lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node269fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node269fontSize + 'px "Arial"').width + 6, (Node269height - Node269fontSize) * 0.5*_ratio.ratioY + Node269fontSize + 2 ]);
  31289. Node269.a('node.underlinevisible',false);
  31290. Node269.a('node.underlineBorderWidth', 1);
  31291. }
  31292. dataModel.add(Node269);
  31293. zoomNodeList.push({
  31294. node: Node269,
  31295. borderWidth: 0,
  31296. attr: 'node.borderwidth'
  31297. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31298. var Node270 = new ht.Node();
  31299. var Node270textStart, Node270textWidth, Node270lineStart, Node270align = 'left', Node270fontSize = 13.3333*_ratio.ratioY,Node270width = 50*_ratio.ratioX, Node270height = 20*_ratio.ratioY;
  31300. (function () {
  31301. if (Node270align === 'left') {
  31302. Node270textStart = Node270fontSize * 0.2 > 2 ? Node270fontSize * 0.2 - 4 : Node270fontSize * 0.2 - 9;
  31303. Node270textWidth = Node270width;
  31304. Node270lineStart = 1;
  31305. } else if (Node270align === 'right') {
  31306. Node270textStart = 0;
  31307. Node270textWidth =Node270fontSize <= 8 ? Node270width + Node270fontSize * 0.2 + 6 : Node270width - Node270fontSize * 0.2;
  31308. Node270lineStart = (Node270width - (ht.Default.getTextSize('0', ' '+ Node270fontSize + 'px "Arial"').width + 6)) * 0.5;
  31309. } else if (Node270align === 'center') {
  31310. Node270textStart = -3;
  31311. Node270textWidth = Node270width;
  31312. Node270lineStart = Node270width - ht.Default.getTextSize('0', ' '+ Node270fontSize + 'px "Arial"').width - 11;
  31313. }
  31314. })();
  31315. Node270.setImage(GD.getTextJSON(Node270width, Node270height, true, false, false, ' '+ Node270fontSize + 'px "Arial"'))
  31316. Node270.setPosition(1234*ratio.ratioX, 452*ratio.ratioY);
  31317. Node270.setWidth(Node270width);
  31318. Node270.setHeight(Node270height);
  31319. Node270._nodeType = 'text';
  31320. Node270._disallowEvert = true;
  31321. Node270.setRotation(0*Math.PI/180);
  31322. Node270.a('node.width', Node270width);
  31323. Node270.a('node.height', Node270height);
  31324. Node270.a('node.rect', [0, 0, Node270width, Node270height]);
  31325. Node270.a('node.bordercolor','rgba(0,0,0,1)');
  31326. Node270.a('node.borderwidth', 0);
  31327. Node270.a('node.background','' || 'rgba(0,0,0,0)');
  31328. Node270.a('node.gradient','');
  31329. Node270.a('node.gradientcolor','');
  31330. Node270.a('node.text','0');
  31331. Node270.a('node.textalign','left');
  31332. Node270.a('node.textvAlign','middle');
  31333. Node270.a('node.textrect', [Node270textStart, 0, Node270textWidth, Node270height]);
  31334. Node270.a('node.color','rgba(0,0,0,1)');
  31335. Node270.a('node.font',' '+ Node270fontSize + 'px "Arial"');
  31336. Node270.a('node.textvisible',true);
  31337. Node270.a('node.linefeed',false);
  31338. if (false) {
  31339. Node270.a('node.textfunc',function(g) {
  31340. g.beginPath();
  31341. var str=Node270.a('node.text') || '0';
  31342. var color=Node270.a('node.color') || 'rgba(0,0,0,1)';
  31343. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node270width,Node270height,13.3333*_ratio.ratioY,"left",color,' '+ Node270fontSize + 'px "Arial"', 0,g);
  31344. });
  31345. }
  31346. if (false) {
  31347. Node270.a('node.underlinepoints',[Node270lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node270fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node270fontSize + 'px "Arial"').width + 6, (Node270height - Node270fontSize) * 0.5*_ratio.ratioY + Node270fontSize + 2 ]);
  31348. Node270.a('node.underlinevisible',false);
  31349. Node270.a('node.underlineBorderWidth', 1);
  31350. }
  31351. dataModel.add(Node270);
  31352. zoomNodeList.push({
  31353. node: Node270,
  31354. borderWidth: 0,
  31355. attr: 'node.borderwidth'
  31356. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31357. var Node271 = new ht.Node();
  31358. var Node271textStart, Node271textWidth, Node271lineStart, Node271align = 'left', Node271fontSize = 13.3333*_ratio.ratioY,Node271width = 50*_ratio.ratioX, Node271height = 20*_ratio.ratioY;
  31359. (function () {
  31360. if (Node271align === 'left') {
  31361. Node271textStart = Node271fontSize * 0.2 > 2 ? Node271fontSize * 0.2 - 4 : Node271fontSize * 0.2 - 9;
  31362. Node271textWidth = Node271width;
  31363. Node271lineStart = 1;
  31364. } else if (Node271align === 'right') {
  31365. Node271textStart = 0;
  31366. Node271textWidth =Node271fontSize <= 8 ? Node271width + Node271fontSize * 0.2 + 6 : Node271width - Node271fontSize * 0.2;
  31367. Node271lineStart = (Node271width - (ht.Default.getTextSize('0', ' '+ Node271fontSize + 'px "Arial"').width + 6)) * 0.5;
  31368. } else if (Node271align === 'center') {
  31369. Node271textStart = -3;
  31370. Node271textWidth = Node271width;
  31371. Node271lineStart = Node271width - ht.Default.getTextSize('0', ' '+ Node271fontSize + 'px "Arial"').width - 11;
  31372. }
  31373. })();
  31374. Node271.setImage(GD.getTextJSON(Node271width, Node271height, true, false, false, ' '+ Node271fontSize + 'px "Arial"'))
  31375. Node271.setPosition(1234*ratio.ratioX, 477*ratio.ratioY);
  31376. Node271.setWidth(Node271width);
  31377. Node271.setHeight(Node271height);
  31378. Node271._nodeType = 'text';
  31379. Node271._disallowEvert = true;
  31380. Node271.setRotation(0*Math.PI/180);
  31381. Node271.a('node.width', Node271width);
  31382. Node271.a('node.height', Node271height);
  31383. Node271.a('node.rect', [0, 0, Node271width, Node271height]);
  31384. Node271.a('node.bordercolor','rgba(0,0,0,1)');
  31385. Node271.a('node.borderwidth', 0);
  31386. Node271.a('node.background','' || 'rgba(0,0,0,0)');
  31387. Node271.a('node.gradient','');
  31388. Node271.a('node.gradientcolor','');
  31389. Node271.a('node.text','0');
  31390. Node271.a('node.textalign','left');
  31391. Node271.a('node.textvAlign','middle');
  31392. Node271.a('node.textrect', [Node271textStart, 0, Node271textWidth, Node271height]);
  31393. Node271.a('node.color','rgba(0,0,0,1)');
  31394. Node271.a('node.font',' '+ Node271fontSize + 'px "Arial"');
  31395. Node271.a('node.textvisible',true);
  31396. Node271.a('node.linefeed',false);
  31397. if (false) {
  31398. Node271.a('node.textfunc',function(g) {
  31399. g.beginPath();
  31400. var str=Node271.a('node.text') || '0';
  31401. var color=Node271.a('node.color') || 'rgba(0,0,0,1)';
  31402. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271width,Node271height,13.3333*_ratio.ratioY,"left",color,' '+ Node271fontSize + 'px "Arial"', 0,g);
  31403. });
  31404. }
  31405. if (false) {
  31406. Node271.a('node.underlinepoints',[Node271lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node271fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node271fontSize + 'px "Arial"').width + 6, (Node271height - Node271fontSize) * 0.5*_ratio.ratioY + Node271fontSize + 2 ]);
  31407. Node271.a('node.underlinevisible',false);
  31408. Node271.a('node.underlineBorderWidth', 1);
  31409. }
  31410. dataModel.add(Node271);
  31411. zoomNodeList.push({
  31412. node: Node271,
  31413. borderWidth: 0,
  31414. attr: 'node.borderwidth'
  31415. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31416. var Node272 = new ht.Node();
  31417. var Node272textStart, Node272textWidth, Node272lineStart, Node272align = 'left', Node272fontSize = 13.3333*_ratio.ratioY,Node272width = 50*_ratio.ratioX, Node272height = 20*_ratio.ratioY;
  31418. (function () {
  31419. if (Node272align === 'left') {
  31420. Node272textStart = Node272fontSize * 0.2 > 2 ? Node272fontSize * 0.2 - 4 : Node272fontSize * 0.2 - 9;
  31421. Node272textWidth = Node272width;
  31422. Node272lineStart = 1;
  31423. } else if (Node272align === 'right') {
  31424. Node272textStart = 0;
  31425. Node272textWidth =Node272fontSize <= 8 ? Node272width + Node272fontSize * 0.2 + 6 : Node272width - Node272fontSize * 0.2;
  31426. Node272lineStart = (Node272width - (ht.Default.getTextSize('0', ' '+ Node272fontSize + 'px "Arial"').width + 6)) * 0.5;
  31427. } else if (Node272align === 'center') {
  31428. Node272textStart = -3;
  31429. Node272textWidth = Node272width;
  31430. Node272lineStart = Node272width - ht.Default.getTextSize('0', ' '+ Node272fontSize + 'px "Arial"').width - 11;
  31431. }
  31432. })();
  31433. Node272.setImage(GD.getTextJSON(Node272width, Node272height, true, false, false, ' '+ Node272fontSize + 'px "Arial"'))
  31434. Node272.setPosition(1234*ratio.ratioX, 501*ratio.ratioY);
  31435. Node272.setWidth(Node272width);
  31436. Node272.setHeight(Node272height);
  31437. Node272._nodeType = 'text';
  31438. Node272._disallowEvert = true;
  31439. Node272.setRotation(0*Math.PI/180);
  31440. Node272.a('node.width', Node272width);
  31441. Node272.a('node.height', Node272height);
  31442. Node272.a('node.rect', [0, 0, Node272width, Node272height]);
  31443. Node272.a('node.bordercolor','rgba(0,0,0,1)');
  31444. Node272.a('node.borderwidth', 0);
  31445. Node272.a('node.background','' || 'rgba(0,0,0,0)');
  31446. Node272.a('node.gradient','');
  31447. Node272.a('node.gradientcolor','');
  31448. Node272.a('node.text','0');
  31449. Node272.a('node.textalign','left');
  31450. Node272.a('node.textvAlign','middle');
  31451. Node272.a('node.textrect', [Node272textStart, 0, Node272textWidth, Node272height]);
  31452. Node272.a('node.color','rgba(0,0,0,1)');
  31453. Node272.a('node.font',' '+ Node272fontSize + 'px "Arial"');
  31454. Node272.a('node.textvisible',true);
  31455. Node272.a('node.linefeed',false);
  31456. if (false) {
  31457. Node272.a('node.textfunc',function(g) {
  31458. g.beginPath();
  31459. var str=Node272.a('node.text') || '0';
  31460. var color=Node272.a('node.color') || 'rgba(0,0,0,1)';
  31461. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node272width,Node272height,13.3333*_ratio.ratioY,"left",color,' '+ Node272fontSize + 'px "Arial"', 0,g);
  31462. });
  31463. }
  31464. if (false) {
  31465. Node272.a('node.underlinepoints',[Node272lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node272fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node272fontSize + 'px "Arial"').width + 6, (Node272height - Node272fontSize) * 0.5*_ratio.ratioY + Node272fontSize + 2 ]);
  31466. Node272.a('node.underlinevisible',false);
  31467. Node272.a('node.underlineBorderWidth', 1);
  31468. }
  31469. dataModel.add(Node272);
  31470. zoomNodeList.push({
  31471. node: Node272,
  31472. borderWidth: 0,
  31473. attr: 'node.borderwidth'
  31474. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31475. var Node273 = new ht.Node();
  31476. var Node273textStart, Node273textWidth, Node273lineStart, Node273align = 'left', Node273fontSize = 13.3333*_ratio.ratioY,Node273width = 50*_ratio.ratioX, Node273height = 20*_ratio.ratioY;
  31477. (function () {
  31478. if (Node273align === 'left') {
  31479. Node273textStart = Node273fontSize * 0.2 > 2 ? Node273fontSize * 0.2 - 4 : Node273fontSize * 0.2 - 9;
  31480. Node273textWidth = Node273width;
  31481. Node273lineStart = 1;
  31482. } else if (Node273align === 'right') {
  31483. Node273textStart = 0;
  31484. Node273textWidth =Node273fontSize <= 8 ? Node273width + Node273fontSize * 0.2 + 6 : Node273width - Node273fontSize * 0.2;
  31485. Node273lineStart = (Node273width - (ht.Default.getTextSize('0', ' '+ Node273fontSize + 'px "Arial"').width + 6)) * 0.5;
  31486. } else if (Node273align === 'center') {
  31487. Node273textStart = -3;
  31488. Node273textWidth = Node273width;
  31489. Node273lineStart = Node273width - ht.Default.getTextSize('0', ' '+ Node273fontSize + 'px "Arial"').width - 11;
  31490. }
  31491. })();
  31492. Node273.setImage(GD.getTextJSON(Node273width, Node273height, true, false, false, ' '+ Node273fontSize + 'px "Arial"'))
  31493. Node273.setPosition(534*ratio.ratioX, 779*ratio.ratioY);
  31494. Node273.setWidth(Node273width);
  31495. Node273.setHeight(Node273height);
  31496. Node273._nodeType = 'text';
  31497. Node273._disallowEvert = true;
  31498. Node273.setRotation(0*Math.PI/180);
  31499. Node273.a('node.width', Node273width);
  31500. Node273.a('node.height', Node273height);
  31501. Node273.a('node.rect', [0, 0, Node273width, Node273height]);
  31502. Node273.a('node.bordercolor','rgba(0,0,0,1)');
  31503. Node273.a('node.borderwidth', 0);
  31504. Node273.a('node.background','' || 'rgba(0,0,0,0)');
  31505. Node273.a('node.gradient','');
  31506. Node273.a('node.gradientcolor','');
  31507. Node273.a('node.text','0');
  31508. Node273.a('node.textalign','left');
  31509. Node273.a('node.textvAlign','middle');
  31510. Node273.a('node.textrect', [Node273textStart, 0, Node273textWidth, Node273height]);
  31511. Node273.a('node.color','rgba(0,0,0,1)');
  31512. Node273.a('node.font',' '+ Node273fontSize + 'px "Arial"');
  31513. Node273.a('node.textvisible',true);
  31514. Node273.a('node.linefeed',false);
  31515. if (false) {
  31516. Node273.a('node.textfunc',function(g) {
  31517. g.beginPath();
  31518. var str=Node273.a('node.text') || '0';
  31519. var color=Node273.a('node.color') || 'rgba(0,0,0,1)';
  31520. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node273width,Node273height,13.3333*_ratio.ratioY,"left",color,' '+ Node273fontSize + 'px "Arial"', 0,g);
  31521. });
  31522. }
  31523. if (false) {
  31524. Node273.a('node.underlinepoints',[Node273lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node273fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node273fontSize + 'px "Arial"').width + 6, (Node273height - Node273fontSize) * 0.5*_ratio.ratioY + Node273fontSize + 2 ]);
  31525. Node273.a('node.underlinevisible',false);
  31526. Node273.a('node.underlineBorderWidth', 1);
  31527. }
  31528. dataModel.add(Node273);
  31529. zoomNodeList.push({
  31530. node: Node273,
  31531. borderWidth: 0,
  31532. attr: 'node.borderwidth'
  31533. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31534. var Node274 = new ht.Node();
  31535. var Node274textStart, Node274textWidth, Node274lineStart, Node274align = 'left', Node274fontSize = 13.3333*_ratio.ratioY,Node274width = 50*_ratio.ratioX, Node274height = 20*_ratio.ratioY;
  31536. (function () {
  31537. if (Node274align === 'left') {
  31538. Node274textStart = Node274fontSize * 0.2 > 2 ? Node274fontSize * 0.2 - 4 : Node274fontSize * 0.2 - 9;
  31539. Node274textWidth = Node274width;
  31540. Node274lineStart = 1;
  31541. } else if (Node274align === 'right') {
  31542. Node274textStart = 0;
  31543. Node274textWidth =Node274fontSize <= 8 ? Node274width + Node274fontSize * 0.2 + 6 : Node274width - Node274fontSize * 0.2;
  31544. Node274lineStart = (Node274width - (ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "Arial"').width + 6)) * 0.5;
  31545. } else if (Node274align === 'center') {
  31546. Node274textStart = -3;
  31547. Node274textWidth = Node274width;
  31548. Node274lineStart = Node274width - ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "Arial"').width - 11;
  31549. }
  31550. })();
  31551. Node274.setImage(GD.getTextJSON(Node274width, Node274height, true, false, false, ' '+ Node274fontSize + 'px "Arial"'))
  31552. Node274.setPosition(535*ratio.ratioX, 794*ratio.ratioY);
  31553. Node274.setWidth(Node274width);
  31554. Node274.setHeight(Node274height);
  31555. Node274._nodeType = 'text';
  31556. Node274._disallowEvert = true;
  31557. Node274.setRotation(0*Math.PI/180);
  31558. Node274.a('node.width', Node274width);
  31559. Node274.a('node.height', Node274height);
  31560. Node274.a('node.rect', [0, 0, Node274width, Node274height]);
  31561. Node274.a('node.bordercolor','rgba(0,0,0,1)');
  31562. Node274.a('node.borderwidth', 0);
  31563. Node274.a('node.background','' || 'rgba(0,0,0,0)');
  31564. Node274.a('node.gradient','');
  31565. Node274.a('node.gradientcolor','');
  31566. Node274.a('node.text','0');
  31567. Node274.a('node.textalign','left');
  31568. Node274.a('node.textvAlign','middle');
  31569. Node274.a('node.textrect', [Node274textStart, 0, Node274textWidth, Node274height]);
  31570. Node274.a('node.color','rgba(0,0,0,1)');
  31571. Node274.a('node.font',' '+ Node274fontSize + 'px "Arial"');
  31572. Node274.a('node.textvisible',true);
  31573. Node274.a('node.linefeed',false);
  31574. if (false) {
  31575. Node274.a('node.textfunc',function(g) {
  31576. g.beginPath();
  31577. var str=Node274.a('node.text') || '0';
  31578. var color=Node274.a('node.color') || 'rgba(0,0,0,1)';
  31579. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node274width,Node274height,13.3333*_ratio.ratioY,"left",color,' '+ Node274fontSize + 'px "Arial"', 0,g);
  31580. });
  31581. }
  31582. if (false) {
  31583. Node274.a('node.underlinepoints',[Node274lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node274fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "Arial"').width + 6, (Node274height - Node274fontSize) * 0.5*_ratio.ratioY + Node274fontSize + 2 ]);
  31584. Node274.a('node.underlinevisible',false);
  31585. Node274.a('node.underlineBorderWidth', 1);
  31586. }
  31587. dataModel.add(Node274);
  31588. zoomNodeList.push({
  31589. node: Node274,
  31590. borderWidth: 0,
  31591. attr: 'node.borderwidth'
  31592. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31593. var Node275 = new ht.Node();
  31594. var Node275textStart, Node275textWidth, Node275lineStart, Node275align = 'left', Node275fontSize = 13.3333*_ratio.ratioY,Node275width = 50*_ratio.ratioX, Node275height = 20*_ratio.ratioY;
  31595. (function () {
  31596. if (Node275align === 'left') {
  31597. Node275textStart = Node275fontSize * 0.2 > 2 ? Node275fontSize * 0.2 - 4 : Node275fontSize * 0.2 - 9;
  31598. Node275textWidth = Node275width;
  31599. Node275lineStart = 1;
  31600. } else if (Node275align === 'right') {
  31601. Node275textStart = 0;
  31602. Node275textWidth =Node275fontSize <= 8 ? Node275width + Node275fontSize * 0.2 + 6 : Node275width - Node275fontSize * 0.2;
  31603. Node275lineStart = (Node275width - (ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "Arial"').width + 6)) * 0.5;
  31604. } else if (Node275align === 'center') {
  31605. Node275textStart = -3;
  31606. Node275textWidth = Node275width;
  31607. Node275lineStart = Node275width - ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "Arial"').width - 11;
  31608. }
  31609. })();
  31610. Node275.setImage(GD.getTextJSON(Node275width, Node275height, true, false, false, ' '+ Node275fontSize + 'px "Arial"'))
  31611. Node275.setPosition(535*ratio.ratioX, 812*ratio.ratioY);
  31612. Node275.setWidth(Node275width);
  31613. Node275.setHeight(Node275height);
  31614. Node275._nodeType = 'text';
  31615. Node275._disallowEvert = true;
  31616. Node275.setRotation(0*Math.PI/180);
  31617. Node275.a('node.width', Node275width);
  31618. Node275.a('node.height', Node275height);
  31619. Node275.a('node.rect', [0, 0, Node275width, Node275height]);
  31620. Node275.a('node.bordercolor','rgba(0,0,0,1)');
  31621. Node275.a('node.borderwidth', 0);
  31622. Node275.a('node.background','' || 'rgba(0,0,0,0)');
  31623. Node275.a('node.gradient','');
  31624. Node275.a('node.gradientcolor','');
  31625. Node275.a('node.text','0');
  31626. Node275.a('node.textalign','left');
  31627. Node275.a('node.textvAlign','middle');
  31628. Node275.a('node.textrect', [Node275textStart, 0, Node275textWidth, Node275height]);
  31629. Node275.a('node.color','rgba(0,0,0,1)');
  31630. Node275.a('node.font',' '+ Node275fontSize + 'px "Arial"');
  31631. Node275.a('node.textvisible',true);
  31632. Node275.a('node.linefeed',false);
  31633. if (false) {
  31634. Node275.a('node.textfunc',function(g) {
  31635. g.beginPath();
  31636. var str=Node275.a('node.text') || '0';
  31637. var color=Node275.a('node.color') || 'rgba(0,0,0,1)';
  31638. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node275width,Node275height,13.3333*_ratio.ratioY,"left",color,' '+ Node275fontSize + 'px "Arial"', 0,g);
  31639. });
  31640. }
  31641. if (false) {
  31642. Node275.a('node.underlinepoints',[Node275lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node275fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "Arial"').width + 6, (Node275height - Node275fontSize) * 0.5*_ratio.ratioY + Node275fontSize + 2 ]);
  31643. Node275.a('node.underlinevisible',false);
  31644. Node275.a('node.underlineBorderWidth', 1);
  31645. }
  31646. dataModel.add(Node275);
  31647. zoomNodeList.push({
  31648. node: Node275,
  31649. borderWidth: 0,
  31650. attr: 'node.borderwidth'
  31651. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31652. var Node276 = new ht.Node();
  31653. var Node276textStart, Node276textWidth, Node276lineStart, Node276align = 'left', Node276fontSize = 13.3333*_ratio.ratioY,Node276width = 50*_ratio.ratioX, Node276height = 20*_ratio.ratioY;
  31654. (function () {
  31655. if (Node276align === 'left') {
  31656. Node276textStart = Node276fontSize * 0.2 > 2 ? Node276fontSize * 0.2 - 4 : Node276fontSize * 0.2 - 9;
  31657. Node276textWidth = Node276width;
  31658. Node276lineStart = 1;
  31659. } else if (Node276align === 'right') {
  31660. Node276textStart = 0;
  31661. Node276textWidth =Node276fontSize <= 8 ? Node276width + Node276fontSize * 0.2 + 6 : Node276width - Node276fontSize * 0.2;
  31662. Node276lineStart = (Node276width - (ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "Arial"').width + 6)) * 0.5;
  31663. } else if (Node276align === 'center') {
  31664. Node276textStart = -3;
  31665. Node276textWidth = Node276width;
  31666. Node276lineStart = Node276width - ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "Arial"').width - 11;
  31667. }
  31668. })();
  31669. Node276.setImage(GD.getTextJSON(Node276width, Node276height, true, false, false, ' '+ Node276fontSize + 'px "Arial"'))
  31670. Node276.setPosition(535*ratio.ratioX, 828*ratio.ratioY);
  31671. Node276.setWidth(Node276width);
  31672. Node276.setHeight(Node276height);
  31673. Node276._nodeType = 'text';
  31674. Node276._disallowEvert = true;
  31675. Node276.setRotation(0*Math.PI/180);
  31676. Node276.a('node.width', Node276width);
  31677. Node276.a('node.height', Node276height);
  31678. Node276.a('node.rect', [0, 0, Node276width, Node276height]);
  31679. Node276.a('node.bordercolor','rgba(0,0,0,1)');
  31680. Node276.a('node.borderwidth', 0);
  31681. Node276.a('node.background','' || 'rgba(0,0,0,0)');
  31682. Node276.a('node.gradient','');
  31683. Node276.a('node.gradientcolor','');
  31684. Node276.a('node.text','0');
  31685. Node276.a('node.textalign','left');
  31686. Node276.a('node.textvAlign','middle');
  31687. Node276.a('node.textrect', [Node276textStart, 0, Node276textWidth, Node276height]);
  31688. Node276.a('node.color','rgba(0,0,0,1)');
  31689. Node276.a('node.font',' '+ Node276fontSize + 'px "Arial"');
  31690. Node276.a('node.textvisible',true);
  31691. Node276.a('node.linefeed',false);
  31692. if (false) {
  31693. Node276.a('node.textfunc',function(g) {
  31694. g.beginPath();
  31695. var str=Node276.a('node.text') || '0';
  31696. var color=Node276.a('node.color') || 'rgba(0,0,0,1)';
  31697. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node276width,Node276height,13.3333*_ratio.ratioY,"left",color,' '+ Node276fontSize + 'px "Arial"', 0,g);
  31698. });
  31699. }
  31700. if (false) {
  31701. Node276.a('node.underlinepoints',[Node276lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node276fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "Arial"').width + 6, (Node276height - Node276fontSize) * 0.5*_ratio.ratioY + Node276fontSize + 2 ]);
  31702. Node276.a('node.underlinevisible',false);
  31703. Node276.a('node.underlineBorderWidth', 1);
  31704. }
  31705. dataModel.add(Node276);
  31706. zoomNodeList.push({
  31707. node: Node276,
  31708. borderWidth: 0,
  31709. attr: 'node.borderwidth'
  31710. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31711. var Node277 = new ht.Node();
  31712. var Node277textStart, Node277textWidth, Node277lineStart, Node277align = 'left', Node277fontSize = 13.3333*_ratio.ratioY,Node277width = 50*_ratio.ratioX, Node277height = 20*_ratio.ratioY;
  31713. (function () {
  31714. if (Node277align === 'left') {
  31715. Node277textStart = Node277fontSize * 0.2 > 2 ? Node277fontSize * 0.2 - 4 : Node277fontSize * 0.2 - 9;
  31716. Node277textWidth = Node277width;
  31717. Node277lineStart = 1;
  31718. } else if (Node277align === 'right') {
  31719. Node277textStart = 0;
  31720. Node277textWidth =Node277fontSize <= 8 ? Node277width + Node277fontSize * 0.2 + 6 : Node277width - Node277fontSize * 0.2;
  31721. Node277lineStart = (Node277width - (ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "Arial"').width + 6)) * 0.5;
  31722. } else if (Node277align === 'center') {
  31723. Node277textStart = -3;
  31724. Node277textWidth = Node277width;
  31725. Node277lineStart = Node277width - ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "Arial"').width - 11;
  31726. }
  31727. })();
  31728. Node277.setImage(GD.getTextJSON(Node277width, Node277height, true, false, false, ' '+ Node277fontSize + 'px "Arial"'))
  31729. Node277.setPosition(909*ratio.ratioX, 779*ratio.ratioY);
  31730. Node277.setWidth(Node277width);
  31731. Node277.setHeight(Node277height);
  31732. Node277._nodeType = 'text';
  31733. Node277._disallowEvert = true;
  31734. Node277.setRotation(0*Math.PI/180);
  31735. Node277.a('node.width', Node277width);
  31736. Node277.a('node.height', Node277height);
  31737. Node277.a('node.rect', [0, 0, Node277width, Node277height]);
  31738. Node277.a('node.bordercolor','rgba(0,0,0,1)');
  31739. Node277.a('node.borderwidth', 0);
  31740. Node277.a('node.background','' || 'rgba(0,0,0,0)');
  31741. Node277.a('node.gradient','');
  31742. Node277.a('node.gradientcolor','');
  31743. Node277.a('node.text','0');
  31744. Node277.a('node.textalign','left');
  31745. Node277.a('node.textvAlign','middle');
  31746. Node277.a('node.textrect', [Node277textStart, 0, Node277textWidth, Node277height]);
  31747. Node277.a('node.color','rgba(0,0,0,1)');
  31748. Node277.a('node.font',' '+ Node277fontSize + 'px "Arial"');
  31749. Node277.a('node.textvisible',true);
  31750. Node277.a('node.linefeed',false);
  31751. if (false) {
  31752. Node277.a('node.textfunc',function(g) {
  31753. g.beginPath();
  31754. var str=Node277.a('node.text') || '0';
  31755. var color=Node277.a('node.color') || 'rgba(0,0,0,1)';
  31756. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node277width,Node277height,13.3333*_ratio.ratioY,"left",color,' '+ Node277fontSize + 'px "Arial"', 0,g);
  31757. });
  31758. }
  31759. if (false) {
  31760. Node277.a('node.underlinepoints',[Node277lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node277fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "Arial"').width + 6, (Node277height - Node277fontSize) * 0.5*_ratio.ratioY + Node277fontSize + 2 ]);
  31761. Node277.a('node.underlinevisible',false);
  31762. Node277.a('node.underlineBorderWidth', 1);
  31763. }
  31764. dataModel.add(Node277);
  31765. zoomNodeList.push({
  31766. node: Node277,
  31767. borderWidth: 0,
  31768. attr: 'node.borderwidth'
  31769. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31770. var Node278 = new ht.Node();
  31771. var Node278textStart, Node278textWidth, Node278lineStart, Node278align = 'left', Node278fontSize = 13.3333*_ratio.ratioY,Node278width = 50*_ratio.ratioX, Node278height = 20*_ratio.ratioY;
  31772. (function () {
  31773. if (Node278align === 'left') {
  31774. Node278textStart = Node278fontSize * 0.2 > 2 ? Node278fontSize * 0.2 - 4 : Node278fontSize * 0.2 - 9;
  31775. Node278textWidth = Node278width;
  31776. Node278lineStart = 1;
  31777. } else if (Node278align === 'right') {
  31778. Node278textStart = 0;
  31779. Node278textWidth =Node278fontSize <= 8 ? Node278width + Node278fontSize * 0.2 + 6 : Node278width - Node278fontSize * 0.2;
  31780. Node278lineStart = (Node278width - (ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "Arial"').width + 6)) * 0.5;
  31781. } else if (Node278align === 'center') {
  31782. Node278textStart = -3;
  31783. Node278textWidth = Node278width;
  31784. Node278lineStart = Node278width - ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "Arial"').width - 11;
  31785. }
  31786. })();
  31787. Node278.setImage(GD.getTextJSON(Node278width, Node278height, true, false, false, ' '+ Node278fontSize + 'px "Arial"'))
  31788. Node278.setPosition(909*ratio.ratioX, 794*ratio.ratioY);
  31789. Node278.setWidth(Node278width);
  31790. Node278.setHeight(Node278height);
  31791. Node278._nodeType = 'text';
  31792. Node278._disallowEvert = true;
  31793. Node278.setRotation(0*Math.PI/180);
  31794. Node278.a('node.width', Node278width);
  31795. Node278.a('node.height', Node278height);
  31796. Node278.a('node.rect', [0, 0, Node278width, Node278height]);
  31797. Node278.a('node.bordercolor','rgba(0,0,0,1)');
  31798. Node278.a('node.borderwidth', 0);
  31799. Node278.a('node.background','' || 'rgba(0,0,0,0)');
  31800. Node278.a('node.gradient','');
  31801. Node278.a('node.gradientcolor','');
  31802. Node278.a('node.text','0');
  31803. Node278.a('node.textalign','left');
  31804. Node278.a('node.textvAlign','middle');
  31805. Node278.a('node.textrect', [Node278textStart, 0, Node278textWidth, Node278height]);
  31806. Node278.a('node.color','rgba(0,0,0,1)');
  31807. Node278.a('node.font',' '+ Node278fontSize + 'px "Arial"');
  31808. Node278.a('node.textvisible',true);
  31809. Node278.a('node.linefeed',false);
  31810. if (false) {
  31811. Node278.a('node.textfunc',function(g) {
  31812. g.beginPath();
  31813. var str=Node278.a('node.text') || '0';
  31814. var color=Node278.a('node.color') || 'rgba(0,0,0,1)';
  31815. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node278width,Node278height,13.3333*_ratio.ratioY,"left",color,' '+ Node278fontSize + 'px "Arial"', 0,g);
  31816. });
  31817. }
  31818. if (false) {
  31819. Node278.a('node.underlinepoints',[Node278lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node278fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "Arial"').width + 6, (Node278height - Node278fontSize) * 0.5*_ratio.ratioY + Node278fontSize + 2 ]);
  31820. Node278.a('node.underlinevisible',false);
  31821. Node278.a('node.underlineBorderWidth', 1);
  31822. }
  31823. dataModel.add(Node278);
  31824. zoomNodeList.push({
  31825. node: Node278,
  31826. borderWidth: 0,
  31827. attr: 'node.borderwidth'
  31828. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31829. var Node279 = new ht.Node();
  31830. var Node279textStart, Node279textWidth, Node279lineStart, Node279align = 'left', Node279fontSize = 13.3333*_ratio.ratioY,Node279width = 50*_ratio.ratioX, Node279height = 20*_ratio.ratioY;
  31831. (function () {
  31832. if (Node279align === 'left') {
  31833. Node279textStart = Node279fontSize * 0.2 > 2 ? Node279fontSize * 0.2 - 4 : Node279fontSize * 0.2 - 9;
  31834. Node279textWidth = Node279width;
  31835. Node279lineStart = 1;
  31836. } else if (Node279align === 'right') {
  31837. Node279textStart = 0;
  31838. Node279textWidth =Node279fontSize <= 8 ? Node279width + Node279fontSize * 0.2 + 6 : Node279width - Node279fontSize * 0.2;
  31839. Node279lineStart = (Node279width - (ht.Default.getTextSize('0', ' '+ Node279fontSize + 'px "Arial"').width + 6)) * 0.5;
  31840. } else if (Node279align === 'center') {
  31841. Node279textStart = -3;
  31842. Node279textWidth = Node279width;
  31843. Node279lineStart = Node279width - ht.Default.getTextSize('0', ' '+ Node279fontSize + 'px "Arial"').width - 11;
  31844. }
  31845. })();
  31846. Node279.setImage(GD.getTextJSON(Node279width, Node279height, true, false, false, ' '+ Node279fontSize + 'px "Arial"'))
  31847. Node279.setPosition(909*ratio.ratioX, 812*ratio.ratioY);
  31848. Node279.setWidth(Node279width);
  31849. Node279.setHeight(Node279height);
  31850. Node279._nodeType = 'text';
  31851. Node279._disallowEvert = true;
  31852. Node279.setRotation(0*Math.PI/180);
  31853. Node279.a('node.width', Node279width);
  31854. Node279.a('node.height', Node279height);
  31855. Node279.a('node.rect', [0, 0, Node279width, Node279height]);
  31856. Node279.a('node.bordercolor','rgba(0,0,0,1)');
  31857. Node279.a('node.borderwidth', 0);
  31858. Node279.a('node.background','' || 'rgba(0,0,0,0)');
  31859. Node279.a('node.gradient','');
  31860. Node279.a('node.gradientcolor','');
  31861. Node279.a('node.text','0');
  31862. Node279.a('node.textalign','left');
  31863. Node279.a('node.textvAlign','middle');
  31864. Node279.a('node.textrect', [Node279textStart, 0, Node279textWidth, Node279height]);
  31865. Node279.a('node.color','rgba(0,0,0,1)');
  31866. Node279.a('node.font',' '+ Node279fontSize + 'px "Arial"');
  31867. Node279.a('node.textvisible',true);
  31868. Node279.a('node.linefeed',false);
  31869. if (false) {
  31870. Node279.a('node.textfunc',function(g) {
  31871. g.beginPath();
  31872. var str=Node279.a('node.text') || '0';
  31873. var color=Node279.a('node.color') || 'rgba(0,0,0,1)';
  31874. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node279width,Node279height,13.3333*_ratio.ratioY,"left",color,' '+ Node279fontSize + 'px "Arial"', 0,g);
  31875. });
  31876. }
  31877. if (false) {
  31878. Node279.a('node.underlinepoints',[Node279lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node279fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node279fontSize + 'px "Arial"').width + 6, (Node279height - Node279fontSize) * 0.5*_ratio.ratioY + Node279fontSize + 2 ]);
  31879. Node279.a('node.underlinevisible',false);
  31880. Node279.a('node.underlineBorderWidth', 1);
  31881. }
  31882. dataModel.add(Node279);
  31883. zoomNodeList.push({
  31884. node: Node279,
  31885. borderWidth: 0,
  31886. attr: 'node.borderwidth'
  31887. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31888. var Node280 = new ht.Node();
  31889. var Node280textStart, Node280textWidth, Node280lineStart, Node280align = 'left', Node280fontSize = 13.3333*_ratio.ratioY,Node280width = 50*_ratio.ratioX, Node280height = 20*_ratio.ratioY;
  31890. (function () {
  31891. if (Node280align === 'left') {
  31892. Node280textStart = Node280fontSize * 0.2 > 2 ? Node280fontSize * 0.2 - 4 : Node280fontSize * 0.2 - 9;
  31893. Node280textWidth = Node280width;
  31894. Node280lineStart = 1;
  31895. } else if (Node280align === 'right') {
  31896. Node280textStart = 0;
  31897. Node280textWidth =Node280fontSize <= 8 ? Node280width + Node280fontSize * 0.2 + 6 : Node280width - Node280fontSize * 0.2;
  31898. Node280lineStart = (Node280width - (ht.Default.getTextSize('0', ' '+ Node280fontSize + 'px "Arial"').width + 6)) * 0.5;
  31899. } else if (Node280align === 'center') {
  31900. Node280textStart = -3;
  31901. Node280textWidth = Node280width;
  31902. Node280lineStart = Node280width - ht.Default.getTextSize('0', ' '+ Node280fontSize + 'px "Arial"').width - 11;
  31903. }
  31904. })();
  31905. Node280.setImage(GD.getTextJSON(Node280width, Node280height, true, false, false, ' '+ Node280fontSize + 'px "Arial"'))
  31906. Node280.setPosition(909*ratio.ratioX, 828*ratio.ratioY);
  31907. Node280.setWidth(Node280width);
  31908. Node280.setHeight(Node280height);
  31909. Node280._nodeType = 'text';
  31910. Node280._disallowEvert = true;
  31911. Node280.setRotation(0*Math.PI/180);
  31912. Node280.a('node.width', Node280width);
  31913. Node280.a('node.height', Node280height);
  31914. Node280.a('node.rect', [0, 0, Node280width, Node280height]);
  31915. Node280.a('node.bordercolor','rgba(0,0,0,1)');
  31916. Node280.a('node.borderwidth', 0);
  31917. Node280.a('node.background','' || 'rgba(0,0,0,0)');
  31918. Node280.a('node.gradient','');
  31919. Node280.a('node.gradientcolor','');
  31920. Node280.a('node.text','0');
  31921. Node280.a('node.textalign','left');
  31922. Node280.a('node.textvAlign','middle');
  31923. Node280.a('node.textrect', [Node280textStart, 0, Node280textWidth, Node280height]);
  31924. Node280.a('node.color','rgba(0,0,0,1)');
  31925. Node280.a('node.font',' '+ Node280fontSize + 'px "Arial"');
  31926. Node280.a('node.textvisible',true);
  31927. Node280.a('node.linefeed',false);
  31928. if (false) {
  31929. Node280.a('node.textfunc',function(g) {
  31930. g.beginPath();
  31931. var str=Node280.a('node.text') || '0';
  31932. var color=Node280.a('node.color') || 'rgba(0,0,0,1)';
  31933. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node280width,Node280height,13.3333*_ratio.ratioY,"left",color,' '+ Node280fontSize + 'px "Arial"', 0,g);
  31934. });
  31935. }
  31936. if (false) {
  31937. Node280.a('node.underlinepoints',[Node280lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node280fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node280fontSize + 'px "Arial"').width + 6, (Node280height - Node280fontSize) * 0.5*_ratio.ratioY + Node280fontSize + 2 ]);
  31938. Node280.a('node.underlinevisible',false);
  31939. Node280.a('node.underlineBorderWidth', 1);
  31940. }
  31941. dataModel.add(Node280);
  31942. zoomNodeList.push({
  31943. node: Node280,
  31944. borderWidth: 0,
  31945. attr: 'node.borderwidth'
  31946. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  31947. var Node281 = new ht.Node();
  31948. var Node281textStart, Node281textWidth, Node281lineStart, Node281align = 'left', Node281fontSize = 13.3333*_ratio.ratioY,Node281width = 50*_ratio.ratioX, Node281height = 20*_ratio.ratioY;
  31949. (function () {
  31950. if (Node281align === 'left') {
  31951. Node281textStart = Node281fontSize * 0.2 > 2 ? Node281fontSize * 0.2 - 4 : Node281fontSize * 0.2 - 9;
  31952. Node281textWidth = Node281width;
  31953. Node281lineStart = 1;
  31954. } else if (Node281align === 'right') {
  31955. Node281textStart = 0;
  31956. Node281textWidth =Node281fontSize <= 8 ? Node281width + Node281fontSize * 0.2 + 6 : Node281width - Node281fontSize * 0.2;
  31957. Node281lineStart = (Node281width - (ht.Default.getTextSize('0', ' '+ Node281fontSize + 'px "Arial"').width + 6)) * 0.5;
  31958. } else if (Node281align === 'center') {
  31959. Node281textStart = -3;
  31960. Node281textWidth = Node281width;
  31961. Node281lineStart = Node281width - ht.Default.getTextSize('0', ' '+ Node281fontSize + 'px "Arial"').width - 11;
  31962. }
  31963. })();
  31964. Node281.setImage(GD.getTextJSON(Node281width, Node281height, true, false, false, ' '+ Node281fontSize + 'px "Arial"'))
  31965. Node281.setPosition(1293*ratio.ratioX, 777*ratio.ratioY);
  31966. Node281.setWidth(Node281width);
  31967. Node281.setHeight(Node281height);
  31968. Node281._nodeType = 'text';
  31969. Node281._disallowEvert = true;
  31970. Node281.setRotation(0*Math.PI/180);
  31971. Node281.a('node.width', Node281width);
  31972. Node281.a('node.height', Node281height);
  31973. Node281.a('node.rect', [0, 0, Node281width, Node281height]);
  31974. Node281.a('node.bordercolor','rgba(0,0,0,1)');
  31975. Node281.a('node.borderwidth', 0);
  31976. Node281.a('node.background','' || 'rgba(0,0,0,0)');
  31977. Node281.a('node.gradient','');
  31978. Node281.a('node.gradientcolor','');
  31979. Node281.a('node.text','0');
  31980. Node281.a('node.textalign','left');
  31981. Node281.a('node.textvAlign','middle');
  31982. Node281.a('node.textrect', [Node281textStart, 0, Node281textWidth, Node281height]);
  31983. Node281.a('node.color','rgba(0,0,0,1)');
  31984. Node281.a('node.font',' '+ Node281fontSize + 'px "Arial"');
  31985. Node281.a('node.textvisible',true);
  31986. Node281.a('node.linefeed',false);
  31987. if (false) {
  31988. Node281.a('node.textfunc',function(g) {
  31989. g.beginPath();
  31990. var str=Node281.a('node.text') || '0';
  31991. var color=Node281.a('node.color') || 'rgba(0,0,0,1)';
  31992. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node281width,Node281height,13.3333*_ratio.ratioY,"left",color,' '+ Node281fontSize + 'px "Arial"', 0,g);
  31993. });
  31994. }
  31995. if (false) {
  31996. Node281.a('node.underlinepoints',[Node281lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node281fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node281fontSize + 'px "Arial"').width + 6, (Node281height - Node281fontSize) * 0.5*_ratio.ratioY + Node281fontSize + 2 ]);
  31997. Node281.a('node.underlinevisible',false);
  31998. Node281.a('node.underlineBorderWidth', 1);
  31999. }
  32000. dataModel.add(Node281);
  32001. zoomNodeList.push({
  32002. node: Node281,
  32003. borderWidth: 0,
  32004. attr: 'node.borderwidth'
  32005. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32006. var Node282 = new ht.Node();
  32007. var Node282textStart, Node282textWidth, Node282lineStart, Node282align = 'left', Node282fontSize = 13.3333*_ratio.ratioY,Node282width = 50*_ratio.ratioX, Node282height = 20*_ratio.ratioY;
  32008. (function () {
  32009. if (Node282align === 'left') {
  32010. Node282textStart = Node282fontSize * 0.2 > 2 ? Node282fontSize * 0.2 - 4 : Node282fontSize * 0.2 - 9;
  32011. Node282textWidth = Node282width;
  32012. Node282lineStart = 1;
  32013. } else if (Node282align === 'right') {
  32014. Node282textStart = 0;
  32015. Node282textWidth =Node282fontSize <= 8 ? Node282width + Node282fontSize * 0.2 + 6 : Node282width - Node282fontSize * 0.2;
  32016. Node282lineStart = (Node282width - (ht.Default.getTextSize('0', ' '+ Node282fontSize + 'px "Arial"').width + 6)) * 0.5;
  32017. } else if (Node282align === 'center') {
  32018. Node282textStart = -3;
  32019. Node282textWidth = Node282width;
  32020. Node282lineStart = Node282width - ht.Default.getTextSize('0', ' '+ Node282fontSize + 'px "Arial"').width - 11;
  32021. }
  32022. })();
  32023. Node282.setImage(GD.getTextJSON(Node282width, Node282height, true, false, false, ' '+ Node282fontSize + 'px "Arial"'))
  32024. Node282.setPosition(1293*ratio.ratioX, 792*ratio.ratioY);
  32025. Node282.setWidth(Node282width);
  32026. Node282.setHeight(Node282height);
  32027. Node282._nodeType = 'text';
  32028. Node282._disallowEvert = true;
  32029. Node282.setRotation(0*Math.PI/180);
  32030. Node282.a('node.width', Node282width);
  32031. Node282.a('node.height', Node282height);
  32032. Node282.a('node.rect', [0, 0, Node282width, Node282height]);
  32033. Node282.a('node.bordercolor','rgba(0,0,0,1)');
  32034. Node282.a('node.borderwidth', 0);
  32035. Node282.a('node.background','' || 'rgba(0,0,0,0)');
  32036. Node282.a('node.gradient','');
  32037. Node282.a('node.gradientcolor','');
  32038. Node282.a('node.text','0');
  32039. Node282.a('node.textalign','left');
  32040. Node282.a('node.textvAlign','middle');
  32041. Node282.a('node.textrect', [Node282textStart, 0, Node282textWidth, Node282height]);
  32042. Node282.a('node.color','rgba(0,0,0,1)');
  32043. Node282.a('node.font',' '+ Node282fontSize + 'px "Arial"');
  32044. Node282.a('node.textvisible',true);
  32045. Node282.a('node.linefeed',false);
  32046. if (false) {
  32047. Node282.a('node.textfunc',function(g) {
  32048. g.beginPath();
  32049. var str=Node282.a('node.text') || '0';
  32050. var color=Node282.a('node.color') || 'rgba(0,0,0,1)';
  32051. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node282width,Node282height,13.3333*_ratio.ratioY,"left",color,' '+ Node282fontSize + 'px "Arial"', 0,g);
  32052. });
  32053. }
  32054. if (false) {
  32055. Node282.a('node.underlinepoints',[Node282lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node282fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node282fontSize + 'px "Arial"').width + 6, (Node282height - Node282fontSize) * 0.5*_ratio.ratioY + Node282fontSize + 2 ]);
  32056. Node282.a('node.underlinevisible',false);
  32057. Node282.a('node.underlineBorderWidth', 1);
  32058. }
  32059. dataModel.add(Node282);
  32060. zoomNodeList.push({
  32061. node: Node282,
  32062. borderWidth: 0,
  32063. attr: 'node.borderwidth'
  32064. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32065. var Node283 = new ht.Node();
  32066. var Node283textStart, Node283textWidth, Node283lineStart, Node283align = 'left', Node283fontSize = 13.3333*_ratio.ratioY,Node283width = 50*_ratio.ratioX, Node283height = 20*_ratio.ratioY;
  32067. (function () {
  32068. if (Node283align === 'left') {
  32069. Node283textStart = Node283fontSize * 0.2 > 2 ? Node283fontSize * 0.2 - 4 : Node283fontSize * 0.2 - 9;
  32070. Node283textWidth = Node283width;
  32071. Node283lineStart = 1;
  32072. } else if (Node283align === 'right') {
  32073. Node283textStart = 0;
  32074. Node283textWidth =Node283fontSize <= 8 ? Node283width + Node283fontSize * 0.2 + 6 : Node283width - Node283fontSize * 0.2;
  32075. Node283lineStart = (Node283width - (ht.Default.getTextSize('0', ' '+ Node283fontSize + 'px "Arial"').width + 6)) * 0.5;
  32076. } else if (Node283align === 'center') {
  32077. Node283textStart = -3;
  32078. Node283textWidth = Node283width;
  32079. Node283lineStart = Node283width - ht.Default.getTextSize('0', ' '+ Node283fontSize + 'px "Arial"').width - 11;
  32080. }
  32081. })();
  32082. Node283.setImage(GD.getTextJSON(Node283width, Node283height, true, false, false, ' '+ Node283fontSize + 'px "Arial"'))
  32083. Node283.setPosition(1293*ratio.ratioX, 810*ratio.ratioY);
  32084. Node283.setWidth(Node283width);
  32085. Node283.setHeight(Node283height);
  32086. Node283._nodeType = 'text';
  32087. Node283._disallowEvert = true;
  32088. Node283.setRotation(0*Math.PI/180);
  32089. Node283.a('node.width', Node283width);
  32090. Node283.a('node.height', Node283height);
  32091. Node283.a('node.rect', [0, 0, Node283width, Node283height]);
  32092. Node283.a('node.bordercolor','rgba(0,0,0,1)');
  32093. Node283.a('node.borderwidth', 0);
  32094. Node283.a('node.background','' || 'rgba(0,0,0,0)');
  32095. Node283.a('node.gradient','');
  32096. Node283.a('node.gradientcolor','');
  32097. Node283.a('node.text','0');
  32098. Node283.a('node.textalign','left');
  32099. Node283.a('node.textvAlign','middle');
  32100. Node283.a('node.textrect', [Node283textStart, 0, Node283textWidth, Node283height]);
  32101. Node283.a('node.color','rgba(0,0,0,1)');
  32102. Node283.a('node.font',' '+ Node283fontSize + 'px "Arial"');
  32103. Node283.a('node.textvisible',true);
  32104. Node283.a('node.linefeed',false);
  32105. if (false) {
  32106. Node283.a('node.textfunc',function(g) {
  32107. g.beginPath();
  32108. var str=Node283.a('node.text') || '0';
  32109. var color=Node283.a('node.color') || 'rgba(0,0,0,1)';
  32110. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node283width,Node283height,13.3333*_ratio.ratioY,"left",color,' '+ Node283fontSize + 'px "Arial"', 0,g);
  32111. });
  32112. }
  32113. if (false) {
  32114. Node283.a('node.underlinepoints',[Node283lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node283fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node283fontSize + 'px "Arial"').width + 6, (Node283height - Node283fontSize) * 0.5*_ratio.ratioY + Node283fontSize + 2 ]);
  32115. Node283.a('node.underlinevisible',false);
  32116. Node283.a('node.underlineBorderWidth', 1);
  32117. }
  32118. dataModel.add(Node283);
  32119. zoomNodeList.push({
  32120. node: Node283,
  32121. borderWidth: 0,
  32122. attr: 'node.borderwidth'
  32123. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32124. var Node284 = new ht.Node();
  32125. var Node284textStart, Node284textWidth, Node284lineStart, Node284align = 'left', Node284fontSize = 13.3333*_ratio.ratioY,Node284width = 50*_ratio.ratioX, Node284height = 20*_ratio.ratioY;
  32126. (function () {
  32127. if (Node284align === 'left') {
  32128. Node284textStart = Node284fontSize * 0.2 > 2 ? Node284fontSize * 0.2 - 4 : Node284fontSize * 0.2 - 9;
  32129. Node284textWidth = Node284width;
  32130. Node284lineStart = 1;
  32131. } else if (Node284align === 'right') {
  32132. Node284textStart = 0;
  32133. Node284textWidth =Node284fontSize <= 8 ? Node284width + Node284fontSize * 0.2 + 6 : Node284width - Node284fontSize * 0.2;
  32134. Node284lineStart = (Node284width - (ht.Default.getTextSize('0', ' '+ Node284fontSize + 'px "Arial"').width + 6)) * 0.5;
  32135. } else if (Node284align === 'center') {
  32136. Node284textStart = -3;
  32137. Node284textWidth = Node284width;
  32138. Node284lineStart = Node284width - ht.Default.getTextSize('0', ' '+ Node284fontSize + 'px "Arial"').width - 11;
  32139. }
  32140. })();
  32141. Node284.setImage(GD.getTextJSON(Node284width, Node284height, true, false, false, ' '+ Node284fontSize + 'px "Arial"'))
  32142. Node284.setPosition(1293*ratio.ratioX, 826*ratio.ratioY);
  32143. Node284.setWidth(Node284width);
  32144. Node284.setHeight(Node284height);
  32145. Node284._nodeType = 'text';
  32146. Node284._disallowEvert = true;
  32147. Node284.setRotation(0*Math.PI/180);
  32148. Node284.a('node.width', Node284width);
  32149. Node284.a('node.height', Node284height);
  32150. Node284.a('node.rect', [0, 0, Node284width, Node284height]);
  32151. Node284.a('node.bordercolor','rgba(0,0,0,1)');
  32152. Node284.a('node.borderwidth', 0);
  32153. Node284.a('node.background','' || 'rgba(0,0,0,0)');
  32154. Node284.a('node.gradient','');
  32155. Node284.a('node.gradientcolor','');
  32156. Node284.a('node.text','0');
  32157. Node284.a('node.textalign','left');
  32158. Node284.a('node.textvAlign','middle');
  32159. Node284.a('node.textrect', [Node284textStart, 0, Node284textWidth, Node284height]);
  32160. Node284.a('node.color','rgba(0,0,0,1)');
  32161. Node284.a('node.font',' '+ Node284fontSize + 'px "Arial"');
  32162. Node284.a('node.textvisible',true);
  32163. Node284.a('node.linefeed',false);
  32164. if (false) {
  32165. Node284.a('node.textfunc',function(g) {
  32166. g.beginPath();
  32167. var str=Node284.a('node.text') || '0';
  32168. var color=Node284.a('node.color') || 'rgba(0,0,0,1)';
  32169. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node284width,Node284height,13.3333*_ratio.ratioY,"left",color,' '+ Node284fontSize + 'px "Arial"', 0,g);
  32170. });
  32171. }
  32172. if (false) {
  32173. Node284.a('node.underlinepoints',[Node284lineStart, (20 - 13.3333) * 0.5 * _ratio.ratioY + Node284fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node284fontSize + 'px "Arial"').width + 6, (Node284height - Node284fontSize) * 0.5*_ratio.ratioY + Node284fontSize + 2 ]);
  32174. Node284.a('node.underlinevisible',false);
  32175. Node284.a('node.underlineBorderWidth', 1);
  32176. }
  32177. dataModel.add(Node284);
  32178. zoomNodeList.push({
  32179. node: Node284,
  32180. borderWidth: 0,
  32181. attr: 'node.borderwidth'
  32182. }); _ratio = GD.getRatioWithRotation(0, ratio);
  32183. var Node285 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32184. var Node286 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32185. var Node287 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32186. var Node288 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32187. var Node289 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32188. var Node290 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32189. var Node291 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32190. var Node292 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32191. var Node293 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32192. var Node294 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32193. var Node295 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32194. var Node296 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32195. var Node297 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32196. var Node298 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32197. var Node299 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  32198. var Node300 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});var Node301_0;
  32199. (function () {
  32200. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32201. var ratioX, ratioY;
  32202. if ('Default' === 'False') {
  32203. ratioX = 1;
  32204. ratioY = 1;
  32205. } else if ('Default' === 'X') {
  32206. ratioX = ratioY = _ratio.ratioX;
  32207. } else if ('Default' === 'Y') {
  32208. ratioX = ratioY = _ratio.ratioY;
  32209. } else {
  32210. ratioX = _ratio.ratioX;
  32211. ratioY = _ratio.ratioY;
  32212. }
  32213. ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
  32214. Node301_0 = new ht.Node();
  32215. Node301_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
  32216. Node301_0.setSize(27*ratioX, 101*ratioY);
  32217. Node301_0.setImage('imgimage//left_menu_over0.png');
  32218. Node301_0.setRotation(0*Math.PI/180);
  32219. Node301_0._zoomBy = 'Default';
  32220. Node301_0._nodeType = 'image';
  32221. Node301_0._disallowEvert = true;
  32222. dataModel.add(Node301_0);
  32223. })();
  32224. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32225. var Node301_1 = new ht.Node();
  32226. var Node301_1textStart, Node301_1textWidth, Node301_1lineStart, Node301_1align = 'left', Node301_1fontSize = 19.99995*_ratio.ratioY,Node301_1width = 23*_ratio.ratioX, Node301_1height = 76*_ratio.ratioY;
  32227. (function () {
  32228. if (Node301_1align === 'left') {
  32229. Node301_1textStart = Node301_1fontSize * 0.2 > 2 ? Node301_1fontSize * 0.2 - 4 : Node301_1fontSize * 0.2 - 9;
  32230. Node301_1textWidth = Node301_1width;
  32231. Node301_1lineStart = 1;
  32232. } else if (Node301_1align === 'right') {
  32233. Node301_1textStart = 0;
  32234. Node301_1textWidth =Node301_1fontSize <= 8 ? Node301_1width + Node301_1fontSize * 0.2 + 6 : Node301_1width - Node301_1fontSize * 0.2;
  32235. Node301_1lineStart = (Node301_1width - (ht.Default.getTextSize('排布图', ' '+ Node301_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32236. } else if (Node301_1align === 'center') {
  32237. Node301_1textStart = -3;
  32238. Node301_1textWidth = Node301_1width;
  32239. Node301_1lineStart = Node301_1width - ht.Default.getTextSize('排布图', ' '+ Node301_1fontSize + 'px "Arial"').width - 11;
  32240. }
  32241. })();
  32242. Node301_1.setImage(GD.getTextJSON(Node301_1width, Node301_1height, false, true, false, ' '+ Node301_1fontSize + 'px "Arial"'))
  32243. Node301_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
  32244. Node301_1.setWidth(Node301_1width);
  32245. Node301_1.setHeight(Node301_1height);
  32246. Node301_1._nodeType = 'text';
  32247. Node301_1._disallowEvert = true;
  32248. Node301_1.setRotation(0*Math.PI/180);
  32249. Node301_1.a('node.width', Node301_1width);
  32250. Node301_1.a('node.height', Node301_1height);
  32251. Node301_1.a('node.rect', [0, 0, Node301_1width, Node301_1height]);
  32252. Node301_1.a('node.bordercolor','rgba(0,0,0,1)');
  32253. Node301_1.a('node.borderwidth', 0);
  32254. Node301_1.a('node.background','' || 'rgba(0,0,0,0)');
  32255. Node301_1.a('node.gradient','');
  32256. Node301_1.a('node.gradientcolor','');
  32257. Node301_1.a('node.text','排布图');
  32258. Node301_1.a('node.textalign','left');
  32259. Node301_1.a('node.textvAlign','middle');
  32260. Node301_1.a('node.textrect', [Node301_1textStart, 0, Node301_1textWidth, Node301_1height]);
  32261. Node301_1.a('node.color','rgba(0,0,0,1)');
  32262. Node301_1.a('node.font',' '+ Node301_1fontSize + 'px "Arial"');
  32263. Node301_1.a('node.textvisible',false);
  32264. Node301_1.a('node.linefeed',true);
  32265. if (true) {
  32266. Node301_1.a('node.textfunc',function(g) {
  32267. g.beginPath();
  32268. var str=Node301_1.a('node.text') || '排布图';
  32269. var color=Node301_1.a('node.color') || 'rgba(0,0,0,1)';
  32270. canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node301_1width,Node301_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node301_1fontSize + 'px "Arial"', 0,g);
  32271. });
  32272. }
  32273. if (false) {
  32274. Node301_1.a('node.underlinepoints',[Node301_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node301_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node301_1fontSize + 'px "Arial"').width + 6, (Node301_1height - Node301_1fontSize) * 0.5*_ratio.ratioY + Node301_1fontSize + 2 ]);
  32275. Node301_1.a('node.underlinevisible',false);
  32276. Node301_1.a('node.underlineBorderWidth', 1);
  32277. }
  32278. dataModel.add(Node301_1);
  32279. zoomNodeList.push({
  32280. node: Node301_1,
  32281. borderWidth: 0,
  32282. attr: 'node.borderwidth'
  32283. }); var Node302_0;
  32284. (function () {
  32285. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32286. var ratioX, ratioY;
  32287. if ('Default' === 'False') {
  32288. ratioX = 1;
  32289. ratioY = 1;
  32290. } else if ('Default' === 'X') {
  32291. ratioX = ratioY = _ratio.ratioX;
  32292. } else if ('Default' === 'Y') {
  32293. ratioX = ratioY = _ratio.ratioY;
  32294. } else {
  32295. ratioX = _ratio.ratioX;
  32296. ratioY = _ratio.ratioY;
  32297. }
  32298. ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
  32299. Node302_0 = new ht.Node();
  32300. Node302_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
  32301. Node302_0.setSize(27*ratioX, 101*ratioY);
  32302. Node302_0.setImage('imgimage//left_menu_over0.png');
  32303. Node302_0.setRotation(0*Math.PI/180);
  32304. Node302_0._zoomBy = 'Default';
  32305. Node302_0._nodeType = 'image';
  32306. Node302_0._disallowEvert = true;
  32307. dataModel.add(Node302_0);
  32308. })();
  32309. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32310. var Node302_1 = new ht.Node();
  32311. var Node302_1textStart, Node302_1textWidth, Node302_1lineStart, Node302_1align = 'left', Node302_1fontSize = 18.66662*_ratio.ratioY,Node302_1width = 23*_ratio.ratioX, Node302_1height = 76*_ratio.ratioY;
  32312. (function () {
  32313. if (Node302_1align === 'left') {
  32314. Node302_1textStart = Node302_1fontSize * 0.2 > 2 ? Node302_1fontSize * 0.2 - 4 : Node302_1fontSize * 0.2 - 9;
  32315. Node302_1textWidth = Node302_1width;
  32316. Node302_1lineStart = 1;
  32317. } else if (Node302_1align === 'right') {
  32318. Node302_1textStart = 0;
  32319. Node302_1textWidth =Node302_1fontSize <= 8 ? Node302_1width + Node302_1fontSize * 0.2 + 6 : Node302_1width - Node302_1fontSize * 0.2;
  32320. Node302_1lineStart = (Node302_1width - (ht.Default.getTextSize('总貌图', ' '+ Node302_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32321. } else if (Node302_1align === 'center') {
  32322. Node302_1textStart = -3;
  32323. Node302_1textWidth = Node302_1width;
  32324. Node302_1lineStart = Node302_1width - ht.Default.getTextSize('总貌图', ' '+ Node302_1fontSize + 'px "Arial"').width - 11;
  32325. }
  32326. })();
  32327. Node302_1.setImage(GD.getTextJSON(Node302_1width, Node302_1height, false, true, false, ' '+ Node302_1fontSize + 'px "Arial"'))
  32328. Node302_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
  32329. Node302_1.setWidth(Node302_1width);
  32330. Node302_1.setHeight(Node302_1height);
  32331. Node302_1._nodeType = 'text';
  32332. Node302_1._disallowEvert = true;
  32333. Node302_1.setRotation(0*Math.PI/180);
  32334. Node302_1.a('node.width', Node302_1width);
  32335. Node302_1.a('node.height', Node302_1height);
  32336. Node302_1.a('node.rect', [0, 0, Node302_1width, Node302_1height]);
  32337. Node302_1.a('node.bordercolor','rgba(0,0,0,1)');
  32338. Node302_1.a('node.borderwidth', 0);
  32339. Node302_1.a('node.background','' || 'rgba(0,0,0,0)');
  32340. Node302_1.a('node.gradient','');
  32341. Node302_1.a('node.gradientcolor','');
  32342. Node302_1.a('node.text','总貌图');
  32343. Node302_1.a('node.textalign','left');
  32344. Node302_1.a('node.textvAlign','middle');
  32345. Node302_1.a('node.textrect', [Node302_1textStart, 0, Node302_1textWidth, Node302_1height]);
  32346. Node302_1.a('node.color','rgba(0,0,0,1)');
  32347. Node302_1.a('node.font',' '+ Node302_1fontSize + 'px "Arial"');
  32348. Node302_1.a('node.textvisible',false);
  32349. Node302_1.a('node.linefeed',true);
  32350. if (true) {
  32351. Node302_1.a('node.textfunc',function(g) {
  32352. g.beginPath();
  32353. var str=Node302_1.a('node.text') || '总貌图';
  32354. var color=Node302_1.a('node.color') || 'rgba(0,0,0,1)';
  32355. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node302_1width,Node302_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node302_1fontSize + 'px "Arial"', 0,g);
  32356. });
  32357. }
  32358. if (false) {
  32359. Node302_1.a('node.underlinepoints',[Node302_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node302_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node302_1fontSize + 'px "Arial"').width + 6, (Node302_1height - Node302_1fontSize) * 0.5*_ratio.ratioY + Node302_1fontSize + 2 ]);
  32360. Node302_1.a('node.underlinevisible',false);
  32361. Node302_1.a('node.underlineBorderWidth', 1);
  32362. }
  32363. dataModel.add(Node302_1);
  32364. zoomNodeList.push({
  32365. node: Node302_1,
  32366. borderWidth: 0,
  32367. attr: 'node.borderwidth'
  32368. }); var Node303_0;
  32369. (function () {
  32370. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32371. var ratioX, ratioY;
  32372. if ('Default' === 'False') {
  32373. ratioX = 1;
  32374. ratioY = 1;
  32375. } else if ('Default' === 'X') {
  32376. ratioX = ratioY = _ratio.ratioX;
  32377. } else if ('Default' === 'Y') {
  32378. ratioX = ratioY = _ratio.ratioY;
  32379. } else {
  32380. ratioX = _ratio.ratioX;
  32381. ratioY = _ratio.ratioY;
  32382. }
  32383. ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
  32384. Node303_0 = new ht.Node();
  32385. Node303_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
  32386. Node303_0.setSize(27*ratioX, 101*ratioY);
  32387. Node303_0.setImage('imgimage//left_menu_over0.png');
  32388. Node303_0.setRotation(0*Math.PI/180);
  32389. Node303_0._zoomBy = 'Default';
  32390. Node303_0._nodeType = 'image';
  32391. Node303_0._disallowEvert = true;
  32392. dataModel.add(Node303_0);
  32393. })();
  32394. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32395. var Node303_1 = new ht.Node();
  32396. var Node303_1textStart, Node303_1textWidth, Node303_1lineStart, Node303_1align = 'left', Node303_1fontSize = 18.66662*_ratio.ratioY,Node303_1width = 23*_ratio.ratioX, Node303_1height = 76*_ratio.ratioY;
  32397. (function () {
  32398. if (Node303_1align === 'left') {
  32399. Node303_1textStart = Node303_1fontSize * 0.2 > 2 ? Node303_1fontSize * 0.2 - 4 : Node303_1fontSize * 0.2 - 9;
  32400. Node303_1textWidth = Node303_1width;
  32401. Node303_1lineStart = 1;
  32402. } else if (Node303_1align === 'right') {
  32403. Node303_1textStart = 0;
  32404. Node303_1textWidth =Node303_1fontSize <= 8 ? Node303_1width + Node303_1fontSize * 0.2 + 6 : Node303_1width - Node303_1fontSize * 0.2;
  32405. Node303_1lineStart = (Node303_1width - (ht.Default.getTextSize('升压站', ' '+ Node303_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32406. } else if (Node303_1align === 'center') {
  32407. Node303_1textStart = -3;
  32408. Node303_1textWidth = Node303_1width;
  32409. Node303_1lineStart = Node303_1width - ht.Default.getTextSize('升压站', ' '+ Node303_1fontSize + 'px "Arial"').width - 11;
  32410. }
  32411. })();
  32412. Node303_1.setImage(GD.getTextJSON(Node303_1width, Node303_1height, false, true, false, ' '+ Node303_1fontSize + 'px "Arial"'))
  32413. Node303_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
  32414. Node303_1.setWidth(Node303_1width);
  32415. Node303_1.setHeight(Node303_1height);
  32416. Node303_1._nodeType = 'text';
  32417. Node303_1._disallowEvert = true;
  32418. Node303_1.setRotation(0*Math.PI/180);
  32419. Node303_1.a('node.width', Node303_1width);
  32420. Node303_1.a('node.height', Node303_1height);
  32421. Node303_1.a('node.rect', [0, 0, Node303_1width, Node303_1height]);
  32422. Node303_1.a('node.bordercolor','rgba(0,0,0,1)');
  32423. Node303_1.a('node.borderwidth', 0);
  32424. Node303_1.a('node.background','' || 'rgba(0,0,0,0)');
  32425. Node303_1.a('node.gradient','');
  32426. Node303_1.a('node.gradientcolor','');
  32427. Node303_1.a('node.text','升压站');
  32428. Node303_1.a('node.textalign','left');
  32429. Node303_1.a('node.textvAlign','middle');
  32430. Node303_1.a('node.textrect', [Node303_1textStart, 0, Node303_1textWidth, Node303_1height]);
  32431. Node303_1.a('node.color','rgba(0,0,0,1)');
  32432. Node303_1.a('node.font',' '+ Node303_1fontSize + 'px "Arial"');
  32433. Node303_1.a('node.textvisible',false);
  32434. Node303_1.a('node.linefeed',true);
  32435. if (true) {
  32436. Node303_1.a('node.textfunc',function(g) {
  32437. g.beginPath();
  32438. var str=Node303_1.a('node.text') || '升压站';
  32439. var color=Node303_1.a('node.color') || 'rgba(0,0,0,1)';
  32440. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node303_1width,Node303_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node303_1fontSize + 'px "Arial"', 0,g);
  32441. });
  32442. }
  32443. if (false) {
  32444. Node303_1.a('node.underlinepoints',[Node303_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node303_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node303_1fontSize + 'px "Arial"').width + 6, (Node303_1height - Node303_1fontSize) * 0.5*_ratio.ratioY + Node303_1fontSize + 2 ]);
  32445. Node303_1.a('node.underlinevisible',false);
  32446. Node303_1.a('node.underlineBorderWidth', 1);
  32447. }
  32448. dataModel.add(Node303_1);
  32449. zoomNodeList.push({
  32450. node: Node303_1,
  32451. borderWidth: 0,
  32452. attr: 'node.borderwidth'
  32453. }); var Node304_0;
  32454. (function () {
  32455. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32456. var ratioX, ratioY;
  32457. if ('Default' === 'False') {
  32458. ratioX = 1;
  32459. ratioY = 1;
  32460. } else if ('Default' === 'X') {
  32461. ratioX = ratioY = _ratio.ratioX;
  32462. } else if ('Default' === 'Y') {
  32463. ratioX = ratioY = _ratio.ratioY;
  32464. } else {
  32465. ratioX = _ratio.ratioX;
  32466. ratioY = _ratio.ratioY;
  32467. }
  32468. ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
  32469. Node304_0 = new ht.Node();
  32470. Node304_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
  32471. Node304_0.setSize(27*ratioX, 101*ratioY);
  32472. Node304_0.setImage('imgimage//left_menu_over0.png');
  32473. Node304_0.setRotation(0*Math.PI/180);
  32474. Node304_0._zoomBy = 'Default';
  32475. Node304_0._nodeType = 'image';
  32476. Node304_0._disallowEvert = true;
  32477. dataModel.add(Node304_0);
  32478. })();
  32479. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32480. var Node304_1 = new ht.Node();
  32481. var Node304_1textStart, Node304_1textWidth, Node304_1lineStart, Node304_1align = 'left', Node304_1fontSize = 18.66662*_ratio.ratioY,Node304_1width = 23*_ratio.ratioX, Node304_1height = 76*_ratio.ratioY;
  32482. (function () {
  32483. if (Node304_1align === 'left') {
  32484. Node304_1textStart = Node304_1fontSize * 0.2 > 2 ? Node304_1fontSize * 0.2 - 4 : Node304_1fontSize * 0.2 - 9;
  32485. Node304_1textWidth = Node304_1width;
  32486. Node304_1lineStart = 1;
  32487. } else if (Node304_1align === 'right') {
  32488. Node304_1textStart = 0;
  32489. Node304_1textWidth =Node304_1fontSize <= 8 ? Node304_1width + Node304_1fontSize * 0.2 + 6 : Node304_1width - Node304_1fontSize * 0.2;
  32490. Node304_1lineStart = (Node304_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node304_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32491. } else if (Node304_1align === 'center') {
  32492. Node304_1textStart = -3;
  32493. Node304_1textWidth = Node304_1width;
  32494. Node304_1lineStart = Node304_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node304_1fontSize + 'px "Arial"').width - 11;
  32495. }
  32496. })();
  32497. Node304_1.setImage(GD.getTextJSON(Node304_1width, Node304_1height, false, true, false, ' '+ Node304_1fontSize + 'px "Arial"'))
  32498. Node304_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
  32499. Node304_1.setWidth(Node304_1width);
  32500. Node304_1.setHeight(Node304_1height);
  32501. Node304_1._nodeType = 'text';
  32502. Node304_1._disallowEvert = true;
  32503. Node304_1.setRotation(0*Math.PI/180);
  32504. Node304_1.a('node.width', Node304_1width);
  32505. Node304_1.a('node.height', Node304_1height);
  32506. Node304_1.a('node.rect', [0, 0, Node304_1width, Node304_1height]);
  32507. Node304_1.a('node.bordercolor','rgba(0,0,0,1)');
  32508. Node304_1.a('node.borderwidth', 0);
  32509. Node304_1.a('node.background','' || 'rgba(0,0,0,0)');
  32510. Node304_1.a('node.gradient','');
  32511. Node304_1.a('node.gradientcolor','');
  32512. Node304_1.a('node.text','风机矩阵');
  32513. Node304_1.a('node.textalign','left');
  32514. Node304_1.a('node.textvAlign','middle');
  32515. Node304_1.a('node.textrect', [Node304_1textStart, 0, Node304_1textWidth, Node304_1height]);
  32516. Node304_1.a('node.color','rgba(0,0,0,1)');
  32517. Node304_1.a('node.font',' '+ Node304_1fontSize + 'px "Arial"');
  32518. Node304_1.a('node.textvisible',false);
  32519. Node304_1.a('node.linefeed',true);
  32520. if (true) {
  32521. Node304_1.a('node.textfunc',function(g) {
  32522. g.beginPath();
  32523. var str=Node304_1.a('node.text') || '风机矩阵';
  32524. var color=Node304_1.a('node.color') || 'rgba(0,0,0,1)';
  32525. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node304_1width,Node304_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node304_1fontSize + 'px "Arial"', 0,g);
  32526. });
  32527. }
  32528. if (false) {
  32529. Node304_1.a('node.underlinepoints',[Node304_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node304_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node304_1fontSize + 'px "Arial"').width + 6, (Node304_1height - Node304_1fontSize) * 0.5*_ratio.ratioY + Node304_1fontSize + 2 ]);
  32530. Node304_1.a('node.underlinevisible',false);
  32531. Node304_1.a('node.underlineBorderWidth', 1);
  32532. }
  32533. dataModel.add(Node304_1);
  32534. zoomNodeList.push({
  32535. node: Node304_1,
  32536. borderWidth: 0,
  32537. attr: 'node.borderwidth'
  32538. }); var Node305_0;
  32539. (function () {
  32540. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32541. var ratioX, ratioY;
  32542. if ('Default' === 'False') {
  32543. ratioX = 1;
  32544. ratioY = 1;
  32545. } else if ('Default' === 'X') {
  32546. ratioX = ratioY = _ratio.ratioX;
  32547. } else if ('Default' === 'Y') {
  32548. ratioX = ratioY = _ratio.ratioY;
  32549. } else {
  32550. ratioX = _ratio.ratioX;
  32551. ratioY = _ratio.ratioY;
  32552. }
  32553. ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
  32554. Node305_0 = new ht.Node();
  32555. Node305_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
  32556. Node305_0.setSize(27*ratioX, 101*ratioY);
  32557. Node305_0.setImage('imgimage//left_menu_over0.png');
  32558. Node305_0.setRotation(0*Math.PI/180);
  32559. Node305_0._zoomBy = 'Default';
  32560. Node305_0._nodeType = 'image';
  32561. Node305_0._disallowEvert = true;
  32562. dataModel.add(Node305_0);
  32563. })();
  32564. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32565. var Node305_1 = new ht.Node();
  32566. var Node305_1textStart, Node305_1textWidth, Node305_1lineStart, Node305_1align = 'left', Node305_1fontSize = 18.66662*_ratio.ratioY,Node305_1width = 23*_ratio.ratioX, Node305_1height = 76*_ratio.ratioY;
  32567. (function () {
  32568. if (Node305_1align === 'left') {
  32569. Node305_1textStart = Node305_1fontSize * 0.2 > 2 ? Node305_1fontSize * 0.2 - 4 : Node305_1fontSize * 0.2 - 9;
  32570. Node305_1textWidth = Node305_1width;
  32571. Node305_1lineStart = 1;
  32572. } else if (Node305_1align === 'right') {
  32573. Node305_1textStart = 0;
  32574. Node305_1textWidth =Node305_1fontSize <= 8 ? Node305_1width + Node305_1fontSize * 0.2 + 6 : Node305_1width - Node305_1fontSize * 0.2;
  32575. Node305_1lineStart = (Node305_1width - (ht.Default.getTextSize('风机信息', ' '+ Node305_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32576. } else if (Node305_1align === 'center') {
  32577. Node305_1textStart = -3;
  32578. Node305_1textWidth = Node305_1width;
  32579. Node305_1lineStart = Node305_1width - ht.Default.getTextSize('风机信息', ' '+ Node305_1fontSize + 'px "Arial"').width - 11;
  32580. }
  32581. })();
  32582. Node305_1.setImage(GD.getTextJSON(Node305_1width, Node305_1height, false, true, false, ' '+ Node305_1fontSize + 'px "Arial"'))
  32583. Node305_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
  32584. Node305_1.setWidth(Node305_1width);
  32585. Node305_1.setHeight(Node305_1height);
  32586. Node305_1._nodeType = 'text';
  32587. Node305_1._disallowEvert = true;
  32588. Node305_1.setRotation(0*Math.PI/180);
  32589. Node305_1.a('node.width', Node305_1width);
  32590. Node305_1.a('node.height', Node305_1height);
  32591. Node305_1.a('node.rect', [0, 0, Node305_1width, Node305_1height]);
  32592. Node305_1.a('node.bordercolor','rgba(0,0,0,1)');
  32593. Node305_1.a('node.borderwidth', 0);
  32594. Node305_1.a('node.background','' || 'rgba(0,0,0,0)');
  32595. Node305_1.a('node.gradient','');
  32596. Node305_1.a('node.gradientcolor','');
  32597. Node305_1.a('node.text','风机信息');
  32598. Node305_1.a('node.textalign','left');
  32599. Node305_1.a('node.textvAlign','middle');
  32600. Node305_1.a('node.textrect', [Node305_1textStart, 0, Node305_1textWidth, Node305_1height]);
  32601. Node305_1.a('node.color','rgba(0,0,0,1)');
  32602. Node305_1.a('node.font',' '+ Node305_1fontSize + 'px "Arial"');
  32603. Node305_1.a('node.textvisible',false);
  32604. Node305_1.a('node.linefeed',true);
  32605. if (true) {
  32606. Node305_1.a('node.textfunc',function(g) {
  32607. g.beginPath();
  32608. var str=Node305_1.a('node.text') || '风机信息';
  32609. var color=Node305_1.a('node.color') || 'rgba(0,0,0,1)';
  32610. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node305_1width,Node305_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node305_1fontSize + 'px "Arial"', 0,g);
  32611. });
  32612. }
  32613. if (false) {
  32614. Node305_1.a('node.underlinepoints',[Node305_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node305_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node305_1fontSize + 'px "Arial"').width + 6, (Node305_1height - Node305_1fontSize) * 0.5*_ratio.ratioY + Node305_1fontSize + 2 ]);
  32615. Node305_1.a('node.underlinevisible',false);
  32616. Node305_1.a('node.underlineBorderWidth', 1);
  32617. }
  32618. dataModel.add(Node305_1);
  32619. zoomNodeList.push({
  32620. node: Node305_1,
  32621. borderWidth: 0,
  32622. attr: 'node.borderwidth'
  32623. }); var Node306_0;
  32624. (function () {
  32625. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32626. var ratioX, ratioY;
  32627. if ('Default' === 'False') {
  32628. ratioX = 1;
  32629. ratioY = 1;
  32630. } else if ('Default' === 'X') {
  32631. ratioX = ratioY = _ratio.ratioX;
  32632. } else if ('Default' === 'Y') {
  32633. ratioX = ratioY = _ratio.ratioY;
  32634. } else {
  32635. ratioX = _ratio.ratioX;
  32636. ratioY = _ratio.ratioY;
  32637. }
  32638. ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
  32639. Node306_0 = new ht.Node();
  32640. Node306_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
  32641. Node306_0.setSize(27*ratioX, 101*ratioY);
  32642. Node306_0.setImage('imgimage//left_menu_over0.png');
  32643. Node306_0.setRotation(0*Math.PI/180);
  32644. Node306_0._zoomBy = 'Default';
  32645. Node306_0._nodeType = 'image';
  32646. Node306_0._disallowEvert = true;
  32647. dataModel.add(Node306_0);
  32648. })();
  32649. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32650. var Node306_1 = new ht.Node();
  32651. var Node306_1textStart, Node306_1textWidth, Node306_1lineStart, Node306_1align = 'left', Node306_1fontSize = 18.66662*_ratio.ratioY,Node306_1width = 23*_ratio.ratioX, Node306_1height = 76*_ratio.ratioY;
  32652. (function () {
  32653. if (Node306_1align === 'left') {
  32654. Node306_1textStart = Node306_1fontSize * 0.2 > 2 ? Node306_1fontSize * 0.2 - 4 : Node306_1fontSize * 0.2 - 9;
  32655. Node306_1textWidth = Node306_1width;
  32656. Node306_1lineStart = 1;
  32657. } else if (Node306_1align === 'right') {
  32658. Node306_1textStart = 0;
  32659. Node306_1textWidth =Node306_1fontSize <= 8 ? Node306_1width + Node306_1fontSize * 0.2 + 6 : Node306_1width - Node306_1fontSize * 0.2;
  32660. Node306_1lineStart = (Node306_1width - (ht.Default.getTextSize('测风塔', ' '+ Node306_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32661. } else if (Node306_1align === 'center') {
  32662. Node306_1textStart = -3;
  32663. Node306_1textWidth = Node306_1width;
  32664. Node306_1lineStart = Node306_1width - ht.Default.getTextSize('测风塔', ' '+ Node306_1fontSize + 'px "Arial"').width - 11;
  32665. }
  32666. })();
  32667. Node306_1.setImage(GD.getTextJSON(Node306_1width, Node306_1height, false, true, false, ' '+ Node306_1fontSize + 'px "Arial"'))
  32668. Node306_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
  32669. Node306_1.setWidth(Node306_1width);
  32670. Node306_1.setHeight(Node306_1height);
  32671. Node306_1._nodeType = 'text';
  32672. Node306_1._disallowEvert = true;
  32673. Node306_1.setRotation(0*Math.PI/180);
  32674. Node306_1.a('node.width', Node306_1width);
  32675. Node306_1.a('node.height', Node306_1height);
  32676. Node306_1.a('node.rect', [0, 0, Node306_1width, Node306_1height]);
  32677. Node306_1.a('node.bordercolor','rgba(0,0,0,1)');
  32678. Node306_1.a('node.borderwidth', 0);
  32679. Node306_1.a('node.background','' || 'rgba(0,0,0,0)');
  32680. Node306_1.a('node.gradient','');
  32681. Node306_1.a('node.gradientcolor','');
  32682. Node306_1.a('node.text','测风塔');
  32683. Node306_1.a('node.textalign','left');
  32684. Node306_1.a('node.textvAlign','middle');
  32685. Node306_1.a('node.textrect', [Node306_1textStart, 0, Node306_1textWidth, Node306_1height]);
  32686. Node306_1.a('node.color','rgba(0,0,0,1)');
  32687. Node306_1.a('node.font',' '+ Node306_1fontSize + 'px "Arial"');
  32688. Node306_1.a('node.textvisible',false);
  32689. Node306_1.a('node.linefeed',true);
  32690. if (true) {
  32691. Node306_1.a('node.textfunc',function(g) {
  32692. g.beginPath();
  32693. var str=Node306_1.a('node.text') || '测风塔';
  32694. var color=Node306_1.a('node.color') || 'rgba(0,0,0,1)';
  32695. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node306_1width,Node306_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node306_1fontSize + 'px "Arial"', 0,g);
  32696. });
  32697. }
  32698. if (false) {
  32699. Node306_1.a('node.underlinepoints',[Node306_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node306_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node306_1fontSize + 'px "Arial"').width + 6, (Node306_1height - Node306_1fontSize) * 0.5*_ratio.ratioY + Node306_1fontSize + 2 ]);
  32700. Node306_1.a('node.underlinevisible',false);
  32701. Node306_1.a('node.underlineBorderWidth', 1);
  32702. }
  32703. dataModel.add(Node306_1);
  32704. zoomNodeList.push({
  32705. node: Node306_1,
  32706. borderWidth: 0,
  32707. attr: 'node.borderwidth'
  32708. }); var Node307_0;
  32709. (function () {
  32710. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32711. var ratioX, ratioY;
  32712. if ('Default' === 'False') {
  32713. ratioX = 1;
  32714. ratioY = 1;
  32715. } else if ('Default' === 'X') {
  32716. ratioX = ratioY = _ratio.ratioX;
  32717. } else if ('Default' === 'Y') {
  32718. ratioX = ratioY = _ratio.ratioY;
  32719. } else {
  32720. ratioX = _ratio.ratioX;
  32721. ratioY = _ratio.ratioY;
  32722. }
  32723. ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
  32724. Node307_0 = new ht.Node();
  32725. Node307_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
  32726. Node307_0.setSize(27*ratioX, 101*ratioY);
  32727. Node307_0.setImage('imgimage//left_menu_out0.png');
  32728. Node307_0.setRotation(0*Math.PI/180);
  32729. Node307_0._zoomBy = 'Default';
  32730. Node307_0._nodeType = 'image';
  32731. Node307_0._disallowEvert = true;
  32732. dataModel.add(Node307_0);
  32733. })();
  32734. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32735. var Node307_1 = new ht.Node();
  32736. var Node307_1textStart, Node307_1textWidth, Node307_1lineStart, Node307_1align = 'left', Node307_1fontSize = 19.99995*_ratio.ratioY,Node307_1width = 23*_ratio.ratioX, Node307_1height = 76*_ratio.ratioY;
  32737. (function () {
  32738. if (Node307_1align === 'left') {
  32739. Node307_1textStart = Node307_1fontSize * 0.2 > 2 ? Node307_1fontSize * 0.2 - 4 : Node307_1fontSize * 0.2 - 9;
  32740. Node307_1textWidth = Node307_1width;
  32741. Node307_1lineStart = 1;
  32742. } else if (Node307_1align === 'right') {
  32743. Node307_1textStart = 0;
  32744. Node307_1textWidth =Node307_1fontSize <= 8 ? Node307_1width + Node307_1fontSize * 0.2 + 6 : Node307_1width - Node307_1fontSize * 0.2;
  32745. Node307_1lineStart = (Node307_1width - (ht.Default.getTextSize('排布图', ' '+ Node307_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32746. } else if (Node307_1align === 'center') {
  32747. Node307_1textStart = -3;
  32748. Node307_1textWidth = Node307_1width;
  32749. Node307_1lineStart = Node307_1width - ht.Default.getTextSize('排布图', ' '+ Node307_1fontSize + 'px "Arial"').width - 11;
  32750. }
  32751. })();
  32752. Node307_1.setImage(GD.getTextJSON(Node307_1width, Node307_1height, false, true, false, ' '+ Node307_1fontSize + 'px "Arial"'))
  32753. Node307_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
  32754. Node307_1.setWidth(Node307_1width);
  32755. Node307_1.setHeight(Node307_1height);
  32756. Node307_1._nodeType = 'text';
  32757. Node307_1._disallowEvert = true;
  32758. Node307_1.setRotation(0*Math.PI/180);
  32759. Node307_1.a('node.width', Node307_1width);
  32760. Node307_1.a('node.height', Node307_1height);
  32761. Node307_1.a('node.rect', [0, 0, Node307_1width, Node307_1height]);
  32762. Node307_1.a('node.bordercolor','rgba(0,0,0,1)');
  32763. Node307_1.a('node.borderwidth', 0);
  32764. Node307_1.a('node.background','' || 'rgba(0,0,0,0)');
  32765. Node307_1.a('node.gradient','');
  32766. Node307_1.a('node.gradientcolor','');
  32767. Node307_1.a('node.text','排布图');
  32768. Node307_1.a('node.textalign','left');
  32769. Node307_1.a('node.textvAlign','middle');
  32770. Node307_1.a('node.textrect', [Node307_1textStart, 0, Node307_1textWidth, Node307_1height]);
  32771. Node307_1.a('node.color','rgba(0,0,0,1)');
  32772. Node307_1.a('node.font',' '+ Node307_1fontSize + 'px "Arial"');
  32773. Node307_1.a('node.textvisible',false);
  32774. Node307_1.a('node.linefeed',true);
  32775. if (true) {
  32776. Node307_1.a('node.textfunc',function(g) {
  32777. g.beginPath();
  32778. var str=Node307_1.a('node.text') || '排布图';
  32779. var color=Node307_1.a('node.color') || 'rgba(0,0,0,1)';
  32780. canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node307_1width,Node307_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node307_1fontSize + 'px "Arial"', 0,g);
  32781. });
  32782. }
  32783. if (false) {
  32784. Node307_1.a('node.underlinepoints',[Node307_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node307_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node307_1fontSize + 'px "Arial"').width + 6, (Node307_1height - Node307_1fontSize) * 0.5*_ratio.ratioY + Node307_1fontSize + 2 ]);
  32785. Node307_1.a('node.underlinevisible',false);
  32786. Node307_1.a('node.underlineBorderWidth', 1);
  32787. }
  32788. dataModel.add(Node307_1);
  32789. zoomNodeList.push({
  32790. node: Node307_1,
  32791. borderWidth: 0,
  32792. attr: 'node.borderwidth'
  32793. }); var Node308_0;
  32794. (function () {
  32795. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32796. var ratioX, ratioY;
  32797. if ('Default' === 'False') {
  32798. ratioX = 1;
  32799. ratioY = 1;
  32800. } else if ('Default' === 'X') {
  32801. ratioX = ratioY = _ratio.ratioX;
  32802. } else if ('Default' === 'Y') {
  32803. ratioX = ratioY = _ratio.ratioY;
  32804. } else {
  32805. ratioX = _ratio.ratioX;
  32806. ratioY = _ratio.ratioY;
  32807. }
  32808. ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
  32809. Node308_0 = new ht.Node();
  32810. Node308_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
  32811. Node308_0.setSize(27*ratioX, 101*ratioY);
  32812. Node308_0.setImage('imgimage//left_menu_out0.png');
  32813. Node308_0.setRotation(0*Math.PI/180);
  32814. Node308_0._zoomBy = 'Default';
  32815. Node308_0._nodeType = 'image';
  32816. Node308_0._disallowEvert = true;
  32817. dataModel.add(Node308_0);
  32818. })();
  32819. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32820. var Node308_1 = new ht.Node();
  32821. var Node308_1textStart, Node308_1textWidth, Node308_1lineStart, Node308_1align = 'left', Node308_1fontSize = 18.66662*_ratio.ratioY,Node308_1width = 23*_ratio.ratioX, Node308_1height = 76*_ratio.ratioY;
  32822. (function () {
  32823. if (Node308_1align === 'left') {
  32824. Node308_1textStart = Node308_1fontSize * 0.2 > 2 ? Node308_1fontSize * 0.2 - 4 : Node308_1fontSize * 0.2 - 9;
  32825. Node308_1textWidth = Node308_1width;
  32826. Node308_1lineStart = 1;
  32827. } else if (Node308_1align === 'right') {
  32828. Node308_1textStart = 0;
  32829. Node308_1textWidth =Node308_1fontSize <= 8 ? Node308_1width + Node308_1fontSize * 0.2 + 6 : Node308_1width - Node308_1fontSize * 0.2;
  32830. Node308_1lineStart = (Node308_1width - (ht.Default.getTextSize('总貌图', ' '+ Node308_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32831. } else if (Node308_1align === 'center') {
  32832. Node308_1textStart = -3;
  32833. Node308_1textWidth = Node308_1width;
  32834. Node308_1lineStart = Node308_1width - ht.Default.getTextSize('总貌图', ' '+ Node308_1fontSize + 'px "Arial"').width - 11;
  32835. }
  32836. })();
  32837. Node308_1.setImage(GD.getTextJSON(Node308_1width, Node308_1height, false, true, false, ' '+ Node308_1fontSize + 'px "Arial"'))
  32838. Node308_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
  32839. Node308_1.setWidth(Node308_1width);
  32840. Node308_1.setHeight(Node308_1height);
  32841. Node308_1._nodeType = 'text';
  32842. Node308_1._disallowEvert = true;
  32843. Node308_1.setRotation(0*Math.PI/180);
  32844. Node308_1.a('node.width', Node308_1width);
  32845. Node308_1.a('node.height', Node308_1height);
  32846. Node308_1.a('node.rect', [0, 0, Node308_1width, Node308_1height]);
  32847. Node308_1.a('node.bordercolor','rgba(0,0,0,1)');
  32848. Node308_1.a('node.borderwidth', 0);
  32849. Node308_1.a('node.background','' || 'rgba(0,0,0,0)');
  32850. Node308_1.a('node.gradient','');
  32851. Node308_1.a('node.gradientcolor','');
  32852. Node308_1.a('node.text','总貌图');
  32853. Node308_1.a('node.textalign','left');
  32854. Node308_1.a('node.textvAlign','middle');
  32855. Node308_1.a('node.textrect', [Node308_1textStart, 0, Node308_1textWidth, Node308_1height]);
  32856. Node308_1.a('node.color','rgba(0,0,0,1)');
  32857. Node308_1.a('node.font',' '+ Node308_1fontSize + 'px "Arial"');
  32858. Node308_1.a('node.textvisible',false);
  32859. Node308_1.a('node.linefeed',true);
  32860. if (true) {
  32861. Node308_1.a('node.textfunc',function(g) {
  32862. g.beginPath();
  32863. var str=Node308_1.a('node.text') || '总貌图';
  32864. var color=Node308_1.a('node.color') || 'rgba(0,0,0,1)';
  32865. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node308_1width,Node308_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node308_1fontSize + 'px "Arial"', 0,g);
  32866. });
  32867. }
  32868. if (false) {
  32869. Node308_1.a('node.underlinepoints',[Node308_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node308_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node308_1fontSize + 'px "Arial"').width + 6, (Node308_1height - Node308_1fontSize) * 0.5*_ratio.ratioY + Node308_1fontSize + 2 ]);
  32870. Node308_1.a('node.underlinevisible',false);
  32871. Node308_1.a('node.underlineBorderWidth', 1);
  32872. }
  32873. dataModel.add(Node308_1);
  32874. zoomNodeList.push({
  32875. node: Node308_1,
  32876. borderWidth: 0,
  32877. attr: 'node.borderwidth'
  32878. }); var Node309_0;
  32879. (function () {
  32880. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32881. var ratioX, ratioY;
  32882. if ('Default' === 'False') {
  32883. ratioX = 1;
  32884. ratioY = 1;
  32885. } else if ('Default' === 'X') {
  32886. ratioX = ratioY = _ratio.ratioX;
  32887. } else if ('Default' === 'Y') {
  32888. ratioX = ratioY = _ratio.ratioY;
  32889. } else {
  32890. ratioX = _ratio.ratioX;
  32891. ratioY = _ratio.ratioY;
  32892. }
  32893. ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
  32894. Node309_0 = new ht.Node();
  32895. Node309_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
  32896. Node309_0.setSize(27*ratioX, 101*ratioY);
  32897. Node309_0.setImage('imgimage//left_menu_out0.png');
  32898. Node309_0.setRotation(0*Math.PI/180);
  32899. Node309_0._zoomBy = 'Default';
  32900. Node309_0._nodeType = 'image';
  32901. Node309_0._disallowEvert = true;
  32902. dataModel.add(Node309_0);
  32903. })();
  32904. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32905. var Node309_1 = new ht.Node();
  32906. var Node309_1textStart, Node309_1textWidth, Node309_1lineStart, Node309_1align = 'left', Node309_1fontSize = 18.66662*_ratio.ratioY,Node309_1width = 23*_ratio.ratioX, Node309_1height = 76*_ratio.ratioY;
  32907. (function () {
  32908. if (Node309_1align === 'left') {
  32909. Node309_1textStart = Node309_1fontSize * 0.2 > 2 ? Node309_1fontSize * 0.2 - 4 : Node309_1fontSize * 0.2 - 9;
  32910. Node309_1textWidth = Node309_1width;
  32911. Node309_1lineStart = 1;
  32912. } else if (Node309_1align === 'right') {
  32913. Node309_1textStart = 0;
  32914. Node309_1textWidth =Node309_1fontSize <= 8 ? Node309_1width + Node309_1fontSize * 0.2 + 6 : Node309_1width - Node309_1fontSize * 0.2;
  32915. Node309_1lineStart = (Node309_1width - (ht.Default.getTextSize('升压站', ' '+ Node309_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  32916. } else if (Node309_1align === 'center') {
  32917. Node309_1textStart = -3;
  32918. Node309_1textWidth = Node309_1width;
  32919. Node309_1lineStart = Node309_1width - ht.Default.getTextSize('升压站', ' '+ Node309_1fontSize + 'px "Arial"').width - 11;
  32920. }
  32921. })();
  32922. Node309_1.setImage(GD.getTextJSON(Node309_1width, Node309_1height, false, true, false, ' '+ Node309_1fontSize + 'px "Arial"'))
  32923. Node309_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
  32924. Node309_1.setWidth(Node309_1width);
  32925. Node309_1.setHeight(Node309_1height);
  32926. Node309_1._nodeType = 'text';
  32927. Node309_1._disallowEvert = true;
  32928. Node309_1.setRotation(0*Math.PI/180);
  32929. Node309_1.a('node.width', Node309_1width);
  32930. Node309_1.a('node.height', Node309_1height);
  32931. Node309_1.a('node.rect', [0, 0, Node309_1width, Node309_1height]);
  32932. Node309_1.a('node.bordercolor','rgba(0,0,0,1)');
  32933. Node309_1.a('node.borderwidth', 0);
  32934. Node309_1.a('node.background','' || 'rgba(0,0,0,0)');
  32935. Node309_1.a('node.gradient','');
  32936. Node309_1.a('node.gradientcolor','');
  32937. Node309_1.a('node.text','升压站');
  32938. Node309_1.a('node.textalign','left');
  32939. Node309_1.a('node.textvAlign','middle');
  32940. Node309_1.a('node.textrect', [Node309_1textStart, 0, Node309_1textWidth, Node309_1height]);
  32941. Node309_1.a('node.color','rgba(0,0,0,1)');
  32942. Node309_1.a('node.font',' '+ Node309_1fontSize + 'px "Arial"');
  32943. Node309_1.a('node.textvisible',false);
  32944. Node309_1.a('node.linefeed',true);
  32945. if (true) {
  32946. Node309_1.a('node.textfunc',function(g) {
  32947. g.beginPath();
  32948. var str=Node309_1.a('node.text') || '升压站';
  32949. var color=Node309_1.a('node.color') || 'rgba(0,0,0,1)';
  32950. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node309_1width,Node309_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node309_1fontSize + 'px "Arial"', 0,g);
  32951. });
  32952. }
  32953. if (false) {
  32954. Node309_1.a('node.underlinepoints',[Node309_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node309_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node309_1fontSize + 'px "Arial"').width + 6, (Node309_1height - Node309_1fontSize) * 0.5*_ratio.ratioY + Node309_1fontSize + 2 ]);
  32955. Node309_1.a('node.underlinevisible',false);
  32956. Node309_1.a('node.underlineBorderWidth', 1);
  32957. }
  32958. dataModel.add(Node309_1);
  32959. zoomNodeList.push({
  32960. node: Node309_1,
  32961. borderWidth: 0,
  32962. attr: 'node.borderwidth'
  32963. }); var Node310_0;
  32964. (function () {
  32965. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32966. var ratioX, ratioY;
  32967. if ('Default' === 'False') {
  32968. ratioX = 1;
  32969. ratioY = 1;
  32970. } else if ('Default' === 'X') {
  32971. ratioX = ratioY = _ratio.ratioX;
  32972. } else if ('Default' === 'Y') {
  32973. ratioX = ratioY = _ratio.ratioY;
  32974. } else {
  32975. ratioX = _ratio.ratioX;
  32976. ratioY = _ratio.ratioY;
  32977. }
  32978. ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
  32979. Node310_0 = new ht.Node();
  32980. Node310_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
  32981. Node310_0.setSize(27*ratioX, 101*ratioY);
  32982. Node310_0.setImage('imgimage//left_menu_out0.png');
  32983. Node310_0.setRotation(0*Math.PI/180);
  32984. Node310_0._zoomBy = 'Default';
  32985. Node310_0._nodeType = 'image';
  32986. Node310_0._disallowEvert = true;
  32987. dataModel.add(Node310_0);
  32988. })();
  32989. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  32990. var Node310_1 = new ht.Node();
  32991. var Node310_1textStart, Node310_1textWidth, Node310_1lineStart, Node310_1align = 'left', Node310_1fontSize = 18.66662*_ratio.ratioY,Node310_1width = 23*_ratio.ratioX, Node310_1height = 76*_ratio.ratioY;
  32992. (function () {
  32993. if (Node310_1align === 'left') {
  32994. Node310_1textStart = Node310_1fontSize * 0.2 > 2 ? Node310_1fontSize * 0.2 - 4 : Node310_1fontSize * 0.2 - 9;
  32995. Node310_1textWidth = Node310_1width;
  32996. Node310_1lineStart = 1;
  32997. } else if (Node310_1align === 'right') {
  32998. Node310_1textStart = 0;
  32999. Node310_1textWidth =Node310_1fontSize <= 8 ? Node310_1width + Node310_1fontSize * 0.2 + 6 : Node310_1width - Node310_1fontSize * 0.2;
  33000. Node310_1lineStart = (Node310_1width - (ht.Default.getTextSize('风机信息', ' '+ Node310_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  33001. } else if (Node310_1align === 'center') {
  33002. Node310_1textStart = -3;
  33003. Node310_1textWidth = Node310_1width;
  33004. Node310_1lineStart = Node310_1width - ht.Default.getTextSize('风机信息', ' '+ Node310_1fontSize + 'px "Arial"').width - 11;
  33005. }
  33006. })();
  33007. Node310_1.setImage(GD.getTextJSON(Node310_1width, Node310_1height, false, true, false, ' '+ Node310_1fontSize + 'px "Arial"'))
  33008. Node310_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
  33009. Node310_1.setWidth(Node310_1width);
  33010. Node310_1.setHeight(Node310_1height);
  33011. Node310_1._nodeType = 'text';
  33012. Node310_1._disallowEvert = true;
  33013. Node310_1.setRotation(0*Math.PI/180);
  33014. Node310_1.a('node.width', Node310_1width);
  33015. Node310_1.a('node.height', Node310_1height);
  33016. Node310_1.a('node.rect', [0, 0, Node310_1width, Node310_1height]);
  33017. Node310_1.a('node.bordercolor','rgba(0,0,0,1)');
  33018. Node310_1.a('node.borderwidth', 0);
  33019. Node310_1.a('node.background','' || 'rgba(0,0,0,0)');
  33020. Node310_1.a('node.gradient','');
  33021. Node310_1.a('node.gradientcolor','');
  33022. Node310_1.a('node.text','风机信息');
  33023. Node310_1.a('node.textalign','left');
  33024. Node310_1.a('node.textvAlign','middle');
  33025. Node310_1.a('node.textrect', [Node310_1textStart, 0, Node310_1textWidth, Node310_1height]);
  33026. Node310_1.a('node.color','rgba(0,0,0,1)');
  33027. Node310_1.a('node.font',' '+ Node310_1fontSize + 'px "Arial"');
  33028. Node310_1.a('node.textvisible',false);
  33029. Node310_1.a('node.linefeed',true);
  33030. if (true) {
  33031. Node310_1.a('node.textfunc',function(g) {
  33032. g.beginPath();
  33033. var str=Node310_1.a('node.text') || '风机信息';
  33034. var color=Node310_1.a('node.color') || 'rgba(0,0,0,1)';
  33035. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node310_1width,Node310_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node310_1fontSize + 'px "Arial"', 0,g);
  33036. });
  33037. }
  33038. if (false) {
  33039. Node310_1.a('node.underlinepoints',[Node310_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node310_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node310_1fontSize + 'px "Arial"').width + 6, (Node310_1height - Node310_1fontSize) * 0.5*_ratio.ratioY + Node310_1fontSize + 2 ]);
  33040. Node310_1.a('node.underlinevisible',false);
  33041. Node310_1.a('node.underlineBorderWidth', 1);
  33042. }
  33043. dataModel.add(Node310_1);
  33044. zoomNodeList.push({
  33045. node: Node310_1,
  33046. borderWidth: 0,
  33047. attr: 'node.borderwidth'
  33048. }); var Node311_0;
  33049. (function () {
  33050. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33051. var ratioX, ratioY;
  33052. if ('Default' === 'False') {
  33053. ratioX = 1;
  33054. ratioY = 1;
  33055. } else if ('Default' === 'X') {
  33056. ratioX = ratioY = _ratio.ratioX;
  33057. } else if ('Default' === 'Y') {
  33058. ratioX = ratioY = _ratio.ratioY;
  33059. } else {
  33060. ratioX = _ratio.ratioX;
  33061. ratioY = _ratio.ratioY;
  33062. }
  33063. ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
  33064. Node311_0 = new ht.Node();
  33065. Node311_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
  33066. Node311_0.setSize(27*ratioX, 101*ratioY);
  33067. Node311_0.setImage('imgimage//left_menu_out0.png');
  33068. Node311_0.setRotation(0*Math.PI/180);
  33069. Node311_0._zoomBy = 'Default';
  33070. Node311_0._nodeType = 'image';
  33071. Node311_0._disallowEvert = true;
  33072. dataModel.add(Node311_0);
  33073. })();
  33074. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33075. var Node311_1 = new ht.Node();
  33076. var Node311_1textStart, Node311_1textWidth, Node311_1lineStart, Node311_1align = 'left', Node311_1fontSize = 18.66662*_ratio.ratioY,Node311_1width = 23*_ratio.ratioX, Node311_1height = 76*_ratio.ratioY;
  33077. (function () {
  33078. if (Node311_1align === 'left') {
  33079. Node311_1textStart = Node311_1fontSize * 0.2 > 2 ? Node311_1fontSize * 0.2 - 4 : Node311_1fontSize * 0.2 - 9;
  33080. Node311_1textWidth = Node311_1width;
  33081. Node311_1lineStart = 1;
  33082. } else if (Node311_1align === 'right') {
  33083. Node311_1textStart = 0;
  33084. Node311_1textWidth =Node311_1fontSize <= 8 ? Node311_1width + Node311_1fontSize * 0.2 + 6 : Node311_1width - Node311_1fontSize * 0.2;
  33085. Node311_1lineStart = (Node311_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node311_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  33086. } else if (Node311_1align === 'center') {
  33087. Node311_1textStart = -3;
  33088. Node311_1textWidth = Node311_1width;
  33089. Node311_1lineStart = Node311_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node311_1fontSize + 'px "Arial"').width - 11;
  33090. }
  33091. })();
  33092. Node311_1.setImage(GD.getTextJSON(Node311_1width, Node311_1height, false, true, false, ' '+ Node311_1fontSize + 'px "Arial"'))
  33093. Node311_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
  33094. Node311_1.setWidth(Node311_1width);
  33095. Node311_1.setHeight(Node311_1height);
  33096. Node311_1._nodeType = 'text';
  33097. Node311_1._disallowEvert = true;
  33098. Node311_1.setRotation(0*Math.PI/180);
  33099. Node311_1.a('node.width', Node311_1width);
  33100. Node311_1.a('node.height', Node311_1height);
  33101. Node311_1.a('node.rect', [0, 0, Node311_1width, Node311_1height]);
  33102. Node311_1.a('node.bordercolor','rgba(0,0,0,1)');
  33103. Node311_1.a('node.borderwidth', 0);
  33104. Node311_1.a('node.background','' || 'rgba(0,0,0,0)');
  33105. Node311_1.a('node.gradient','');
  33106. Node311_1.a('node.gradientcolor','');
  33107. Node311_1.a('node.text','风机矩阵');
  33108. Node311_1.a('node.textalign','left');
  33109. Node311_1.a('node.textvAlign','middle');
  33110. Node311_1.a('node.textrect', [Node311_1textStart, 0, Node311_1textWidth, Node311_1height]);
  33111. Node311_1.a('node.color','rgba(0,0,0,1)');
  33112. Node311_1.a('node.font',' '+ Node311_1fontSize + 'px "Arial"');
  33113. Node311_1.a('node.textvisible',false);
  33114. Node311_1.a('node.linefeed',true);
  33115. if (true) {
  33116. Node311_1.a('node.textfunc',function(g) {
  33117. g.beginPath();
  33118. var str=Node311_1.a('node.text') || '风机矩阵';
  33119. var color=Node311_1.a('node.color') || 'rgba(0,0,0,1)';
  33120. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node311_1width,Node311_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node311_1fontSize + 'px "Arial"', 0,g);
  33121. });
  33122. }
  33123. if (false) {
  33124. Node311_1.a('node.underlinepoints',[Node311_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node311_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node311_1fontSize + 'px "Arial"').width + 6, (Node311_1height - Node311_1fontSize) * 0.5*_ratio.ratioY + Node311_1fontSize + 2 ]);
  33125. Node311_1.a('node.underlinevisible',false);
  33126. Node311_1.a('node.underlineBorderWidth', 1);
  33127. }
  33128. dataModel.add(Node311_1);
  33129. zoomNodeList.push({
  33130. node: Node311_1,
  33131. borderWidth: 0,
  33132. attr: 'node.borderwidth'
  33133. }); var Node312_0;
  33134. (function () {
  33135. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33136. var ratioX, ratioY;
  33137. if ('Default' === 'False') {
  33138. ratioX = 1;
  33139. ratioY = 1;
  33140. } else if ('Default' === 'X') {
  33141. ratioX = ratioY = _ratio.ratioX;
  33142. } else if ('Default' === 'Y') {
  33143. ratioX = ratioY = _ratio.ratioY;
  33144. } else {
  33145. ratioX = _ratio.ratioX;
  33146. ratioY = _ratio.ratioY;
  33147. }
  33148. ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
  33149. Node312_0 = new ht.Node();
  33150. Node312_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
  33151. Node312_0.setSize(27*ratioX, 101*ratioY);
  33152. Node312_0.setImage('imgimage//left_menu_out0.png');
  33153. Node312_0.setRotation(0*Math.PI/180);
  33154. Node312_0._zoomBy = 'Default';
  33155. Node312_0._nodeType = 'image';
  33156. Node312_0._disallowEvert = true;
  33157. dataModel.add(Node312_0);
  33158. })();
  33159. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33160. var Node312_1 = new ht.Node();
  33161. var Node312_1textStart, Node312_1textWidth, Node312_1lineStart, Node312_1align = 'left', Node312_1fontSize = 18.66662*_ratio.ratioY,Node312_1width = 23*_ratio.ratioX, Node312_1height = 76*_ratio.ratioY;
  33162. (function () {
  33163. if (Node312_1align === 'left') {
  33164. Node312_1textStart = Node312_1fontSize * 0.2 > 2 ? Node312_1fontSize * 0.2 - 4 : Node312_1fontSize * 0.2 - 9;
  33165. Node312_1textWidth = Node312_1width;
  33166. Node312_1lineStart = 1;
  33167. } else if (Node312_1align === 'right') {
  33168. Node312_1textStart = 0;
  33169. Node312_1textWidth =Node312_1fontSize <= 8 ? Node312_1width + Node312_1fontSize * 0.2 + 6 : Node312_1width - Node312_1fontSize * 0.2;
  33170. Node312_1lineStart = (Node312_1width - (ht.Default.getTextSize('测风塔', ' '+ Node312_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  33171. } else if (Node312_1align === 'center') {
  33172. Node312_1textStart = -3;
  33173. Node312_1textWidth = Node312_1width;
  33174. Node312_1lineStart = Node312_1width - ht.Default.getTextSize('测风塔', ' '+ Node312_1fontSize + 'px "Arial"').width - 11;
  33175. }
  33176. })();
  33177. Node312_1.setImage(GD.getTextJSON(Node312_1width, Node312_1height, false, true, false, ' '+ Node312_1fontSize + 'px "Arial"'))
  33178. Node312_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
  33179. Node312_1.setWidth(Node312_1width);
  33180. Node312_1.setHeight(Node312_1height);
  33181. Node312_1._nodeType = 'text';
  33182. Node312_1._disallowEvert = true;
  33183. Node312_1.setRotation(0*Math.PI/180);
  33184. Node312_1.a('node.width', Node312_1width);
  33185. Node312_1.a('node.height', Node312_1height);
  33186. Node312_1.a('node.rect', [0, 0, Node312_1width, Node312_1height]);
  33187. Node312_1.a('node.bordercolor','rgba(0,0,0,1)');
  33188. Node312_1.a('node.borderwidth', 0);
  33189. Node312_1.a('node.background','' || 'rgba(0,0,0,0)');
  33190. Node312_1.a('node.gradient','');
  33191. Node312_1.a('node.gradientcolor','');
  33192. Node312_1.a('node.text','测风塔');
  33193. Node312_1.a('node.textalign','left');
  33194. Node312_1.a('node.textvAlign','middle');
  33195. Node312_1.a('node.textrect', [Node312_1textStart, 0, Node312_1textWidth, Node312_1height]);
  33196. Node312_1.a('node.color','rgba(0,0,0,1)');
  33197. Node312_1.a('node.font',' '+ Node312_1fontSize + 'px "Arial"');
  33198. Node312_1.a('node.textvisible',false);
  33199. Node312_1.a('node.linefeed',true);
  33200. if (true) {
  33201. Node312_1.a('node.textfunc',function(g) {
  33202. g.beginPath();
  33203. var str=Node312_1.a('node.text') || '测风塔';
  33204. var color=Node312_1.a('node.color') || 'rgba(0,0,0,1)';
  33205. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node312_1width,Node312_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node312_1fontSize + 'px "Arial"', 0,g);
  33206. });
  33207. }
  33208. if (false) {
  33209. Node312_1.a('node.underlinepoints',[Node312_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node312_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node312_1fontSize + 'px "Arial"').width + 6, (Node312_1height - Node312_1fontSize) * 0.5*_ratio.ratioY + Node312_1fontSize + 2 ]);
  33210. Node312_1.a('node.underlinevisible',false);
  33211. Node312_1.a('node.underlineBorderWidth', 1);
  33212. }
  33213. dataModel.add(Node312_1);
  33214. zoomNodeList.push({
  33215. node: Node312_1,
  33216. borderWidth: 0,
  33217. attr: 'node.borderwidth'
  33218. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33219. var Node313 = new ht.Node();
  33220. var Node313textStart, Node313textWidth, Node313lineStart, Node313align = 'left', Node313fontSize = 13.3333*_ratio.ratioY,Node313width = 47*_ratio.ratioX, Node313height = 38*_ratio.ratioY;
  33221. (function () {
  33222. if (Node313align === 'left') {
  33223. Node313textStart = Node313fontSize * 0.2 > 2 ? Node313fontSize * 0.2 - 4 : Node313fontSize * 0.2 - 9;
  33224. Node313textWidth = Node313width;
  33225. Node313lineStart = 1;
  33226. } else if (Node313align === 'right') {
  33227. Node313textStart = 0;
  33228. Node313textWidth =Node313fontSize <= 8 ? Node313width + Node313fontSize * 0.2 + 6 : Node313width - Node313fontSize * 0.2;
  33229. Node313lineStart = (Node313width - (ht.Default.getTextSize('运行', 'bold '+ Node313fontSize + 'px "Arial"').width + 6)) * 0.5;
  33230. } else if (Node313align === 'center') {
  33231. Node313textStart = -3;
  33232. Node313textWidth = Node313width;
  33233. Node313lineStart = Node313width - ht.Default.getTextSize('运行', 'bold '+ Node313fontSize + 'px "Arial"').width - 11;
  33234. }
  33235. })();
  33236. Node313.setImage(GD.getTextJSON(Node313width, Node313height, true, false, false, 'bold '+ Node313fontSize + 'px "Arial"'))
  33237. Node313.setPosition(1506*ratio.ratioX, 52*ratio.ratioY);
  33238. Node313.setWidth(Node313width);
  33239. Node313.setHeight(Node313height);
  33240. Node313._nodeType = 'text';
  33241. Node313._disallowEvert = true;
  33242. Node313.setRotation(0*Math.PI/180);
  33243. Node313.a('node.width', Node313width);
  33244. Node313.a('node.height', Node313height);
  33245. Node313.a('node.rect', [0, 0, Node313width, Node313height]);
  33246. Node313.a('node.bordercolor','rgba(0,0,0,1)');
  33247. Node313.a('node.borderwidth', 0);
  33248. Node313.a('node.background','' || 'rgba(0,0,0,0)');
  33249. Node313.a('node.gradient','');
  33250. Node313.a('node.gradientcolor','');
  33251. Node313.a('node.text','运行');
  33252. Node313.a('node.textalign','left');
  33253. Node313.a('node.textvAlign','middle');
  33254. Node313.a('node.textrect', [Node313textStart, 0, Node313textWidth, Node313height]);
  33255. Node313.a('node.color','rgba(0,0,0,1)');
  33256. Node313.a('node.font','bold '+ Node313fontSize + 'px "Arial"');
  33257. Node313.a('node.textvisible',true);
  33258. Node313.a('node.linefeed',false);
  33259. if (false) {
  33260. Node313.a('node.textfunc',function(g) {
  33261. g.beginPath();
  33262. var str=Node313.a('node.text') || '运行';
  33263. var color=Node313.a('node.color') || 'rgba(0,0,0,1)';
  33264. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node313width,Node313height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node313fontSize + 'px "Arial"', 0,g);
  33265. });
  33266. }
  33267. if (false) {
  33268. Node313.a('node.underlinepoints',[Node313lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node313fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node313fontSize + 'px "Arial"').width + 6, (Node313height - Node313fontSize) * 0.5*_ratio.ratioY + Node313fontSize + 2 ]);
  33269. Node313.a('node.underlinevisible',false);
  33270. Node313.a('node.underlineBorderWidth', 1);
  33271. }
  33272. dataModel.add(Node313);
  33273. zoomNodeList.push({
  33274. node: Node313,
  33275. borderWidth: 0,
  33276. attr: 'node.borderwidth'
  33277. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33278. var Node314 = new ht.Node();
  33279. var Node314textStart, Node314textWidth, Node314lineStart, Node314align = 'left', Node314fontSize = 13.3333*_ratio.ratioY,Node314width = 47*_ratio.ratioX, Node314height = 38*_ratio.ratioY;
  33280. (function () {
  33281. if (Node314align === 'left') {
  33282. Node314textStart = Node314fontSize * 0.2 > 2 ? Node314fontSize * 0.2 - 4 : Node314fontSize * 0.2 - 9;
  33283. Node314textWidth = Node314width;
  33284. Node314lineStart = 1;
  33285. } else if (Node314align === 'right') {
  33286. Node314textStart = 0;
  33287. Node314textWidth =Node314fontSize <= 8 ? Node314width + Node314fontSize * 0.2 + 6 : Node314width - Node314fontSize * 0.2;
  33288. Node314lineStart = (Node314width - (ht.Default.getTextSize('待机', 'bold '+ Node314fontSize + 'px "Arial"').width + 6)) * 0.5;
  33289. } else if (Node314align === 'center') {
  33290. Node314textStart = -3;
  33291. Node314textWidth = Node314width;
  33292. Node314lineStart = Node314width - ht.Default.getTextSize('待机', 'bold '+ Node314fontSize + 'px "Arial"').width - 11;
  33293. }
  33294. })();
  33295. Node314.setImage(GD.getTextJSON(Node314width, Node314height, true, false, false, 'bold '+ Node314fontSize + 'px "Arial"'))
  33296. Node314.setPosition(1644*ratio.ratioX, 52*ratio.ratioY);
  33297. Node314.setWidth(Node314width);
  33298. Node314.setHeight(Node314height);
  33299. Node314._nodeType = 'text';
  33300. Node314._disallowEvert = true;
  33301. Node314.setRotation(0*Math.PI/180);
  33302. Node314.a('node.width', Node314width);
  33303. Node314.a('node.height', Node314height);
  33304. Node314.a('node.rect', [0, 0, Node314width, Node314height]);
  33305. Node314.a('node.bordercolor','rgba(0,0,0,1)');
  33306. Node314.a('node.borderwidth', 0);
  33307. Node314.a('node.background','' || 'rgba(0,0,0,0)');
  33308. Node314.a('node.gradient','');
  33309. Node314.a('node.gradientcolor','');
  33310. Node314.a('node.text','待机');
  33311. Node314.a('node.textalign','left');
  33312. Node314.a('node.textvAlign','middle');
  33313. Node314.a('node.textrect', [Node314textStart, 0, Node314textWidth, Node314height]);
  33314. Node314.a('node.color','rgba(0,0,0,1)');
  33315. Node314.a('node.font','bold '+ Node314fontSize + 'px "Arial"');
  33316. Node314.a('node.textvisible',true);
  33317. Node314.a('node.linefeed',false);
  33318. if (false) {
  33319. Node314.a('node.textfunc',function(g) {
  33320. g.beginPath();
  33321. var str=Node314.a('node.text') || '待机';
  33322. var color=Node314.a('node.color') || 'rgba(0,0,0,1)';
  33323. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node314width,Node314height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node314fontSize + 'px "Arial"', 0,g);
  33324. });
  33325. }
  33326. if (false) {
  33327. Node314.a('node.underlinepoints',[Node314lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node314fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node314fontSize + 'px "Arial"').width + 6, (Node314height - Node314fontSize) * 0.5*_ratio.ratioY + Node314fontSize + 2 ]);
  33328. Node314.a('node.underlinevisible',false);
  33329. Node314.a('node.underlineBorderWidth', 1);
  33330. }
  33331. dataModel.add(Node314);
  33332. zoomNodeList.push({
  33333. node: Node314,
  33334. borderWidth: 0,
  33335. attr: 'node.borderwidth'
  33336. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33337. var Node315 = new ht.Node();
  33338. var Node315textStart, Node315textWidth, Node315lineStart, Node315align = 'left', Node315fontSize = 13.3333*_ratio.ratioY,Node315width = 47*_ratio.ratioX, Node315height = 38*_ratio.ratioY;
  33339. (function () {
  33340. if (Node315align === 'left') {
  33341. Node315textStart = Node315fontSize * 0.2 > 2 ? Node315fontSize * 0.2 - 4 : Node315fontSize * 0.2 - 9;
  33342. Node315textWidth = Node315width;
  33343. Node315lineStart = 1;
  33344. } else if (Node315align === 'right') {
  33345. Node315textStart = 0;
  33346. Node315textWidth =Node315fontSize <= 8 ? Node315width + Node315fontSize * 0.2 + 6 : Node315width - Node315fontSize * 0.2;
  33347. Node315lineStart = (Node315width - (ht.Default.getTextSize('故障', 'bold '+ Node315fontSize + 'px "Arial"').width + 6)) * 0.5;
  33348. } else if (Node315align === 'center') {
  33349. Node315textStart = -3;
  33350. Node315textWidth = Node315width;
  33351. Node315lineStart = Node315width - ht.Default.getTextSize('故障', 'bold '+ Node315fontSize + 'px "Arial"').width - 11;
  33352. }
  33353. })();
  33354. Node315.setImage(GD.getTextJSON(Node315width, Node315height, true, false, false, 'bold '+ Node315fontSize + 'px "Arial"'))
  33355. Node315.setPosition(1782*ratio.ratioX, 52*ratio.ratioY);
  33356. Node315.setWidth(Node315width);
  33357. Node315.setHeight(Node315height);
  33358. Node315._nodeType = 'text';
  33359. Node315._disallowEvert = true;
  33360. Node315.setRotation(0*Math.PI/180);
  33361. Node315.a('node.width', Node315width);
  33362. Node315.a('node.height', Node315height);
  33363. Node315.a('node.rect', [0, 0, Node315width, Node315height]);
  33364. Node315.a('node.bordercolor','rgba(0,0,0,1)');
  33365. Node315.a('node.borderwidth', 0);
  33366. Node315.a('node.background','' || 'rgba(0,0,0,0)');
  33367. Node315.a('node.gradient','');
  33368. Node315.a('node.gradientcolor','');
  33369. Node315.a('node.text','故障');
  33370. Node315.a('node.textalign','left');
  33371. Node315.a('node.textvAlign','middle');
  33372. Node315.a('node.textrect', [Node315textStart, 0, Node315textWidth, Node315height]);
  33373. Node315.a('node.color','rgba(0,0,0,1)');
  33374. Node315.a('node.font','bold '+ Node315fontSize + 'px "Arial"');
  33375. Node315.a('node.textvisible',true);
  33376. Node315.a('node.linefeed',false);
  33377. if (false) {
  33378. Node315.a('node.textfunc',function(g) {
  33379. g.beginPath();
  33380. var str=Node315.a('node.text') || '故障';
  33381. var color=Node315.a('node.color') || 'rgba(0,0,0,1)';
  33382. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node315width,Node315height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node315fontSize + 'px "Arial"', 0,g);
  33383. });
  33384. }
  33385. if (false) {
  33386. Node315.a('node.underlinepoints',[Node315lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node315fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node315fontSize + 'px "Arial"').width + 6, (Node315height - Node315fontSize) * 0.5*_ratio.ratioY + Node315fontSize + 2 ]);
  33387. Node315.a('node.underlinevisible',false);
  33388. Node315.a('node.underlineBorderWidth', 1);
  33389. }
  33390. dataModel.add(Node315);
  33391. zoomNodeList.push({
  33392. node: Node315,
  33393. borderWidth: 0,
  33394. attr: 'node.borderwidth'
  33395. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33396. var Node316type = 'rect';
  33397. var Node316 = new ht.Node(),
  33398. Node316BorderWidth = 1*2;
  33399. if (Node316type === 'arc') {
  33400. Node316BorderWidth *= 1;
  33401. }
  33402. Node316.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node316type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  33403. Node316.setPosition(1820*ratio.ratioX, 68*ratio.ratioY);
  33404. Node316.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
  33405. Node316.s({
  33406. 'pixelPerfect':true
  33407. /*@AddPara@*/
  33408. });
  33409. Node316.a('node.width', 127*_ratio.ratioX);
  33410. Node316.a('node.height', 60.81538*_ratio.ratioY);
  33411. Node316.a('node.type', Node316type);
  33412. Node316.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
  33413. Node316.a('node.background', 'rgba(255,255,255,0.003921569)');
  33414. Node316.a('node.gradientcolor', '');
  33415. Node316.a('node.gradient', '');
  33416. Node316.a('node.borderwidth', Node316BorderWidth);
  33417. Node316.a('node.color', 'rgba(128,128,128,1)');
  33418. Node316.a('node.fillrect', [0,0,0,0]);
  33419. Node316.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  33420. Node316.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  33421. Node316.a('node.fillgradient', '');
  33422. if (Node316type !== 'rect') {
  33423. Node316.a('node.arcFrom', parseFloat('@arcFrom@'));
  33424. Node316.a('node.arcTo', parseFloat('@arcTo@'));
  33425. Node316.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  33426. }
  33427. if (Node316type === 'arc') {
  33428. Node316.a('node.arcOval', true);
  33429. }
  33430. Node316.setRotation(0*Math.PI/180);
  33431. Node316.borderWidth = Node316BorderWidth;
  33432. Node316.borderFillwidth = Node316BorderWidth;
  33433. dataModel.add(Node316);
  33434. Node316._nodename = 'Node316'
  33435. Node316._nodeType = 'rect';
  33436. zoomNodeList.push({
  33437. node: Node316,
  33438. attr: 'node.borderwidth'
  33439. });
  33440. (function (node, _img) {
  33441. var setWidth = node.setWidth,
  33442. setHeight = node.setHeight;
  33443. node.setWidth = function (width) {
  33444. if (width === this.getWidth()) return ;
  33445. var height = this.getHeight();
  33446. this.a('node.width', width);
  33447. this.a('node.rect', [0,0,width, height]);
  33448. setWidth.apply(this, arguments);
  33449. }
  33450. node.setHeight = function (height) {
  33451. if (height === this.getHeight()) return ;
  33452. var width = this.getWidth();
  33453. this.a('node.height', height);
  33454. this.a('node.rect', [0,0,width, height]);
  33455. setHeight.apply(this, arguments);
  33456. }
  33457. })(Node316, Node316.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33458. var Node317type = 'rect';
  33459. var Node317 = new ht.Node(),
  33460. Node317BorderWidth = 1*2;
  33461. if (Node317type === 'arc') {
  33462. Node317BorderWidth *= 1;
  33463. }
  33464. Node317.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node317type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  33465. Node317.setPosition(1820*ratio.ratioX, 129*ratio.ratioY);
  33466. Node317.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
  33467. Node317.s({
  33468. 'pixelPerfect':true
  33469. /*@AddPara@*/
  33470. });
  33471. Node317.a('node.width', 127*_ratio.ratioX);
  33472. Node317.a('node.height', 60.81538*_ratio.ratioY);
  33473. Node317.a('node.type', Node317type);
  33474. Node317.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
  33475. Node317.a('node.background', 'rgba(255,255,255,0.003921569)');
  33476. Node317.a('node.gradientcolor', '');
  33477. Node317.a('node.gradient', '');
  33478. Node317.a('node.borderwidth', Node317BorderWidth);
  33479. Node317.a('node.color', 'rgba(128,128,128,1)');
  33480. Node317.a('node.fillrect', [0,0,0,0]);
  33481. Node317.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  33482. Node317.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  33483. Node317.a('node.fillgradient', '');
  33484. if (Node317type !== 'rect') {
  33485. Node317.a('node.arcFrom', parseFloat('@arcFrom@'));
  33486. Node317.a('node.arcTo', parseFloat('@arcTo@'));
  33487. Node317.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  33488. }
  33489. if (Node317type === 'arc') {
  33490. Node317.a('node.arcOval', true);
  33491. }
  33492. Node317.setRotation(0*Math.PI/180);
  33493. Node317.borderWidth = Node317BorderWidth;
  33494. Node317.borderFillwidth = Node317BorderWidth;
  33495. dataModel.add(Node317);
  33496. Node317._nodename = 'Node317'
  33497. Node317._nodeType = 'rect';
  33498. zoomNodeList.push({
  33499. node: Node317,
  33500. attr: 'node.borderwidth'
  33501. });
  33502. (function (node, _img) {
  33503. var setWidth = node.setWidth,
  33504. setHeight = node.setHeight;
  33505. node.setWidth = function (width) {
  33506. if (width === this.getWidth()) return ;
  33507. var height = this.getHeight();
  33508. this.a('node.width', width);
  33509. this.a('node.rect', [0,0,width, height]);
  33510. setWidth.apply(this, arguments);
  33511. }
  33512. node.setHeight = function (height) {
  33513. if (height === this.getHeight()) return ;
  33514. var width = this.getWidth();
  33515. this.a('node.height', height);
  33516. this.a('node.rect', [0,0,width, height]);
  33517. setHeight.apply(this, arguments);
  33518. }
  33519. })(Node317, Node317.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33520. var Node318type = 'rect';
  33521. var Node318 = new ht.Node(),
  33522. Node318BorderWidth = 1*2;
  33523. if (Node318type === 'arc') {
  33524. Node318BorderWidth *= 1;
  33525. }
  33526. Node318.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node318type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  33527. Node318.setPosition(1326*ratio.ratioX, 98*ratio.ratioY);
  33528. Node318.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
  33529. Node318.s({
  33530. 'pixelPerfect':true
  33531. /*@AddPara@*/
  33532. });
  33533. Node318.a('node.width', 27*_ratio.ratioX);
  33534. Node318.a('node.height', 121*_ratio.ratioY);
  33535. Node318.a('node.type', Node318type);
  33536. Node318.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
  33537. Node318.a('node.background', 'rgba(0,0,0,1)');
  33538. Node318.a('node.gradientcolor', 'rgba(0,0,0,1)');
  33539. Node318.a('node.gradient', '');
  33540. Node318.a('node.borderwidth', Node318BorderWidth);
  33541. Node318.a('node.color', 'rgba(0,0,255,1)');
  33542. Node318.a('node.fillrect', [0,0,0,0]);
  33543. Node318.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  33544. Node318.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  33545. Node318.a('node.fillgradient', '');
  33546. if (Node318type !== 'rect') {
  33547. Node318.a('node.arcFrom', parseFloat('@arcFrom@'));
  33548. Node318.a('node.arcTo', parseFloat('@arcTo@'));
  33549. Node318.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  33550. }
  33551. if (Node318type === 'arc') {
  33552. Node318.a('node.arcOval', true);
  33553. }
  33554. Node318.setRotation(0*Math.PI/180);
  33555. Node318.borderWidth = Node318BorderWidth;
  33556. Node318.borderFillwidth = Node318BorderWidth;
  33557. dataModel.add(Node318);
  33558. Node318._nodename = 'Node318'
  33559. Node318._nodeType = 'rect';
  33560. zoomNodeList.push({
  33561. node: Node318,
  33562. attr: 'node.borderwidth'
  33563. });
  33564. (function (node, _img) {
  33565. var setWidth = node.setWidth,
  33566. setHeight = node.setHeight;
  33567. node.setWidth = function (width) {
  33568. if (width === this.getWidth()) return ;
  33569. var height = this.getHeight();
  33570. this.a('node.width', width);
  33571. this.a('node.rect', [0,0,width, height]);
  33572. setWidth.apply(this, arguments);
  33573. }
  33574. node.setHeight = function (height) {
  33575. if (height === this.getHeight()) return ;
  33576. var width = this.getWidth();
  33577. this.a('node.height', height);
  33578. this.a('node.rect', [0,0,width, height]);
  33579. setHeight.apply(this, arguments);
  33580. }
  33581. })(Node318, Node318.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33582. var Node319 = new ht.Node();
  33583. var Node319textStart, Node319textWidth, Node319lineStart, Node319align = 'left', Node319fontSize = 11.99997*_ratio.ratioY,Node319width = 53*_ratio.ratioX, Node319height = 20*_ratio.ratioY;
  33584. (function () {
  33585. if (Node319align === 'left') {
  33586. Node319textStart = Node319fontSize * 0.2 > 2 ? Node319fontSize * 0.2 - 4 : Node319fontSize * 0.2 - 9;
  33587. Node319textWidth = Node319width;
  33588. Node319lineStart = 1;
  33589. } else if (Node319align === 'right') {
  33590. Node319textStart = 0;
  33591. Node319textWidth =Node319fontSize <= 8 ? Node319width + Node319fontSize * 0.2 + 6 : Node319width - Node319fontSize * 0.2;
  33592. Node319lineStart = (Node319width - (ht.Default.getTextSize('风', 'bold '+ Node319fontSize + 'px "Arial"').width + 6)) * 0.5;
  33593. } else if (Node319align === 'center') {
  33594. Node319textStart = -3;
  33595. Node319textWidth = Node319width;
  33596. Node319lineStart = Node319width - ht.Default.getTextSize('风', 'bold '+ Node319fontSize + 'px "Arial"').width - 11;
  33597. }
  33598. })();
  33599. Node319.setImage(GD.getTextJSON(Node319width, Node319height, true, false, false, 'bold '+ Node319fontSize + 'px "Arial"'))
  33600. Node319.setPosition(1343*ratio.ratioX, 64*ratio.ratioY);
  33601. Node319.setWidth(Node319width);
  33602. Node319.setHeight(Node319height);
  33603. Node319._nodeType = 'text';
  33604. Node319._disallowEvert = true;
  33605. Node319.setRotation(0*Math.PI/180);
  33606. Node319.a('node.width', Node319width);
  33607. Node319.a('node.height', Node319height);
  33608. Node319.a('node.rect', [0, 0, Node319width, Node319height]);
  33609. Node319.a('node.bordercolor','rgba(255,255,255,1)');
  33610. Node319.a('node.borderwidth', 0);
  33611. Node319.a('node.background','' || 'rgba(0,0,0,0)');
  33612. Node319.a('node.gradient','');
  33613. Node319.a('node.gradientcolor','');
  33614. Node319.a('node.text','风');
  33615. Node319.a('node.textalign','left');
  33616. Node319.a('node.textvAlign','middle');
  33617. Node319.a('node.textrect', [Node319textStart, 0, Node319textWidth, Node319height]);
  33618. Node319.a('node.color','rgba(255,255,255,1)');
  33619. Node319.a('node.font','bold '+ Node319fontSize + 'px "Arial"');
  33620. Node319.a('node.textvisible',true);
  33621. Node319.a('node.linefeed',false);
  33622. if (false) {
  33623. Node319.a('node.textfunc',function(g) {
  33624. g.beginPath();
  33625. var str=Node319.a('node.text') || '风';
  33626. var color=Node319.a('node.color') || 'rgba(255,255,255,1)';
  33627. canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node319width,Node319height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node319fontSize + 'px "Arial"', 0,g);
  33628. });
  33629. }
  33630. if (false) {
  33631. Node319.a('node.underlinepoints',[Node319lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node319fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node319fontSize + 'px "Arial"').width + 6, (Node319height - Node319fontSize) * 0.5*_ratio.ratioY + Node319fontSize + 2 ]);
  33632. Node319.a('node.underlinevisible',false);
  33633. Node319.a('node.underlineBorderWidth', 1);
  33634. }
  33635. dataModel.add(Node319);
  33636. zoomNodeList.push({
  33637. node: Node319,
  33638. borderWidth: 0,
  33639. attr: 'node.borderwidth'
  33640. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33641. var Node320type = 'rect';
  33642. var Node320 = new ht.Node(),
  33643. Node320BorderWidth = 1*2;
  33644. if (Node320type === 'arc') {
  33645. Node320BorderWidth *= 1;
  33646. }
  33647. Node320.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node320type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  33648. Node320.setPosition(1405*ratio.ratioX, 98*ratio.ratioY);
  33649. Node320.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
  33650. Node320.s({
  33651. 'pixelPerfect':true
  33652. /*@AddPara@*/
  33653. });
  33654. Node320.a('node.width', 130*_ratio.ratioX);
  33655. Node320.a('node.height', 121*_ratio.ratioY);
  33656. Node320.a('node.type', Node320type);
  33657. Node320.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
  33658. Node320.a('node.background', 'rgba(255,255,255,0.003921569)');
  33659. Node320.a('node.gradientcolor', '');
  33660. Node320.a('node.gradient', '');
  33661. Node320.a('node.borderwidth', Node320BorderWidth);
  33662. Node320.a('node.color', 'rgba(128,128,128,1)');
  33663. Node320.a('node.fillrect', [0,0,0,0]);
  33664. Node320.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  33665. Node320.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  33666. Node320.a('node.fillgradient', '');
  33667. if (Node320type !== 'rect') {
  33668. Node320.a('node.arcFrom', parseFloat('@arcFrom@'));
  33669. Node320.a('node.arcTo', parseFloat('@arcTo@'));
  33670. Node320.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  33671. }
  33672. if (Node320type === 'arc') {
  33673. Node320.a('node.arcOval', true);
  33674. }
  33675. Node320.setRotation(0*Math.PI/180);
  33676. Node320.borderWidth = Node320BorderWidth;
  33677. Node320.borderFillwidth = Node320BorderWidth;
  33678. dataModel.add(Node320);
  33679. Node320._nodename = 'Node320'
  33680. Node320._nodeType = 'rect';
  33681. zoomNodeList.push({
  33682. node: Node320,
  33683. attr: 'node.borderwidth'
  33684. });
  33685. (function (node, _img) {
  33686. var setWidth = node.setWidth,
  33687. setHeight = node.setHeight;
  33688. node.setWidth = function (width) {
  33689. if (width === this.getWidth()) return ;
  33690. var height = this.getHeight();
  33691. this.a('node.width', width);
  33692. this.a('node.rect', [0,0,width, height]);
  33693. setWidth.apply(this, arguments);
  33694. }
  33695. node.setHeight = function (height) {
  33696. if (height === this.getHeight()) return ;
  33697. var width = this.getWidth();
  33698. this.a('node.height', height);
  33699. this.a('node.rect', [0,0,width, height]);
  33700. setHeight.apply(this, arguments);
  33701. }
  33702. })(Node320, Node320.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33703. var Node321 = new ht.Node();
  33704. var Node321textStart, Node321textWidth, Node321lineStart, Node321align = 'left', Node321fontSize = 13.3333*_ratio.ratioY,Node321width = 59*_ratio.ratioX, Node321height = 25*_ratio.ratioY;
  33705. (function () {
  33706. if (Node321align === 'left') {
  33707. Node321textStart = Node321fontSize * 0.2 > 2 ? Node321fontSize * 0.2 - 4 : Node321fontSize * 0.2 - 9;
  33708. Node321textWidth = Node321width;
  33709. Node321lineStart = 1;
  33710. } else if (Node321align === 'right') {
  33711. Node321textStart = 0;
  33712. Node321textWidth =Node321fontSize <= 8 ? Node321width + Node321fontSize * 0.2 + 6 : Node321width - Node321fontSize * 0.2;
  33713. Node321lineStart = (Node321width - (ht.Default.getTextSize('接入', ' '+ Node321fontSize + 'px "Arial"').width + 6)) * 0.5;
  33714. } else if (Node321align === 'center') {
  33715. Node321textStart = -3;
  33716. Node321textWidth = Node321width;
  33717. Node321lineStart = Node321width - ht.Default.getTextSize('接入', ' '+ Node321fontSize + 'px "Arial"').width - 11;
  33718. }
  33719. })();
  33720. Node321.setImage(GD.getTextJSON(Node321width, Node321height, true, false, false, ' '+ Node321fontSize + 'px "Arial"'))
  33721. Node321.setPosition(1374*ratio.ratioX, 52*ratio.ratioY);
  33722. Node321.setWidth(Node321width);
  33723. Node321.setHeight(Node321height);
  33724. Node321._nodeType = 'text';
  33725. Node321._disallowEvert = true;
  33726. Node321.setRotation(0*Math.PI/180);
  33727. Node321.a('node.width', Node321width);
  33728. Node321.a('node.height', Node321height);
  33729. Node321.a('node.rect', [0, 0, Node321width, Node321height]);
  33730. Node321.a('node.bordercolor','rgba(105,105,105,1)');
  33731. Node321.a('node.borderwidth', 0);
  33732. Node321.a('node.background','' || 'rgba(0,0,0,0)');
  33733. Node321.a('node.gradient','');
  33734. Node321.a('node.gradientcolor','');
  33735. Node321.a('node.text','接入');
  33736. Node321.a('node.textalign','left');
  33737. Node321.a('node.textvAlign','middle');
  33738. Node321.a('node.textrect', [Node321textStart, 0, Node321textWidth, Node321height]);
  33739. Node321.a('node.color','rgba(105,105,105,1)');
  33740. Node321.a('node.font',' '+ Node321fontSize + 'px "Arial"');
  33741. Node321.a('node.textvisible',true);
  33742. Node321.a('node.linefeed',false);
  33743. if (false) {
  33744. Node321.a('node.textfunc',function(g) {
  33745. g.beginPath();
  33746. var str=Node321.a('node.text') || '接入';
  33747. var color=Node321.a('node.color') || 'rgba(105,105,105,1)';
  33748. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node321width,Node321height,13.3333*_ratio.ratioY,"left",color,' '+ Node321fontSize + 'px "Arial"', 0,g);
  33749. });
  33750. }
  33751. if (false) {
  33752. Node321.a('node.underlinepoints',[Node321lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node321fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node321fontSize + 'px "Arial"').width + 6, (Node321height - Node321fontSize) * 0.5*_ratio.ratioY + Node321fontSize + 2 ]);
  33753. Node321.a('node.underlinevisible',false);
  33754. Node321.a('node.underlineBorderWidth', 1);
  33755. }
  33756. dataModel.add(Node321);
  33757. zoomNodeList.push({
  33758. node: Node321,
  33759. borderWidth: 0,
  33760. attr: 'node.borderwidth'
  33761. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33762. var Node322 = new ht.Node();
  33763. var Node322textStart, Node322textWidth, Node322lineStart, Node322align = 'center', Node322fontSize = 26.6666*_ratio.ratioY,Node322width = 87*_ratio.ratioX, Node322height = 36*_ratio.ratioY;
  33764. (function () {
  33765. if (Node322align === 'left') {
  33766. Node322textStart = Node322fontSize * 0.2 > 2 ? Node322fontSize * 0.2 - 4 : Node322fontSize * 0.2 - 9;
  33767. Node322textWidth = Node322width;
  33768. Node322lineStart = 1;
  33769. } else if (Node322align === 'right') {
  33770. Node322textStart = 0;
  33771. Node322textWidth =Node322fontSize <= 8 ? Node322width + Node322fontSize * 0.2 + 6 : Node322width - Node322fontSize * 0.2;
  33772. Node322lineStart = (Node322width - (ht.Default.getTextSize('0', ' '+ Node322fontSize + 'px "Arial"').width + 6)) * 0.5;
  33773. } else if (Node322align === 'center') {
  33774. Node322textStart = -3;
  33775. Node322textWidth = Node322width;
  33776. Node322lineStart = Node322width - ht.Default.getTextSize('0', ' '+ Node322fontSize + 'px "Arial"').width - 11;
  33777. }
  33778. })();
  33779. Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, ' '+ Node322fontSize + 'px "Arial"'))
  33780. Node322.setPosition(1406*ratio.ratioX, 97*ratio.ratioY);
  33781. Node322.setWidth(Node322width);
  33782. Node322.setHeight(Node322height);
  33783. Node322._nodeType = 'text';
  33784. Node322._disallowEvert = true;
  33785. Node322.setRotation(0*Math.PI/180);
  33786. Node322.a('node.width', Node322width);
  33787. Node322.a('node.height', Node322height);
  33788. Node322.a('node.rect', [0, 0, Node322width, Node322height]);
  33789. Node322.a('node.bordercolor','rgba(0,0,0,1)');
  33790. Node322.a('node.borderwidth', 0);
  33791. Node322.a('node.background','' || 'rgba(0,0,0,0)');
  33792. Node322.a('node.gradient','');
  33793. Node322.a('node.gradientcolor','');
  33794. Node322.a('node.text','0');
  33795. Node322.a('node.textalign','center');
  33796. Node322.a('node.textvAlign','middle');
  33797. Node322.a('node.textrect', [Node322textStart, 0, Node322textWidth, Node322height]);
  33798. Node322.a('node.color','rgba(0,0,0,1)');
  33799. Node322.a('node.font',' '+ Node322fontSize + 'px "Arial"');
  33800. Node322.a('node.textvisible',true);
  33801. Node322.a('node.linefeed',false);
  33802. if (false) {
  33803. Node322.a('node.textfunc',function(g) {
  33804. g.beginPath();
  33805. var str=Node322.a('node.text') || '0';
  33806. var color=Node322.a('node.color') || 'rgba(0,0,0,1)';
  33807. canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node322width,Node322height,26.6666*_ratio.ratioY,"center",color,' '+ Node322fontSize + 'px "Arial"', 0,g);
  33808. });
  33809. }
  33810. if (false) {
  33811. Node322.a('node.underlinepoints',[Node322lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node322fontSize + 'px "Arial"').width + 6, (Node322height - Node322fontSize) * 0.5*_ratio.ratioY + Node322fontSize + 2 ]);
  33812. Node322.a('node.underlinevisible',false);
  33813. Node322.a('node.underlineBorderWidth', 1);
  33814. }
  33815. dataModel.add(Node322);
  33816. zoomNodeList.push({
  33817. node: Node322,
  33818. borderWidth: 0,
  33819. attr: 'node.borderwidth'
  33820. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33821. var Node323 = new ht.Node();
  33822. var Node323textStart, Node323textWidth, Node323lineStart, Node323align = 'center', Node323fontSize = 14.66663*_ratio.ratioY,Node323width = 87*_ratio.ratioX, Node323height = 26*_ratio.ratioY;
  33823. (function () {
  33824. if (Node323align === 'left') {
  33825. Node323textStart = Node323fontSize * 0.2 > 2 ? Node323fontSize * 0.2 - 4 : Node323fontSize * 0.2 - 9;
  33826. Node323textWidth = Node323width;
  33827. Node323lineStart = 1;
  33828. } else if (Node323align === 'right') {
  33829. Node323textStart = 0;
  33830. Node323textWidth =Node323fontSize <= 8 ? Node323width + Node323fontSize * 0.2 + 6 : Node323width - Node323fontSize * 0.2;
  33831. Node323lineStart = (Node323width - (ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "Arial"').width + 6)) * 0.5;
  33832. } else if (Node323align === 'center') {
  33833. Node323textStart = -3;
  33834. Node323textWidth = Node323width;
  33835. Node323lineStart = Node323width - ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "Arial"').width - 11;
  33836. }
  33837. })();
  33838. Node323.setImage(GD.getTextJSON(Node323width, Node323height, true, false, false, ' '+ Node323fontSize + 'px "Arial"'))
  33839. Node323.setPosition(1453*ratio.ratioX, 146*ratio.ratioY);
  33840. Node323.setWidth(Node323width);
  33841. Node323.setHeight(Node323height);
  33842. Node323._nodeType = 'text';
  33843. Node323._disallowEvert = true;
  33844. Node323.setRotation(0*Math.PI/180);
  33845. Node323.a('node.width', Node323width);
  33846. Node323.a('node.height', Node323height);
  33847. Node323.a('node.rect', [0, 0, Node323width, Node323height]);
  33848. Node323.a('node.bordercolor','rgba(105,105,105,1)');
  33849. Node323.a('node.borderwidth', 0);
  33850. Node323.a('node.background','' || 'rgba(0,0,0,0)');
  33851. Node323.a('node.gradient','');
  33852. Node323.a('node.gradientcolor','');
  33853. Node323.a('node.text','台');
  33854. Node323.a('node.textalign','center');
  33855. Node323.a('node.textvAlign','middle');
  33856. Node323.a('node.textrect', [Node323textStart, 0, Node323textWidth, Node323height]);
  33857. Node323.a('node.color','rgba(105,105,105,1)');
  33858. Node323.a('node.font',' '+ Node323fontSize + 'px "Arial"');
  33859. Node323.a('node.textvisible',true);
  33860. Node323.a('node.linefeed',false);
  33861. if (false) {
  33862. Node323.a('node.textfunc',function(g) {
  33863. g.beginPath();
  33864. var str=Node323.a('node.text') || '台';
  33865. var color=Node323.a('node.color') || 'rgba(105,105,105,1)';
  33866. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node323width,Node323height,14.66663*_ratio.ratioY,"center",color,' '+ Node323fontSize + 'px "Arial"', 0,g);
  33867. });
  33868. }
  33869. if (false) {
  33870. Node323.a('node.underlinepoints',[Node323lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node323fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "Arial"').width + 6, (Node323height - Node323fontSize) * 0.5*_ratio.ratioY + Node323fontSize + 2 ]);
  33871. Node323.a('node.underlinevisible',false);
  33872. Node323.a('node.underlineBorderWidth', 1);
  33873. }
  33874. dataModel.add(Node323);
  33875. zoomNodeList.push({
  33876. node: Node323,
  33877. borderWidth: 0,
  33878. attr: 'node.borderwidth'
  33879. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33880. var Node324 = new ht.Node();
  33881. var Node324textStart, Node324textWidth, Node324lineStart, Node324align = 'center', Node324fontSize = 14.66663*_ratio.ratioY,Node324width = 67*_ratio.ratioX, Node324height = 26*_ratio.ratioY;
  33882. (function () {
  33883. if (Node324align === 'left') {
  33884. Node324textStart = Node324fontSize * 0.2 > 2 ? Node324fontSize * 0.2 - 4 : Node324fontSize * 0.2 - 9;
  33885. Node324textWidth = Node324width;
  33886. Node324lineStart = 1;
  33887. } else if (Node324align === 'right') {
  33888. Node324textStart = 0;
  33889. Node324textWidth =Node324fontSize <= 8 ? Node324width + Node324fontSize * 0.2 + 6 : Node324width - Node324fontSize * 0.2;
  33890. Node324lineStart = (Node324width - (ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "Arial"').width + 6)) * 0.5;
  33891. } else if (Node324align === 'center') {
  33892. Node324textStart = -3;
  33893. Node324textWidth = Node324width;
  33894. Node324lineStart = Node324width - ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "Arial"').width - 11;
  33895. }
  33896. })();
  33897. Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "Arial"'))
  33898. Node324.setPosition(1586*ratio.ratioX, 144*ratio.ratioY);
  33899. Node324.setWidth(Node324width);
  33900. Node324.setHeight(Node324height);
  33901. Node324._nodeType = 'text';
  33902. Node324._disallowEvert = true;
  33903. Node324.setRotation(0*Math.PI/180);
  33904. Node324.a('node.width', Node324width);
  33905. Node324.a('node.height', Node324height);
  33906. Node324.a('node.rect', [0, 0, Node324width, Node324height]);
  33907. Node324.a('node.bordercolor','rgba(105,105,105,1)');
  33908. Node324.a('node.borderwidth', 0);
  33909. Node324.a('node.background','' || 'rgba(0,0,0,0)');
  33910. Node324.a('node.gradient','');
  33911. Node324.a('node.gradientcolor','');
  33912. Node324.a('node.text','台');
  33913. Node324.a('node.textalign','center');
  33914. Node324.a('node.textvAlign','middle');
  33915. Node324.a('node.textrect', [Node324textStart, 0, Node324textWidth, Node324height]);
  33916. Node324.a('node.color','rgba(105,105,105,1)');
  33917. Node324.a('node.font',' '+ Node324fontSize + 'px "Arial"');
  33918. Node324.a('node.textvisible',true);
  33919. Node324.a('node.linefeed',false);
  33920. if (false) {
  33921. Node324.a('node.textfunc',function(g) {
  33922. g.beginPath();
  33923. var str=Node324.a('node.text') || '台';
  33924. var color=Node324.a('node.color') || 'rgba(105,105,105,1)';
  33925. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node324width,Node324height,14.66663*_ratio.ratioY,"center",color,' '+ Node324fontSize + 'px "Arial"', 0,g);
  33926. });
  33927. }
  33928. if (false) {
  33929. Node324.a('node.underlinepoints',[Node324lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "Arial"').width + 6, (Node324height - Node324fontSize) * 0.5*_ratio.ratioY + Node324fontSize + 2 ]);
  33930. Node324.a('node.underlinevisible',false);
  33931. Node324.a('node.underlineBorderWidth', 1);
  33932. }
  33933. dataModel.add(Node324);
  33934. zoomNodeList.push({
  33935. node: Node324,
  33936. borderWidth: 0,
  33937. attr: 'node.borderwidth'
  33938. }); var Node325;
  33939. (function () {
  33940. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33941. var ratioX, ratioY;
  33942. if ('Default' === 'False') {
  33943. ratioX = 1;
  33944. ratioY = 1;
  33945. } else if ('Default' === 'X') {
  33946. ratioX = ratioY = _ratio.ratioX;
  33947. } else if ('Default' === 'Y') {
  33948. ratioX = ratioY = _ratio.ratioY;
  33949. } else {
  33950. ratioX = _ratio.ratioX;
  33951. ratioY = _ratio.ratioY;
  33952. }
  33953. ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
  33954. Node325 = new ht.Node();
  33955. Node325.setPosition(1475*ratio.ratioX, 128*ratio.ratioY);
  33956. Node325.setSize(9*ratioX, 60*ratioY);
  33957. Node325.setImage('imgimage//page_list_box_left_orange.jpg');
  33958. Node325.setRotation(0*Math.PI/180);
  33959. Node325._zoomBy = 'Default';
  33960. Node325._nodeType = 'image';
  33961. Node325._disallowEvert = true;
  33962. dataModel.add(Node325);
  33963. })();
  33964. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  33965. var Node326type = 'rect';
  33966. var Node326 = new ht.Node(),
  33967. Node326BorderWidth = 1*2;
  33968. if (Node326type === 'arc') {
  33969. Node326BorderWidth *= 1;
  33970. }
  33971. Node326.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node326type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  33972. Node326.setPosition(1544*ratio.ratioX, 129*ratio.ratioY);
  33973. Node326.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
  33974. Node326.s({
  33975. 'pixelPerfect':true
  33976. /*@AddPara@*/
  33977. });
  33978. Node326.a('node.width', 127*_ratio.ratioX);
  33979. Node326.a('node.height', 60.81538*_ratio.ratioY);
  33980. Node326.a('node.type', Node326type);
  33981. Node326.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
  33982. Node326.a('node.background', 'rgba(255,255,255,0.003921569)');
  33983. Node326.a('node.gradientcolor', '');
  33984. Node326.a('node.gradient', '');
  33985. Node326.a('node.borderwidth', Node326BorderWidth);
  33986. Node326.a('node.color', 'rgba(128,128,128,1)');
  33987. Node326.a('node.fillrect', [0,0,0,0]);
  33988. Node326.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  33989. Node326.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  33990. Node326.a('node.fillgradient', '');
  33991. if (Node326type !== 'rect') {
  33992. Node326.a('node.arcFrom', parseFloat('@arcFrom@'));
  33993. Node326.a('node.arcTo', parseFloat('@arcTo@'));
  33994. Node326.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  33995. }
  33996. if (Node326type === 'arc') {
  33997. Node326.a('node.arcOval', true);
  33998. }
  33999. Node326.setRotation(0*Math.PI/180);
  34000. Node326.borderWidth = Node326BorderWidth;
  34001. Node326.borderFillwidth = Node326BorderWidth;
  34002. dataModel.add(Node326);
  34003. Node326._nodename = 'Node326'
  34004. Node326._nodeType = 'rect';
  34005. zoomNodeList.push({
  34006. node: Node326,
  34007. attr: 'node.borderwidth'
  34008. });
  34009. (function (node, _img) {
  34010. var setWidth = node.setWidth,
  34011. setHeight = node.setHeight;
  34012. node.setWidth = function (width) {
  34013. if (width === this.getWidth()) return ;
  34014. var height = this.getHeight();
  34015. this.a('node.width', width);
  34016. this.a('node.rect', [0,0,width, height]);
  34017. setWidth.apply(this, arguments);
  34018. }
  34019. node.setHeight = function (height) {
  34020. if (height === this.getHeight()) return ;
  34021. var width = this.getWidth();
  34022. this.a('node.height', height);
  34023. this.a('node.rect', [0,0,width, height]);
  34024. setHeight.apply(this, arguments);
  34025. }
  34026. })(Node326, Node326.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34027. var Node327 = new ht.Node();
  34028. var Node327textStart, Node327textWidth, Node327lineStart, Node327align = 'left', Node327fontSize = 13.3333*_ratio.ratioY,Node327width = 47*_ratio.ratioX, Node327height = 38*_ratio.ratioY;
  34029. (function () {
  34030. if (Node327align === 'left') {
  34031. Node327textStart = Node327fontSize * 0.2 > 2 ? Node327fontSize * 0.2 - 4 : Node327fontSize * 0.2 - 9;
  34032. Node327textWidth = Node327width;
  34033. Node327lineStart = 1;
  34034. } else if (Node327align === 'right') {
  34035. Node327textStart = 0;
  34036. Node327textWidth =Node327fontSize <= 8 ? Node327width + Node327fontSize * 0.2 + 6 : Node327width - Node327fontSize * 0.2;
  34037. Node327lineStart = (Node327width - (ht.Default.getTextSize('维护', 'bold '+ Node327fontSize + 'px "Arial"').width + 6)) * 0.5;
  34038. } else if (Node327align === 'center') {
  34039. Node327textStart = -3;
  34040. Node327textWidth = Node327width;
  34041. Node327lineStart = Node327width - ht.Default.getTextSize('维护', 'bold '+ Node327fontSize + 'px "Arial"').width - 11;
  34042. }
  34043. })();
  34044. Node327.setImage(GD.getTextJSON(Node327width, Node327height, true, false, false, 'bold '+ Node327fontSize + 'px "Arial"'))
  34045. Node327.setPosition(1506*ratio.ratioX, 111*ratio.ratioY);
  34046. Node327.setWidth(Node327width);
  34047. Node327.setHeight(Node327height);
  34048. Node327._nodeType = 'text';
  34049. Node327._disallowEvert = true;
  34050. Node327.setRotation(0*Math.PI/180);
  34051. Node327.a('node.width', Node327width);
  34052. Node327.a('node.height', Node327height);
  34053. Node327.a('node.rect', [0, 0, Node327width, Node327height]);
  34054. Node327.a('node.bordercolor','rgba(0,0,0,1)');
  34055. Node327.a('node.borderwidth', 0);
  34056. Node327.a('node.background','' || 'rgba(0,0,0,0)');
  34057. Node327.a('node.gradient','');
  34058. Node327.a('node.gradientcolor','');
  34059. Node327.a('node.text','维护');
  34060. Node327.a('node.textalign','left');
  34061. Node327.a('node.textvAlign','middle');
  34062. Node327.a('node.textrect', [Node327textStart, 0, Node327textWidth, Node327height]);
  34063. Node327.a('node.color','rgba(0,0,0,1)');
  34064. Node327.a('node.font','bold '+ Node327fontSize + 'px "Arial"');
  34065. Node327.a('node.textvisible',true);
  34066. Node327.a('node.linefeed',false);
  34067. if (false) {
  34068. Node327.a('node.textfunc',function(g) {
  34069. g.beginPath();
  34070. var str=Node327.a('node.text') || '维护';
  34071. var color=Node327.a('node.color') || 'rgba(0,0,0,1)';
  34072. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node327width,Node327height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node327fontSize + 'px "Arial"', 0,g);
  34073. });
  34074. }
  34075. if (false) {
  34076. Node327.a('node.underlinepoints',[Node327lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node327fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node327fontSize + 'px "Arial"').width + 6, (Node327height - Node327fontSize) * 0.5*_ratio.ratioY + Node327fontSize + 2 ]);
  34077. Node327.a('node.underlinevisible',false);
  34078. Node327.a('node.underlineBorderWidth', 1);
  34079. }
  34080. dataModel.add(Node327);
  34081. zoomNodeList.push({
  34082. node: Node327,
  34083. borderWidth: 0,
  34084. attr: 'node.borderwidth'
  34085. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34086. var Node328 = new ht.Node();
  34087. var Node328textStart, Node328textWidth, Node328lineStart, Node328align = 'left', Node328fontSize = 15.99996*_ratio.ratioY,Node328width = 29*_ratio.ratioX, Node328height = 25*_ratio.ratioY;
  34088. (function () {
  34089. if (Node328align === 'left') {
  34090. Node328textStart = Node328fontSize * 0.2 > 2 ? Node328fontSize * 0.2 - 4 : Node328fontSize * 0.2 - 9;
  34091. Node328textWidth = Node328width;
  34092. Node328lineStart = 1;
  34093. } else if (Node328align === 'right') {
  34094. Node328textStart = 0;
  34095. Node328textWidth =Node328fontSize <= 8 ? Node328width + Node328fontSize * 0.2 + 6 : Node328width - Node328fontSize * 0.2;
  34096. Node328lineStart = (Node328width - (ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "Arial"').width + 6)) * 0.5;
  34097. } else if (Node328align === 'center') {
  34098. Node328textStart = -3;
  34099. Node328textWidth = Node328width;
  34100. Node328lineStart = Node328width - ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "Arial"').width - 11;
  34101. }
  34102. })();
  34103. Node328.setImage(GD.getTextJSON(Node328width, Node328height, true, false, false, ' '+ Node328fontSize + 'px "Arial"'))
  34104. Node328.setPosition(1507*ratio.ratioX, 143*ratio.ratioY);
  34105. Node328.setWidth(Node328width);
  34106. Node328.setHeight(Node328height);
  34107. Node328._nodeType = 'text';
  34108. Node328._disallowEvert = true;
  34109. Node328.setRotation(0*Math.PI/180);
  34110. Node328.a('node.width', Node328width);
  34111. Node328.a('node.height', Node328height);
  34112. Node328.a('node.rect', [0, 0, Node328width, Node328height]);
  34113. Node328.a('node.bordercolor','rgba(0,0,0,1)');
  34114. Node328.a('node.borderwidth', 0);
  34115. Node328.a('node.background','' || 'rgba(0,0,0,0)');
  34116. Node328.a('node.gradient','');
  34117. Node328.a('node.gradientcolor','');
  34118. Node328.a('node.text','0');
  34119. Node328.a('node.textalign','left');
  34120. Node328.a('node.textvAlign','middle');
  34121. Node328.a('node.textrect', [Node328textStart, 0, Node328textWidth, Node328height]);
  34122. Node328.a('node.color','rgba(0,0,0,1)');
  34123. Node328.a('node.font',' '+ Node328fontSize + 'px "Arial"');
  34124. Node328.a('node.textvisible',true);
  34125. Node328.a('node.linefeed',false);
  34126. if (false) {
  34127. Node328.a('node.textfunc',function(g) {
  34128. g.beginPath();
  34129. var str=Node328.a('node.text') || '0';
  34130. var color=Node328.a('node.color') || 'rgba(0,0,0,1)';
  34131. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node328width,Node328height,15.99996*_ratio.ratioY,"left",color,' '+ Node328fontSize + 'px "Arial"', 0,g);
  34132. });
  34133. }
  34134. if (false) {
  34135. Node328.a('node.underlinepoints',[Node328lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node328fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "Arial"').width + 6, (Node328height - Node328fontSize) * 0.5*_ratio.ratioY + Node328fontSize + 2 ]);
  34136. Node328.a('node.underlinevisible',false);
  34137. Node328.a('node.underlineBorderWidth', 1);
  34138. }
  34139. dataModel.add(Node328);
  34140. zoomNodeList.push({
  34141. node: Node328,
  34142. borderWidth: 0,
  34143. attr: 'node.borderwidth'
  34144. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34145. var Node329 = new ht.Node();
  34146. var Node329textStart, Node329textWidth, Node329lineStart, Node329align = 'center', Node329fontSize = 14.66663*_ratio.ratioY,Node329width = 67*_ratio.ratioX, Node329height = 26*_ratio.ratioY;
  34147. (function () {
  34148. if (Node329align === 'left') {
  34149. Node329textStart = Node329fontSize * 0.2 > 2 ? Node329fontSize * 0.2 - 4 : Node329fontSize * 0.2 - 9;
  34150. Node329textWidth = Node329width;
  34151. Node329lineStart = 1;
  34152. } else if (Node329align === 'right') {
  34153. Node329textStart = 0;
  34154. Node329textWidth =Node329fontSize <= 8 ? Node329width + Node329fontSize * 0.2 + 6 : Node329width - Node329fontSize * 0.2;
  34155. Node329lineStart = (Node329width - (ht.Default.getTextSize('台', ' '+ Node329fontSize + 'px "Arial"').width + 6)) * 0.5;
  34156. } else if (Node329align === 'center') {
  34157. Node329textStart = -3;
  34158. Node329textWidth = Node329width;
  34159. Node329lineStart = Node329width - ht.Default.getTextSize('台', ' '+ Node329fontSize + 'px "Arial"').width - 11;
  34160. }
  34161. })();
  34162. Node329.setImage(GD.getTextJSON(Node329width, Node329height, true, false, false, ' '+ Node329fontSize + 'px "Arial"'))
  34163. Node329.setPosition(1724*ratio.ratioX, 84*ratio.ratioY);
  34164. Node329.setWidth(Node329width);
  34165. Node329.setHeight(Node329height);
  34166. Node329._nodeType = 'text';
  34167. Node329._disallowEvert = true;
  34168. Node329.setRotation(0*Math.PI/180);
  34169. Node329.a('node.width', Node329width);
  34170. Node329.a('node.height', Node329height);
  34171. Node329.a('node.rect', [0, 0, Node329width, Node329height]);
  34172. Node329.a('node.bordercolor','rgba(105,105,105,1)');
  34173. Node329.a('node.borderwidth', 0);
  34174. Node329.a('node.background','' || 'rgba(0,0,0,0)');
  34175. Node329.a('node.gradient','');
  34176. Node329.a('node.gradientcolor','');
  34177. Node329.a('node.text','台');
  34178. Node329.a('node.textalign','center');
  34179. Node329.a('node.textvAlign','middle');
  34180. Node329.a('node.textrect', [Node329textStart, 0, Node329textWidth, Node329height]);
  34181. Node329.a('node.color','rgba(105,105,105,1)');
  34182. Node329.a('node.font',' '+ Node329fontSize + 'px "Arial"');
  34183. Node329.a('node.textvisible',true);
  34184. Node329.a('node.linefeed',false);
  34185. if (false) {
  34186. Node329.a('node.textfunc',function(g) {
  34187. g.beginPath();
  34188. var str=Node329.a('node.text') || '台';
  34189. var color=Node329.a('node.color') || 'rgba(105,105,105,1)';
  34190. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node329width,Node329height,14.66663*_ratio.ratioY,"center",color,' '+ Node329fontSize + 'px "Arial"', 0,g);
  34191. });
  34192. }
  34193. if (false) {
  34194. Node329.a('node.underlinepoints',[Node329lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node329fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node329fontSize + 'px "Arial"').width + 6, (Node329height - Node329fontSize) * 0.5*_ratio.ratioY + Node329fontSize + 2 ]);
  34195. Node329.a('node.underlinevisible',false);
  34196. Node329.a('node.underlineBorderWidth', 1);
  34197. }
  34198. dataModel.add(Node329);
  34199. zoomNodeList.push({
  34200. node: Node329,
  34201. borderWidth: 0,
  34202. attr: 'node.borderwidth'
  34203. }); var Node330;
  34204. (function () {
  34205. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34206. var ratioX, ratioY;
  34207. if ('Default' === 'False') {
  34208. ratioX = 1;
  34209. ratioY = 1;
  34210. } else if ('Default' === 'X') {
  34211. ratioX = ratioY = _ratio.ratioX;
  34212. } else if ('Default' === 'Y') {
  34213. ratioX = ratioY = _ratio.ratioY;
  34214. } else {
  34215. ratioX = _ratio.ratioX;
  34216. ratioY = _ratio.ratioY;
  34217. }
  34218. ht.Default.setImage('imgimage//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg');
  34219. Node330 = new ht.Node();
  34220. Node330.setPosition(1613*ratio.ratioX, 68*ratio.ratioY);
  34221. Node330.setSize(9*ratioX, 60*ratioY);
  34222. Node330.setImage('imgimage//page_list_box_left_green.jpg');
  34223. Node330.setRotation(0*Math.PI/180);
  34224. Node330._zoomBy = 'Default';
  34225. Node330._nodeType = 'image';
  34226. Node330._disallowEvert = true;
  34227. dataModel.add(Node330);
  34228. })();
  34229. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34230. var Node331type = 'rect';
  34231. var Node331 = new ht.Node(),
  34232. Node331BorderWidth = 1*2;
  34233. if (Node331type === 'arc') {
  34234. Node331BorderWidth *= 1;
  34235. }
  34236. Node331.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node331type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34237. Node331.setPosition(1682*ratio.ratioX, 68*ratio.ratioY);
  34238. Node331.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
  34239. Node331.s({
  34240. 'pixelPerfect':true
  34241. /*@AddPara@*/
  34242. });
  34243. Node331.a('node.width', 127*_ratio.ratioX);
  34244. Node331.a('node.height', 60.81538*_ratio.ratioY);
  34245. Node331.a('node.type', Node331type);
  34246. Node331.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
  34247. Node331.a('node.background', 'rgba(255,255,255,0.003921569)');
  34248. Node331.a('node.gradientcolor', '');
  34249. Node331.a('node.gradient', '');
  34250. Node331.a('node.borderwidth', Node331BorderWidth);
  34251. Node331.a('node.color', 'rgba(128,128,128,1)');
  34252. Node331.a('node.fillrect', [0,0,0,0]);
  34253. Node331.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34254. Node331.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34255. Node331.a('node.fillgradient', '');
  34256. if (Node331type !== 'rect') {
  34257. Node331.a('node.arcFrom', parseFloat('@arcFrom@'));
  34258. Node331.a('node.arcTo', parseFloat('@arcTo@'));
  34259. Node331.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34260. }
  34261. if (Node331type === 'arc') {
  34262. Node331.a('node.arcOval', true);
  34263. }
  34264. Node331.setRotation(0*Math.PI/180);
  34265. Node331.borderWidth = Node331BorderWidth;
  34266. Node331.borderFillwidth = Node331BorderWidth;
  34267. dataModel.add(Node331);
  34268. Node331._nodename = 'Node331'
  34269. Node331._nodeType = 'rect';
  34270. zoomNodeList.push({
  34271. node: Node331,
  34272. attr: 'node.borderwidth'
  34273. });
  34274. (function (node, _img) {
  34275. var setWidth = node.setWidth,
  34276. setHeight = node.setHeight;
  34277. node.setWidth = function (width) {
  34278. if (width === this.getWidth()) return ;
  34279. var height = this.getHeight();
  34280. this.a('node.width', width);
  34281. this.a('node.rect', [0,0,width, height]);
  34282. setWidth.apply(this, arguments);
  34283. }
  34284. node.setHeight = function (height) {
  34285. if (height === this.getHeight()) return ;
  34286. var width = this.getWidth();
  34287. this.a('node.height', height);
  34288. this.a('node.rect', [0,0,width, height]);
  34289. setHeight.apply(this, arguments);
  34290. }
  34291. })(Node331, Node331.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34292. var Node332 = new ht.Node();
  34293. var Node332textStart, Node332textWidth, Node332lineStart, Node332align = 'left', Node332fontSize = 15.99996*_ratio.ratioY,Node332width = 29*_ratio.ratioX, Node332height = 25*_ratio.ratioY;
  34294. (function () {
  34295. if (Node332align === 'left') {
  34296. Node332textStart = Node332fontSize * 0.2 > 2 ? Node332fontSize * 0.2 - 4 : Node332fontSize * 0.2 - 9;
  34297. Node332textWidth = Node332width;
  34298. Node332lineStart = 1;
  34299. } else if (Node332align === 'right') {
  34300. Node332textStart = 0;
  34301. Node332textWidth =Node332fontSize <= 8 ? Node332width + Node332fontSize * 0.2 + 6 : Node332width - Node332fontSize * 0.2;
  34302. Node332lineStart = (Node332width - (ht.Default.getTextSize('0', ' '+ Node332fontSize + 'px "Arial"').width + 6)) * 0.5;
  34303. } else if (Node332align === 'center') {
  34304. Node332textStart = -3;
  34305. Node332textWidth = Node332width;
  34306. Node332lineStart = Node332width - ht.Default.getTextSize('0', ' '+ Node332fontSize + 'px "Arial"').width - 11;
  34307. }
  34308. })();
  34309. Node332.setImage(GD.getTextJSON(Node332width, Node332height, true, false, false, ' '+ Node332fontSize + 'px "Arial"'))
  34310. Node332.setPosition(1645*ratio.ratioX, 83*ratio.ratioY);
  34311. Node332.setWidth(Node332width);
  34312. Node332.setHeight(Node332height);
  34313. Node332._nodeType = 'text';
  34314. Node332._disallowEvert = true;
  34315. Node332.setRotation(0*Math.PI/180);
  34316. Node332.a('node.width', Node332width);
  34317. Node332.a('node.height', Node332height);
  34318. Node332.a('node.rect', [0, 0, Node332width, Node332height]);
  34319. Node332.a('node.bordercolor','rgba(0,0,0,1)');
  34320. Node332.a('node.borderwidth', 0);
  34321. Node332.a('node.background','' || 'rgba(0,0,0,0)');
  34322. Node332.a('node.gradient','');
  34323. Node332.a('node.gradientcolor','');
  34324. Node332.a('node.text','0');
  34325. Node332.a('node.textalign','left');
  34326. Node332.a('node.textvAlign','middle');
  34327. Node332.a('node.textrect', [Node332textStart, 0, Node332textWidth, Node332height]);
  34328. Node332.a('node.color','rgba(0,0,0,1)');
  34329. Node332.a('node.font',' '+ Node332fontSize + 'px "Arial"');
  34330. Node332.a('node.textvisible',true);
  34331. Node332.a('node.linefeed',false);
  34332. if (false) {
  34333. Node332.a('node.textfunc',function(g) {
  34334. g.beginPath();
  34335. var str=Node332.a('node.text') || '0';
  34336. var color=Node332.a('node.color') || 'rgba(0,0,0,1)';
  34337. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node332width,Node332height,15.99996*_ratio.ratioY,"left",color,' '+ Node332fontSize + 'px "Arial"', 0,g);
  34338. });
  34339. }
  34340. if (false) {
  34341. Node332.a('node.underlinepoints',[Node332lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node332fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node332fontSize + 'px "Arial"').width + 6, (Node332height - Node332fontSize) * 0.5*_ratio.ratioY + Node332fontSize + 2 ]);
  34342. Node332.a('node.underlinevisible',false);
  34343. Node332.a('node.underlineBorderWidth', 1);
  34344. }
  34345. dataModel.add(Node332);
  34346. zoomNodeList.push({
  34347. node: Node332,
  34348. borderWidth: 0,
  34349. attr: 'node.borderwidth'
  34350. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34351. var Node333 = new ht.Node();
  34352. var Node333textStart, Node333textWidth, Node333lineStart, Node333align = 'center', Node333fontSize = 14.66663*_ratio.ratioY,Node333width = 67*_ratio.ratioX, Node333height = 26*_ratio.ratioY;
  34353. (function () {
  34354. if (Node333align === 'left') {
  34355. Node333textStart = Node333fontSize * 0.2 > 2 ? Node333fontSize * 0.2 - 4 : Node333fontSize * 0.2 - 9;
  34356. Node333textWidth = Node333width;
  34357. Node333lineStart = 1;
  34358. } else if (Node333align === 'right') {
  34359. Node333textStart = 0;
  34360. Node333textWidth =Node333fontSize <= 8 ? Node333width + Node333fontSize * 0.2 + 6 : Node333width - Node333fontSize * 0.2;
  34361. Node333lineStart = (Node333width - (ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "Arial"').width + 6)) * 0.5;
  34362. } else if (Node333align === 'center') {
  34363. Node333textStart = -3;
  34364. Node333textWidth = Node333width;
  34365. Node333lineStart = Node333width - ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "Arial"').width - 11;
  34366. }
  34367. })();
  34368. Node333.setImage(GD.getTextJSON(Node333width, Node333height, true, false, false, ' '+ Node333fontSize + 'px "Arial"'))
  34369. Node333.setPosition(1724*ratio.ratioX, 145*ratio.ratioY);
  34370. Node333.setWidth(Node333width);
  34371. Node333.setHeight(Node333height);
  34372. Node333._nodeType = 'text';
  34373. Node333._disallowEvert = true;
  34374. Node333.setRotation(0*Math.PI/180);
  34375. Node333.a('node.width', Node333width);
  34376. Node333.a('node.height', Node333height);
  34377. Node333.a('node.rect', [0, 0, Node333width, Node333height]);
  34378. Node333.a('node.bordercolor','rgba(105,105,105,1)');
  34379. Node333.a('node.borderwidth', 0);
  34380. Node333.a('node.background','' || 'rgba(0,0,0,0)');
  34381. Node333.a('node.gradient','');
  34382. Node333.a('node.gradientcolor','');
  34383. Node333.a('node.text','台');
  34384. Node333.a('node.textalign','center');
  34385. Node333.a('node.textvAlign','middle');
  34386. Node333.a('node.textrect', [Node333textStart, 0, Node333textWidth, Node333height]);
  34387. Node333.a('node.color','rgba(105,105,105,1)');
  34388. Node333.a('node.font',' '+ Node333fontSize + 'px "Arial"');
  34389. Node333.a('node.textvisible',true);
  34390. Node333.a('node.linefeed',false);
  34391. if (false) {
  34392. Node333.a('node.textfunc',function(g) {
  34393. g.beginPath();
  34394. var str=Node333.a('node.text') || '台';
  34395. var color=Node333.a('node.color') || 'rgba(105,105,105,1)';
  34396. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node333width,Node333height,14.66663*_ratio.ratioY,"center",color,' '+ Node333fontSize + 'px "Arial"', 0,g);
  34397. });
  34398. }
  34399. if (false) {
  34400. Node333.a('node.underlinepoints',[Node333lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node333fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "Arial"').width + 6, (Node333height - Node333fontSize) * 0.5*_ratio.ratioY + Node333fontSize + 2 ]);
  34401. Node333.a('node.underlinevisible',false);
  34402. Node333.a('node.underlineBorderWidth', 1);
  34403. }
  34404. dataModel.add(Node333);
  34405. zoomNodeList.push({
  34406. node: Node333,
  34407. borderWidth: 0,
  34408. attr: 'node.borderwidth'
  34409. }); var Node334;
  34410. (function () {
  34411. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34412. var ratioX, ratioY;
  34413. if ('Default' === 'False') {
  34414. ratioX = 1;
  34415. ratioY = 1;
  34416. } else if ('Default' === 'X') {
  34417. ratioX = ratioY = _ratio.ratioX;
  34418. } else if ('Default' === 'Y') {
  34419. ratioX = ratioY = _ratio.ratioY;
  34420. } else {
  34421. ratioX = _ratio.ratioX;
  34422. ratioY = _ratio.ratioY;
  34423. }
  34424. ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
  34425. Node334 = new ht.Node();
  34426. Node334.setPosition(1613*ratio.ratioX, 129*ratio.ratioY);
  34427. Node334.setSize(9*ratioX, 60*ratioY);
  34428. Node334.setImage('imgimage//page_list_box_left_pink.jpg');
  34429. Node334.setRotation(0*Math.PI/180);
  34430. Node334._zoomBy = 'Default';
  34431. Node334._nodeType = 'image';
  34432. Node334._disallowEvert = true;
  34433. dataModel.add(Node334);
  34434. })();
  34435. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34436. var Node335type = 'rect';
  34437. var Node335 = new ht.Node(),
  34438. Node335BorderWidth = 1*2;
  34439. if (Node335type === 'arc') {
  34440. Node335BorderWidth *= 1;
  34441. }
  34442. Node335.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node335type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34443. Node335.setPosition(1682*ratio.ratioX, 129*ratio.ratioY);
  34444. Node335.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
  34445. Node335.s({
  34446. 'pixelPerfect':true
  34447. /*@AddPara@*/
  34448. });
  34449. Node335.a('node.width', 127*_ratio.ratioX);
  34450. Node335.a('node.height', 60.81538*_ratio.ratioY);
  34451. Node335.a('node.type', Node335type);
  34452. Node335.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
  34453. Node335.a('node.background', 'rgba(255,255,255,0.003921569)');
  34454. Node335.a('node.gradientcolor', '');
  34455. Node335.a('node.gradient', '');
  34456. Node335.a('node.borderwidth', Node335BorderWidth);
  34457. Node335.a('node.color', 'rgba(128,128,128,1)');
  34458. Node335.a('node.fillrect', [0,0,0,0]);
  34459. Node335.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34460. Node335.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34461. Node335.a('node.fillgradient', '');
  34462. if (Node335type !== 'rect') {
  34463. Node335.a('node.arcFrom', parseFloat('@arcFrom@'));
  34464. Node335.a('node.arcTo', parseFloat('@arcTo@'));
  34465. Node335.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34466. }
  34467. if (Node335type === 'arc') {
  34468. Node335.a('node.arcOval', true);
  34469. }
  34470. Node335.setRotation(0*Math.PI/180);
  34471. Node335.borderWidth = Node335BorderWidth;
  34472. Node335.borderFillwidth = Node335BorderWidth;
  34473. dataModel.add(Node335);
  34474. Node335._nodename = 'Node335'
  34475. Node335._nodeType = 'rect';
  34476. zoomNodeList.push({
  34477. node: Node335,
  34478. attr: 'node.borderwidth'
  34479. });
  34480. (function (node, _img) {
  34481. var setWidth = node.setWidth,
  34482. setHeight = node.setHeight;
  34483. node.setWidth = function (width) {
  34484. if (width === this.getWidth()) return ;
  34485. var height = this.getHeight();
  34486. this.a('node.width', width);
  34487. this.a('node.rect', [0,0,width, height]);
  34488. setWidth.apply(this, arguments);
  34489. }
  34490. node.setHeight = function (height) {
  34491. if (height === this.getHeight()) return ;
  34492. var width = this.getWidth();
  34493. this.a('node.height', height);
  34494. this.a('node.rect', [0,0,width, height]);
  34495. setHeight.apply(this, arguments);
  34496. }
  34497. })(Node335, Node335.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34498. var Node336 = new ht.Node();
  34499. var Node336textStart, Node336textWidth, Node336lineStart, Node336align = 'left', Node336fontSize = 13.3333*_ratio.ratioY,Node336width = 47*_ratio.ratioX, Node336height = 38*_ratio.ratioY;
  34500. (function () {
  34501. if (Node336align === 'left') {
  34502. Node336textStart = Node336fontSize * 0.2 > 2 ? Node336fontSize * 0.2 - 4 : Node336fontSize * 0.2 - 9;
  34503. Node336textWidth = Node336width;
  34504. Node336lineStart = 1;
  34505. } else if (Node336align === 'right') {
  34506. Node336textStart = 0;
  34507. Node336textWidth =Node336fontSize <= 8 ? Node336width + Node336fontSize * 0.2 + 6 : Node336width - Node336fontSize * 0.2;
  34508. Node336lineStart = (Node336width - (ht.Default.getTextSize('限电', 'bold '+ Node336fontSize + 'px "Arial"').width + 6)) * 0.5;
  34509. } else if (Node336align === 'center') {
  34510. Node336textStart = -3;
  34511. Node336textWidth = Node336width;
  34512. Node336lineStart = Node336width - ht.Default.getTextSize('限电', 'bold '+ Node336fontSize + 'px "Arial"').width - 11;
  34513. }
  34514. })();
  34515. Node336.setImage(GD.getTextJSON(Node336width, Node336height, true, false, false, 'bold '+ Node336fontSize + 'px "Arial"'))
  34516. Node336.setPosition(1644*ratio.ratioX, 112*ratio.ratioY);
  34517. Node336.setWidth(Node336width);
  34518. Node336.setHeight(Node336height);
  34519. Node336._nodeType = 'text';
  34520. Node336._disallowEvert = true;
  34521. Node336.setRotation(0*Math.PI/180);
  34522. Node336.a('node.width', Node336width);
  34523. Node336.a('node.height', Node336height);
  34524. Node336.a('node.rect', [0, 0, Node336width, Node336height]);
  34525. Node336.a('node.bordercolor','rgba(0,0,0,1)');
  34526. Node336.a('node.borderwidth', 0);
  34527. Node336.a('node.background','' || 'rgba(0,0,0,0)');
  34528. Node336.a('node.gradient','');
  34529. Node336.a('node.gradientcolor','');
  34530. Node336.a('node.text','限电');
  34531. Node336.a('node.textalign','left');
  34532. Node336.a('node.textvAlign','middle');
  34533. Node336.a('node.textrect', [Node336textStart, 0, Node336textWidth, Node336height]);
  34534. Node336.a('node.color','rgba(0,0,0,1)');
  34535. Node336.a('node.font','bold '+ Node336fontSize + 'px "Arial"');
  34536. Node336.a('node.textvisible',true);
  34537. Node336.a('node.linefeed',false);
  34538. if (false) {
  34539. Node336.a('node.textfunc',function(g) {
  34540. g.beginPath();
  34541. var str=Node336.a('node.text') || '限电';
  34542. var color=Node336.a('node.color') || 'rgba(0,0,0,1)';
  34543. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node336width,Node336height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node336fontSize + 'px "Arial"', 0,g);
  34544. });
  34545. }
  34546. if (false) {
  34547. Node336.a('node.underlinepoints',[Node336lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node336fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node336fontSize + 'px "Arial"').width + 6, (Node336height - Node336fontSize) * 0.5*_ratio.ratioY + Node336fontSize + 2 ]);
  34548. Node336.a('node.underlinevisible',false);
  34549. Node336.a('node.underlineBorderWidth', 1);
  34550. }
  34551. dataModel.add(Node336);
  34552. zoomNodeList.push({
  34553. node: Node336,
  34554. borderWidth: 0,
  34555. attr: 'node.borderwidth'
  34556. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34557. var Node337 = new ht.Node();
  34558. var Node337textStart, Node337textWidth, Node337lineStart, Node337align = 'left', Node337fontSize = 15.99996*_ratio.ratioY,Node337width = 29*_ratio.ratioX, Node337height = 25*_ratio.ratioY;
  34559. (function () {
  34560. if (Node337align === 'left') {
  34561. Node337textStart = Node337fontSize * 0.2 > 2 ? Node337fontSize * 0.2 - 4 : Node337fontSize * 0.2 - 9;
  34562. Node337textWidth = Node337width;
  34563. Node337lineStart = 1;
  34564. } else if (Node337align === 'right') {
  34565. Node337textStart = 0;
  34566. Node337textWidth =Node337fontSize <= 8 ? Node337width + Node337fontSize * 0.2 + 6 : Node337width - Node337fontSize * 0.2;
  34567. Node337lineStart = (Node337width - (ht.Default.getTextSize('0', ' '+ Node337fontSize + 'px "Arial"').width + 6)) * 0.5;
  34568. } else if (Node337align === 'center') {
  34569. Node337textStart = -3;
  34570. Node337textWidth = Node337width;
  34571. Node337lineStart = Node337width - ht.Default.getTextSize('0', ' '+ Node337fontSize + 'px "Arial"').width - 11;
  34572. }
  34573. })();
  34574. Node337.setImage(GD.getTextJSON(Node337width, Node337height, true, false, false, ' '+ Node337fontSize + 'px "Arial"'))
  34575. Node337.setPosition(1645*ratio.ratioX, 144*ratio.ratioY);
  34576. Node337.setWidth(Node337width);
  34577. Node337.setHeight(Node337height);
  34578. Node337._nodeType = 'text';
  34579. Node337._disallowEvert = true;
  34580. Node337.setRotation(0*Math.PI/180);
  34581. Node337.a('node.width', Node337width);
  34582. Node337.a('node.height', Node337height);
  34583. Node337.a('node.rect', [0, 0, Node337width, Node337height]);
  34584. Node337.a('node.bordercolor','rgba(0,0,0,1)');
  34585. Node337.a('node.borderwidth', 0);
  34586. Node337.a('node.background','' || 'rgba(0,0,0,0)');
  34587. Node337.a('node.gradient','');
  34588. Node337.a('node.gradientcolor','');
  34589. Node337.a('node.text','0');
  34590. Node337.a('node.textalign','left');
  34591. Node337.a('node.textvAlign','middle');
  34592. Node337.a('node.textrect', [Node337textStart, 0, Node337textWidth, Node337height]);
  34593. Node337.a('node.color','rgba(0,0,0,1)');
  34594. Node337.a('node.font',' '+ Node337fontSize + 'px "Arial"');
  34595. Node337.a('node.textvisible',true);
  34596. Node337.a('node.linefeed',false);
  34597. if (false) {
  34598. Node337.a('node.textfunc',function(g) {
  34599. g.beginPath();
  34600. var str=Node337.a('node.text') || '0';
  34601. var color=Node337.a('node.color') || 'rgba(0,0,0,1)';
  34602. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node337width,Node337height,15.99996*_ratio.ratioY,"left",color,' '+ Node337fontSize + 'px "Arial"', 0,g);
  34603. });
  34604. }
  34605. if (false) {
  34606. Node337.a('node.underlinepoints',[Node337lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node337fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node337fontSize + 'px "Arial"').width + 6, (Node337height - Node337fontSize) * 0.5*_ratio.ratioY + Node337fontSize + 2 ]);
  34607. Node337.a('node.underlinevisible',false);
  34608. Node337.a('node.underlineBorderWidth', 1);
  34609. }
  34610. dataModel.add(Node337);
  34611. zoomNodeList.push({
  34612. node: Node337,
  34613. borderWidth: 0,
  34614. attr: 'node.borderwidth'
  34615. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34616. var Node338type = 'rect';
  34617. var Node338 = new ht.Node(),
  34618. Node338BorderWidth = 1*2;
  34619. if (Node338type === 'arc') {
  34620. Node338BorderWidth *= 1;
  34621. }
  34622. Node338.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node338type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34623. Node338.setPosition(246*ratio.ratioX, 98*ratio.ratioY);
  34624. Node338.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
  34625. Node338.s({
  34626. 'pixelPerfect':true
  34627. /*@AddPara@*/
  34628. });
  34629. Node338.a('node.width', 121*_ratio.ratioX);
  34630. Node338.a('node.height', 24.33138*_ratio.ratioY);
  34631. Node338.a('node.type', Node338type);
  34632. Node338.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  34633. Node338.a('node.background', 'rgba(240,240,240,1)');
  34634. Node338.a('node.gradientcolor', 'rgba(240,240,240,1)');
  34635. Node338.a('node.gradient', '');
  34636. Node338.a('node.borderwidth', Node338BorderWidth);
  34637. Node338.a('node.color', 'rgba(224,224,224,1)');
  34638. Node338.a('node.fillrect', [0,0,0,0]);
  34639. Node338.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34640. Node338.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34641. Node338.a('node.fillgradient', '');
  34642. if (Node338type !== 'rect') {
  34643. Node338.a('node.arcFrom', parseFloat('@arcFrom@'));
  34644. Node338.a('node.arcTo', parseFloat('@arcTo@'));
  34645. Node338.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34646. }
  34647. if (Node338type === 'arc') {
  34648. Node338.a('node.arcOval', true);
  34649. }
  34650. Node338.setRotation(0*Math.PI/180);
  34651. Node338.borderWidth = Node338BorderWidth;
  34652. Node338.borderFillwidth = Node338BorderWidth;
  34653. dataModel.add(Node338);
  34654. Node338._nodename = 'Node338'
  34655. Node338._nodeType = 'rect';
  34656. zoomNodeList.push({
  34657. node: Node338,
  34658. attr: 'node.borderwidth'
  34659. });
  34660. (function (node, _img) {
  34661. var setWidth = node.setWidth,
  34662. setHeight = node.setHeight;
  34663. node.setWidth = function (width) {
  34664. if (width === this.getWidth()) return ;
  34665. var height = this.getHeight();
  34666. this.a('node.width', width);
  34667. this.a('node.rect', [0,0,width, height]);
  34668. setWidth.apply(this, arguments);
  34669. }
  34670. node.setHeight = function (height) {
  34671. if (height === this.getHeight()) return ;
  34672. var width = this.getWidth();
  34673. this.a('node.height', height);
  34674. this.a('node.rect', [0,0,width, height]);
  34675. setHeight.apply(this, arguments);
  34676. }
  34677. })(Node338, Node338.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34678. var Node339type = 'rect';
  34679. var Node339 = new ht.Node(),
  34680. Node339BorderWidth = 1*2;
  34681. if (Node339type === 'arc') {
  34682. Node339BorderWidth *= 1;
  34683. }
  34684. Node339.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node339type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34685. Node339.setPosition(246*ratio.ratioX, 74*ratio.ratioY);
  34686. Node339.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
  34687. Node339.s({
  34688. 'pixelPerfect':true
  34689. /*@AddPara@*/
  34690. });
  34691. Node339.a('node.width', 121*_ratio.ratioX);
  34692. Node339.a('node.height', 24.33138*_ratio.ratioY);
  34693. Node339.a('node.type', Node339type);
  34694. Node339.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  34695. Node339.a('node.background', 'rgba(240,240,240,1)');
  34696. Node339.a('node.gradientcolor', 'rgba(240,240,240,1)');
  34697. Node339.a('node.gradient', '');
  34698. Node339.a('node.borderwidth', Node339BorderWidth);
  34699. Node339.a('node.color', 'rgba(224,224,224,1)');
  34700. Node339.a('node.fillrect', [0,0,0,0]);
  34701. Node339.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34702. Node339.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34703. Node339.a('node.fillgradient', '');
  34704. if (Node339type !== 'rect') {
  34705. Node339.a('node.arcFrom', parseFloat('@arcFrom@'));
  34706. Node339.a('node.arcTo', parseFloat('@arcTo@'));
  34707. Node339.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34708. }
  34709. if (Node339type === 'arc') {
  34710. Node339.a('node.arcOval', true);
  34711. }
  34712. Node339.setRotation(0*Math.PI/180);
  34713. Node339.borderWidth = Node339BorderWidth;
  34714. Node339.borderFillwidth = Node339BorderWidth;
  34715. dataModel.add(Node339);
  34716. Node339._nodename = 'Node339'
  34717. Node339._nodeType = 'rect';
  34718. zoomNodeList.push({
  34719. node: Node339,
  34720. attr: 'node.borderwidth'
  34721. });
  34722. (function (node, _img) {
  34723. var setWidth = node.setWidth,
  34724. setHeight = node.setHeight;
  34725. node.setWidth = function (width) {
  34726. if (width === this.getWidth()) return ;
  34727. var height = this.getHeight();
  34728. this.a('node.width', width);
  34729. this.a('node.rect', [0,0,width, height]);
  34730. setWidth.apply(this, arguments);
  34731. }
  34732. node.setHeight = function (height) {
  34733. if (height === this.getHeight()) return ;
  34734. var width = this.getWidth();
  34735. this.a('node.height', height);
  34736. this.a('node.rect', [0,0,width, height]);
  34737. setHeight.apply(this, arguments);
  34738. }
  34739. })(Node339, Node339.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34740. var Node340type = 'rect';
  34741. var Node340 = new ht.Node(),
  34742. Node340BorderWidth = 1*2;
  34743. if (Node340type === 'arc') {
  34744. Node340BorderWidth *= 1;
  34745. }
  34746. Node340.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node340type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34747. Node340.setPosition(246*ratio.ratioX, 123*ratio.ratioY);
  34748. Node340.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
  34749. Node340.s({
  34750. 'pixelPerfect':true
  34751. /*@AddPara@*/
  34752. });
  34753. Node340.a('node.width', 121*_ratio.ratioX);
  34754. Node340.a('node.height', 24.33136*_ratio.ratioY);
  34755. Node340.a('node.type', Node340type);
  34756. Node340.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  34757. Node340.a('node.background', 'rgba(240,240,240,1)');
  34758. Node340.a('node.gradientcolor', 'rgba(240,240,240,1)');
  34759. Node340.a('node.gradient', '');
  34760. Node340.a('node.borderwidth', Node340BorderWidth);
  34761. Node340.a('node.color', 'rgba(224,224,224,1)');
  34762. Node340.a('node.fillrect', [0,0,0,0]);
  34763. Node340.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34764. Node340.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34765. Node340.a('node.fillgradient', '');
  34766. if (Node340type !== 'rect') {
  34767. Node340.a('node.arcFrom', parseFloat('@arcFrom@'));
  34768. Node340.a('node.arcTo', parseFloat('@arcTo@'));
  34769. Node340.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34770. }
  34771. if (Node340type === 'arc') {
  34772. Node340.a('node.arcOval', true);
  34773. }
  34774. Node340.setRotation(0*Math.PI/180);
  34775. Node340.borderWidth = Node340BorderWidth;
  34776. Node340.borderFillwidth = Node340BorderWidth;
  34777. dataModel.add(Node340);
  34778. Node340._nodename = 'Node340'
  34779. Node340._nodeType = 'rect';
  34780. zoomNodeList.push({
  34781. node: Node340,
  34782. attr: 'node.borderwidth'
  34783. });
  34784. (function (node, _img) {
  34785. var setWidth = node.setWidth,
  34786. setHeight = node.setHeight;
  34787. node.setWidth = function (width) {
  34788. if (width === this.getWidth()) return ;
  34789. var height = this.getHeight();
  34790. this.a('node.width', width);
  34791. this.a('node.rect', [0,0,width, height]);
  34792. setWidth.apply(this, arguments);
  34793. }
  34794. node.setHeight = function (height) {
  34795. if (height === this.getHeight()) return ;
  34796. var width = this.getWidth();
  34797. this.a('node.height', height);
  34798. this.a('node.rect', [0,0,width, height]);
  34799. setHeight.apply(this, arguments);
  34800. }
  34801. })(Node340, Node340.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34802. var Node341type = 'rect';
  34803. var Node341 = new ht.Node(),
  34804. Node341BorderWidth = 1*2;
  34805. if (Node341type === 'arc') {
  34806. Node341BorderWidth *= 1;
  34807. }
  34808. Node341.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node341type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34809. Node341.setPosition(246*ratio.ratioX, 50*ratio.ratioY);
  34810. Node341.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
  34811. Node341.s({
  34812. 'pixelPerfect':true
  34813. /*@AddPara@*/
  34814. });
  34815. Node341.a('node.width', 121*_ratio.ratioX);
  34816. Node341.a('node.height', 24.33136*_ratio.ratioY);
  34817. Node341.a('node.type', Node341type);
  34818. Node341.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  34819. Node341.a('node.background', 'rgba(240,240,240,1)');
  34820. Node341.a('node.gradientcolor', 'rgba(240,240,240,1)');
  34821. Node341.a('node.gradient', '');
  34822. Node341.a('node.borderwidth', Node341BorderWidth);
  34823. Node341.a('node.color', 'rgba(224,224,224,1)');
  34824. Node341.a('node.fillrect', [0,0,0,0]);
  34825. Node341.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34826. Node341.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34827. Node341.a('node.fillgradient', '');
  34828. if (Node341type !== 'rect') {
  34829. Node341.a('node.arcFrom', parseFloat('@arcFrom@'));
  34830. Node341.a('node.arcTo', parseFloat('@arcTo@'));
  34831. Node341.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34832. }
  34833. if (Node341type === 'arc') {
  34834. Node341.a('node.arcOval', true);
  34835. }
  34836. Node341.setRotation(0*Math.PI/180);
  34837. Node341.borderWidth = Node341BorderWidth;
  34838. Node341.borderFillwidth = Node341BorderWidth;
  34839. dataModel.add(Node341);
  34840. Node341._nodename = 'Node341'
  34841. Node341._nodeType = 'rect';
  34842. zoomNodeList.push({
  34843. node: Node341,
  34844. attr: 'node.borderwidth'
  34845. });
  34846. (function (node, _img) {
  34847. var setWidth = node.setWidth,
  34848. setHeight = node.setHeight;
  34849. node.setWidth = function (width) {
  34850. if (width === this.getWidth()) return ;
  34851. var height = this.getHeight();
  34852. this.a('node.width', width);
  34853. this.a('node.rect', [0,0,width, height]);
  34854. setWidth.apply(this, arguments);
  34855. }
  34856. node.setHeight = function (height) {
  34857. if (height === this.getHeight()) return ;
  34858. var width = this.getWidth();
  34859. this.a('node.height', height);
  34860. this.a('node.rect', [0,0,width, height]);
  34861. setHeight.apply(this, arguments);
  34862. }
  34863. })(Node341, Node341.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34864. var Node342type = 'rect';
  34865. var Node342 = new ht.Node(),
  34866. Node342BorderWidth = 1*2;
  34867. if (Node342type === 'arc') {
  34868. Node342BorderWidth *= 1;
  34869. }
  34870. Node342.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node342type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  34871. Node342.setPosition(246*ratio.ratioX, 147*ratio.ratioY);
  34872. Node342.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
  34873. Node342.s({
  34874. 'pixelPerfect':true
  34875. /*@AddPara@*/
  34876. });
  34877. Node342.a('node.width', 121*_ratio.ratioX);
  34878. Node342.a('node.height', 24.33138*_ratio.ratioY);
  34879. Node342.a('node.type', Node342type);
  34880. Node342.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  34881. Node342.a('node.background', 'rgba(240,240,240,1)');
  34882. Node342.a('node.gradientcolor', 'rgba(240,240,240,1)');
  34883. Node342.a('node.gradient', '');
  34884. Node342.a('node.borderwidth', Node342BorderWidth);
  34885. Node342.a('node.color', 'rgba(224,224,224,1)');
  34886. Node342.a('node.fillrect', [0,0,0,0]);
  34887. Node342.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  34888. Node342.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  34889. Node342.a('node.fillgradient', '');
  34890. if (Node342type !== 'rect') {
  34891. Node342.a('node.arcFrom', parseFloat('@arcFrom@'));
  34892. Node342.a('node.arcTo', parseFloat('@arcTo@'));
  34893. Node342.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  34894. }
  34895. if (Node342type === 'arc') {
  34896. Node342.a('node.arcOval', true);
  34897. }
  34898. Node342.setRotation(0*Math.PI/180);
  34899. Node342.borderWidth = Node342BorderWidth;
  34900. Node342.borderFillwidth = Node342BorderWidth;
  34901. dataModel.add(Node342);
  34902. Node342._nodename = 'Node342'
  34903. Node342._nodeType = 'rect';
  34904. zoomNodeList.push({
  34905. node: Node342,
  34906. attr: 'node.borderwidth'
  34907. });
  34908. (function (node, _img) {
  34909. var setWidth = node.setWidth,
  34910. setHeight = node.setHeight;
  34911. node.setWidth = function (width) {
  34912. if (width === this.getWidth()) return ;
  34913. var height = this.getHeight();
  34914. this.a('node.width', width);
  34915. this.a('node.rect', [0,0,width, height]);
  34916. setWidth.apply(this, arguments);
  34917. }
  34918. node.setHeight = function (height) {
  34919. if (height === this.getHeight()) return ;
  34920. var width = this.getWidth();
  34921. this.a('node.height', height);
  34922. this.a('node.rect', [0,0,width, height]);
  34923. setHeight.apply(this, arguments);
  34924. }
  34925. })(Node342, Node342.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34926. var Node343 = new ht.Node();
  34927. var Node343textStart, Node343textWidth, Node343lineStart, Node343align = 'left', Node343fontSize = 13.3333*_ratio.ratioY,Node343width = 61*_ratio.ratioX, Node343height = 26*_ratio.ratioY;
  34928. (function () {
  34929. if (Node343align === 'left') {
  34930. Node343textStart = Node343fontSize * 0.2 > 2 ? Node343fontSize * 0.2 - 4 : Node343fontSize * 0.2 - 9;
  34931. Node343textWidth = Node343width;
  34932. Node343lineStart = 1;
  34933. } else if (Node343align === 'right') {
  34934. Node343textStart = 0;
  34935. Node343textWidth =Node343fontSize <= 8 ? Node343width + Node343fontSize * 0.2 + 6 : Node343width - Node343fontSize * 0.2;
  34936. Node343lineStart = (Node343width - (ht.Default.getTextSize('功率', ' '+ Node343fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  34937. } else if (Node343align === 'center') {
  34938. Node343textStart = -3;
  34939. Node343textWidth = Node343width;
  34940. Node343lineStart = Node343width - ht.Default.getTextSize('功率', ' '+ Node343fontSize + 'px "微软雅黑"').width - 11;
  34941. }
  34942. })();
  34943. Node343.setImage(GD.getTextJSON(Node343width, Node343height, true, false, false, ' '+ Node343fontSize + 'px "微软雅黑"'))
  34944. Node343.setPosition(220*ratio.ratioX, 76*ratio.ratioY);
  34945. Node343.setWidth(Node343width);
  34946. Node343.setHeight(Node343height);
  34947. Node343._nodeType = 'text';
  34948. Node343._disallowEvert = true;
  34949. Node343.setRotation(0*Math.PI/180);
  34950. Node343.a('node.width', Node343width);
  34951. Node343.a('node.height', Node343height);
  34952. Node343.a('node.rect', [0, 0, Node343width, Node343height]);
  34953. Node343.a('node.bordercolor','rgba(0,0,0,1)');
  34954. Node343.a('node.borderwidth', 0);
  34955. Node343.a('node.background','' || 'rgba(0,0,0,0)');
  34956. Node343.a('node.gradient','');
  34957. Node343.a('node.gradientcolor','');
  34958. Node343.a('node.text','功率');
  34959. Node343.a('node.textalign','left');
  34960. Node343.a('node.textvAlign','middle');
  34961. Node343.a('node.textrect', [Node343textStart, 0, Node343textWidth, Node343height]);
  34962. Node343.a('node.color','rgba(0,0,0,1)');
  34963. Node343.a('node.font',' '+ Node343fontSize + 'px "微软雅黑"');
  34964. Node343.a('node.textvisible',true);
  34965. Node343.a('node.linefeed',false);
  34966. if (false) {
  34967. Node343.a('node.textfunc',function(g) {
  34968. g.beginPath();
  34969. var str=Node343.a('node.text') || '功率';
  34970. var color=Node343.a('node.color') || 'rgba(0,0,0,1)';
  34971. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node343width,Node343height,13.3333*_ratio.ratioY,"left",color,' '+ Node343fontSize + 'px "微软雅黑"', 0,g);
  34972. });
  34973. }
  34974. if (false) {
  34975. Node343.a('node.underlinepoints',[Node343lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node343fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node343fontSize + 'px "微软雅黑"').width + 6, (Node343height - Node343fontSize) * 0.5*_ratio.ratioY + Node343fontSize + 2 ]);
  34976. Node343.a('node.underlinevisible',false);
  34977. Node343.a('node.underlineBorderWidth', 1);
  34978. }
  34979. dataModel.add(Node343);
  34980. zoomNodeList.push({
  34981. node: Node343,
  34982. borderWidth: 0,
  34983. attr: 'node.borderwidth'
  34984. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  34985. var Node344 = new ht.Node();
  34986. var Node344textStart, Node344textWidth, Node344lineStart, Node344align = 'left', Node344fontSize = 13.3333*_ratio.ratioY,Node344width = 61*_ratio.ratioX, Node344height = 26*_ratio.ratioY;
  34987. (function () {
  34988. if (Node344align === 'left') {
  34989. Node344textStart = Node344fontSize * 0.2 > 2 ? Node344fontSize * 0.2 - 4 : Node344fontSize * 0.2 - 9;
  34990. Node344textWidth = Node344width;
  34991. Node344lineStart = 1;
  34992. } else if (Node344align === 'right') {
  34993. Node344textStart = 0;
  34994. Node344textWidth =Node344fontSize <= 8 ? Node344width + Node344fontSize * 0.2 + 6 : Node344width - Node344fontSize * 0.2;
  34995. Node344lineStart = (Node344width - (ht.Default.getTextSize('风速', ' '+ Node344fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  34996. } else if (Node344align === 'center') {
  34997. Node344textStart = -3;
  34998. Node344textWidth = Node344width;
  34999. Node344lineStart = Node344width - ht.Default.getTextSize('风速', ' '+ Node344fontSize + 'px "微软雅黑"').width - 11;
  35000. }
  35001. })();
  35002. Node344.setImage(GD.getTextJSON(Node344width, Node344height, true, false, false, ' '+ Node344fontSize + 'px "微软雅黑"'))
  35003. Node344.setPosition(220*ratio.ratioX, 100*ratio.ratioY);
  35004. Node344.setWidth(Node344width);
  35005. Node344.setHeight(Node344height);
  35006. Node344._nodeType = 'text';
  35007. Node344._disallowEvert = true;
  35008. Node344.setRotation(0*Math.PI/180);
  35009. Node344.a('node.width', Node344width);
  35010. Node344.a('node.height', Node344height);
  35011. Node344.a('node.rect', [0, 0, Node344width, Node344height]);
  35012. Node344.a('node.bordercolor','rgba(0,0,0,1)');
  35013. Node344.a('node.borderwidth', 0);
  35014. Node344.a('node.background','' || 'rgba(0,0,0,0)');
  35015. Node344.a('node.gradient','');
  35016. Node344.a('node.gradientcolor','');
  35017. Node344.a('node.text','风速');
  35018. Node344.a('node.textalign','left');
  35019. Node344.a('node.textvAlign','middle');
  35020. Node344.a('node.textrect', [Node344textStart, 0, Node344textWidth, Node344height]);
  35021. Node344.a('node.color','rgba(0,0,0,1)');
  35022. Node344.a('node.font',' '+ Node344fontSize + 'px "微软雅黑"');
  35023. Node344.a('node.textvisible',true);
  35024. Node344.a('node.linefeed',false);
  35025. if (false) {
  35026. Node344.a('node.textfunc',function(g) {
  35027. g.beginPath();
  35028. var str=Node344.a('node.text') || '风速';
  35029. var color=Node344.a('node.color') || 'rgba(0,0,0,1)';
  35030. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node344width,Node344height,13.3333*_ratio.ratioY,"left",color,' '+ Node344fontSize + 'px "微软雅黑"', 0,g);
  35031. });
  35032. }
  35033. if (false) {
  35034. Node344.a('node.underlinepoints',[Node344lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node344fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node344fontSize + 'px "微软雅黑"').width + 6, (Node344height - Node344fontSize) * 0.5*_ratio.ratioY + Node344fontSize + 2 ]);
  35035. Node344.a('node.underlinevisible',false);
  35036. Node344.a('node.underlineBorderWidth', 1);
  35037. }
  35038. dataModel.add(Node344);
  35039. zoomNodeList.push({
  35040. node: Node344,
  35041. borderWidth: 0,
  35042. attr: 'node.borderwidth'
  35043. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35044. var Node345 = new ht.Node();
  35045. var Node345textStart, Node345textWidth, Node345lineStart, Node345align = 'left', Node345fontSize = 13.3333*_ratio.ratioY,Node345width = 77*_ratio.ratioX, Node345height = 26*_ratio.ratioY;
  35046. (function () {
  35047. if (Node345align === 'left') {
  35048. Node345textStart = Node345fontSize * 0.2 > 2 ? Node345fontSize * 0.2 - 4 : Node345fontSize * 0.2 - 9;
  35049. Node345textWidth = Node345width;
  35050. Node345lineStart = 1;
  35051. } else if (Node345align === 'right') {
  35052. Node345textStart = 0;
  35053. Node345textWidth =Node345fontSize <= 8 ? Node345width + Node345fontSize * 0.2 + 6 : Node345width - Node345fontSize * 0.2;
  35054. Node345lineStart = (Node345width - (ht.Default.getTextSize('发电量', ' '+ Node345fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  35055. } else if (Node345align === 'center') {
  35056. Node345textStart = -3;
  35057. Node345textWidth = Node345width;
  35058. Node345lineStart = Node345width - ht.Default.getTextSize('发电量', ' '+ Node345fontSize + 'px "微软雅黑"').width - 11;
  35059. }
  35060. })();
  35061. Node345.setImage(GD.getTextJSON(Node345width, Node345height, true, false, false, ' '+ Node345fontSize + 'px "微软雅黑"'))
  35062. Node345.setPosition(226*ratio.ratioX, 125*ratio.ratioY);
  35063. Node345.setWidth(Node345width);
  35064. Node345.setHeight(Node345height);
  35065. Node345._nodeType = 'text';
  35066. Node345._disallowEvert = true;
  35067. Node345.setRotation(0*Math.PI/180);
  35068. Node345.a('node.width', Node345width);
  35069. Node345.a('node.height', Node345height);
  35070. Node345.a('node.rect', [0, 0, Node345width, Node345height]);
  35071. Node345.a('node.bordercolor','rgba(0,0,0,1)');
  35072. Node345.a('node.borderwidth', 0);
  35073. Node345.a('node.background','' || 'rgba(0,0,0,0)');
  35074. Node345.a('node.gradient','');
  35075. Node345.a('node.gradientcolor','');
  35076. Node345.a('node.text','发电量');
  35077. Node345.a('node.textalign','left');
  35078. Node345.a('node.textvAlign','middle');
  35079. Node345.a('node.textrect', [Node345textStart, 0, Node345textWidth, Node345height]);
  35080. Node345.a('node.color','rgba(0,0,0,1)');
  35081. Node345.a('node.font',' '+ Node345fontSize + 'px "微软雅黑"');
  35082. Node345.a('node.textvisible',true);
  35083. Node345.a('node.linefeed',false);
  35084. if (false) {
  35085. Node345.a('node.textfunc',function(g) {
  35086. g.beginPath();
  35087. var str=Node345.a('node.text') || '发电量';
  35088. var color=Node345.a('node.color') || 'rgba(0,0,0,1)';
  35089. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node345width,Node345height,13.3333*_ratio.ratioY,"left",color,' '+ Node345fontSize + 'px "微软雅黑"', 0,g);
  35090. });
  35091. }
  35092. if (false) {
  35093. Node345.a('node.underlinepoints',[Node345lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node345fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node345fontSize + 'px "微软雅黑"').width + 6, (Node345height - Node345fontSize) * 0.5*_ratio.ratioY + Node345fontSize + 2 ]);
  35094. Node345.a('node.underlinevisible',false);
  35095. Node345.a('node.underlineBorderWidth', 1);
  35096. }
  35097. dataModel.add(Node345);
  35098. zoomNodeList.push({
  35099. node: Node345,
  35100. borderWidth: 0,
  35101. attr: 'node.borderwidth'
  35102. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35103. var Node346type = 'rect';
  35104. var Node346 = new ht.Node(),
  35105. Node346BorderWidth = 1*2;
  35106. if (Node346type === 'arc') {
  35107. Node346BorderWidth *= 1;
  35108. }
  35109. Node346.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node346type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35110. Node346.setPosition(530*ratio.ratioX, 98*ratio.ratioY);
  35111. Node346.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
  35112. Node346.s({
  35113. 'pixelPerfect':true
  35114. /*@AddPara@*/
  35115. });
  35116. Node346.a('node.width', 121*_ratio.ratioX);
  35117. Node346.a('node.height', 24.33138*_ratio.ratioY);
  35118. Node346.a('node.type', Node346type);
  35119. Node346.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  35120. Node346.a('node.background', 'rgba(240,240,240,1)');
  35121. Node346.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35122. Node346.a('node.gradient', '');
  35123. Node346.a('node.borderwidth', Node346BorderWidth);
  35124. Node346.a('node.color', 'rgba(224,224,224,1)');
  35125. Node346.a('node.fillrect', [0,0,0,0]);
  35126. Node346.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35127. Node346.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35128. Node346.a('node.fillgradient', '');
  35129. if (Node346type !== 'rect') {
  35130. Node346.a('node.arcFrom', parseFloat('@arcFrom@'));
  35131. Node346.a('node.arcTo', parseFloat('@arcTo@'));
  35132. Node346.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35133. }
  35134. if (Node346type === 'arc') {
  35135. Node346.a('node.arcOval', true);
  35136. }
  35137. Node346.setRotation(0*Math.PI/180);
  35138. Node346.borderWidth = Node346BorderWidth;
  35139. Node346.borderFillwidth = Node346BorderWidth;
  35140. dataModel.add(Node346);
  35141. Node346._nodename = 'Node346'
  35142. Node346._nodeType = 'rect';
  35143. zoomNodeList.push({
  35144. node: Node346,
  35145. attr: 'node.borderwidth'
  35146. });
  35147. (function (node, _img) {
  35148. var setWidth = node.setWidth,
  35149. setHeight = node.setHeight;
  35150. node.setWidth = function (width) {
  35151. if (width === this.getWidth()) return ;
  35152. var height = this.getHeight();
  35153. this.a('node.width', width);
  35154. this.a('node.rect', [0,0,width, height]);
  35155. setWidth.apply(this, arguments);
  35156. }
  35157. node.setHeight = function (height) {
  35158. if (height === this.getHeight()) return ;
  35159. var width = this.getWidth();
  35160. this.a('node.height', height);
  35161. this.a('node.rect', [0,0,width, height]);
  35162. setHeight.apply(this, arguments);
  35163. }
  35164. })(Node346, Node346.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35165. var Node347type = 'rect';
  35166. var Node347 = new ht.Node(),
  35167. Node347BorderWidth = 1*2;
  35168. if (Node347type === 'arc') {
  35169. Node347BorderWidth *= 1;
  35170. }
  35171. Node347.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node347type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35172. Node347.setPosition(530*ratio.ratioX, 74*ratio.ratioY);
  35173. Node347.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
  35174. Node347.s({
  35175. 'pixelPerfect':true
  35176. /*@AddPara@*/
  35177. });
  35178. Node347.a('node.width', 121*_ratio.ratioX);
  35179. Node347.a('node.height', 24.33138*_ratio.ratioY);
  35180. Node347.a('node.type', Node347type);
  35181. Node347.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  35182. Node347.a('node.background', 'rgba(240,240,240,1)');
  35183. Node347.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35184. Node347.a('node.gradient', '');
  35185. Node347.a('node.borderwidth', Node347BorderWidth);
  35186. Node347.a('node.color', 'rgba(224,224,224,1)');
  35187. Node347.a('node.fillrect', [0,0,0,0]);
  35188. Node347.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35189. Node347.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35190. Node347.a('node.fillgradient', '');
  35191. if (Node347type !== 'rect') {
  35192. Node347.a('node.arcFrom', parseFloat('@arcFrom@'));
  35193. Node347.a('node.arcTo', parseFloat('@arcTo@'));
  35194. Node347.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35195. }
  35196. if (Node347type === 'arc') {
  35197. Node347.a('node.arcOval', true);
  35198. }
  35199. Node347.setRotation(0*Math.PI/180);
  35200. Node347.borderWidth = Node347BorderWidth;
  35201. Node347.borderFillwidth = Node347BorderWidth;
  35202. dataModel.add(Node347);
  35203. Node347._nodename = 'Node347'
  35204. Node347._nodeType = 'rect';
  35205. zoomNodeList.push({
  35206. node: Node347,
  35207. attr: 'node.borderwidth'
  35208. });
  35209. (function (node, _img) {
  35210. var setWidth = node.setWidth,
  35211. setHeight = node.setHeight;
  35212. node.setWidth = function (width) {
  35213. if (width === this.getWidth()) return ;
  35214. var height = this.getHeight();
  35215. this.a('node.width', width);
  35216. this.a('node.rect', [0,0,width, height]);
  35217. setWidth.apply(this, arguments);
  35218. }
  35219. node.setHeight = function (height) {
  35220. if (height === this.getHeight()) return ;
  35221. var width = this.getWidth();
  35222. this.a('node.height', height);
  35223. this.a('node.rect', [0,0,width, height]);
  35224. setHeight.apply(this, arguments);
  35225. }
  35226. })(Node347, Node347.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35227. var Node348type = 'rect';
  35228. var Node348 = new ht.Node(),
  35229. Node348BorderWidth = 1*2;
  35230. if (Node348type === 'arc') {
  35231. Node348BorderWidth *= 1;
  35232. }
  35233. Node348.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node348type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35234. Node348.setPosition(530*ratio.ratioX, 123*ratio.ratioY);
  35235. Node348.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
  35236. Node348.s({
  35237. 'pixelPerfect':true
  35238. /*@AddPara@*/
  35239. });
  35240. Node348.a('node.width', 121*_ratio.ratioX);
  35241. Node348.a('node.height', 24.33136*_ratio.ratioY);
  35242. Node348.a('node.type', Node348type);
  35243. Node348.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  35244. Node348.a('node.background', 'rgba(240,240,240,1)');
  35245. Node348.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35246. Node348.a('node.gradient', '');
  35247. Node348.a('node.borderwidth', Node348BorderWidth);
  35248. Node348.a('node.color', 'rgba(224,224,224,1)');
  35249. Node348.a('node.fillrect', [0,0,0,0]);
  35250. Node348.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35251. Node348.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35252. Node348.a('node.fillgradient', '');
  35253. if (Node348type !== 'rect') {
  35254. Node348.a('node.arcFrom', parseFloat('@arcFrom@'));
  35255. Node348.a('node.arcTo', parseFloat('@arcTo@'));
  35256. Node348.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35257. }
  35258. if (Node348type === 'arc') {
  35259. Node348.a('node.arcOval', true);
  35260. }
  35261. Node348.setRotation(0*Math.PI/180);
  35262. Node348.borderWidth = Node348BorderWidth;
  35263. Node348.borderFillwidth = Node348BorderWidth;
  35264. dataModel.add(Node348);
  35265. Node348._nodename = 'Node348'
  35266. Node348._nodeType = 'rect';
  35267. zoomNodeList.push({
  35268. node: Node348,
  35269. attr: 'node.borderwidth'
  35270. });
  35271. (function (node, _img) {
  35272. var setWidth = node.setWidth,
  35273. setHeight = node.setHeight;
  35274. node.setWidth = function (width) {
  35275. if (width === this.getWidth()) return ;
  35276. var height = this.getHeight();
  35277. this.a('node.width', width);
  35278. this.a('node.rect', [0,0,width, height]);
  35279. setWidth.apply(this, arguments);
  35280. }
  35281. node.setHeight = function (height) {
  35282. if (height === this.getHeight()) return ;
  35283. var width = this.getWidth();
  35284. this.a('node.height', height);
  35285. this.a('node.rect', [0,0,width, height]);
  35286. setHeight.apply(this, arguments);
  35287. }
  35288. })(Node348, Node348.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35289. var Node349type = 'rect';
  35290. var Node349 = new ht.Node(),
  35291. Node349BorderWidth = 1*2;
  35292. if (Node349type === 'arc') {
  35293. Node349BorderWidth *= 1;
  35294. }
  35295. Node349.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node349type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35296. Node349.setPosition(530*ratio.ratioX, 50*ratio.ratioY);
  35297. Node349.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
  35298. Node349.s({
  35299. 'pixelPerfect':true
  35300. /*@AddPara@*/
  35301. });
  35302. Node349.a('node.width', 121*_ratio.ratioX);
  35303. Node349.a('node.height', 24.33136*_ratio.ratioY);
  35304. Node349.a('node.type', Node349type);
  35305. Node349.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  35306. Node349.a('node.background', 'rgba(240,240,240,1)');
  35307. Node349.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35308. Node349.a('node.gradient', '');
  35309. Node349.a('node.borderwidth', Node349BorderWidth);
  35310. Node349.a('node.color', 'rgba(224,224,224,1)');
  35311. Node349.a('node.fillrect', [0,0,0,0]);
  35312. Node349.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35313. Node349.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35314. Node349.a('node.fillgradient', '');
  35315. if (Node349type !== 'rect') {
  35316. Node349.a('node.arcFrom', parseFloat('@arcFrom@'));
  35317. Node349.a('node.arcTo', parseFloat('@arcTo@'));
  35318. Node349.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35319. }
  35320. if (Node349type === 'arc') {
  35321. Node349.a('node.arcOval', true);
  35322. }
  35323. Node349.setRotation(0*Math.PI/180);
  35324. Node349.borderWidth = Node349BorderWidth;
  35325. Node349.borderFillwidth = Node349BorderWidth;
  35326. dataModel.add(Node349);
  35327. Node349._nodename = 'Node349'
  35328. Node349._nodeType = 'rect';
  35329. zoomNodeList.push({
  35330. node: Node349,
  35331. attr: 'node.borderwidth'
  35332. });
  35333. (function (node, _img) {
  35334. var setWidth = node.setWidth,
  35335. setHeight = node.setHeight;
  35336. node.setWidth = function (width) {
  35337. if (width === this.getWidth()) return ;
  35338. var height = this.getHeight();
  35339. this.a('node.width', width);
  35340. this.a('node.rect', [0,0,width, height]);
  35341. setWidth.apply(this, arguments);
  35342. }
  35343. node.setHeight = function (height) {
  35344. if (height === this.getHeight()) return ;
  35345. var width = this.getWidth();
  35346. this.a('node.height', height);
  35347. this.a('node.rect', [0,0,width, height]);
  35348. setHeight.apply(this, arguments);
  35349. }
  35350. })(Node349, Node349.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35351. var Node350type = 'rect';
  35352. var Node350 = new ht.Node(),
  35353. Node350BorderWidth = 1*2;
  35354. if (Node350type === 'arc') {
  35355. Node350BorderWidth *= 1;
  35356. }
  35357. Node350.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node350type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35358. Node350.setPosition(530*ratio.ratioX, 147*ratio.ratioY);
  35359. Node350.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
  35360. Node350.s({
  35361. 'pixelPerfect':true
  35362. /*@AddPara@*/
  35363. });
  35364. Node350.a('node.width', 121*_ratio.ratioX);
  35365. Node350.a('node.height', 24.33138*_ratio.ratioY);
  35366. Node350.a('node.type', Node350type);
  35367. Node350.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  35368. Node350.a('node.background', 'rgba(240,240,240,1)');
  35369. Node350.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35370. Node350.a('node.gradient', '');
  35371. Node350.a('node.borderwidth', Node350BorderWidth);
  35372. Node350.a('node.color', 'rgba(224,224,224,1)');
  35373. Node350.a('node.fillrect', [0,0,0,0]);
  35374. Node350.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35375. Node350.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35376. Node350.a('node.fillgradient', '');
  35377. if (Node350type !== 'rect') {
  35378. Node350.a('node.arcFrom', parseFloat('@arcFrom@'));
  35379. Node350.a('node.arcTo', parseFloat('@arcTo@'));
  35380. Node350.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35381. }
  35382. if (Node350type === 'arc') {
  35383. Node350.a('node.arcOval', true);
  35384. }
  35385. Node350.setRotation(0*Math.PI/180);
  35386. Node350.borderWidth = Node350BorderWidth;
  35387. Node350.borderFillwidth = Node350BorderWidth;
  35388. dataModel.add(Node350);
  35389. Node350._nodename = 'Node350'
  35390. Node350._nodeType = 'rect';
  35391. zoomNodeList.push({
  35392. node: Node350,
  35393. attr: 'node.borderwidth'
  35394. });
  35395. (function (node, _img) {
  35396. var setWidth = node.setWidth,
  35397. setHeight = node.setHeight;
  35398. node.setWidth = function (width) {
  35399. if (width === this.getWidth()) return ;
  35400. var height = this.getHeight();
  35401. this.a('node.width', width);
  35402. this.a('node.rect', [0,0,width, height]);
  35403. setWidth.apply(this, arguments);
  35404. }
  35405. node.setHeight = function (height) {
  35406. if (height === this.getHeight()) return ;
  35407. var width = this.getWidth();
  35408. this.a('node.height', height);
  35409. this.a('node.rect', [0,0,width, height]);
  35410. setHeight.apply(this, arguments);
  35411. }
  35412. })(Node350, Node350.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35413. var Node351 = new ht.Node();
  35414. var Node351textStart, Node351textWidth, Node351lineStart, Node351align = 'center', Node351fontSize = 13.3333*_ratio.ratioY,Node351width = 113*_ratio.ratioX, Node351height = 26*_ratio.ratioY;
  35415. (function () {
  35416. if (Node351align === 'left') {
  35417. Node351textStart = Node351fontSize * 0.2 > 2 ? Node351fontSize * 0.2 - 4 : Node351fontSize * 0.2 - 9;
  35418. Node351textWidth = Node351width;
  35419. Node351lineStart = 1;
  35420. } else if (Node351align === 'right') {
  35421. Node351textStart = 0;
  35422. Node351textWidth =Node351fontSize <= 8 ? Node351width + Node351fontSize * 0.2 + 6 : Node351width - Node351fontSize * 0.2;
  35423. Node351lineStart = (Node351width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node351fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  35424. } else if (Node351align === 'center') {
  35425. Node351textStart = -3;
  35426. Node351textWidth = Node351width;
  35427. Node351lineStart = Node351width - ht.Default.getTextSize('日维护损失电量', ' '+ Node351fontSize + 'px "微软雅黑"').width - 11;
  35428. }
  35429. })();
  35430. Node351.setImage(GD.getTextJSON(Node351width, Node351height, true, false, false, ' '+ Node351fontSize + 'px "微软雅黑"'))
  35431. Node351.setPosition(530*ratio.ratioX, 52*ratio.ratioY);
  35432. Node351.setWidth(Node351width);
  35433. Node351.setHeight(Node351height);
  35434. Node351._nodeType = 'text';
  35435. Node351._disallowEvert = true;
  35436. Node351.setRotation(0*Math.PI/180);
  35437. Node351.a('node.width', Node351width);
  35438. Node351.a('node.height', Node351height);
  35439. Node351.a('node.rect', [0, 0, Node351width, Node351height]);
  35440. Node351.a('node.bordercolor','rgba(0,0,0,1)');
  35441. Node351.a('node.borderwidth', 0);
  35442. Node351.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
  35443. Node351.a('node.gradient','');
  35444. Node351.a('node.gradientcolor','rgba(255,255,255,0)');
  35445. Node351.a('node.text','日维护损失电量');
  35446. Node351.a('node.textalign','center');
  35447. Node351.a('node.textvAlign','middle');
  35448. Node351.a('node.textrect', [Node351textStart, 0, Node351textWidth, Node351height]);
  35449. Node351.a('node.color','rgba(0,0,0,1)');
  35450. Node351.a('node.font',' '+ Node351fontSize + 'px "微软雅黑"');
  35451. Node351.a('node.textvisible',true);
  35452. Node351.a('node.linefeed',false);
  35453. if (false) {
  35454. Node351.a('node.textfunc',function(g) {
  35455. g.beginPath();
  35456. var str=Node351.a('node.text') || '日维护损失电量';
  35457. var color=Node351.a('node.color') || 'rgba(0,0,0,1)';
  35458. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node351width,Node351height,13.3333*_ratio.ratioY,"center",color,' '+ Node351fontSize + 'px "微软雅黑"', 0,g);
  35459. });
  35460. }
  35461. if (false) {
  35462. Node351.a('node.underlinepoints',[Node351lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node351fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node351fontSize + 'px "微软雅黑"').width + 6, (Node351height - Node351fontSize) * 0.5*_ratio.ratioY + Node351fontSize + 2 ]);
  35463. Node351.a('node.underlinevisible',false);
  35464. Node351.a('node.underlineBorderWidth', 1);
  35465. }
  35466. dataModel.add(Node351);
  35467. zoomNodeList.push({
  35468. node: Node351,
  35469. borderWidth: 0,
  35470. attr: 'node.borderwidth'
  35471. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35472. var Node352 = new ht.Node();
  35473. var Node352textStart, Node352textWidth, Node352lineStart, Node352align = 'center', Node352fontSize = 13.3333*_ratio.ratioY,Node352width = 113*_ratio.ratioX, Node352height = 26*_ratio.ratioY;
  35474. (function () {
  35475. if (Node352align === 'left') {
  35476. Node352textStart = Node352fontSize * 0.2 > 2 ? Node352fontSize * 0.2 - 4 : Node352fontSize * 0.2 - 9;
  35477. Node352textWidth = Node352width;
  35478. Node352lineStart = 1;
  35479. } else if (Node352align === 'right') {
  35480. Node352textStart = 0;
  35481. Node352textWidth =Node352fontSize <= 8 ? Node352width + Node352fontSize * 0.2 + 6 : Node352width - Node352fontSize * 0.2;
  35482. Node352lineStart = (Node352width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node352fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  35483. } else if (Node352align === 'center') {
  35484. Node352textStart = -3;
  35485. Node352textWidth = Node352width;
  35486. Node352lineStart = Node352width - ht.Default.getTextSize('日故障损失电量', ' '+ Node352fontSize + 'px "微软雅黑"').width - 11;
  35487. }
  35488. })();
  35489. Node352.setImage(GD.getTextJSON(Node352width, Node352height, true, false, false, ' '+ Node352fontSize + 'px "微软雅黑"'))
  35490. Node352.setPosition(531*ratio.ratioX, 76*ratio.ratioY);
  35491. Node352.setWidth(Node352width);
  35492. Node352.setHeight(Node352height);
  35493. Node352._nodeType = 'text';
  35494. Node352._disallowEvert = true;
  35495. Node352.setRotation(0*Math.PI/180);
  35496. Node352.a('node.width', Node352width);
  35497. Node352.a('node.height', Node352height);
  35498. Node352.a('node.rect', [0, 0, Node352width, Node352height]);
  35499. Node352.a('node.bordercolor','rgba(0,0,0,1)');
  35500. Node352.a('node.borderwidth', 0);
  35501. Node352.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
  35502. Node352.a('node.gradient','');
  35503. Node352.a('node.gradientcolor','rgba(255,255,255,0)');
  35504. Node352.a('node.text','日故障损失电量');
  35505. Node352.a('node.textalign','center');
  35506. Node352.a('node.textvAlign','middle');
  35507. Node352.a('node.textrect', [Node352textStart, 0, Node352textWidth, Node352height]);
  35508. Node352.a('node.color','rgba(0,0,0,1)');
  35509. Node352.a('node.font',' '+ Node352fontSize + 'px "微软雅黑"');
  35510. Node352.a('node.textvisible',true);
  35511. Node352.a('node.linefeed',false);
  35512. if (false) {
  35513. Node352.a('node.textfunc',function(g) {
  35514. g.beginPath();
  35515. var str=Node352.a('node.text') || '日故障损失电量';
  35516. var color=Node352.a('node.color') || 'rgba(0,0,0,1)';
  35517. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node352width,Node352height,13.3333*_ratio.ratioY,"center",color,' '+ Node352fontSize + 'px "微软雅黑"', 0,g);
  35518. });
  35519. }
  35520. if (false) {
  35521. Node352.a('node.underlinepoints',[Node352lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node352fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node352fontSize + 'px "微软雅黑"').width + 6, (Node352height - Node352fontSize) * 0.5*_ratio.ratioY + Node352fontSize + 2 ]);
  35522. Node352.a('node.underlinevisible',false);
  35523. Node352.a('node.underlineBorderWidth', 1);
  35524. }
  35525. dataModel.add(Node352);
  35526. zoomNodeList.push({
  35527. node: Node352,
  35528. borderWidth: 0,
  35529. attr: 'node.borderwidth'
  35530. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35531. var Node353 = new ht.Node();
  35532. var Node353textStart, Node353textWidth, Node353lineStart, Node353align = 'center', Node353fontSize = 13.3333*_ratio.ratioY,Node353width = 113*_ratio.ratioX, Node353height = 26*_ratio.ratioY;
  35533. (function () {
  35534. if (Node353align === 'left') {
  35535. Node353textStart = Node353fontSize * 0.2 > 2 ? Node353fontSize * 0.2 - 4 : Node353fontSize * 0.2 - 9;
  35536. Node353textWidth = Node353width;
  35537. Node353lineStart = 1;
  35538. } else if (Node353align === 'right') {
  35539. Node353textStart = 0;
  35540. Node353textWidth =Node353fontSize <= 8 ? Node353width + Node353fontSize * 0.2 + 6 : Node353width - Node353fontSize * 0.2;
  35541. Node353lineStart = (Node353width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node353fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  35542. } else if (Node353align === 'center') {
  35543. Node353textStart = -3;
  35544. Node353textWidth = Node353width;
  35545. Node353lineStart = Node353width - ht.Default.getTextSize('日限电损失电量', ' '+ Node353fontSize + 'px "微软雅黑"').width - 11;
  35546. }
  35547. })();
  35548. Node353.setImage(GD.getTextJSON(Node353width, Node353height, true, false, false, ' '+ Node353fontSize + 'px "微软雅黑"'))
  35549. Node353.setPosition(531*ratio.ratioX, 101*ratio.ratioY);
  35550. Node353.setWidth(Node353width);
  35551. Node353.setHeight(Node353height);
  35552. Node353._nodeType = 'text';
  35553. Node353._disallowEvert = true;
  35554. Node353.setRotation(0*Math.PI/180);
  35555. Node353.a('node.width', Node353width);
  35556. Node353.a('node.height', Node353height);
  35557. Node353.a('node.rect', [0, 0, Node353width, Node353height]);
  35558. Node353.a('node.bordercolor','rgba(0,0,0,1)');
  35559. Node353.a('node.borderwidth', 0);
  35560. Node353.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
  35561. Node353.a('node.gradient','');
  35562. Node353.a('node.gradientcolor','rgba(255,255,255,0)');
  35563. Node353.a('node.text','日限电损失电量');
  35564. Node353.a('node.textalign','center');
  35565. Node353.a('node.textvAlign','middle');
  35566. Node353.a('node.textrect', [Node353textStart, 0, Node353textWidth, Node353height]);
  35567. Node353.a('node.color','rgba(0,0,0,1)');
  35568. Node353.a('node.font',' '+ Node353fontSize + 'px "微软雅黑"');
  35569. Node353.a('node.textvisible',true);
  35570. Node353.a('node.linefeed',false);
  35571. if (false) {
  35572. Node353.a('node.textfunc',function(g) {
  35573. g.beginPath();
  35574. var str=Node353.a('node.text') || '日限电损失电量';
  35575. var color=Node353.a('node.color') || 'rgba(0,0,0,1)';
  35576. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node353width,Node353height,13.3333*_ratio.ratioY,"center",color,' '+ Node353fontSize + 'px "微软雅黑"', 0,g);
  35577. });
  35578. }
  35579. if (false) {
  35580. Node353.a('node.underlinepoints',[Node353lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node353fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node353fontSize + 'px "微软雅黑"').width + 6, (Node353height - Node353fontSize) * 0.5*_ratio.ratioY + Node353fontSize + 2 ]);
  35581. Node353.a('node.underlinevisible',false);
  35582. Node353.a('node.underlineBorderWidth', 1);
  35583. }
  35584. dataModel.add(Node353);
  35585. zoomNodeList.push({
  35586. node: Node353,
  35587. borderWidth: 0,
  35588. attr: 'node.borderwidth'
  35589. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35590. var Node354 = new ht.Node();
  35591. var Node354textStart, Node354textWidth, Node354lineStart, Node354align = 'center', Node354fontSize = 13.3333*_ratio.ratioY,Node354width = 113*_ratio.ratioX, Node354height = 26*_ratio.ratioY;
  35592. (function () {
  35593. if (Node354align === 'left') {
  35594. Node354textStart = Node354fontSize * 0.2 > 2 ? Node354fontSize * 0.2 - 4 : Node354fontSize * 0.2 - 9;
  35595. Node354textWidth = Node354width;
  35596. Node354lineStart = 1;
  35597. } else if (Node354align === 'right') {
  35598. Node354textStart = 0;
  35599. Node354textWidth =Node354fontSize <= 8 ? Node354width + Node354fontSize * 0.2 + 6 : Node354width - Node354fontSize * 0.2;
  35600. Node354lineStart = (Node354width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node354fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  35601. } else if (Node354align === 'center') {
  35602. Node354textStart = -3;
  35603. Node354textWidth = Node354width;
  35604. Node354lineStart = Node354width - ht.Default.getTextSize('日受累损失电量', ' '+ Node354fontSize + 'px "微软雅黑"').width - 11;
  35605. }
  35606. })();
  35607. Node354.setImage(GD.getTextJSON(Node354width, Node354height, true, false, false, ' '+ Node354fontSize + 'px "微软雅黑"'))
  35608. Node354.setPosition(531*ratio.ratioX, 125*ratio.ratioY);
  35609. Node354.setWidth(Node354width);
  35610. Node354.setHeight(Node354height);
  35611. Node354._nodeType = 'text';
  35612. Node354._disallowEvert = true;
  35613. Node354.setRotation(0*Math.PI/180);
  35614. Node354.a('node.width', Node354width);
  35615. Node354.a('node.height', Node354height);
  35616. Node354.a('node.rect', [0, 0, Node354width, Node354height]);
  35617. Node354.a('node.bordercolor','rgba(0,0,0,1)');
  35618. Node354.a('node.borderwidth', 0);
  35619. Node354.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
  35620. Node354.a('node.gradient','');
  35621. Node354.a('node.gradientcolor','rgba(255,255,255,0)');
  35622. Node354.a('node.text','日受累损失电量');
  35623. Node354.a('node.textalign','center');
  35624. Node354.a('node.textvAlign','middle');
  35625. Node354.a('node.textrect', [Node354textStart, 0, Node354textWidth, Node354height]);
  35626. Node354.a('node.color','rgba(0,0,0,1)');
  35627. Node354.a('node.font',' '+ Node354fontSize + 'px "微软雅黑"');
  35628. Node354.a('node.textvisible',true);
  35629. Node354.a('node.linefeed',false);
  35630. if (false) {
  35631. Node354.a('node.textfunc',function(g) {
  35632. g.beginPath();
  35633. var str=Node354.a('node.text') || '日受累损失电量';
  35634. var color=Node354.a('node.color') || 'rgba(0,0,0,1)';
  35635. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node354width,Node354height,13.3333*_ratio.ratioY,"center",color,' '+ Node354fontSize + 'px "微软雅黑"', 0,g);
  35636. });
  35637. }
  35638. if (false) {
  35639. Node354.a('node.underlinepoints',[Node354lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node354fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node354fontSize + 'px "微软雅黑"').width + 6, (Node354height - Node354fontSize) * 0.5*_ratio.ratioY + Node354fontSize + 2 ]);
  35640. Node354.a('node.underlinevisible',false);
  35641. Node354.a('node.underlineBorderWidth', 1);
  35642. }
  35643. dataModel.add(Node354);
  35644. zoomNodeList.push({
  35645. node: Node354,
  35646. borderWidth: 0,
  35647. attr: 'node.borderwidth'
  35648. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35649. var Node355type = 'rect';
  35650. var Node355 = new ht.Node(),
  35651. Node355BorderWidth = 1*2;
  35652. if (Node355type === 'arc') {
  35653. Node355BorderWidth *= 1;
  35654. }
  35655. Node355.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node355type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35656. Node355.setPosition(811*ratio.ratioX, 98*ratio.ratioY);
  35657. Node355.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
  35658. Node355.s({
  35659. 'pixelPerfect':true
  35660. /*@AddPara@*/
  35661. });
  35662. Node355.a('node.width', 117*_ratio.ratioX);
  35663. Node355.a('node.height', 24.33138*_ratio.ratioY);
  35664. Node355.a('node.type', Node355type);
  35665. Node355.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  35666. Node355.a('node.background', 'rgba(240,240,240,1)');
  35667. Node355.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35668. Node355.a('node.gradient', '');
  35669. Node355.a('node.borderwidth', Node355BorderWidth);
  35670. Node355.a('node.color', 'rgba(224,224,224,1)');
  35671. Node355.a('node.fillrect', [0,0,0,0]);
  35672. Node355.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35673. Node355.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35674. Node355.a('node.fillgradient', '');
  35675. if (Node355type !== 'rect') {
  35676. Node355.a('node.arcFrom', parseFloat('@arcFrom@'));
  35677. Node355.a('node.arcTo', parseFloat('@arcTo@'));
  35678. Node355.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35679. }
  35680. if (Node355type === 'arc') {
  35681. Node355.a('node.arcOval', true);
  35682. }
  35683. Node355.setRotation(0*Math.PI/180);
  35684. Node355.borderWidth = Node355BorderWidth;
  35685. Node355.borderFillwidth = Node355BorderWidth;
  35686. dataModel.add(Node355);
  35687. Node355._nodename = 'Node355'
  35688. Node355._nodeType = 'rect';
  35689. zoomNodeList.push({
  35690. node: Node355,
  35691. attr: 'node.borderwidth'
  35692. });
  35693. (function (node, _img) {
  35694. var setWidth = node.setWidth,
  35695. setHeight = node.setHeight;
  35696. node.setWidth = function (width) {
  35697. if (width === this.getWidth()) return ;
  35698. var height = this.getHeight();
  35699. this.a('node.width', width);
  35700. this.a('node.rect', [0,0,width, height]);
  35701. setWidth.apply(this, arguments);
  35702. }
  35703. node.setHeight = function (height) {
  35704. if (height === this.getHeight()) return ;
  35705. var width = this.getWidth();
  35706. this.a('node.height', height);
  35707. this.a('node.rect', [0,0,width, height]);
  35708. setHeight.apply(this, arguments);
  35709. }
  35710. })(Node355, Node355.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35711. var Node356type = 'rect';
  35712. var Node356 = new ht.Node(),
  35713. Node356BorderWidth = 1*2;
  35714. if (Node356type === 'arc') {
  35715. Node356BorderWidth *= 1;
  35716. }
  35717. Node356.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node356type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35718. Node356.setPosition(811*ratio.ratioX, 74*ratio.ratioY);
  35719. Node356.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
  35720. Node356.s({
  35721. 'pixelPerfect':true
  35722. /*@AddPara@*/
  35723. });
  35724. Node356.a('node.width', 117*_ratio.ratioX);
  35725. Node356.a('node.height', 24.33138*_ratio.ratioY);
  35726. Node356.a('node.type', Node356type);
  35727. Node356.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  35728. Node356.a('node.background', 'rgba(240,240,240,1)');
  35729. Node356.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35730. Node356.a('node.gradient', '');
  35731. Node356.a('node.borderwidth', Node356BorderWidth);
  35732. Node356.a('node.color', 'rgba(224,224,224,1)');
  35733. Node356.a('node.fillrect', [0,0,0,0]);
  35734. Node356.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35735. Node356.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35736. Node356.a('node.fillgradient', '');
  35737. if (Node356type !== 'rect') {
  35738. Node356.a('node.arcFrom', parseFloat('@arcFrom@'));
  35739. Node356.a('node.arcTo', parseFloat('@arcTo@'));
  35740. Node356.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35741. }
  35742. if (Node356type === 'arc') {
  35743. Node356.a('node.arcOval', true);
  35744. }
  35745. Node356.setRotation(0*Math.PI/180);
  35746. Node356.borderWidth = Node356BorderWidth;
  35747. Node356.borderFillwidth = Node356BorderWidth;
  35748. dataModel.add(Node356);
  35749. Node356._nodename = 'Node356'
  35750. Node356._nodeType = 'rect';
  35751. zoomNodeList.push({
  35752. node: Node356,
  35753. attr: 'node.borderwidth'
  35754. });
  35755. (function (node, _img) {
  35756. var setWidth = node.setWidth,
  35757. setHeight = node.setHeight;
  35758. node.setWidth = function (width) {
  35759. if (width === this.getWidth()) return ;
  35760. var height = this.getHeight();
  35761. this.a('node.width', width);
  35762. this.a('node.rect', [0,0,width, height]);
  35763. setWidth.apply(this, arguments);
  35764. }
  35765. node.setHeight = function (height) {
  35766. if (height === this.getHeight()) return ;
  35767. var width = this.getWidth();
  35768. this.a('node.height', height);
  35769. this.a('node.rect', [0,0,width, height]);
  35770. setHeight.apply(this, arguments);
  35771. }
  35772. })(Node356, Node356.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35773. var Node357type = 'rect';
  35774. var Node357 = new ht.Node(),
  35775. Node357BorderWidth = 1*2;
  35776. if (Node357type === 'arc') {
  35777. Node357BorderWidth *= 1;
  35778. }
  35779. Node357.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node357type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35780. Node357.setPosition(811*ratio.ratioX, 123*ratio.ratioY);
  35781. Node357.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
  35782. Node357.s({
  35783. 'pixelPerfect':true
  35784. /*@AddPara@*/
  35785. });
  35786. Node357.a('node.width', 117*_ratio.ratioX);
  35787. Node357.a('node.height', 24.33136*_ratio.ratioY);
  35788. Node357.a('node.type', Node357type);
  35789. Node357.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  35790. Node357.a('node.background', 'rgba(240,240,240,1)');
  35791. Node357.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35792. Node357.a('node.gradient', '');
  35793. Node357.a('node.borderwidth', Node357BorderWidth);
  35794. Node357.a('node.color', 'rgba(224,224,224,1)');
  35795. Node357.a('node.fillrect', [0,0,0,0]);
  35796. Node357.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35797. Node357.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35798. Node357.a('node.fillgradient', '');
  35799. if (Node357type !== 'rect') {
  35800. Node357.a('node.arcFrom', parseFloat('@arcFrom@'));
  35801. Node357.a('node.arcTo', parseFloat('@arcTo@'));
  35802. Node357.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35803. }
  35804. if (Node357type === 'arc') {
  35805. Node357.a('node.arcOval', true);
  35806. }
  35807. Node357.setRotation(0*Math.PI/180);
  35808. Node357.borderWidth = Node357BorderWidth;
  35809. Node357.borderFillwidth = Node357BorderWidth;
  35810. dataModel.add(Node357);
  35811. Node357._nodename = 'Node357'
  35812. Node357._nodeType = 'rect';
  35813. zoomNodeList.push({
  35814. node: Node357,
  35815. attr: 'node.borderwidth'
  35816. });
  35817. (function (node, _img) {
  35818. var setWidth = node.setWidth,
  35819. setHeight = node.setHeight;
  35820. node.setWidth = function (width) {
  35821. if (width === this.getWidth()) return ;
  35822. var height = this.getHeight();
  35823. this.a('node.width', width);
  35824. this.a('node.rect', [0,0,width, height]);
  35825. setWidth.apply(this, arguments);
  35826. }
  35827. node.setHeight = function (height) {
  35828. if (height === this.getHeight()) return ;
  35829. var width = this.getWidth();
  35830. this.a('node.height', height);
  35831. this.a('node.rect', [0,0,width, height]);
  35832. setHeight.apply(this, arguments);
  35833. }
  35834. })(Node357, Node357.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35835. var Node358type = 'rect';
  35836. var Node358 = new ht.Node(),
  35837. Node358BorderWidth = 1*2;
  35838. if (Node358type === 'arc') {
  35839. Node358BorderWidth *= 1;
  35840. }
  35841. Node358.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node358type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35842. Node358.setPosition(811*ratio.ratioX, 50*ratio.ratioY);
  35843. Node358.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
  35844. Node358.s({
  35845. 'pixelPerfect':true
  35846. /*@AddPara@*/
  35847. });
  35848. Node358.a('node.width', 117*_ratio.ratioX);
  35849. Node358.a('node.height', 24.33136*_ratio.ratioY);
  35850. Node358.a('node.type', Node358type);
  35851. Node358.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  35852. Node358.a('node.background', 'rgba(240,240,240,1)');
  35853. Node358.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35854. Node358.a('node.gradient', '');
  35855. Node358.a('node.borderwidth', Node358BorderWidth);
  35856. Node358.a('node.color', 'rgba(224,224,224,1)');
  35857. Node358.a('node.fillrect', [0,0,0,0]);
  35858. Node358.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35859. Node358.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35860. Node358.a('node.fillgradient', '');
  35861. if (Node358type !== 'rect') {
  35862. Node358.a('node.arcFrom', parseFloat('@arcFrom@'));
  35863. Node358.a('node.arcTo', parseFloat('@arcTo@'));
  35864. Node358.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35865. }
  35866. if (Node358type === 'arc') {
  35867. Node358.a('node.arcOval', true);
  35868. }
  35869. Node358.setRotation(0*Math.PI/180);
  35870. Node358.borderWidth = Node358BorderWidth;
  35871. Node358.borderFillwidth = Node358BorderWidth;
  35872. dataModel.add(Node358);
  35873. Node358._nodename = 'Node358'
  35874. Node358._nodeType = 'rect';
  35875. zoomNodeList.push({
  35876. node: Node358,
  35877. attr: 'node.borderwidth'
  35878. });
  35879. (function (node, _img) {
  35880. var setWidth = node.setWidth,
  35881. setHeight = node.setHeight;
  35882. node.setWidth = function (width) {
  35883. if (width === this.getWidth()) return ;
  35884. var height = this.getHeight();
  35885. this.a('node.width', width);
  35886. this.a('node.rect', [0,0,width, height]);
  35887. setWidth.apply(this, arguments);
  35888. }
  35889. node.setHeight = function (height) {
  35890. if (height === this.getHeight()) return ;
  35891. var width = this.getWidth();
  35892. this.a('node.height', height);
  35893. this.a('node.rect', [0,0,width, height]);
  35894. setHeight.apply(this, arguments);
  35895. }
  35896. })(Node358, Node358.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35897. var Node359type = 'rect';
  35898. var Node359 = new ht.Node(),
  35899. Node359BorderWidth = 1*2;
  35900. if (Node359type === 'arc') {
  35901. Node359BorderWidth *= 1;
  35902. }
  35903. Node359.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node359type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  35904. Node359.setPosition(811*ratio.ratioX, 147*ratio.ratioY);
  35905. Node359.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
  35906. Node359.s({
  35907. 'pixelPerfect':true
  35908. /*@AddPara@*/
  35909. });
  35910. Node359.a('node.width', 117*_ratio.ratioX);
  35911. Node359.a('node.height', 24.33138*_ratio.ratioY);
  35912. Node359.a('node.type', Node359type);
  35913. Node359.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  35914. Node359.a('node.background', 'rgba(240,240,240,1)');
  35915. Node359.a('node.gradientcolor', 'rgba(240,240,240,1)');
  35916. Node359.a('node.gradient', '');
  35917. Node359.a('node.borderwidth', Node359BorderWidth);
  35918. Node359.a('node.color', 'rgba(224,224,224,1)');
  35919. Node359.a('node.fillrect', [0,0,0,0]);
  35920. Node359.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  35921. Node359.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  35922. Node359.a('node.fillgradient', '');
  35923. if (Node359type !== 'rect') {
  35924. Node359.a('node.arcFrom', parseFloat('@arcFrom@'));
  35925. Node359.a('node.arcTo', parseFloat('@arcTo@'));
  35926. Node359.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  35927. }
  35928. if (Node359type === 'arc') {
  35929. Node359.a('node.arcOval', true);
  35930. }
  35931. Node359.setRotation(0*Math.PI/180);
  35932. Node359.borderWidth = Node359BorderWidth;
  35933. Node359.borderFillwidth = Node359BorderWidth;
  35934. dataModel.add(Node359);
  35935. Node359._nodename = 'Node359'
  35936. Node359._nodeType = 'rect';
  35937. zoomNodeList.push({
  35938. node: Node359,
  35939. attr: 'node.borderwidth'
  35940. });
  35941. (function (node, _img) {
  35942. var setWidth = node.setWidth,
  35943. setHeight = node.setHeight;
  35944. node.setWidth = function (width) {
  35945. if (width === this.getWidth()) return ;
  35946. var height = this.getHeight();
  35947. this.a('node.width', width);
  35948. this.a('node.rect', [0,0,width, height]);
  35949. setWidth.apply(this, arguments);
  35950. }
  35951. node.setHeight = function (height) {
  35952. if (height === this.getHeight()) return ;
  35953. var width = this.getWidth();
  35954. this.a('node.height', height);
  35955. this.a('node.rect', [0,0,width, height]);
  35956. setHeight.apply(this, arguments);
  35957. }
  35958. })(Node359, Node359.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  35959. var Node360 = new ht.Node();
  35960. var Node360textStart, Node360textWidth, Node360lineStart, Node360align = 'center', Node360fontSize = 13.3333*_ratio.ratioY,Node360width = 110*_ratio.ratioX, Node360height = 26*_ratio.ratioY;
  35961. (function () {
  35962. if (Node360align === 'left') {
  35963. Node360textStart = Node360fontSize * 0.2 > 2 ? Node360fontSize * 0.2 - 4 : Node360fontSize * 0.2 - 9;
  35964. Node360textWidth = Node360width;
  35965. Node360lineStart = 1;
  35966. } else if (Node360align === 'right') {
  35967. Node360textStart = 0;
  35968. Node360textWidth =Node360fontSize <= 8 ? Node360width + Node360fontSize * 0.2 + 6 : Node360width - Node360fontSize * 0.2;
  35969. Node360lineStart = (Node360width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node360fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  35970. } else if (Node360align === 'center') {
  35971. Node360textStart = -3;
  35972. Node360textWidth = Node360width;
  35973. Node360lineStart = Node360width - ht.Default.getTextSize('月维护损失电量', ' '+ Node360fontSize + 'px "微软雅黑"').width - 11;
  35974. }
  35975. })();
  35976. Node360.setImage(GD.getTextJSON(Node360width, Node360height, true, false, false, ' '+ Node360fontSize + 'px "微软雅黑"'))
  35977. Node360.setPosition(811*ratio.ratioX, 52*ratio.ratioY);
  35978. Node360.setWidth(Node360width);
  35979. Node360.setHeight(Node360height);
  35980. Node360._nodeType = 'text';
  35981. Node360._disallowEvert = true;
  35982. Node360.setRotation(0*Math.PI/180);
  35983. Node360.a('node.width', Node360width);
  35984. Node360.a('node.height', Node360height);
  35985. Node360.a('node.rect', [0, 0, Node360width, Node360height]);
  35986. Node360.a('node.bordercolor','rgba(0,0,0,1)');
  35987. Node360.a('node.borderwidth', 0);
  35988. Node360.a('node.background','' || 'rgba(0,0,0,0)');
  35989. Node360.a('node.gradient','');
  35990. Node360.a('node.gradientcolor','');
  35991. Node360.a('node.text','月维护损失电量');
  35992. Node360.a('node.textalign','center');
  35993. Node360.a('node.textvAlign','middle');
  35994. Node360.a('node.textrect', [Node360textStart, 0, Node360textWidth, Node360height]);
  35995. Node360.a('node.color','rgba(0,0,0,1)');
  35996. Node360.a('node.font',' '+ Node360fontSize + 'px "微软雅黑"');
  35997. Node360.a('node.textvisible',true);
  35998. Node360.a('node.linefeed',false);
  35999. if (false) {
  36000. Node360.a('node.textfunc',function(g) {
  36001. g.beginPath();
  36002. var str=Node360.a('node.text') || '月维护损失电量';
  36003. var color=Node360.a('node.color') || 'rgba(0,0,0,1)';
  36004. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node360width,Node360height,13.3333*_ratio.ratioY,"center",color,' '+ Node360fontSize + 'px "微软雅黑"', 0,g);
  36005. });
  36006. }
  36007. if (false) {
  36008. Node360.a('node.underlinepoints',[Node360lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node360fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node360fontSize + 'px "微软雅黑"').width + 6, (Node360height - Node360fontSize) * 0.5*_ratio.ratioY + Node360fontSize + 2 ]);
  36009. Node360.a('node.underlinevisible',false);
  36010. Node360.a('node.underlineBorderWidth', 1);
  36011. }
  36012. dataModel.add(Node360);
  36013. zoomNodeList.push({
  36014. node: Node360,
  36015. borderWidth: 0,
  36016. attr: 'node.borderwidth'
  36017. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36018. var Node361 = new ht.Node();
  36019. var Node361textStart, Node361textWidth, Node361lineStart, Node361align = 'center', Node361fontSize = 13.3333*_ratio.ratioY,Node361width = 110*_ratio.ratioX, Node361height = 26*_ratio.ratioY;
  36020. (function () {
  36021. if (Node361align === 'left') {
  36022. Node361textStart = Node361fontSize * 0.2 > 2 ? Node361fontSize * 0.2 - 4 : Node361fontSize * 0.2 - 9;
  36023. Node361textWidth = Node361width;
  36024. Node361lineStart = 1;
  36025. } else if (Node361align === 'right') {
  36026. Node361textStart = 0;
  36027. Node361textWidth =Node361fontSize <= 8 ? Node361width + Node361fontSize * 0.2 + 6 : Node361width - Node361fontSize * 0.2;
  36028. Node361lineStart = (Node361width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node361fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  36029. } else if (Node361align === 'center') {
  36030. Node361textStart = -3;
  36031. Node361textWidth = Node361width;
  36032. Node361lineStart = Node361width - ht.Default.getTextSize('月故障损失电量', ' '+ Node361fontSize + 'px "微软雅黑"').width - 11;
  36033. }
  36034. })();
  36035. Node361.setImage(GD.getTextJSON(Node361width, Node361height, true, false, false, ' '+ Node361fontSize + 'px "微软雅黑"'))
  36036. Node361.setPosition(811*ratio.ratioX, 76*ratio.ratioY);
  36037. Node361.setWidth(Node361width);
  36038. Node361.setHeight(Node361height);
  36039. Node361._nodeType = 'text';
  36040. Node361._disallowEvert = true;
  36041. Node361.setRotation(0*Math.PI/180);
  36042. Node361.a('node.width', Node361width);
  36043. Node361.a('node.height', Node361height);
  36044. Node361.a('node.rect', [0, 0, Node361width, Node361height]);
  36045. Node361.a('node.bordercolor','rgba(0,0,0,1)');
  36046. Node361.a('node.borderwidth', 0);
  36047. Node361.a('node.background','' || 'rgba(0,0,0,0)');
  36048. Node361.a('node.gradient','');
  36049. Node361.a('node.gradientcolor','');
  36050. Node361.a('node.text','月故障损失电量');
  36051. Node361.a('node.textalign','center');
  36052. Node361.a('node.textvAlign','middle');
  36053. Node361.a('node.textrect', [Node361textStart, 0, Node361textWidth, Node361height]);
  36054. Node361.a('node.color','rgba(0,0,0,1)');
  36055. Node361.a('node.font',' '+ Node361fontSize + 'px "微软雅黑"');
  36056. Node361.a('node.textvisible',true);
  36057. Node361.a('node.linefeed',false);
  36058. if (false) {
  36059. Node361.a('node.textfunc',function(g) {
  36060. g.beginPath();
  36061. var str=Node361.a('node.text') || '月故障损失电量';
  36062. var color=Node361.a('node.color') || 'rgba(0,0,0,1)';
  36063. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node361width,Node361height,13.3333*_ratio.ratioY,"center",color,' '+ Node361fontSize + 'px "微软雅黑"', 0,g);
  36064. });
  36065. }
  36066. if (false) {
  36067. Node361.a('node.underlinepoints',[Node361lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node361fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node361fontSize + 'px "微软雅黑"').width + 6, (Node361height - Node361fontSize) * 0.5*_ratio.ratioY + Node361fontSize + 2 ]);
  36068. Node361.a('node.underlinevisible',false);
  36069. Node361.a('node.underlineBorderWidth', 1);
  36070. }
  36071. dataModel.add(Node361);
  36072. zoomNodeList.push({
  36073. node: Node361,
  36074. borderWidth: 0,
  36075. attr: 'node.borderwidth'
  36076. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36077. var Node362 = new ht.Node();
  36078. var Node362textStart, Node362textWidth, Node362lineStart, Node362align = 'center', Node362fontSize = 13.3333*_ratio.ratioY,Node362width = 110*_ratio.ratioX, Node362height = 26*_ratio.ratioY;
  36079. (function () {
  36080. if (Node362align === 'left') {
  36081. Node362textStart = Node362fontSize * 0.2 > 2 ? Node362fontSize * 0.2 - 4 : Node362fontSize * 0.2 - 9;
  36082. Node362textWidth = Node362width;
  36083. Node362lineStart = 1;
  36084. } else if (Node362align === 'right') {
  36085. Node362textStart = 0;
  36086. Node362textWidth =Node362fontSize <= 8 ? Node362width + Node362fontSize * 0.2 + 6 : Node362width - Node362fontSize * 0.2;
  36087. Node362lineStart = (Node362width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node362fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  36088. } else if (Node362align === 'center') {
  36089. Node362textStart = -3;
  36090. Node362textWidth = Node362width;
  36091. Node362lineStart = Node362width - ht.Default.getTextSize('月限电损失电量', ' '+ Node362fontSize + 'px "微软雅黑"').width - 11;
  36092. }
  36093. })();
  36094. Node362.setImage(GD.getTextJSON(Node362width, Node362height, true, false, false, ' '+ Node362fontSize + 'px "微软雅黑"'))
  36095. Node362.setPosition(811*ratio.ratioX, 101*ratio.ratioY);
  36096. Node362.setWidth(Node362width);
  36097. Node362.setHeight(Node362height);
  36098. Node362._nodeType = 'text';
  36099. Node362._disallowEvert = true;
  36100. Node362.setRotation(0*Math.PI/180);
  36101. Node362.a('node.width', Node362width);
  36102. Node362.a('node.height', Node362height);
  36103. Node362.a('node.rect', [0, 0, Node362width, Node362height]);
  36104. Node362.a('node.bordercolor','rgba(0,0,0,1)');
  36105. Node362.a('node.borderwidth', 0);
  36106. Node362.a('node.background','' || 'rgba(0,0,0,0)');
  36107. Node362.a('node.gradient','');
  36108. Node362.a('node.gradientcolor','');
  36109. Node362.a('node.text','月限电损失电量');
  36110. Node362.a('node.textalign','center');
  36111. Node362.a('node.textvAlign','middle');
  36112. Node362.a('node.textrect', [Node362textStart, 0, Node362textWidth, Node362height]);
  36113. Node362.a('node.color','rgba(0,0,0,1)');
  36114. Node362.a('node.font',' '+ Node362fontSize + 'px "微软雅黑"');
  36115. Node362.a('node.textvisible',true);
  36116. Node362.a('node.linefeed',false);
  36117. if (false) {
  36118. Node362.a('node.textfunc',function(g) {
  36119. g.beginPath();
  36120. var str=Node362.a('node.text') || '月限电损失电量';
  36121. var color=Node362.a('node.color') || 'rgba(0,0,0,1)';
  36122. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node362width,Node362height,13.3333*_ratio.ratioY,"center",color,' '+ Node362fontSize + 'px "微软雅黑"', 0,g);
  36123. });
  36124. }
  36125. if (false) {
  36126. Node362.a('node.underlinepoints',[Node362lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node362fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node362fontSize + 'px "微软雅黑"').width + 6, (Node362height - Node362fontSize) * 0.5*_ratio.ratioY + Node362fontSize + 2 ]);
  36127. Node362.a('node.underlinevisible',false);
  36128. Node362.a('node.underlineBorderWidth', 1);
  36129. }
  36130. dataModel.add(Node362);
  36131. zoomNodeList.push({
  36132. node: Node362,
  36133. borderWidth: 0,
  36134. attr: 'node.borderwidth'
  36135. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36136. var Node363 = new ht.Node();
  36137. var Node363textStart, Node363textWidth, Node363lineStart, Node363align = 'center', Node363fontSize = 13.3333*_ratio.ratioY,Node363width = 110*_ratio.ratioX, Node363height = 26*_ratio.ratioY;
  36138. (function () {
  36139. if (Node363align === 'left') {
  36140. Node363textStart = Node363fontSize * 0.2 > 2 ? Node363fontSize * 0.2 - 4 : Node363fontSize * 0.2 - 9;
  36141. Node363textWidth = Node363width;
  36142. Node363lineStart = 1;
  36143. } else if (Node363align === 'right') {
  36144. Node363textStart = 0;
  36145. Node363textWidth =Node363fontSize <= 8 ? Node363width + Node363fontSize * 0.2 + 6 : Node363width - Node363fontSize * 0.2;
  36146. Node363lineStart = (Node363width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node363fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  36147. } else if (Node363align === 'center') {
  36148. Node363textStart = -3;
  36149. Node363textWidth = Node363width;
  36150. Node363lineStart = Node363width - ht.Default.getTextSize('月受累损失电量', ' '+ Node363fontSize + 'px "微软雅黑"').width - 11;
  36151. }
  36152. })();
  36153. Node363.setImage(GD.getTextJSON(Node363width, Node363height, true, false, false, ' '+ Node363fontSize + 'px "微软雅黑"'))
  36154. Node363.setPosition(811*ratio.ratioX, 125*ratio.ratioY);
  36155. Node363.setWidth(Node363width);
  36156. Node363.setHeight(Node363height);
  36157. Node363._nodeType = 'text';
  36158. Node363._disallowEvert = true;
  36159. Node363.setRotation(0*Math.PI/180);
  36160. Node363.a('node.width', Node363width);
  36161. Node363.a('node.height', Node363height);
  36162. Node363.a('node.rect', [0, 0, Node363width, Node363height]);
  36163. Node363.a('node.bordercolor','rgba(0,0,0,1)');
  36164. Node363.a('node.borderwidth', 0);
  36165. Node363.a('node.background','' || 'rgba(0,0,0,0)');
  36166. Node363.a('node.gradient','');
  36167. Node363.a('node.gradientcolor','');
  36168. Node363.a('node.text','月受累损失电量');
  36169. Node363.a('node.textalign','center');
  36170. Node363.a('node.textvAlign','middle');
  36171. Node363.a('node.textrect', [Node363textStart, 0, Node363textWidth, Node363height]);
  36172. Node363.a('node.color','rgba(0,0,0,1)');
  36173. Node363.a('node.font',' '+ Node363fontSize + 'px "微软雅黑"');
  36174. Node363.a('node.textvisible',true);
  36175. Node363.a('node.linefeed',false);
  36176. if (false) {
  36177. Node363.a('node.textfunc',function(g) {
  36178. g.beginPath();
  36179. var str=Node363.a('node.text') || '月受累损失电量';
  36180. var color=Node363.a('node.color') || 'rgba(0,0,0,1)';
  36181. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node363width,Node363height,13.3333*_ratio.ratioY,"center",color,' '+ Node363fontSize + 'px "微软雅黑"', 0,g);
  36182. });
  36183. }
  36184. if (false) {
  36185. Node363.a('node.underlinepoints',[Node363lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node363fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node363fontSize + 'px "微软雅黑"').width + 6, (Node363height - Node363fontSize) * 0.5*_ratio.ratioY + Node363fontSize + 2 ]);
  36186. Node363.a('node.underlinevisible',false);
  36187. Node363.a('node.underlineBorderWidth', 1);
  36188. }
  36189. dataModel.add(Node363);
  36190. zoomNodeList.push({
  36191. node: Node363,
  36192. borderWidth: 0,
  36193. attr: 'node.borderwidth'
  36194. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36195. var Node364type = 'rect';
  36196. var Node364 = new ht.Node(),
  36197. Node364BorderWidth = 1*2;
  36198. if (Node364type === 'arc') {
  36199. Node364BorderWidth *= 1;
  36200. }
  36201. Node364.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node364type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36202. Node364.setPosition(917*ratio.ratioX, 50*ratio.ratioY);
  36203. Node364.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
  36204. Node364.s({
  36205. 'pixelPerfect':true
  36206. /*@AddPara@*/
  36207. });
  36208. Node364.a('node.width', 95*_ratio.ratioX);
  36209. Node364.a('node.height', 24.33136*_ratio.ratioY);
  36210. Node364.a('node.type', Node364type);
  36211. Node364.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  36212. Node364.a('node.background', 'rgba(255,255,255,0.003921569)');
  36213. Node364.a('node.gradientcolor', '');
  36214. Node364.a('node.gradient', '');
  36215. Node364.a('node.borderwidth', Node364BorderWidth);
  36216. Node364.a('node.color', 'rgba(224,224,224,1)');
  36217. Node364.a('node.fillrect', [0,0,0,0]);
  36218. Node364.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36219. Node364.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36220. Node364.a('node.fillgradient', '');
  36221. if (Node364type !== 'rect') {
  36222. Node364.a('node.arcFrom', parseFloat('@arcFrom@'));
  36223. Node364.a('node.arcTo', parseFloat('@arcTo@'));
  36224. Node364.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36225. }
  36226. if (Node364type === 'arc') {
  36227. Node364.a('node.arcOval', true);
  36228. }
  36229. Node364.setRotation(0*Math.PI/180);
  36230. Node364.borderWidth = Node364BorderWidth;
  36231. Node364.borderFillwidth = Node364BorderWidth;
  36232. dataModel.add(Node364);
  36233. Node364._nodename = 'Node364'
  36234. Node364._nodeType = 'rect';
  36235. zoomNodeList.push({
  36236. node: Node364,
  36237. attr: 'node.borderwidth'
  36238. });
  36239. (function (node, _img) {
  36240. var setWidth = node.setWidth,
  36241. setHeight = node.setHeight;
  36242. node.setWidth = function (width) {
  36243. if (width === this.getWidth()) return ;
  36244. var height = this.getHeight();
  36245. this.a('node.width', width);
  36246. this.a('node.rect', [0,0,width, height]);
  36247. setWidth.apply(this, arguments);
  36248. }
  36249. node.setHeight = function (height) {
  36250. if (height === this.getHeight()) return ;
  36251. var width = this.getWidth();
  36252. this.a('node.height', height);
  36253. this.a('node.rect', [0,0,width, height]);
  36254. setHeight.apply(this, arguments);
  36255. }
  36256. })(Node364, Node364.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36257. var Node365type = 'rect';
  36258. var Node365 = new ht.Node(),
  36259. Node365BorderWidth = 1*2;
  36260. if (Node365type === 'arc') {
  36261. Node365BorderWidth *= 1;
  36262. }
  36263. Node365.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node365type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36264. Node365.setPosition(917*ratio.ratioX, 74*ratio.ratioY);
  36265. Node365.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
  36266. Node365.s({
  36267. 'pixelPerfect':true
  36268. /*@AddPara@*/
  36269. });
  36270. Node365.a('node.width', 95*_ratio.ratioX);
  36271. Node365.a('node.height', 24.33138*_ratio.ratioY);
  36272. Node365.a('node.type', Node365type);
  36273. Node365.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  36274. Node365.a('node.background', 'rgba(255,255,255,0.003921569)');
  36275. Node365.a('node.gradientcolor', '');
  36276. Node365.a('node.gradient', '');
  36277. Node365.a('node.borderwidth', Node365BorderWidth);
  36278. Node365.a('node.color', 'rgba(224,224,224,1)');
  36279. Node365.a('node.fillrect', [0,0,0,0]);
  36280. Node365.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36281. Node365.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36282. Node365.a('node.fillgradient', '');
  36283. if (Node365type !== 'rect') {
  36284. Node365.a('node.arcFrom', parseFloat('@arcFrom@'));
  36285. Node365.a('node.arcTo', parseFloat('@arcTo@'));
  36286. Node365.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36287. }
  36288. if (Node365type === 'arc') {
  36289. Node365.a('node.arcOval', true);
  36290. }
  36291. Node365.setRotation(0*Math.PI/180);
  36292. Node365.borderWidth = Node365BorderWidth;
  36293. Node365.borderFillwidth = Node365BorderWidth;
  36294. dataModel.add(Node365);
  36295. Node365._nodename = 'Node365'
  36296. Node365._nodeType = 'rect';
  36297. zoomNodeList.push({
  36298. node: Node365,
  36299. attr: 'node.borderwidth'
  36300. });
  36301. (function (node, _img) {
  36302. var setWidth = node.setWidth,
  36303. setHeight = node.setHeight;
  36304. node.setWidth = function (width) {
  36305. if (width === this.getWidth()) return ;
  36306. var height = this.getHeight();
  36307. this.a('node.width', width);
  36308. this.a('node.rect', [0,0,width, height]);
  36309. setWidth.apply(this, arguments);
  36310. }
  36311. node.setHeight = function (height) {
  36312. if (height === this.getHeight()) return ;
  36313. var width = this.getWidth();
  36314. this.a('node.height', height);
  36315. this.a('node.rect', [0,0,width, height]);
  36316. setHeight.apply(this, arguments);
  36317. }
  36318. })(Node365, Node365.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36319. var Node366type = 'rect';
  36320. var Node366 = new ht.Node(),
  36321. Node366BorderWidth = 1*2;
  36322. if (Node366type === 'arc') {
  36323. Node366BorderWidth *= 1;
  36324. }
  36325. Node366.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node366type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36326. Node366.setPosition(917*ratio.ratioX, 98*ratio.ratioY);
  36327. Node366.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
  36328. Node366.s({
  36329. 'pixelPerfect':true
  36330. /*@AddPara@*/
  36331. });
  36332. Node366.a('node.width', 95*_ratio.ratioX);
  36333. Node366.a('node.height', 24.33138*_ratio.ratioY);
  36334. Node366.a('node.type', Node366type);
  36335. Node366.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  36336. Node366.a('node.background', 'rgba(255,255,255,0.003921569)');
  36337. Node366.a('node.gradientcolor', '');
  36338. Node366.a('node.gradient', '');
  36339. Node366.a('node.borderwidth', Node366BorderWidth);
  36340. Node366.a('node.color', 'rgba(224,224,224,1)');
  36341. Node366.a('node.fillrect', [0,0,0,0]);
  36342. Node366.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36343. Node366.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36344. Node366.a('node.fillgradient', '');
  36345. if (Node366type !== 'rect') {
  36346. Node366.a('node.arcFrom', parseFloat('@arcFrom@'));
  36347. Node366.a('node.arcTo', parseFloat('@arcTo@'));
  36348. Node366.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36349. }
  36350. if (Node366type === 'arc') {
  36351. Node366.a('node.arcOval', true);
  36352. }
  36353. Node366.setRotation(0*Math.PI/180);
  36354. Node366.borderWidth = Node366BorderWidth;
  36355. Node366.borderFillwidth = Node366BorderWidth;
  36356. dataModel.add(Node366);
  36357. Node366._nodename = 'Node366'
  36358. Node366._nodeType = 'rect';
  36359. zoomNodeList.push({
  36360. node: Node366,
  36361. attr: 'node.borderwidth'
  36362. });
  36363. (function (node, _img) {
  36364. var setWidth = node.setWidth,
  36365. setHeight = node.setHeight;
  36366. node.setWidth = function (width) {
  36367. if (width === this.getWidth()) return ;
  36368. var height = this.getHeight();
  36369. this.a('node.width', width);
  36370. this.a('node.rect', [0,0,width, height]);
  36371. setWidth.apply(this, arguments);
  36372. }
  36373. node.setHeight = function (height) {
  36374. if (height === this.getHeight()) return ;
  36375. var width = this.getWidth();
  36376. this.a('node.height', height);
  36377. this.a('node.rect', [0,0,width, height]);
  36378. setHeight.apply(this, arguments);
  36379. }
  36380. })(Node366, Node366.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36381. var Node367type = 'rect';
  36382. var Node367 = new ht.Node(),
  36383. Node367BorderWidth = 1*2;
  36384. if (Node367type === 'arc') {
  36385. Node367BorderWidth *= 1;
  36386. }
  36387. Node367.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node367type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36388. Node367.setPosition(917*ratio.ratioX, 123*ratio.ratioY);
  36389. Node367.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
  36390. Node367.s({
  36391. 'pixelPerfect':true
  36392. /*@AddPara@*/
  36393. });
  36394. Node367.a('node.width', 95*_ratio.ratioX);
  36395. Node367.a('node.height', 24.33136*_ratio.ratioY);
  36396. Node367.a('node.type', Node367type);
  36397. Node367.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  36398. Node367.a('node.background', 'rgba(255,255,255,0.003921569)');
  36399. Node367.a('node.gradientcolor', '');
  36400. Node367.a('node.gradient', '');
  36401. Node367.a('node.borderwidth', Node367BorderWidth);
  36402. Node367.a('node.color', 'rgba(224,224,224,1)');
  36403. Node367.a('node.fillrect', [0,0,0,0]);
  36404. Node367.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36405. Node367.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36406. Node367.a('node.fillgradient', '');
  36407. if (Node367type !== 'rect') {
  36408. Node367.a('node.arcFrom', parseFloat('@arcFrom@'));
  36409. Node367.a('node.arcTo', parseFloat('@arcTo@'));
  36410. Node367.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36411. }
  36412. if (Node367type === 'arc') {
  36413. Node367.a('node.arcOval', true);
  36414. }
  36415. Node367.setRotation(0*Math.PI/180);
  36416. Node367.borderWidth = Node367BorderWidth;
  36417. Node367.borderFillwidth = Node367BorderWidth;
  36418. dataModel.add(Node367);
  36419. Node367._nodename = 'Node367'
  36420. Node367._nodeType = 'rect';
  36421. zoomNodeList.push({
  36422. node: Node367,
  36423. attr: 'node.borderwidth'
  36424. });
  36425. (function (node, _img) {
  36426. var setWidth = node.setWidth,
  36427. setHeight = node.setHeight;
  36428. node.setWidth = function (width) {
  36429. if (width === this.getWidth()) return ;
  36430. var height = this.getHeight();
  36431. this.a('node.width', width);
  36432. this.a('node.rect', [0,0,width, height]);
  36433. setWidth.apply(this, arguments);
  36434. }
  36435. node.setHeight = function (height) {
  36436. if (height === this.getHeight()) return ;
  36437. var width = this.getWidth();
  36438. this.a('node.height', height);
  36439. this.a('node.rect', [0,0,width, height]);
  36440. setHeight.apply(this, arguments);
  36441. }
  36442. })(Node367, Node367.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36443. var Node368type = 'rect';
  36444. var Node368 = new ht.Node(),
  36445. Node368BorderWidth = 1*2;
  36446. if (Node368type === 'arc') {
  36447. Node368BorderWidth *= 1;
  36448. }
  36449. Node368.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node368type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36450. Node368.setPosition(917*ratio.ratioX, 147*ratio.ratioY);
  36451. Node368.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
  36452. Node368.s({
  36453. 'pixelPerfect':true
  36454. /*@AddPara@*/
  36455. });
  36456. Node368.a('node.width', 95*_ratio.ratioX);
  36457. Node368.a('node.height', 24.33138*_ratio.ratioY);
  36458. Node368.a('node.type', Node368type);
  36459. Node368.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  36460. Node368.a('node.background', 'rgba(255,255,255,0.003921569)');
  36461. Node368.a('node.gradientcolor', '');
  36462. Node368.a('node.gradient', '');
  36463. Node368.a('node.borderwidth', Node368BorderWidth);
  36464. Node368.a('node.color', 'rgba(224,224,224,1)');
  36465. Node368.a('node.fillrect', [0,0,0,0]);
  36466. Node368.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36467. Node368.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36468. Node368.a('node.fillgradient', '');
  36469. if (Node368type !== 'rect') {
  36470. Node368.a('node.arcFrom', parseFloat('@arcFrom@'));
  36471. Node368.a('node.arcTo', parseFloat('@arcTo@'));
  36472. Node368.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36473. }
  36474. if (Node368type === 'arc') {
  36475. Node368.a('node.arcOval', true);
  36476. }
  36477. Node368.setRotation(0*Math.PI/180);
  36478. Node368.borderWidth = Node368BorderWidth;
  36479. Node368.borderFillwidth = Node368BorderWidth;
  36480. dataModel.add(Node368);
  36481. Node368._nodename = 'Node368'
  36482. Node368._nodeType = 'rect';
  36483. zoomNodeList.push({
  36484. node: Node368,
  36485. attr: 'node.borderwidth'
  36486. });
  36487. (function (node, _img) {
  36488. var setWidth = node.setWidth,
  36489. setHeight = node.setHeight;
  36490. node.setWidth = function (width) {
  36491. if (width === this.getWidth()) return ;
  36492. var height = this.getHeight();
  36493. this.a('node.width', width);
  36494. this.a('node.rect', [0,0,width, height]);
  36495. setWidth.apply(this, arguments);
  36496. }
  36497. node.setHeight = function (height) {
  36498. if (height === this.getHeight()) return ;
  36499. var width = this.getWidth();
  36500. this.a('node.height', height);
  36501. this.a('node.rect', [0,0,width, height]);
  36502. setHeight.apply(this, arguments);
  36503. }
  36504. })(Node368, Node368.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36505. var Node369type = 'rect';
  36506. var Node369 = new ht.Node(),
  36507. Node369BorderWidth = 1*2;
  36508. if (Node369type === 'arc') {
  36509. Node369BorderWidth *= 1;
  36510. }
  36511. Node369.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node369type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36512. Node369.setPosition(997*ratio.ratioX, 50*ratio.ratioY);
  36513. Node369.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  36514. Node369.s({
  36515. 'pixelPerfect':true
  36516. /*@AddPara@*/
  36517. });
  36518. Node369.a('node.width', 65*_ratio.ratioX);
  36519. Node369.a('node.height', 24.33136*_ratio.ratioY);
  36520. Node369.a('node.type', Node369type);
  36521. Node369.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  36522. Node369.a('node.background', 'rgba(255,255,255,0.003921569)');
  36523. Node369.a('node.gradientcolor', '');
  36524. Node369.a('node.gradient', '');
  36525. Node369.a('node.borderwidth', Node369BorderWidth);
  36526. Node369.a('node.color', 'rgba(224,224,224,1)');
  36527. Node369.a('node.fillrect', [0,0,0,0]);
  36528. Node369.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36529. Node369.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36530. Node369.a('node.fillgradient', '');
  36531. if (Node369type !== 'rect') {
  36532. Node369.a('node.arcFrom', parseFloat('@arcFrom@'));
  36533. Node369.a('node.arcTo', parseFloat('@arcTo@'));
  36534. Node369.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36535. }
  36536. if (Node369type === 'arc') {
  36537. Node369.a('node.arcOval', true);
  36538. }
  36539. Node369.setRotation(0*Math.PI/180);
  36540. Node369.borderWidth = Node369BorderWidth;
  36541. Node369.borderFillwidth = Node369BorderWidth;
  36542. dataModel.add(Node369);
  36543. Node369._nodename = 'Node369'
  36544. Node369._nodeType = 'rect';
  36545. zoomNodeList.push({
  36546. node: Node369,
  36547. attr: 'node.borderwidth'
  36548. });
  36549. (function (node, _img) {
  36550. var setWidth = node.setWidth,
  36551. setHeight = node.setHeight;
  36552. node.setWidth = function (width) {
  36553. if (width === this.getWidth()) return ;
  36554. var height = this.getHeight();
  36555. this.a('node.width', width);
  36556. this.a('node.rect', [0,0,width, height]);
  36557. setWidth.apply(this, arguments);
  36558. }
  36559. node.setHeight = function (height) {
  36560. if (height === this.getHeight()) return ;
  36561. var width = this.getWidth();
  36562. this.a('node.height', height);
  36563. this.a('node.rect', [0,0,width, height]);
  36564. setHeight.apply(this, arguments);
  36565. }
  36566. })(Node369, Node369.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36567. var Node370 = new ht.Node();
  36568. var Node370textStart, Node370textWidth, Node370lineStart, Node370align = 'center', Node370fontSize = 14.66663*_ratio.ratioY,Node370width = 59*_ratio.ratioX, Node370height = 26*_ratio.ratioY;
  36569. (function () {
  36570. if (Node370align === 'left') {
  36571. Node370textStart = Node370fontSize * 0.2 > 2 ? Node370fontSize * 0.2 - 4 : Node370fontSize * 0.2 - 9;
  36572. Node370textWidth = Node370width;
  36573. Node370lineStart = 1;
  36574. } else if (Node370align === 'right') {
  36575. Node370textStart = 0;
  36576. Node370textWidth =Node370fontSize <= 8 ? Node370width + Node370fontSize * 0.2 + 6 : Node370width - Node370fontSize * 0.2;
  36577. Node370lineStart = (Node370width - (ht.Default.getTextSize('0', ' '+ Node370fontSize + 'px "Arial"').width + 6)) * 0.5;
  36578. } else if (Node370align === 'center') {
  36579. Node370textStart = -3;
  36580. Node370textWidth = Node370width;
  36581. Node370lineStart = Node370width - ht.Default.getTextSize('0', ' '+ Node370fontSize + 'px "Arial"').width - 11;
  36582. }
  36583. })();
  36584. Node370.setImage(GD.getTextJSON(Node370width, Node370height, true, false, false, ' '+ Node370fontSize + 'px "Arial"'))
  36585. Node370.setPosition(917*ratio.ratioX, 52*ratio.ratioY);
  36586. Node370.setWidth(Node370width);
  36587. Node370.setHeight(Node370height);
  36588. Node370._nodeType = 'text';
  36589. Node370._disallowEvert = true;
  36590. Node370.setRotation(0*Math.PI/180);
  36591. Node370.a('node.width', Node370width);
  36592. Node370.a('node.height', Node370height);
  36593. Node370.a('node.rect', [0, 0, Node370width, Node370height]);
  36594. Node370.a('node.bordercolor','rgba(0,0,0,1)');
  36595. Node370.a('node.borderwidth', 0);
  36596. Node370.a('node.background','' || 'rgba(0,0,0,0)');
  36597. Node370.a('node.gradient','');
  36598. Node370.a('node.gradientcolor','');
  36599. Node370.a('node.text','0');
  36600. Node370.a('node.textalign','center');
  36601. Node370.a('node.textvAlign','middle');
  36602. Node370.a('node.textrect', [Node370textStart, 0, Node370textWidth, Node370height]);
  36603. Node370.a('node.color','rgba(0,0,0,1)');
  36604. Node370.a('node.font',' '+ Node370fontSize + 'px "Arial"');
  36605. Node370.a('node.textvisible',true);
  36606. Node370.a('node.linefeed',false);
  36607. if (false) {
  36608. Node370.a('node.textfunc',function(g) {
  36609. g.beginPath();
  36610. var str=Node370.a('node.text') || '0';
  36611. var color=Node370.a('node.color') || 'rgba(0,0,0,1)';
  36612. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node370width,Node370height,14.66663*_ratio.ratioY,"center",color,' '+ Node370fontSize + 'px "Arial"', 0,g);
  36613. });
  36614. }
  36615. if (false) {
  36616. Node370.a('node.underlinepoints',[Node370lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node370fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node370fontSize + 'px "Arial"').width + 6, (Node370height - Node370fontSize) * 0.5*_ratio.ratioY + Node370fontSize + 2 ]);
  36617. Node370.a('node.underlinevisible',false);
  36618. Node370.a('node.underlineBorderWidth', 1);
  36619. }
  36620. dataModel.add(Node370);
  36621. zoomNodeList.push({
  36622. node: Node370,
  36623. borderWidth: 0,
  36624. attr: 'node.borderwidth'
  36625. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36626. var Node371 = new ht.Node();
  36627. var Node371textStart, Node371textWidth, Node371lineStart, Node371align = 'center', Node371fontSize = 14.66663*_ratio.ratioY,Node371width = 59*_ratio.ratioX, Node371height = 26*_ratio.ratioY;
  36628. (function () {
  36629. if (Node371align === 'left') {
  36630. Node371textStart = Node371fontSize * 0.2 > 2 ? Node371fontSize * 0.2 - 4 : Node371fontSize * 0.2 - 9;
  36631. Node371textWidth = Node371width;
  36632. Node371lineStart = 1;
  36633. } else if (Node371align === 'right') {
  36634. Node371textStart = 0;
  36635. Node371textWidth =Node371fontSize <= 8 ? Node371width + Node371fontSize * 0.2 + 6 : Node371width - Node371fontSize * 0.2;
  36636. Node371lineStart = (Node371width - (ht.Default.getTextSize('0', ' '+ Node371fontSize + 'px "Arial"').width + 6)) * 0.5;
  36637. } else if (Node371align === 'center') {
  36638. Node371textStart = -3;
  36639. Node371textWidth = Node371width;
  36640. Node371lineStart = Node371width - ht.Default.getTextSize('0', ' '+ Node371fontSize + 'px "Arial"').width - 11;
  36641. }
  36642. })();
  36643. Node371.setImage(GD.getTextJSON(Node371width, Node371height, true, false, false, ' '+ Node371fontSize + 'px "Arial"'))
  36644. Node371.setPosition(917*ratio.ratioX, 76*ratio.ratioY);
  36645. Node371.setWidth(Node371width);
  36646. Node371.setHeight(Node371height);
  36647. Node371._nodeType = 'text';
  36648. Node371._disallowEvert = true;
  36649. Node371.setRotation(0*Math.PI/180);
  36650. Node371.a('node.width', Node371width);
  36651. Node371.a('node.height', Node371height);
  36652. Node371.a('node.rect', [0, 0, Node371width, Node371height]);
  36653. Node371.a('node.bordercolor','rgba(0,0,0,1)');
  36654. Node371.a('node.borderwidth', 0);
  36655. Node371.a('node.background','' || 'rgba(0,0,0,0)');
  36656. Node371.a('node.gradient','');
  36657. Node371.a('node.gradientcolor','');
  36658. Node371.a('node.text','0');
  36659. Node371.a('node.textalign','center');
  36660. Node371.a('node.textvAlign','middle');
  36661. Node371.a('node.textrect', [Node371textStart, 0, Node371textWidth, Node371height]);
  36662. Node371.a('node.color','rgba(0,0,0,1)');
  36663. Node371.a('node.font',' '+ Node371fontSize + 'px "Arial"');
  36664. Node371.a('node.textvisible',true);
  36665. Node371.a('node.linefeed',false);
  36666. if (false) {
  36667. Node371.a('node.textfunc',function(g) {
  36668. g.beginPath();
  36669. var str=Node371.a('node.text') || '0';
  36670. var color=Node371.a('node.color') || 'rgba(0,0,0,1)';
  36671. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node371width,Node371height,14.66663*_ratio.ratioY,"center",color,' '+ Node371fontSize + 'px "Arial"', 0,g);
  36672. });
  36673. }
  36674. if (false) {
  36675. Node371.a('node.underlinepoints',[Node371lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node371fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node371fontSize + 'px "Arial"').width + 6, (Node371height - Node371fontSize) * 0.5*_ratio.ratioY + Node371fontSize + 2 ]);
  36676. Node371.a('node.underlinevisible',false);
  36677. Node371.a('node.underlineBorderWidth', 1);
  36678. }
  36679. dataModel.add(Node371);
  36680. zoomNodeList.push({
  36681. node: Node371,
  36682. borderWidth: 0,
  36683. attr: 'node.borderwidth'
  36684. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36685. var Node372 = new ht.Node();
  36686. var Node372textStart, Node372textWidth, Node372lineStart, Node372align = 'center', Node372fontSize = 14.66663*_ratio.ratioY,Node372width = 59*_ratio.ratioX, Node372height = 26*_ratio.ratioY;
  36687. (function () {
  36688. if (Node372align === 'left') {
  36689. Node372textStart = Node372fontSize * 0.2 > 2 ? Node372fontSize * 0.2 - 4 : Node372fontSize * 0.2 - 9;
  36690. Node372textWidth = Node372width;
  36691. Node372lineStart = 1;
  36692. } else if (Node372align === 'right') {
  36693. Node372textStart = 0;
  36694. Node372textWidth =Node372fontSize <= 8 ? Node372width + Node372fontSize * 0.2 + 6 : Node372width - Node372fontSize * 0.2;
  36695. Node372lineStart = (Node372width - (ht.Default.getTextSize('0', ' '+ Node372fontSize + 'px "Arial"').width + 6)) * 0.5;
  36696. } else if (Node372align === 'center') {
  36697. Node372textStart = -3;
  36698. Node372textWidth = Node372width;
  36699. Node372lineStart = Node372width - ht.Default.getTextSize('0', ' '+ Node372fontSize + 'px "Arial"').width - 11;
  36700. }
  36701. })();
  36702. Node372.setImage(GD.getTextJSON(Node372width, Node372height, true, false, false, ' '+ Node372fontSize + 'px "Arial"'))
  36703. Node372.setPosition(917*ratio.ratioX, 101*ratio.ratioY);
  36704. Node372.setWidth(Node372width);
  36705. Node372.setHeight(Node372height);
  36706. Node372._nodeType = 'text';
  36707. Node372._disallowEvert = true;
  36708. Node372.setRotation(0*Math.PI/180);
  36709. Node372.a('node.width', Node372width);
  36710. Node372.a('node.height', Node372height);
  36711. Node372.a('node.rect', [0, 0, Node372width, Node372height]);
  36712. Node372.a('node.bordercolor','rgba(0,0,0,1)');
  36713. Node372.a('node.borderwidth', 0);
  36714. Node372.a('node.background','' || 'rgba(0,0,0,0)');
  36715. Node372.a('node.gradient','');
  36716. Node372.a('node.gradientcolor','');
  36717. Node372.a('node.text','0');
  36718. Node372.a('node.textalign','center');
  36719. Node372.a('node.textvAlign','middle');
  36720. Node372.a('node.textrect', [Node372textStart, 0, Node372textWidth, Node372height]);
  36721. Node372.a('node.color','rgba(0,0,0,1)');
  36722. Node372.a('node.font',' '+ Node372fontSize + 'px "Arial"');
  36723. Node372.a('node.textvisible',true);
  36724. Node372.a('node.linefeed',false);
  36725. if (false) {
  36726. Node372.a('node.textfunc',function(g) {
  36727. g.beginPath();
  36728. var str=Node372.a('node.text') || '0';
  36729. var color=Node372.a('node.color') || 'rgba(0,0,0,1)';
  36730. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node372width,Node372height,14.66663*_ratio.ratioY,"center",color,' '+ Node372fontSize + 'px "Arial"', 0,g);
  36731. });
  36732. }
  36733. if (false) {
  36734. Node372.a('node.underlinepoints',[Node372lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node372fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node372fontSize + 'px "Arial"').width + 6, (Node372height - Node372fontSize) * 0.5*_ratio.ratioY + Node372fontSize + 2 ]);
  36735. Node372.a('node.underlinevisible',false);
  36736. Node372.a('node.underlineBorderWidth', 1);
  36737. }
  36738. dataModel.add(Node372);
  36739. zoomNodeList.push({
  36740. node: Node372,
  36741. borderWidth: 0,
  36742. attr: 'node.borderwidth'
  36743. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36744. var Node373 = new ht.Node();
  36745. var Node373textStart, Node373textWidth, Node373lineStart, Node373align = 'center', Node373fontSize = 14.66663*_ratio.ratioY,Node373width = 59*_ratio.ratioX, Node373height = 26*_ratio.ratioY;
  36746. (function () {
  36747. if (Node373align === 'left') {
  36748. Node373textStart = Node373fontSize * 0.2 > 2 ? Node373fontSize * 0.2 - 4 : Node373fontSize * 0.2 - 9;
  36749. Node373textWidth = Node373width;
  36750. Node373lineStart = 1;
  36751. } else if (Node373align === 'right') {
  36752. Node373textStart = 0;
  36753. Node373textWidth =Node373fontSize <= 8 ? Node373width + Node373fontSize * 0.2 + 6 : Node373width - Node373fontSize * 0.2;
  36754. Node373lineStart = (Node373width - (ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "Arial"').width + 6)) * 0.5;
  36755. } else if (Node373align === 'center') {
  36756. Node373textStart = -3;
  36757. Node373textWidth = Node373width;
  36758. Node373lineStart = Node373width - ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "Arial"').width - 11;
  36759. }
  36760. })();
  36761. Node373.setImage(GD.getTextJSON(Node373width, Node373height, true, false, false, ' '+ Node373fontSize + 'px "Arial"'))
  36762. Node373.setPosition(917*ratio.ratioX, 124*ratio.ratioY);
  36763. Node373.setWidth(Node373width);
  36764. Node373.setHeight(Node373height);
  36765. Node373._nodeType = 'text';
  36766. Node373._disallowEvert = true;
  36767. Node373.setRotation(0*Math.PI/180);
  36768. Node373.a('node.width', Node373width);
  36769. Node373.a('node.height', Node373height);
  36770. Node373.a('node.rect', [0, 0, Node373width, Node373height]);
  36771. Node373.a('node.bordercolor','rgba(0,0,0,1)');
  36772. Node373.a('node.borderwidth', 0);
  36773. Node373.a('node.background','' || 'rgba(0,0,0,0)');
  36774. Node373.a('node.gradient','');
  36775. Node373.a('node.gradientcolor','');
  36776. Node373.a('node.text','0');
  36777. Node373.a('node.textalign','center');
  36778. Node373.a('node.textvAlign','middle');
  36779. Node373.a('node.textrect', [Node373textStart, 0, Node373textWidth, Node373height]);
  36780. Node373.a('node.color','rgba(0,0,0,1)');
  36781. Node373.a('node.font',' '+ Node373fontSize + 'px "Arial"');
  36782. Node373.a('node.textvisible',true);
  36783. Node373.a('node.linefeed',false);
  36784. if (false) {
  36785. Node373.a('node.textfunc',function(g) {
  36786. g.beginPath();
  36787. var str=Node373.a('node.text') || '0';
  36788. var color=Node373.a('node.color') || 'rgba(0,0,0,1)';
  36789. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node373width,Node373height,14.66663*_ratio.ratioY,"center",color,' '+ Node373fontSize + 'px "Arial"', 0,g);
  36790. });
  36791. }
  36792. if (false) {
  36793. Node373.a('node.underlinepoints',[Node373lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node373fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "Arial"').width + 6, (Node373height - Node373fontSize) * 0.5*_ratio.ratioY + Node373fontSize + 2 ]);
  36794. Node373.a('node.underlinevisible',false);
  36795. Node373.a('node.underlineBorderWidth', 1);
  36796. }
  36797. dataModel.add(Node373);
  36798. zoomNodeList.push({
  36799. node: Node373,
  36800. borderWidth: 0,
  36801. attr: 'node.borderwidth'
  36802. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36803. var Node374 = new ht.Node();
  36804. var Node374textStart, Node374textWidth, Node374lineStart, Node374align = 'center', Node374fontSize = 14.66663*_ratio.ratioY,Node374width = 59*_ratio.ratioX, Node374height = 26*_ratio.ratioY;
  36805. (function () {
  36806. if (Node374align === 'left') {
  36807. Node374textStart = Node374fontSize * 0.2 > 2 ? Node374fontSize * 0.2 - 4 : Node374fontSize * 0.2 - 9;
  36808. Node374textWidth = Node374width;
  36809. Node374lineStart = 1;
  36810. } else if (Node374align === 'right') {
  36811. Node374textStart = 0;
  36812. Node374textWidth =Node374fontSize <= 8 ? Node374width + Node374fontSize * 0.2 + 6 : Node374width - Node374fontSize * 0.2;
  36813. Node374lineStart = (Node374width - (ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "Arial"').width + 6)) * 0.5;
  36814. } else if (Node374align === 'center') {
  36815. Node374textStart = -3;
  36816. Node374textWidth = Node374width;
  36817. Node374lineStart = Node374width - ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "Arial"').width - 11;
  36818. }
  36819. })();
  36820. Node374.setImage(GD.getTextJSON(Node374width, Node374height, true, false, false, ' '+ Node374fontSize + 'px "Arial"'))
  36821. Node374.setPosition(917*ratio.ratioX, 148*ratio.ratioY);
  36822. Node374.setWidth(Node374width);
  36823. Node374.setHeight(Node374height);
  36824. Node374._nodeType = 'text';
  36825. Node374._disallowEvert = true;
  36826. Node374.setRotation(0*Math.PI/180);
  36827. Node374.a('node.width', Node374width);
  36828. Node374.a('node.height', Node374height);
  36829. Node374.a('node.rect', [0, 0, Node374width, Node374height]);
  36830. Node374.a('node.bordercolor','rgba(0,0,0,1)');
  36831. Node374.a('node.borderwidth', 0);
  36832. Node374.a('node.background','' || 'rgba(0,0,0,0)');
  36833. Node374.a('node.gradient','');
  36834. Node374.a('node.gradientcolor','');
  36835. Node374.a('node.text','0');
  36836. Node374.a('node.textalign','center');
  36837. Node374.a('node.textvAlign','middle');
  36838. Node374.a('node.textrect', [Node374textStart, 0, Node374textWidth, Node374height]);
  36839. Node374.a('node.color','rgba(0,0,0,1)');
  36840. Node374.a('node.font',' '+ Node374fontSize + 'px "Arial"');
  36841. Node374.a('node.textvisible',true);
  36842. Node374.a('node.linefeed',false);
  36843. if (false) {
  36844. Node374.a('node.textfunc',function(g) {
  36845. g.beginPath();
  36846. var str=Node374.a('node.text') || '0';
  36847. var color=Node374.a('node.color') || 'rgba(0,0,0,1)';
  36848. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node374width,Node374height,14.66663*_ratio.ratioY,"center",color,' '+ Node374fontSize + 'px "Arial"', 0,g);
  36849. });
  36850. }
  36851. if (false) {
  36852. Node374.a('node.underlinepoints',[Node374lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node374fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "Arial"').width + 6, (Node374height - Node374fontSize) * 0.5*_ratio.ratioY + Node374fontSize + 2 ]);
  36853. Node374.a('node.underlinevisible',false);
  36854. Node374.a('node.underlineBorderWidth', 1);
  36855. }
  36856. dataModel.add(Node374);
  36857. zoomNodeList.push({
  36858. node: Node374,
  36859. borderWidth: 0,
  36860. attr: 'node.borderwidth'
  36861. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36862. var Node375type = 'rect';
  36863. var Node375 = new ht.Node(),
  36864. Node375BorderWidth = 1*2;
  36865. if (Node375type === 'arc') {
  36866. Node375BorderWidth *= 1;
  36867. }
  36868. Node375.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node375type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36869. Node375.setPosition(997*ratio.ratioX, 74*ratio.ratioY);
  36870. Node375.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  36871. Node375.s({
  36872. 'pixelPerfect':true
  36873. /*@AddPara@*/
  36874. });
  36875. Node375.a('node.width', 65*_ratio.ratioX);
  36876. Node375.a('node.height', 24.33138*_ratio.ratioY);
  36877. Node375.a('node.type', Node375type);
  36878. Node375.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  36879. Node375.a('node.background', 'rgba(255,255,255,0.003921569)');
  36880. Node375.a('node.gradientcolor', '');
  36881. Node375.a('node.gradient', '');
  36882. Node375.a('node.borderwidth', Node375BorderWidth);
  36883. Node375.a('node.color', 'rgba(224,224,224,1)');
  36884. Node375.a('node.fillrect', [0,0,0,0]);
  36885. Node375.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36886. Node375.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36887. Node375.a('node.fillgradient', '');
  36888. if (Node375type !== 'rect') {
  36889. Node375.a('node.arcFrom', parseFloat('@arcFrom@'));
  36890. Node375.a('node.arcTo', parseFloat('@arcTo@'));
  36891. Node375.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36892. }
  36893. if (Node375type === 'arc') {
  36894. Node375.a('node.arcOval', true);
  36895. }
  36896. Node375.setRotation(0*Math.PI/180);
  36897. Node375.borderWidth = Node375BorderWidth;
  36898. Node375.borderFillwidth = Node375BorderWidth;
  36899. dataModel.add(Node375);
  36900. Node375._nodename = 'Node375'
  36901. Node375._nodeType = 'rect';
  36902. zoomNodeList.push({
  36903. node: Node375,
  36904. attr: 'node.borderwidth'
  36905. });
  36906. (function (node, _img) {
  36907. var setWidth = node.setWidth,
  36908. setHeight = node.setHeight;
  36909. node.setWidth = function (width) {
  36910. if (width === this.getWidth()) return ;
  36911. var height = this.getHeight();
  36912. this.a('node.width', width);
  36913. this.a('node.rect', [0,0,width, height]);
  36914. setWidth.apply(this, arguments);
  36915. }
  36916. node.setHeight = function (height) {
  36917. if (height === this.getHeight()) return ;
  36918. var width = this.getWidth();
  36919. this.a('node.height', height);
  36920. this.a('node.rect', [0,0,width, height]);
  36921. setHeight.apply(this, arguments);
  36922. }
  36923. })(Node375, Node375.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36924. var Node376type = 'rect';
  36925. var Node376 = new ht.Node(),
  36926. Node376BorderWidth = 1*2;
  36927. if (Node376type === 'arc') {
  36928. Node376BorderWidth *= 1;
  36929. }
  36930. Node376.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node376type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36931. Node376.setPosition(997*ratio.ratioX, 98*ratio.ratioY);
  36932. Node376.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  36933. Node376.s({
  36934. 'pixelPerfect':true
  36935. /*@AddPara@*/
  36936. });
  36937. Node376.a('node.width', 65*_ratio.ratioX);
  36938. Node376.a('node.height', 24.33138*_ratio.ratioY);
  36939. Node376.a('node.type', Node376type);
  36940. Node376.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  36941. Node376.a('node.background', 'rgba(255,255,255,0.003921569)');
  36942. Node376.a('node.gradientcolor', '');
  36943. Node376.a('node.gradient', '');
  36944. Node376.a('node.borderwidth', Node376BorderWidth);
  36945. Node376.a('node.color', 'rgba(224,224,224,1)');
  36946. Node376.a('node.fillrect', [0,0,0,0]);
  36947. Node376.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  36948. Node376.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  36949. Node376.a('node.fillgradient', '');
  36950. if (Node376type !== 'rect') {
  36951. Node376.a('node.arcFrom', parseFloat('@arcFrom@'));
  36952. Node376.a('node.arcTo', parseFloat('@arcTo@'));
  36953. Node376.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  36954. }
  36955. if (Node376type === 'arc') {
  36956. Node376.a('node.arcOval', true);
  36957. }
  36958. Node376.setRotation(0*Math.PI/180);
  36959. Node376.borderWidth = Node376BorderWidth;
  36960. Node376.borderFillwidth = Node376BorderWidth;
  36961. dataModel.add(Node376);
  36962. Node376._nodename = 'Node376'
  36963. Node376._nodeType = 'rect';
  36964. zoomNodeList.push({
  36965. node: Node376,
  36966. attr: 'node.borderwidth'
  36967. });
  36968. (function (node, _img) {
  36969. var setWidth = node.setWidth,
  36970. setHeight = node.setHeight;
  36971. node.setWidth = function (width) {
  36972. if (width === this.getWidth()) return ;
  36973. var height = this.getHeight();
  36974. this.a('node.width', width);
  36975. this.a('node.rect', [0,0,width, height]);
  36976. setWidth.apply(this, arguments);
  36977. }
  36978. node.setHeight = function (height) {
  36979. if (height === this.getHeight()) return ;
  36980. var width = this.getWidth();
  36981. this.a('node.height', height);
  36982. this.a('node.rect', [0,0,width, height]);
  36983. setHeight.apply(this, arguments);
  36984. }
  36985. })(Node376, Node376.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  36986. var Node377type = 'rect';
  36987. var Node377 = new ht.Node(),
  36988. Node377BorderWidth = 1*2;
  36989. if (Node377type === 'arc') {
  36990. Node377BorderWidth *= 1;
  36991. }
  36992. Node377.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node377type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  36993. Node377.setPosition(997*ratio.ratioX, 123*ratio.ratioY);
  36994. Node377.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  36995. Node377.s({
  36996. 'pixelPerfect':true
  36997. /*@AddPara@*/
  36998. });
  36999. Node377.a('node.width', 65*_ratio.ratioX);
  37000. Node377.a('node.height', 24.33136*_ratio.ratioY);
  37001. Node377.a('node.type', Node377type);
  37002. Node377.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  37003. Node377.a('node.background', 'rgba(255,255,255,0.003921569)');
  37004. Node377.a('node.gradientcolor', '');
  37005. Node377.a('node.gradient', '');
  37006. Node377.a('node.borderwidth', Node377BorderWidth);
  37007. Node377.a('node.color', 'rgba(224,224,224,1)');
  37008. Node377.a('node.fillrect', [0,0,0,0]);
  37009. Node377.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37010. Node377.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37011. Node377.a('node.fillgradient', '');
  37012. if (Node377type !== 'rect') {
  37013. Node377.a('node.arcFrom', parseFloat('@arcFrom@'));
  37014. Node377.a('node.arcTo', parseFloat('@arcTo@'));
  37015. Node377.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37016. }
  37017. if (Node377type === 'arc') {
  37018. Node377.a('node.arcOval', true);
  37019. }
  37020. Node377.setRotation(0*Math.PI/180);
  37021. Node377.borderWidth = Node377BorderWidth;
  37022. Node377.borderFillwidth = Node377BorderWidth;
  37023. dataModel.add(Node377);
  37024. Node377._nodename = 'Node377'
  37025. Node377._nodeType = 'rect';
  37026. zoomNodeList.push({
  37027. node: Node377,
  37028. attr: 'node.borderwidth'
  37029. });
  37030. (function (node, _img) {
  37031. var setWidth = node.setWidth,
  37032. setHeight = node.setHeight;
  37033. node.setWidth = function (width) {
  37034. if (width === this.getWidth()) return ;
  37035. var height = this.getHeight();
  37036. this.a('node.width', width);
  37037. this.a('node.rect', [0,0,width, height]);
  37038. setWidth.apply(this, arguments);
  37039. }
  37040. node.setHeight = function (height) {
  37041. if (height === this.getHeight()) return ;
  37042. var width = this.getWidth();
  37043. this.a('node.height', height);
  37044. this.a('node.rect', [0,0,width, height]);
  37045. setHeight.apply(this, arguments);
  37046. }
  37047. })(Node377, Node377.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37048. var Node378type = 'rect';
  37049. var Node378 = new ht.Node(),
  37050. Node378BorderWidth = 1*2;
  37051. if (Node378type === 'arc') {
  37052. Node378BorderWidth *= 1;
  37053. }
  37054. Node378.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node378type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37055. Node378.setPosition(997*ratio.ratioX, 147*ratio.ratioY);
  37056. Node378.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  37057. Node378.s({
  37058. 'pixelPerfect':true
  37059. /*@AddPara@*/
  37060. });
  37061. Node378.a('node.width', 65*_ratio.ratioX);
  37062. Node378.a('node.height', 24.33138*_ratio.ratioY);
  37063. Node378.a('node.type', Node378type);
  37064. Node378.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  37065. Node378.a('node.background', 'rgba(255,255,255,0.003921569)');
  37066. Node378.a('node.gradientcolor', '');
  37067. Node378.a('node.gradient', '');
  37068. Node378.a('node.borderwidth', Node378BorderWidth);
  37069. Node378.a('node.color', 'rgba(224,224,224,1)');
  37070. Node378.a('node.fillrect', [0,0,0,0]);
  37071. Node378.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37072. Node378.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37073. Node378.a('node.fillgradient', '');
  37074. if (Node378type !== 'rect') {
  37075. Node378.a('node.arcFrom', parseFloat('@arcFrom@'));
  37076. Node378.a('node.arcTo', parseFloat('@arcTo@'));
  37077. Node378.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37078. }
  37079. if (Node378type === 'arc') {
  37080. Node378.a('node.arcOval', true);
  37081. }
  37082. Node378.setRotation(0*Math.PI/180);
  37083. Node378.borderWidth = Node378BorderWidth;
  37084. Node378.borderFillwidth = Node378BorderWidth;
  37085. dataModel.add(Node378);
  37086. Node378._nodename = 'Node378'
  37087. Node378._nodeType = 'rect';
  37088. zoomNodeList.push({
  37089. node: Node378,
  37090. attr: 'node.borderwidth'
  37091. });
  37092. (function (node, _img) {
  37093. var setWidth = node.setWidth,
  37094. setHeight = node.setHeight;
  37095. node.setWidth = function (width) {
  37096. if (width === this.getWidth()) return ;
  37097. var height = this.getHeight();
  37098. this.a('node.width', width);
  37099. this.a('node.rect', [0,0,width, height]);
  37100. setWidth.apply(this, arguments);
  37101. }
  37102. node.setHeight = function (height) {
  37103. if (height === this.getHeight()) return ;
  37104. var width = this.getWidth();
  37105. this.a('node.height', height);
  37106. this.a('node.rect', [0,0,width, height]);
  37107. setHeight.apply(this, arguments);
  37108. }
  37109. })(Node378, Node378.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37110. var Node379 = new ht.Node();
  37111. var Node379textStart, Node379textWidth, Node379lineStart, Node379align = 'center', Node379fontSize = 13.3333*_ratio.ratioY,Node379width = 59*_ratio.ratioX, Node379height = 26*_ratio.ratioY;
  37112. (function () {
  37113. if (Node379align === 'left') {
  37114. Node379textStart = Node379fontSize * 0.2 > 2 ? Node379fontSize * 0.2 - 4 : Node379fontSize * 0.2 - 9;
  37115. Node379textWidth = Node379width;
  37116. Node379lineStart = 1;
  37117. } else if (Node379align === 'right') {
  37118. Node379textStart = 0;
  37119. Node379textWidth =Node379fontSize <= 8 ? Node379width + Node379fontSize * 0.2 + 6 : Node379width - Node379fontSize * 0.2;
  37120. Node379lineStart = (Node379width - (ht.Default.getTextSize('万kWh', ' '+ Node379fontSize + 'px "Arial"').width + 6)) * 0.5;
  37121. } else if (Node379align === 'center') {
  37122. Node379textStart = -3;
  37123. Node379textWidth = Node379width;
  37124. Node379lineStart = Node379width - ht.Default.getTextSize('万kWh', ' '+ Node379fontSize + 'px "Arial"').width - 11;
  37125. }
  37126. })();
  37127. Node379.setImage(GD.getTextJSON(Node379width, Node379height, true, false, false, ' '+ Node379fontSize + 'px "Arial"'))
  37128. Node379.setPosition(998*ratio.ratioX, 52*ratio.ratioY);
  37129. Node379.setWidth(Node379width);
  37130. Node379.setHeight(Node379height);
  37131. Node379._nodeType = 'text';
  37132. Node379._disallowEvert = true;
  37133. Node379.setRotation(0*Math.PI/180);
  37134. Node379.a('node.width', Node379width);
  37135. Node379.a('node.height', Node379height);
  37136. Node379.a('node.rect', [0, 0, Node379width, Node379height]);
  37137. Node379.a('node.bordercolor','rgba(128,128,128,1)');
  37138. Node379.a('node.borderwidth', 0);
  37139. Node379.a('node.background','' || 'rgba(0,0,0,0)');
  37140. Node379.a('node.gradient','');
  37141. Node379.a('node.gradientcolor','');
  37142. Node379.a('node.text','万kWh');
  37143. Node379.a('node.textalign','center');
  37144. Node379.a('node.textvAlign','middle');
  37145. Node379.a('node.textrect', [Node379textStart, 0, Node379textWidth, Node379height]);
  37146. Node379.a('node.color','rgba(128,128,128,1)');
  37147. Node379.a('node.font',' '+ Node379fontSize + 'px "Arial"');
  37148. Node379.a('node.textvisible',true);
  37149. Node379.a('node.linefeed',false);
  37150. if (false) {
  37151. Node379.a('node.textfunc',function(g) {
  37152. g.beginPath();
  37153. var str=Node379.a('node.text') || '万kWh';
  37154. var color=Node379.a('node.color') || 'rgba(128,128,128,1)';
  37155. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node379width,Node379height,13.3333*_ratio.ratioY,"center",color,' '+ Node379fontSize + 'px "Arial"', 0,g);
  37156. });
  37157. }
  37158. if (false) {
  37159. Node379.a('node.underlinepoints',[Node379lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node379fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node379fontSize + 'px "Arial"').width + 6, (Node379height - Node379fontSize) * 0.5*_ratio.ratioY + Node379fontSize + 2 ]);
  37160. Node379.a('node.underlinevisible',false);
  37161. Node379.a('node.underlineBorderWidth', 1);
  37162. }
  37163. dataModel.add(Node379);
  37164. zoomNodeList.push({
  37165. node: Node379,
  37166. borderWidth: 0,
  37167. attr: 'node.borderwidth'
  37168. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37169. var Node380 = new ht.Node();
  37170. var Node380textStart, Node380textWidth, Node380lineStart, Node380align = 'center', Node380fontSize = 13.3333*_ratio.ratioY,Node380width = 59*_ratio.ratioX, Node380height = 26*_ratio.ratioY;
  37171. (function () {
  37172. if (Node380align === 'left') {
  37173. Node380textStart = Node380fontSize * 0.2 > 2 ? Node380fontSize * 0.2 - 4 : Node380fontSize * 0.2 - 9;
  37174. Node380textWidth = Node380width;
  37175. Node380lineStart = 1;
  37176. } else if (Node380align === 'right') {
  37177. Node380textStart = 0;
  37178. Node380textWidth =Node380fontSize <= 8 ? Node380width + Node380fontSize * 0.2 + 6 : Node380width - Node380fontSize * 0.2;
  37179. Node380lineStart = (Node380width - (ht.Default.getTextSize('万kWh', ' '+ Node380fontSize + 'px "Arial"').width + 6)) * 0.5;
  37180. } else if (Node380align === 'center') {
  37181. Node380textStart = -3;
  37182. Node380textWidth = Node380width;
  37183. Node380lineStart = Node380width - ht.Default.getTextSize('万kWh', ' '+ Node380fontSize + 'px "Arial"').width - 11;
  37184. }
  37185. })();
  37186. Node380.setImage(GD.getTextJSON(Node380width, Node380height, true, false, false, ' '+ Node380fontSize + 'px "Arial"'))
  37187. Node380.setPosition(998*ratio.ratioX, 76*ratio.ratioY);
  37188. Node380.setWidth(Node380width);
  37189. Node380.setHeight(Node380height);
  37190. Node380._nodeType = 'text';
  37191. Node380._disallowEvert = true;
  37192. Node380.setRotation(0*Math.PI/180);
  37193. Node380.a('node.width', Node380width);
  37194. Node380.a('node.height', Node380height);
  37195. Node380.a('node.rect', [0, 0, Node380width, Node380height]);
  37196. Node380.a('node.bordercolor','rgba(128,128,128,1)');
  37197. Node380.a('node.borderwidth', 0);
  37198. Node380.a('node.background','' || 'rgba(0,0,0,0)');
  37199. Node380.a('node.gradient','');
  37200. Node380.a('node.gradientcolor','');
  37201. Node380.a('node.text','万kWh');
  37202. Node380.a('node.textalign','center');
  37203. Node380.a('node.textvAlign','middle');
  37204. Node380.a('node.textrect', [Node380textStart, 0, Node380textWidth, Node380height]);
  37205. Node380.a('node.color','rgba(128,128,128,1)');
  37206. Node380.a('node.font',' '+ Node380fontSize + 'px "Arial"');
  37207. Node380.a('node.textvisible',true);
  37208. Node380.a('node.linefeed',false);
  37209. if (false) {
  37210. Node380.a('node.textfunc',function(g) {
  37211. g.beginPath();
  37212. var str=Node380.a('node.text') || '万kWh';
  37213. var color=Node380.a('node.color') || 'rgba(128,128,128,1)';
  37214. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node380width,Node380height,13.3333*_ratio.ratioY,"center",color,' '+ Node380fontSize + 'px "Arial"', 0,g);
  37215. });
  37216. }
  37217. if (false) {
  37218. Node380.a('node.underlinepoints',[Node380lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node380fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node380fontSize + 'px "Arial"').width + 6, (Node380height - Node380fontSize) * 0.5*_ratio.ratioY + Node380fontSize + 2 ]);
  37219. Node380.a('node.underlinevisible',false);
  37220. Node380.a('node.underlineBorderWidth', 1);
  37221. }
  37222. dataModel.add(Node380);
  37223. zoomNodeList.push({
  37224. node: Node380,
  37225. borderWidth: 0,
  37226. attr: 'node.borderwidth'
  37227. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37228. var Node381 = new ht.Node();
  37229. var Node381textStart, Node381textWidth, Node381lineStart, Node381align = 'center', Node381fontSize = 13.3333*_ratio.ratioY,Node381width = 59*_ratio.ratioX, Node381height = 26*_ratio.ratioY;
  37230. (function () {
  37231. if (Node381align === 'left') {
  37232. Node381textStart = Node381fontSize * 0.2 > 2 ? Node381fontSize * 0.2 - 4 : Node381fontSize * 0.2 - 9;
  37233. Node381textWidth = Node381width;
  37234. Node381lineStart = 1;
  37235. } else if (Node381align === 'right') {
  37236. Node381textStart = 0;
  37237. Node381textWidth =Node381fontSize <= 8 ? Node381width + Node381fontSize * 0.2 + 6 : Node381width - Node381fontSize * 0.2;
  37238. Node381lineStart = (Node381width - (ht.Default.getTextSize('万kWh', ' '+ Node381fontSize + 'px "Arial"').width + 6)) * 0.5;
  37239. } else if (Node381align === 'center') {
  37240. Node381textStart = -3;
  37241. Node381textWidth = Node381width;
  37242. Node381lineStart = Node381width - ht.Default.getTextSize('万kWh', ' '+ Node381fontSize + 'px "Arial"').width - 11;
  37243. }
  37244. })();
  37245. Node381.setImage(GD.getTextJSON(Node381width, Node381height, true, false, false, ' '+ Node381fontSize + 'px "Arial"'))
  37246. Node381.setPosition(998*ratio.ratioX, 99*ratio.ratioY);
  37247. Node381.setWidth(Node381width);
  37248. Node381.setHeight(Node381height);
  37249. Node381._nodeType = 'text';
  37250. Node381._disallowEvert = true;
  37251. Node381.setRotation(0*Math.PI/180);
  37252. Node381.a('node.width', Node381width);
  37253. Node381.a('node.height', Node381height);
  37254. Node381.a('node.rect', [0, 0, Node381width, Node381height]);
  37255. Node381.a('node.bordercolor','rgba(128,128,128,1)');
  37256. Node381.a('node.borderwidth', 0);
  37257. Node381.a('node.background','' || 'rgba(0,0,0,0)');
  37258. Node381.a('node.gradient','');
  37259. Node381.a('node.gradientcolor','');
  37260. Node381.a('node.text','万kWh');
  37261. Node381.a('node.textalign','center');
  37262. Node381.a('node.textvAlign','middle');
  37263. Node381.a('node.textrect', [Node381textStart, 0, Node381textWidth, Node381height]);
  37264. Node381.a('node.color','rgba(128,128,128,1)');
  37265. Node381.a('node.font',' '+ Node381fontSize + 'px "Arial"');
  37266. Node381.a('node.textvisible',true);
  37267. Node381.a('node.linefeed',false);
  37268. if (false) {
  37269. Node381.a('node.textfunc',function(g) {
  37270. g.beginPath();
  37271. var str=Node381.a('node.text') || '万kWh';
  37272. var color=Node381.a('node.color') || 'rgba(128,128,128,1)';
  37273. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node381width,Node381height,13.3333*_ratio.ratioY,"center",color,' '+ Node381fontSize + 'px "Arial"', 0,g);
  37274. });
  37275. }
  37276. if (false) {
  37277. Node381.a('node.underlinepoints',[Node381lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node381fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node381fontSize + 'px "Arial"').width + 6, (Node381height - Node381fontSize) * 0.5*_ratio.ratioY + Node381fontSize + 2 ]);
  37278. Node381.a('node.underlinevisible',false);
  37279. Node381.a('node.underlineBorderWidth', 1);
  37280. }
  37281. dataModel.add(Node381);
  37282. zoomNodeList.push({
  37283. node: Node381,
  37284. borderWidth: 0,
  37285. attr: 'node.borderwidth'
  37286. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37287. var Node382 = new ht.Node();
  37288. var Node382textStart, Node382textWidth, Node382lineStart, Node382align = 'center', Node382fontSize = 13.3333*_ratio.ratioY,Node382width = 59*_ratio.ratioX, Node382height = 26*_ratio.ratioY;
  37289. (function () {
  37290. if (Node382align === 'left') {
  37291. Node382textStart = Node382fontSize * 0.2 > 2 ? Node382fontSize * 0.2 - 4 : Node382fontSize * 0.2 - 9;
  37292. Node382textWidth = Node382width;
  37293. Node382lineStart = 1;
  37294. } else if (Node382align === 'right') {
  37295. Node382textStart = 0;
  37296. Node382textWidth =Node382fontSize <= 8 ? Node382width + Node382fontSize * 0.2 + 6 : Node382width - Node382fontSize * 0.2;
  37297. Node382lineStart = (Node382width - (ht.Default.getTextSize('万kWh', ' '+ Node382fontSize + 'px "Arial"').width + 6)) * 0.5;
  37298. } else if (Node382align === 'center') {
  37299. Node382textStart = -3;
  37300. Node382textWidth = Node382width;
  37301. Node382lineStart = Node382width - ht.Default.getTextSize('万kWh', ' '+ Node382fontSize + 'px "Arial"').width - 11;
  37302. }
  37303. })();
  37304. Node382.setImage(GD.getTextJSON(Node382width, Node382height, true, false, false, ' '+ Node382fontSize + 'px "Arial"'))
  37305. Node382.setPosition(998*ratio.ratioX, 125*ratio.ratioY);
  37306. Node382.setWidth(Node382width);
  37307. Node382.setHeight(Node382height);
  37308. Node382._nodeType = 'text';
  37309. Node382._disallowEvert = true;
  37310. Node382.setRotation(0*Math.PI/180);
  37311. Node382.a('node.width', Node382width);
  37312. Node382.a('node.height', Node382height);
  37313. Node382.a('node.rect', [0, 0, Node382width, Node382height]);
  37314. Node382.a('node.bordercolor','rgba(128,128,128,1)');
  37315. Node382.a('node.borderwidth', 0);
  37316. Node382.a('node.background','' || 'rgba(0,0,0,0)');
  37317. Node382.a('node.gradient','');
  37318. Node382.a('node.gradientcolor','');
  37319. Node382.a('node.text','万kWh');
  37320. Node382.a('node.textalign','center');
  37321. Node382.a('node.textvAlign','middle');
  37322. Node382.a('node.textrect', [Node382textStart, 0, Node382textWidth, Node382height]);
  37323. Node382.a('node.color','rgba(128,128,128,1)');
  37324. Node382.a('node.font',' '+ Node382fontSize + 'px "Arial"');
  37325. Node382.a('node.textvisible',true);
  37326. Node382.a('node.linefeed',false);
  37327. if (false) {
  37328. Node382.a('node.textfunc',function(g) {
  37329. g.beginPath();
  37330. var str=Node382.a('node.text') || '万kWh';
  37331. var color=Node382.a('node.color') || 'rgba(128,128,128,1)';
  37332. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node382width,Node382height,13.3333*_ratio.ratioY,"center",color,' '+ Node382fontSize + 'px "Arial"', 0,g);
  37333. });
  37334. }
  37335. if (false) {
  37336. Node382.a('node.underlinepoints',[Node382lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node382fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node382fontSize + 'px "Arial"').width + 6, (Node382height - Node382fontSize) * 0.5*_ratio.ratioY + Node382fontSize + 2 ]);
  37337. Node382.a('node.underlinevisible',false);
  37338. Node382.a('node.underlineBorderWidth', 1);
  37339. }
  37340. dataModel.add(Node382);
  37341. zoomNodeList.push({
  37342. node: Node382,
  37343. borderWidth: 0,
  37344. attr: 'node.borderwidth'
  37345. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37346. var Node383 = new ht.Node();
  37347. var Node383textStart, Node383textWidth, Node383lineStart, Node383align = 'center', Node383fontSize = 13.3333*_ratio.ratioY,Node383width = 59*_ratio.ratioX, Node383height = 26*_ratio.ratioY;
  37348. (function () {
  37349. if (Node383align === 'left') {
  37350. Node383textStart = Node383fontSize * 0.2 > 2 ? Node383fontSize * 0.2 - 4 : Node383fontSize * 0.2 - 9;
  37351. Node383textWidth = Node383width;
  37352. Node383lineStart = 1;
  37353. } else if (Node383align === 'right') {
  37354. Node383textStart = 0;
  37355. Node383textWidth =Node383fontSize <= 8 ? Node383width + Node383fontSize * 0.2 + 6 : Node383width - Node383fontSize * 0.2;
  37356. Node383lineStart = (Node383width - (ht.Default.getTextSize('万kWh', ' '+ Node383fontSize + 'px "Arial"').width + 6)) * 0.5;
  37357. } else if (Node383align === 'center') {
  37358. Node383textStart = -3;
  37359. Node383textWidth = Node383width;
  37360. Node383lineStart = Node383width - ht.Default.getTextSize('万kWh', ' '+ Node383fontSize + 'px "Arial"').width - 11;
  37361. }
  37362. })();
  37363. Node383.setImage(GD.getTextJSON(Node383width, Node383height, true, false, false, ' '+ Node383fontSize + 'px "Arial"'))
  37364. Node383.setPosition(998*ratio.ratioX, 149*ratio.ratioY);
  37365. Node383.setWidth(Node383width);
  37366. Node383.setHeight(Node383height);
  37367. Node383._nodeType = 'text';
  37368. Node383._disallowEvert = true;
  37369. Node383.setRotation(0*Math.PI/180);
  37370. Node383.a('node.width', Node383width);
  37371. Node383.a('node.height', Node383height);
  37372. Node383.a('node.rect', [0, 0, Node383width, Node383height]);
  37373. Node383.a('node.bordercolor','rgba(128,128,128,1)');
  37374. Node383.a('node.borderwidth', 0);
  37375. Node383.a('node.background','' || 'rgba(0,0,0,0)');
  37376. Node383.a('node.gradient','');
  37377. Node383.a('node.gradientcolor','');
  37378. Node383.a('node.text','万kWh');
  37379. Node383.a('node.textalign','center');
  37380. Node383.a('node.textvAlign','middle');
  37381. Node383.a('node.textrect', [Node383textStart, 0, Node383textWidth, Node383height]);
  37382. Node383.a('node.color','rgba(128,128,128,1)');
  37383. Node383.a('node.font',' '+ Node383fontSize + 'px "Arial"');
  37384. Node383.a('node.textvisible',true);
  37385. Node383.a('node.linefeed',false);
  37386. if (false) {
  37387. Node383.a('node.textfunc',function(g) {
  37388. g.beginPath();
  37389. var str=Node383.a('node.text') || '万kWh';
  37390. var color=Node383.a('node.color') || 'rgba(128,128,128,1)';
  37391. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node383width,Node383height,13.3333*_ratio.ratioY,"center",color,' '+ Node383fontSize + 'px "Arial"', 0,g);
  37392. });
  37393. }
  37394. if (false) {
  37395. Node383.a('node.underlinepoints',[Node383lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node383fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node383fontSize + 'px "Arial"').width + 6, (Node383height - Node383fontSize) * 0.5*_ratio.ratioY + Node383fontSize + 2 ]);
  37396. Node383.a('node.underlinevisible',false);
  37397. Node383.a('node.underlineBorderWidth', 1);
  37398. }
  37399. dataModel.add(Node383);
  37400. zoomNodeList.push({
  37401. node: Node383,
  37402. borderWidth: 0,
  37403. attr: 'node.borderwidth'
  37404. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37405. var Node384type = 'rect';
  37406. var Node384 = new ht.Node(),
  37407. Node384BorderWidth = 1*2;
  37408. if (Node384type === 'arc') {
  37409. Node384BorderWidth *= 1;
  37410. }
  37411. Node384.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node384type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37412. Node384.setPosition(1091*ratio.ratioX, 98*ratio.ratioY);
  37413. Node384.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
  37414. Node384.s({
  37415. 'pixelPerfect':true
  37416. /*@AddPara@*/
  37417. });
  37418. Node384.a('node.width', 117*_ratio.ratioX);
  37419. Node384.a('node.height', 24.33138*_ratio.ratioY);
  37420. Node384.a('node.type', Node384type);
  37421. Node384.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  37422. Node384.a('node.background', 'rgba(240,240,240,1)');
  37423. Node384.a('node.gradientcolor', 'rgba(240,240,240,1)');
  37424. Node384.a('node.gradient', '');
  37425. Node384.a('node.borderwidth', Node384BorderWidth);
  37426. Node384.a('node.color', 'rgba(224,224,224,1)');
  37427. Node384.a('node.fillrect', [0,0,0,0]);
  37428. Node384.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37429. Node384.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37430. Node384.a('node.fillgradient', '');
  37431. if (Node384type !== 'rect') {
  37432. Node384.a('node.arcFrom', parseFloat('@arcFrom@'));
  37433. Node384.a('node.arcTo', parseFloat('@arcTo@'));
  37434. Node384.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37435. }
  37436. if (Node384type === 'arc') {
  37437. Node384.a('node.arcOval', true);
  37438. }
  37439. Node384.setRotation(0*Math.PI/180);
  37440. Node384.borderWidth = Node384BorderWidth;
  37441. Node384.borderFillwidth = Node384BorderWidth;
  37442. dataModel.add(Node384);
  37443. Node384._nodename = 'Node384'
  37444. Node384._nodeType = 'rect';
  37445. zoomNodeList.push({
  37446. node: Node384,
  37447. attr: 'node.borderwidth'
  37448. });
  37449. (function (node, _img) {
  37450. var setWidth = node.setWidth,
  37451. setHeight = node.setHeight;
  37452. node.setWidth = function (width) {
  37453. if (width === this.getWidth()) return ;
  37454. var height = this.getHeight();
  37455. this.a('node.width', width);
  37456. this.a('node.rect', [0,0,width, height]);
  37457. setWidth.apply(this, arguments);
  37458. }
  37459. node.setHeight = function (height) {
  37460. if (height === this.getHeight()) return ;
  37461. var width = this.getWidth();
  37462. this.a('node.height', height);
  37463. this.a('node.rect', [0,0,width, height]);
  37464. setHeight.apply(this, arguments);
  37465. }
  37466. })(Node384, Node384.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37467. var Node385type = 'rect';
  37468. var Node385 = new ht.Node(),
  37469. Node385BorderWidth = 1*2;
  37470. if (Node385type === 'arc') {
  37471. Node385BorderWidth *= 1;
  37472. }
  37473. Node385.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node385type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37474. Node385.setPosition(1091*ratio.ratioX, 74*ratio.ratioY);
  37475. Node385.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
  37476. Node385.s({
  37477. 'pixelPerfect':true
  37478. /*@AddPara@*/
  37479. });
  37480. Node385.a('node.width', 117*_ratio.ratioX);
  37481. Node385.a('node.height', 24.33138*_ratio.ratioY);
  37482. Node385.a('node.type', Node385type);
  37483. Node385.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  37484. Node385.a('node.background', 'rgba(240,240,240,1)');
  37485. Node385.a('node.gradientcolor', 'rgba(240,240,240,1)');
  37486. Node385.a('node.gradient', '');
  37487. Node385.a('node.borderwidth', Node385BorderWidth);
  37488. Node385.a('node.color', 'rgba(224,224,224,1)');
  37489. Node385.a('node.fillrect', [0,0,0,0]);
  37490. Node385.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37491. Node385.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37492. Node385.a('node.fillgradient', '');
  37493. if (Node385type !== 'rect') {
  37494. Node385.a('node.arcFrom', parseFloat('@arcFrom@'));
  37495. Node385.a('node.arcTo', parseFloat('@arcTo@'));
  37496. Node385.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37497. }
  37498. if (Node385type === 'arc') {
  37499. Node385.a('node.arcOval', true);
  37500. }
  37501. Node385.setRotation(0*Math.PI/180);
  37502. Node385.borderWidth = Node385BorderWidth;
  37503. Node385.borderFillwidth = Node385BorderWidth;
  37504. dataModel.add(Node385);
  37505. Node385._nodename = 'Node385'
  37506. Node385._nodeType = 'rect';
  37507. zoomNodeList.push({
  37508. node: Node385,
  37509. attr: 'node.borderwidth'
  37510. });
  37511. (function (node, _img) {
  37512. var setWidth = node.setWidth,
  37513. setHeight = node.setHeight;
  37514. node.setWidth = function (width) {
  37515. if (width === this.getWidth()) return ;
  37516. var height = this.getHeight();
  37517. this.a('node.width', width);
  37518. this.a('node.rect', [0,0,width, height]);
  37519. setWidth.apply(this, arguments);
  37520. }
  37521. node.setHeight = function (height) {
  37522. if (height === this.getHeight()) return ;
  37523. var width = this.getWidth();
  37524. this.a('node.height', height);
  37525. this.a('node.rect', [0,0,width, height]);
  37526. setHeight.apply(this, arguments);
  37527. }
  37528. })(Node385, Node385.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37529. var Node386type = 'rect';
  37530. var Node386 = new ht.Node(),
  37531. Node386BorderWidth = 1*2;
  37532. if (Node386type === 'arc') {
  37533. Node386BorderWidth *= 1;
  37534. }
  37535. Node386.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node386type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37536. Node386.setPosition(1091*ratio.ratioX, 123*ratio.ratioY);
  37537. Node386.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
  37538. Node386.s({
  37539. 'pixelPerfect':true
  37540. /*@AddPara@*/
  37541. });
  37542. Node386.a('node.width', 117*_ratio.ratioX);
  37543. Node386.a('node.height', 24.33136*_ratio.ratioY);
  37544. Node386.a('node.type', Node386type);
  37545. Node386.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  37546. Node386.a('node.background', 'rgba(240,240,240,1)');
  37547. Node386.a('node.gradientcolor', 'rgba(240,240,240,1)');
  37548. Node386.a('node.gradient', '');
  37549. Node386.a('node.borderwidth', Node386BorderWidth);
  37550. Node386.a('node.color', 'rgba(224,224,224,1)');
  37551. Node386.a('node.fillrect', [0,0,0,0]);
  37552. Node386.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37553. Node386.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37554. Node386.a('node.fillgradient', '');
  37555. if (Node386type !== 'rect') {
  37556. Node386.a('node.arcFrom', parseFloat('@arcFrom@'));
  37557. Node386.a('node.arcTo', parseFloat('@arcTo@'));
  37558. Node386.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37559. }
  37560. if (Node386type === 'arc') {
  37561. Node386.a('node.arcOval', true);
  37562. }
  37563. Node386.setRotation(0*Math.PI/180);
  37564. Node386.borderWidth = Node386BorderWidth;
  37565. Node386.borderFillwidth = Node386BorderWidth;
  37566. dataModel.add(Node386);
  37567. Node386._nodename = 'Node386'
  37568. Node386._nodeType = 'rect';
  37569. zoomNodeList.push({
  37570. node: Node386,
  37571. attr: 'node.borderwidth'
  37572. });
  37573. (function (node, _img) {
  37574. var setWidth = node.setWidth,
  37575. setHeight = node.setHeight;
  37576. node.setWidth = function (width) {
  37577. if (width === this.getWidth()) return ;
  37578. var height = this.getHeight();
  37579. this.a('node.width', width);
  37580. this.a('node.rect', [0,0,width, height]);
  37581. setWidth.apply(this, arguments);
  37582. }
  37583. node.setHeight = function (height) {
  37584. if (height === this.getHeight()) return ;
  37585. var width = this.getWidth();
  37586. this.a('node.height', height);
  37587. this.a('node.rect', [0,0,width, height]);
  37588. setHeight.apply(this, arguments);
  37589. }
  37590. })(Node386, Node386.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37591. var Node387type = 'rect';
  37592. var Node387 = new ht.Node(),
  37593. Node387BorderWidth = 1*2;
  37594. if (Node387type === 'arc') {
  37595. Node387BorderWidth *= 1;
  37596. }
  37597. Node387.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node387type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37598. Node387.setPosition(1091*ratio.ratioX, 50*ratio.ratioY);
  37599. Node387.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
  37600. Node387.s({
  37601. 'pixelPerfect':true
  37602. /*@AddPara@*/
  37603. });
  37604. Node387.a('node.width', 117*_ratio.ratioX);
  37605. Node387.a('node.height', 24.33136*_ratio.ratioY);
  37606. Node387.a('node.type', Node387type);
  37607. Node387.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  37608. Node387.a('node.background', 'rgba(240,240,240,1)');
  37609. Node387.a('node.gradientcolor', 'rgba(240,240,240,1)');
  37610. Node387.a('node.gradient', '');
  37611. Node387.a('node.borderwidth', Node387BorderWidth);
  37612. Node387.a('node.color', 'rgba(224,224,224,1)');
  37613. Node387.a('node.fillrect', [0,0,0,0]);
  37614. Node387.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37615. Node387.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37616. Node387.a('node.fillgradient', '');
  37617. if (Node387type !== 'rect') {
  37618. Node387.a('node.arcFrom', parseFloat('@arcFrom@'));
  37619. Node387.a('node.arcTo', parseFloat('@arcTo@'));
  37620. Node387.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37621. }
  37622. if (Node387type === 'arc') {
  37623. Node387.a('node.arcOval', true);
  37624. }
  37625. Node387.setRotation(0*Math.PI/180);
  37626. Node387.borderWidth = Node387BorderWidth;
  37627. Node387.borderFillwidth = Node387BorderWidth;
  37628. dataModel.add(Node387);
  37629. Node387._nodename = 'Node387'
  37630. Node387._nodeType = 'rect';
  37631. zoomNodeList.push({
  37632. node: Node387,
  37633. attr: 'node.borderwidth'
  37634. });
  37635. (function (node, _img) {
  37636. var setWidth = node.setWidth,
  37637. setHeight = node.setHeight;
  37638. node.setWidth = function (width) {
  37639. if (width === this.getWidth()) return ;
  37640. var height = this.getHeight();
  37641. this.a('node.width', width);
  37642. this.a('node.rect', [0,0,width, height]);
  37643. setWidth.apply(this, arguments);
  37644. }
  37645. node.setHeight = function (height) {
  37646. if (height === this.getHeight()) return ;
  37647. var width = this.getWidth();
  37648. this.a('node.height', height);
  37649. this.a('node.rect', [0,0,width, height]);
  37650. setHeight.apply(this, arguments);
  37651. }
  37652. })(Node387, Node387.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37653. var Node388type = 'rect';
  37654. var Node388 = new ht.Node(),
  37655. Node388BorderWidth = 1*2;
  37656. if (Node388type === 'arc') {
  37657. Node388BorderWidth *= 1;
  37658. }
  37659. Node388.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node388type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37660. Node388.setPosition(1091*ratio.ratioX, 147*ratio.ratioY);
  37661. Node388.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
  37662. Node388.s({
  37663. 'pixelPerfect':true
  37664. /*@AddPara@*/
  37665. });
  37666. Node388.a('node.width', 117*_ratio.ratioX);
  37667. Node388.a('node.height', 24.33138*_ratio.ratioY);
  37668. Node388.a('node.type', Node388type);
  37669. Node388.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  37670. Node388.a('node.background', 'rgba(240,240,240,1)');
  37671. Node388.a('node.gradientcolor', 'rgba(240,240,240,1)');
  37672. Node388.a('node.gradient', '');
  37673. Node388.a('node.borderwidth', Node388BorderWidth);
  37674. Node388.a('node.color', 'rgba(224,224,224,1)');
  37675. Node388.a('node.fillrect', [0,0,0,0]);
  37676. Node388.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37677. Node388.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37678. Node388.a('node.fillgradient', '');
  37679. if (Node388type !== 'rect') {
  37680. Node388.a('node.arcFrom', parseFloat('@arcFrom@'));
  37681. Node388.a('node.arcTo', parseFloat('@arcTo@'));
  37682. Node388.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37683. }
  37684. if (Node388type === 'arc') {
  37685. Node388.a('node.arcOval', true);
  37686. }
  37687. Node388.setRotation(0*Math.PI/180);
  37688. Node388.borderWidth = Node388BorderWidth;
  37689. Node388.borderFillwidth = Node388BorderWidth;
  37690. dataModel.add(Node388);
  37691. Node388._nodename = 'Node388'
  37692. Node388._nodeType = 'rect';
  37693. zoomNodeList.push({
  37694. node: Node388,
  37695. attr: 'node.borderwidth'
  37696. });
  37697. (function (node, _img) {
  37698. var setWidth = node.setWidth,
  37699. setHeight = node.setHeight;
  37700. node.setWidth = function (width) {
  37701. if (width === this.getWidth()) return ;
  37702. var height = this.getHeight();
  37703. this.a('node.width', width);
  37704. this.a('node.rect', [0,0,width, height]);
  37705. setWidth.apply(this, arguments);
  37706. }
  37707. node.setHeight = function (height) {
  37708. if (height === this.getHeight()) return ;
  37709. var width = this.getWidth();
  37710. this.a('node.height', height);
  37711. this.a('node.rect', [0,0,width, height]);
  37712. setHeight.apply(this, arguments);
  37713. }
  37714. })(Node388, Node388.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37715. var Node389 = new ht.Node();
  37716. var Node389textStart, Node389textWidth, Node389lineStart, Node389align = 'center', Node389fontSize = 13.3333*_ratio.ratioY,Node389width = 110*_ratio.ratioX, Node389height = 26*_ratio.ratioY;
  37717. (function () {
  37718. if (Node389align === 'left') {
  37719. Node389textStart = Node389fontSize * 0.2 > 2 ? Node389fontSize * 0.2 - 4 : Node389fontSize * 0.2 - 9;
  37720. Node389textWidth = Node389width;
  37721. Node389lineStart = 1;
  37722. } else if (Node389align === 'right') {
  37723. Node389textStart = 0;
  37724. Node389textWidth =Node389fontSize <= 8 ? Node389width + Node389fontSize * 0.2 + 6 : Node389width - Node389fontSize * 0.2;
  37725. Node389lineStart = (Node389width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node389fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  37726. } else if (Node389align === 'center') {
  37727. Node389textStart = -3;
  37728. Node389textWidth = Node389width;
  37729. Node389lineStart = Node389width - ht.Default.getTextSize('年维护损失电量', ' '+ Node389fontSize + 'px "微软雅黑"').width - 11;
  37730. }
  37731. })();
  37732. Node389.setImage(GD.getTextJSON(Node389width, Node389height, true, false, false, ' '+ Node389fontSize + 'px "微软雅黑"'))
  37733. Node389.setPosition(1091*ratio.ratioX, 52*ratio.ratioY);
  37734. Node389.setWidth(Node389width);
  37735. Node389.setHeight(Node389height);
  37736. Node389._nodeType = 'text';
  37737. Node389._disallowEvert = true;
  37738. Node389.setRotation(0*Math.PI/180);
  37739. Node389.a('node.width', Node389width);
  37740. Node389.a('node.height', Node389height);
  37741. Node389.a('node.rect', [0, 0, Node389width, Node389height]);
  37742. Node389.a('node.bordercolor','rgba(0,0,0,1)');
  37743. Node389.a('node.borderwidth', 0);
  37744. Node389.a('node.background','' || 'rgba(0,0,0,0)');
  37745. Node389.a('node.gradient','');
  37746. Node389.a('node.gradientcolor','');
  37747. Node389.a('node.text','年维护损失电量');
  37748. Node389.a('node.textalign','center');
  37749. Node389.a('node.textvAlign','middle');
  37750. Node389.a('node.textrect', [Node389textStart, 0, Node389textWidth, Node389height]);
  37751. Node389.a('node.color','rgba(0,0,0,1)');
  37752. Node389.a('node.font',' '+ Node389fontSize + 'px "微软雅黑"');
  37753. Node389.a('node.textvisible',true);
  37754. Node389.a('node.linefeed',false);
  37755. if (false) {
  37756. Node389.a('node.textfunc',function(g) {
  37757. g.beginPath();
  37758. var str=Node389.a('node.text') || '年维护损失电量';
  37759. var color=Node389.a('node.color') || 'rgba(0,0,0,1)';
  37760. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node389width,Node389height,13.3333*_ratio.ratioY,"center",color,' '+ Node389fontSize + 'px "微软雅黑"', 0,g);
  37761. });
  37762. }
  37763. if (false) {
  37764. Node389.a('node.underlinepoints',[Node389lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node389fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node389fontSize + 'px "微软雅黑"').width + 6, (Node389height - Node389fontSize) * 0.5*_ratio.ratioY + Node389fontSize + 2 ]);
  37765. Node389.a('node.underlinevisible',false);
  37766. Node389.a('node.underlineBorderWidth', 1);
  37767. }
  37768. dataModel.add(Node389);
  37769. zoomNodeList.push({
  37770. node: Node389,
  37771. borderWidth: 0,
  37772. attr: 'node.borderwidth'
  37773. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37774. var Node390 = new ht.Node();
  37775. var Node390textStart, Node390textWidth, Node390lineStart, Node390align = 'center', Node390fontSize = 13.3333*_ratio.ratioY,Node390width = 110*_ratio.ratioX, Node390height = 26*_ratio.ratioY;
  37776. (function () {
  37777. if (Node390align === 'left') {
  37778. Node390textStart = Node390fontSize * 0.2 > 2 ? Node390fontSize * 0.2 - 4 : Node390fontSize * 0.2 - 9;
  37779. Node390textWidth = Node390width;
  37780. Node390lineStart = 1;
  37781. } else if (Node390align === 'right') {
  37782. Node390textStart = 0;
  37783. Node390textWidth =Node390fontSize <= 8 ? Node390width + Node390fontSize * 0.2 + 6 : Node390width - Node390fontSize * 0.2;
  37784. Node390lineStart = (Node390width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node390fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  37785. } else if (Node390align === 'center') {
  37786. Node390textStart = -3;
  37787. Node390textWidth = Node390width;
  37788. Node390lineStart = Node390width - ht.Default.getTextSize('年故障损失电量', ' '+ Node390fontSize + 'px "微软雅黑"').width - 11;
  37789. }
  37790. })();
  37791. Node390.setImage(GD.getTextJSON(Node390width, Node390height, true, false, false, ' '+ Node390fontSize + 'px "微软雅黑"'))
  37792. Node390.setPosition(1091*ratio.ratioX, 75*ratio.ratioY);
  37793. Node390.setWidth(Node390width);
  37794. Node390.setHeight(Node390height);
  37795. Node390._nodeType = 'text';
  37796. Node390._disallowEvert = true;
  37797. Node390.setRotation(0*Math.PI/180);
  37798. Node390.a('node.width', Node390width);
  37799. Node390.a('node.height', Node390height);
  37800. Node390.a('node.rect', [0, 0, Node390width, Node390height]);
  37801. Node390.a('node.bordercolor','rgba(0,0,0,1)');
  37802. Node390.a('node.borderwidth', 0);
  37803. Node390.a('node.background','' || 'rgba(0,0,0,0)');
  37804. Node390.a('node.gradient','');
  37805. Node390.a('node.gradientcolor','');
  37806. Node390.a('node.text','年故障损失电量');
  37807. Node390.a('node.textalign','center');
  37808. Node390.a('node.textvAlign','middle');
  37809. Node390.a('node.textrect', [Node390textStart, 0, Node390textWidth, Node390height]);
  37810. Node390.a('node.color','rgba(0,0,0,1)');
  37811. Node390.a('node.font',' '+ Node390fontSize + 'px "微软雅黑"');
  37812. Node390.a('node.textvisible',true);
  37813. Node390.a('node.linefeed',false);
  37814. if (false) {
  37815. Node390.a('node.textfunc',function(g) {
  37816. g.beginPath();
  37817. var str=Node390.a('node.text') || '年故障损失电量';
  37818. var color=Node390.a('node.color') || 'rgba(0,0,0,1)';
  37819. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node390width,Node390height,13.3333*_ratio.ratioY,"center",color,' '+ Node390fontSize + 'px "微软雅黑"', 0,g);
  37820. });
  37821. }
  37822. if (false) {
  37823. Node390.a('node.underlinepoints',[Node390lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node390fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node390fontSize + 'px "微软雅黑"').width + 6, (Node390height - Node390fontSize) * 0.5*_ratio.ratioY + Node390fontSize + 2 ]);
  37824. Node390.a('node.underlinevisible',false);
  37825. Node390.a('node.underlineBorderWidth', 1);
  37826. }
  37827. dataModel.add(Node390);
  37828. zoomNodeList.push({
  37829. node: Node390,
  37830. borderWidth: 0,
  37831. attr: 'node.borderwidth'
  37832. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37833. var Node391 = new ht.Node();
  37834. var Node391textStart, Node391textWidth, Node391lineStart, Node391align = 'center', Node391fontSize = 13.3333*_ratio.ratioY,Node391width = 110*_ratio.ratioX, Node391height = 26*_ratio.ratioY;
  37835. (function () {
  37836. if (Node391align === 'left') {
  37837. Node391textStart = Node391fontSize * 0.2 > 2 ? Node391fontSize * 0.2 - 4 : Node391fontSize * 0.2 - 9;
  37838. Node391textWidth = Node391width;
  37839. Node391lineStart = 1;
  37840. } else if (Node391align === 'right') {
  37841. Node391textStart = 0;
  37842. Node391textWidth =Node391fontSize <= 8 ? Node391width + Node391fontSize * 0.2 + 6 : Node391width - Node391fontSize * 0.2;
  37843. Node391lineStart = (Node391width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node391fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  37844. } else if (Node391align === 'center') {
  37845. Node391textStart = -3;
  37846. Node391textWidth = Node391width;
  37847. Node391lineStart = Node391width - ht.Default.getTextSize('年限电损失电量', ' '+ Node391fontSize + 'px "微软雅黑"').width - 11;
  37848. }
  37849. })();
  37850. Node391.setImage(GD.getTextJSON(Node391width, Node391height, true, false, false, ' '+ Node391fontSize + 'px "微软雅黑"'))
  37851. Node391.setPosition(1091*ratio.ratioX, 100*ratio.ratioY);
  37852. Node391.setWidth(Node391width);
  37853. Node391.setHeight(Node391height);
  37854. Node391._nodeType = 'text';
  37855. Node391._disallowEvert = true;
  37856. Node391.setRotation(0*Math.PI/180);
  37857. Node391.a('node.width', Node391width);
  37858. Node391.a('node.height', Node391height);
  37859. Node391.a('node.rect', [0, 0, Node391width, Node391height]);
  37860. Node391.a('node.bordercolor','rgba(0,0,0,1)');
  37861. Node391.a('node.borderwidth', 0);
  37862. Node391.a('node.background','' || 'rgba(0,0,0,0)');
  37863. Node391.a('node.gradient','');
  37864. Node391.a('node.gradientcolor','');
  37865. Node391.a('node.text','年限电损失电量');
  37866. Node391.a('node.textalign','center');
  37867. Node391.a('node.textvAlign','middle');
  37868. Node391.a('node.textrect', [Node391textStart, 0, Node391textWidth, Node391height]);
  37869. Node391.a('node.color','rgba(0,0,0,1)');
  37870. Node391.a('node.font',' '+ Node391fontSize + 'px "微软雅黑"');
  37871. Node391.a('node.textvisible',true);
  37872. Node391.a('node.linefeed',false);
  37873. if (false) {
  37874. Node391.a('node.textfunc',function(g) {
  37875. g.beginPath();
  37876. var str=Node391.a('node.text') || '年限电损失电量';
  37877. var color=Node391.a('node.color') || 'rgba(0,0,0,1)';
  37878. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node391width,Node391height,13.3333*_ratio.ratioY,"center",color,' '+ Node391fontSize + 'px "微软雅黑"', 0,g);
  37879. });
  37880. }
  37881. if (false) {
  37882. Node391.a('node.underlinepoints',[Node391lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node391fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node391fontSize + 'px "微软雅黑"').width + 6, (Node391height - Node391fontSize) * 0.5*_ratio.ratioY + Node391fontSize + 2 ]);
  37883. Node391.a('node.underlinevisible',false);
  37884. Node391.a('node.underlineBorderWidth', 1);
  37885. }
  37886. dataModel.add(Node391);
  37887. zoomNodeList.push({
  37888. node: Node391,
  37889. borderWidth: 0,
  37890. attr: 'node.borderwidth'
  37891. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37892. var Node392 = new ht.Node();
  37893. var Node392textStart, Node392textWidth, Node392lineStart, Node392align = 'center', Node392fontSize = 13.3333*_ratio.ratioY,Node392width = 110*_ratio.ratioX, Node392height = 26*_ratio.ratioY;
  37894. (function () {
  37895. if (Node392align === 'left') {
  37896. Node392textStart = Node392fontSize * 0.2 > 2 ? Node392fontSize * 0.2 - 4 : Node392fontSize * 0.2 - 9;
  37897. Node392textWidth = Node392width;
  37898. Node392lineStart = 1;
  37899. } else if (Node392align === 'right') {
  37900. Node392textStart = 0;
  37901. Node392textWidth =Node392fontSize <= 8 ? Node392width + Node392fontSize * 0.2 + 6 : Node392width - Node392fontSize * 0.2;
  37902. Node392lineStart = (Node392width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node392fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  37903. } else if (Node392align === 'center') {
  37904. Node392textStart = -3;
  37905. Node392textWidth = Node392width;
  37906. Node392lineStart = Node392width - ht.Default.getTextSize('年受累损失电量', ' '+ Node392fontSize + 'px "微软雅黑"').width - 11;
  37907. }
  37908. })();
  37909. Node392.setImage(GD.getTextJSON(Node392width, Node392height, true, false, false, ' '+ Node392fontSize + 'px "微软雅黑"'))
  37910. Node392.setPosition(1091*ratio.ratioX, 125*ratio.ratioY);
  37911. Node392.setWidth(Node392width);
  37912. Node392.setHeight(Node392height);
  37913. Node392._nodeType = 'text';
  37914. Node392._disallowEvert = true;
  37915. Node392.setRotation(0*Math.PI/180);
  37916. Node392.a('node.width', Node392width);
  37917. Node392.a('node.height', Node392height);
  37918. Node392.a('node.rect', [0, 0, Node392width, Node392height]);
  37919. Node392.a('node.bordercolor','rgba(0,0,0,1)');
  37920. Node392.a('node.borderwidth', 0);
  37921. Node392.a('node.background','' || 'rgba(0,0,0,0)');
  37922. Node392.a('node.gradient','');
  37923. Node392.a('node.gradientcolor','');
  37924. Node392.a('node.text','年受累损失电量');
  37925. Node392.a('node.textalign','center');
  37926. Node392.a('node.textvAlign','middle');
  37927. Node392.a('node.textrect', [Node392textStart, 0, Node392textWidth, Node392height]);
  37928. Node392.a('node.color','rgba(0,0,0,1)');
  37929. Node392.a('node.font',' '+ Node392fontSize + 'px "微软雅黑"');
  37930. Node392.a('node.textvisible',true);
  37931. Node392.a('node.linefeed',false);
  37932. if (false) {
  37933. Node392.a('node.textfunc',function(g) {
  37934. g.beginPath();
  37935. var str=Node392.a('node.text') || '年受累损失电量';
  37936. var color=Node392.a('node.color') || 'rgba(0,0,0,1)';
  37937. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node392width,Node392height,13.3333*_ratio.ratioY,"center",color,' '+ Node392fontSize + 'px "微软雅黑"', 0,g);
  37938. });
  37939. }
  37940. if (false) {
  37941. Node392.a('node.underlinepoints',[Node392lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node392fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node392fontSize + 'px "微软雅黑"').width + 6, (Node392height - Node392fontSize) * 0.5*_ratio.ratioY + Node392fontSize + 2 ]);
  37942. Node392.a('node.underlinevisible',false);
  37943. Node392.a('node.underlineBorderWidth', 1);
  37944. }
  37945. dataModel.add(Node392);
  37946. zoomNodeList.push({
  37947. node: Node392,
  37948. borderWidth: 0,
  37949. attr: 'node.borderwidth'
  37950. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  37951. var Node393type = 'rect';
  37952. var Node393 = new ht.Node(),
  37953. Node393BorderWidth = 1*2;
  37954. if (Node393type === 'arc') {
  37955. Node393BorderWidth *= 1;
  37956. }
  37957. Node393.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node393type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  37958. Node393.setPosition(1197*ratio.ratioX, 50*ratio.ratioY);
  37959. Node393.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
  37960. Node393.s({
  37961. 'pixelPerfect':true
  37962. /*@AddPara@*/
  37963. });
  37964. Node393.a('node.width', 95*_ratio.ratioX);
  37965. Node393.a('node.height', 24.33136*_ratio.ratioY);
  37966. Node393.a('node.type', Node393type);
  37967. Node393.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  37968. Node393.a('node.background', 'rgba(255,255,255,0.003921569)');
  37969. Node393.a('node.gradientcolor', '');
  37970. Node393.a('node.gradient', '');
  37971. Node393.a('node.borderwidth', Node393BorderWidth);
  37972. Node393.a('node.color', 'rgba(224,224,224,1)');
  37973. Node393.a('node.fillrect', [0,0,0,0]);
  37974. Node393.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  37975. Node393.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  37976. Node393.a('node.fillgradient', '');
  37977. if (Node393type !== 'rect') {
  37978. Node393.a('node.arcFrom', parseFloat('@arcFrom@'));
  37979. Node393.a('node.arcTo', parseFloat('@arcTo@'));
  37980. Node393.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  37981. }
  37982. if (Node393type === 'arc') {
  37983. Node393.a('node.arcOval', true);
  37984. }
  37985. Node393.setRotation(0*Math.PI/180);
  37986. Node393.borderWidth = Node393BorderWidth;
  37987. Node393.borderFillwidth = Node393BorderWidth;
  37988. dataModel.add(Node393);
  37989. Node393._nodename = 'Node393'
  37990. Node393._nodeType = 'rect';
  37991. zoomNodeList.push({
  37992. node: Node393,
  37993. attr: 'node.borderwidth'
  37994. });
  37995. (function (node, _img) {
  37996. var setWidth = node.setWidth,
  37997. setHeight = node.setHeight;
  37998. node.setWidth = function (width) {
  37999. if (width === this.getWidth()) return ;
  38000. var height = this.getHeight();
  38001. this.a('node.width', width);
  38002. this.a('node.rect', [0,0,width, height]);
  38003. setWidth.apply(this, arguments);
  38004. }
  38005. node.setHeight = function (height) {
  38006. if (height === this.getHeight()) return ;
  38007. var width = this.getWidth();
  38008. this.a('node.height', height);
  38009. this.a('node.rect', [0,0,width, height]);
  38010. setHeight.apply(this, arguments);
  38011. }
  38012. })(Node393, Node393.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38013. var Node394type = 'rect';
  38014. var Node394 = new ht.Node(),
  38015. Node394BorderWidth = 1*2;
  38016. if (Node394type === 'arc') {
  38017. Node394BorderWidth *= 1;
  38018. }
  38019. Node394.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node394type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38020. Node394.setPosition(1197*ratio.ratioX, 74*ratio.ratioY);
  38021. Node394.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
  38022. Node394.s({
  38023. 'pixelPerfect':true
  38024. /*@AddPara@*/
  38025. });
  38026. Node394.a('node.width', 95*_ratio.ratioX);
  38027. Node394.a('node.height', 24.33138*_ratio.ratioY);
  38028. Node394.a('node.type', Node394type);
  38029. Node394.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  38030. Node394.a('node.background', 'rgba(255,255,255,0.003921569)');
  38031. Node394.a('node.gradientcolor', '');
  38032. Node394.a('node.gradient', '');
  38033. Node394.a('node.borderwidth', Node394BorderWidth);
  38034. Node394.a('node.color', 'rgba(224,224,224,1)');
  38035. Node394.a('node.fillrect', [0,0,0,0]);
  38036. Node394.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38037. Node394.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38038. Node394.a('node.fillgradient', '');
  38039. if (Node394type !== 'rect') {
  38040. Node394.a('node.arcFrom', parseFloat('@arcFrom@'));
  38041. Node394.a('node.arcTo', parseFloat('@arcTo@'));
  38042. Node394.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38043. }
  38044. if (Node394type === 'arc') {
  38045. Node394.a('node.arcOval', true);
  38046. }
  38047. Node394.setRotation(0*Math.PI/180);
  38048. Node394.borderWidth = Node394BorderWidth;
  38049. Node394.borderFillwidth = Node394BorderWidth;
  38050. dataModel.add(Node394);
  38051. Node394._nodename = 'Node394'
  38052. Node394._nodeType = 'rect';
  38053. zoomNodeList.push({
  38054. node: Node394,
  38055. attr: 'node.borderwidth'
  38056. });
  38057. (function (node, _img) {
  38058. var setWidth = node.setWidth,
  38059. setHeight = node.setHeight;
  38060. node.setWidth = function (width) {
  38061. if (width === this.getWidth()) return ;
  38062. var height = this.getHeight();
  38063. this.a('node.width', width);
  38064. this.a('node.rect', [0,0,width, height]);
  38065. setWidth.apply(this, arguments);
  38066. }
  38067. node.setHeight = function (height) {
  38068. if (height === this.getHeight()) return ;
  38069. var width = this.getWidth();
  38070. this.a('node.height', height);
  38071. this.a('node.rect', [0,0,width, height]);
  38072. setHeight.apply(this, arguments);
  38073. }
  38074. })(Node394, Node394.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38075. var Node395type = 'rect';
  38076. var Node395 = new ht.Node(),
  38077. Node395BorderWidth = 1*2;
  38078. if (Node395type === 'arc') {
  38079. Node395BorderWidth *= 1;
  38080. }
  38081. Node395.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node395type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38082. Node395.setPosition(1197*ratio.ratioX, 98*ratio.ratioY);
  38083. Node395.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
  38084. Node395.s({
  38085. 'pixelPerfect':true
  38086. /*@AddPara@*/
  38087. });
  38088. Node395.a('node.width', 95*_ratio.ratioX);
  38089. Node395.a('node.height', 24.33138*_ratio.ratioY);
  38090. Node395.a('node.type', Node395type);
  38091. Node395.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  38092. Node395.a('node.background', 'rgba(255,255,255,0.003921569)');
  38093. Node395.a('node.gradientcolor', '');
  38094. Node395.a('node.gradient', '');
  38095. Node395.a('node.borderwidth', Node395BorderWidth);
  38096. Node395.a('node.color', 'rgba(224,224,224,1)');
  38097. Node395.a('node.fillrect', [0,0,0,0]);
  38098. Node395.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38099. Node395.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38100. Node395.a('node.fillgradient', '');
  38101. if (Node395type !== 'rect') {
  38102. Node395.a('node.arcFrom', parseFloat('@arcFrom@'));
  38103. Node395.a('node.arcTo', parseFloat('@arcTo@'));
  38104. Node395.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38105. }
  38106. if (Node395type === 'arc') {
  38107. Node395.a('node.arcOval', true);
  38108. }
  38109. Node395.setRotation(0*Math.PI/180);
  38110. Node395.borderWidth = Node395BorderWidth;
  38111. Node395.borderFillwidth = Node395BorderWidth;
  38112. dataModel.add(Node395);
  38113. Node395._nodename = 'Node395'
  38114. Node395._nodeType = 'rect';
  38115. zoomNodeList.push({
  38116. node: Node395,
  38117. attr: 'node.borderwidth'
  38118. });
  38119. (function (node, _img) {
  38120. var setWidth = node.setWidth,
  38121. setHeight = node.setHeight;
  38122. node.setWidth = function (width) {
  38123. if (width === this.getWidth()) return ;
  38124. var height = this.getHeight();
  38125. this.a('node.width', width);
  38126. this.a('node.rect', [0,0,width, height]);
  38127. setWidth.apply(this, arguments);
  38128. }
  38129. node.setHeight = function (height) {
  38130. if (height === this.getHeight()) return ;
  38131. var width = this.getWidth();
  38132. this.a('node.height', height);
  38133. this.a('node.rect', [0,0,width, height]);
  38134. setHeight.apply(this, arguments);
  38135. }
  38136. })(Node395, Node395.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38137. var Node396type = 'rect';
  38138. var Node396 = new ht.Node(),
  38139. Node396BorderWidth = 1*2;
  38140. if (Node396type === 'arc') {
  38141. Node396BorderWidth *= 1;
  38142. }
  38143. Node396.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node396type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38144. Node396.setPosition(1197*ratio.ratioX, 123*ratio.ratioY);
  38145. Node396.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
  38146. Node396.s({
  38147. 'pixelPerfect':true
  38148. /*@AddPara@*/
  38149. });
  38150. Node396.a('node.width', 95*_ratio.ratioX);
  38151. Node396.a('node.height', 24.33136*_ratio.ratioY);
  38152. Node396.a('node.type', Node396type);
  38153. Node396.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  38154. Node396.a('node.background', 'rgba(255,255,255,0.003921569)');
  38155. Node396.a('node.gradientcolor', '');
  38156. Node396.a('node.gradient', '');
  38157. Node396.a('node.borderwidth', Node396BorderWidth);
  38158. Node396.a('node.color', 'rgba(224,224,224,1)');
  38159. Node396.a('node.fillrect', [0,0,0,0]);
  38160. Node396.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38161. Node396.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38162. Node396.a('node.fillgradient', '');
  38163. if (Node396type !== 'rect') {
  38164. Node396.a('node.arcFrom', parseFloat('@arcFrom@'));
  38165. Node396.a('node.arcTo', parseFloat('@arcTo@'));
  38166. Node396.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38167. }
  38168. if (Node396type === 'arc') {
  38169. Node396.a('node.arcOval', true);
  38170. }
  38171. Node396.setRotation(0*Math.PI/180);
  38172. Node396.borderWidth = Node396BorderWidth;
  38173. Node396.borderFillwidth = Node396BorderWidth;
  38174. dataModel.add(Node396);
  38175. Node396._nodename = 'Node396'
  38176. Node396._nodeType = 'rect';
  38177. zoomNodeList.push({
  38178. node: Node396,
  38179. attr: 'node.borderwidth'
  38180. });
  38181. (function (node, _img) {
  38182. var setWidth = node.setWidth,
  38183. setHeight = node.setHeight;
  38184. node.setWidth = function (width) {
  38185. if (width === this.getWidth()) return ;
  38186. var height = this.getHeight();
  38187. this.a('node.width', width);
  38188. this.a('node.rect', [0,0,width, height]);
  38189. setWidth.apply(this, arguments);
  38190. }
  38191. node.setHeight = function (height) {
  38192. if (height === this.getHeight()) return ;
  38193. var width = this.getWidth();
  38194. this.a('node.height', height);
  38195. this.a('node.rect', [0,0,width, height]);
  38196. setHeight.apply(this, arguments);
  38197. }
  38198. })(Node396, Node396.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38199. var Node397type = 'rect';
  38200. var Node397 = new ht.Node(),
  38201. Node397BorderWidth = 1*2;
  38202. if (Node397type === 'arc') {
  38203. Node397BorderWidth *= 1;
  38204. }
  38205. Node397.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node397type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38206. Node397.setPosition(1197*ratio.ratioX, 147*ratio.ratioY);
  38207. Node397.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
  38208. Node397.s({
  38209. 'pixelPerfect':true
  38210. /*@AddPara@*/
  38211. });
  38212. Node397.a('node.width', 95*_ratio.ratioX);
  38213. Node397.a('node.height', 24.33138*_ratio.ratioY);
  38214. Node397.a('node.type', Node397type);
  38215. Node397.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  38216. Node397.a('node.background', 'rgba(255,255,255,0.003921569)');
  38217. Node397.a('node.gradientcolor', '');
  38218. Node397.a('node.gradient', '');
  38219. Node397.a('node.borderwidth', Node397BorderWidth);
  38220. Node397.a('node.color', 'rgba(224,224,224,1)');
  38221. Node397.a('node.fillrect', [0,0,0,0]);
  38222. Node397.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38223. Node397.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38224. Node397.a('node.fillgradient', '');
  38225. if (Node397type !== 'rect') {
  38226. Node397.a('node.arcFrom', parseFloat('@arcFrom@'));
  38227. Node397.a('node.arcTo', parseFloat('@arcTo@'));
  38228. Node397.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38229. }
  38230. if (Node397type === 'arc') {
  38231. Node397.a('node.arcOval', true);
  38232. }
  38233. Node397.setRotation(0*Math.PI/180);
  38234. Node397.borderWidth = Node397BorderWidth;
  38235. Node397.borderFillwidth = Node397BorderWidth;
  38236. dataModel.add(Node397);
  38237. Node397._nodename = 'Node397'
  38238. Node397._nodeType = 'rect';
  38239. zoomNodeList.push({
  38240. node: Node397,
  38241. attr: 'node.borderwidth'
  38242. });
  38243. (function (node, _img) {
  38244. var setWidth = node.setWidth,
  38245. setHeight = node.setHeight;
  38246. node.setWidth = function (width) {
  38247. if (width === this.getWidth()) return ;
  38248. var height = this.getHeight();
  38249. this.a('node.width', width);
  38250. this.a('node.rect', [0,0,width, height]);
  38251. setWidth.apply(this, arguments);
  38252. }
  38253. node.setHeight = function (height) {
  38254. if (height === this.getHeight()) return ;
  38255. var width = this.getWidth();
  38256. this.a('node.height', height);
  38257. this.a('node.rect', [0,0,width, height]);
  38258. setHeight.apply(this, arguments);
  38259. }
  38260. })(Node397, Node397.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38261. var Node398type = 'rect';
  38262. var Node398 = new ht.Node(),
  38263. Node398BorderWidth = 1*2;
  38264. if (Node398type === 'arc') {
  38265. Node398BorderWidth *= 1;
  38266. }
  38267. Node398.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node398type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38268. Node398.setPosition(1277*ratio.ratioX, 50*ratio.ratioY);
  38269. Node398.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  38270. Node398.s({
  38271. 'pixelPerfect':true
  38272. /*@AddPara@*/
  38273. });
  38274. Node398.a('node.width', 65*_ratio.ratioX);
  38275. Node398.a('node.height', 24.33136*_ratio.ratioY);
  38276. Node398.a('node.type', Node398type);
  38277. Node398.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  38278. Node398.a('node.background', 'rgba(255,255,255,0.003921569)');
  38279. Node398.a('node.gradientcolor', '');
  38280. Node398.a('node.gradient', '');
  38281. Node398.a('node.borderwidth', Node398BorderWidth);
  38282. Node398.a('node.color', 'rgba(224,224,224,1)');
  38283. Node398.a('node.fillrect', [0,0,0,0]);
  38284. Node398.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38285. Node398.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38286. Node398.a('node.fillgradient', '');
  38287. if (Node398type !== 'rect') {
  38288. Node398.a('node.arcFrom', parseFloat('@arcFrom@'));
  38289. Node398.a('node.arcTo', parseFloat('@arcTo@'));
  38290. Node398.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38291. }
  38292. if (Node398type === 'arc') {
  38293. Node398.a('node.arcOval', true);
  38294. }
  38295. Node398.setRotation(0*Math.PI/180);
  38296. Node398.borderWidth = Node398BorderWidth;
  38297. Node398.borderFillwidth = Node398BorderWidth;
  38298. dataModel.add(Node398);
  38299. Node398._nodename = 'Node398'
  38300. Node398._nodeType = 'rect';
  38301. zoomNodeList.push({
  38302. node: Node398,
  38303. attr: 'node.borderwidth'
  38304. });
  38305. (function (node, _img) {
  38306. var setWidth = node.setWidth,
  38307. setHeight = node.setHeight;
  38308. node.setWidth = function (width) {
  38309. if (width === this.getWidth()) return ;
  38310. var height = this.getHeight();
  38311. this.a('node.width', width);
  38312. this.a('node.rect', [0,0,width, height]);
  38313. setWidth.apply(this, arguments);
  38314. }
  38315. node.setHeight = function (height) {
  38316. if (height === this.getHeight()) return ;
  38317. var width = this.getWidth();
  38318. this.a('node.height', height);
  38319. this.a('node.rect', [0,0,width, height]);
  38320. setHeight.apply(this, arguments);
  38321. }
  38322. })(Node398, Node398.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38323. var Node399 = new ht.Node();
  38324. var Node399textStart, Node399textWidth, Node399lineStart, Node399align = 'center', Node399fontSize = 14.66663*_ratio.ratioY,Node399width = 59*_ratio.ratioX, Node399height = 26*_ratio.ratioY;
  38325. (function () {
  38326. if (Node399align === 'left') {
  38327. Node399textStart = Node399fontSize * 0.2 > 2 ? Node399fontSize * 0.2 - 4 : Node399fontSize * 0.2 - 9;
  38328. Node399textWidth = Node399width;
  38329. Node399lineStart = 1;
  38330. } else if (Node399align === 'right') {
  38331. Node399textStart = 0;
  38332. Node399textWidth =Node399fontSize <= 8 ? Node399width + Node399fontSize * 0.2 + 6 : Node399width - Node399fontSize * 0.2;
  38333. Node399lineStart = (Node399width - (ht.Default.getTextSize('0', ' '+ Node399fontSize + 'px "Arial"').width + 6)) * 0.5;
  38334. } else if (Node399align === 'center') {
  38335. Node399textStart = -3;
  38336. Node399textWidth = Node399width;
  38337. Node399lineStart = Node399width - ht.Default.getTextSize('0', ' '+ Node399fontSize + 'px "Arial"').width - 11;
  38338. }
  38339. })();
  38340. Node399.setImage(GD.getTextJSON(Node399width, Node399height, true, false, false, ' '+ Node399fontSize + 'px "Arial"'))
  38341. Node399.setPosition(1197*ratio.ratioX, 52*ratio.ratioY);
  38342. Node399.setWidth(Node399width);
  38343. Node399.setHeight(Node399height);
  38344. Node399._nodeType = 'text';
  38345. Node399._disallowEvert = true;
  38346. Node399.setRotation(0*Math.PI/180);
  38347. Node399.a('node.width', Node399width);
  38348. Node399.a('node.height', Node399height);
  38349. Node399.a('node.rect', [0, 0, Node399width, Node399height]);
  38350. Node399.a('node.bordercolor','rgba(0,0,0,1)');
  38351. Node399.a('node.borderwidth', 0);
  38352. Node399.a('node.background','' || 'rgba(0,0,0,0)');
  38353. Node399.a('node.gradient','');
  38354. Node399.a('node.gradientcolor','');
  38355. Node399.a('node.text','0');
  38356. Node399.a('node.textalign','center');
  38357. Node399.a('node.textvAlign','middle');
  38358. Node399.a('node.textrect', [Node399textStart, 0, Node399textWidth, Node399height]);
  38359. Node399.a('node.color','rgba(0,0,0,1)');
  38360. Node399.a('node.font',' '+ Node399fontSize + 'px "Arial"');
  38361. Node399.a('node.textvisible',true);
  38362. Node399.a('node.linefeed',false);
  38363. if (false) {
  38364. Node399.a('node.textfunc',function(g) {
  38365. g.beginPath();
  38366. var str=Node399.a('node.text') || '0';
  38367. var color=Node399.a('node.color') || 'rgba(0,0,0,1)';
  38368. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node399width,Node399height,14.66663*_ratio.ratioY,"center",color,' '+ Node399fontSize + 'px "Arial"', 0,g);
  38369. });
  38370. }
  38371. if (false) {
  38372. Node399.a('node.underlinepoints',[Node399lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node399fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node399fontSize + 'px "Arial"').width + 6, (Node399height - Node399fontSize) * 0.5*_ratio.ratioY + Node399fontSize + 2 ]);
  38373. Node399.a('node.underlinevisible',false);
  38374. Node399.a('node.underlineBorderWidth', 1);
  38375. }
  38376. dataModel.add(Node399);
  38377. zoomNodeList.push({
  38378. node: Node399,
  38379. borderWidth: 0,
  38380. attr: 'node.borderwidth'
  38381. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38382. var Node400 = new ht.Node();
  38383. var Node400textStart, Node400textWidth, Node400lineStart, Node400align = 'center', Node400fontSize = 14.66663*_ratio.ratioY,Node400width = 59*_ratio.ratioX, Node400height = 26*_ratio.ratioY;
  38384. (function () {
  38385. if (Node400align === 'left') {
  38386. Node400textStart = Node400fontSize * 0.2 > 2 ? Node400fontSize * 0.2 - 4 : Node400fontSize * 0.2 - 9;
  38387. Node400textWidth = Node400width;
  38388. Node400lineStart = 1;
  38389. } else if (Node400align === 'right') {
  38390. Node400textStart = 0;
  38391. Node400textWidth =Node400fontSize <= 8 ? Node400width + Node400fontSize * 0.2 + 6 : Node400width - Node400fontSize * 0.2;
  38392. Node400lineStart = (Node400width - (ht.Default.getTextSize('0', ' '+ Node400fontSize + 'px "Arial"').width + 6)) * 0.5;
  38393. } else if (Node400align === 'center') {
  38394. Node400textStart = -3;
  38395. Node400textWidth = Node400width;
  38396. Node400lineStart = Node400width - ht.Default.getTextSize('0', ' '+ Node400fontSize + 'px "Arial"').width - 11;
  38397. }
  38398. })();
  38399. Node400.setImage(GD.getTextJSON(Node400width, Node400height, true, false, false, ' '+ Node400fontSize + 'px "Arial"'))
  38400. Node400.setPosition(1197*ratio.ratioX, 76*ratio.ratioY);
  38401. Node400.setWidth(Node400width);
  38402. Node400.setHeight(Node400height);
  38403. Node400._nodeType = 'text';
  38404. Node400._disallowEvert = true;
  38405. Node400.setRotation(0*Math.PI/180);
  38406. Node400.a('node.width', Node400width);
  38407. Node400.a('node.height', Node400height);
  38408. Node400.a('node.rect', [0, 0, Node400width, Node400height]);
  38409. Node400.a('node.bordercolor','rgba(0,0,0,1)');
  38410. Node400.a('node.borderwidth', 0);
  38411. Node400.a('node.background','' || 'rgba(0,0,0,0)');
  38412. Node400.a('node.gradient','');
  38413. Node400.a('node.gradientcolor','');
  38414. Node400.a('node.text','0');
  38415. Node400.a('node.textalign','center');
  38416. Node400.a('node.textvAlign','middle');
  38417. Node400.a('node.textrect', [Node400textStart, 0, Node400textWidth, Node400height]);
  38418. Node400.a('node.color','rgba(0,0,0,1)');
  38419. Node400.a('node.font',' '+ Node400fontSize + 'px "Arial"');
  38420. Node400.a('node.textvisible',true);
  38421. Node400.a('node.linefeed',false);
  38422. if (false) {
  38423. Node400.a('node.textfunc',function(g) {
  38424. g.beginPath();
  38425. var str=Node400.a('node.text') || '0';
  38426. var color=Node400.a('node.color') || 'rgba(0,0,0,1)';
  38427. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node400width,Node400height,14.66663*_ratio.ratioY,"center",color,' '+ Node400fontSize + 'px "Arial"', 0,g);
  38428. });
  38429. }
  38430. if (false) {
  38431. Node400.a('node.underlinepoints',[Node400lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node400fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node400fontSize + 'px "Arial"').width + 6, (Node400height - Node400fontSize) * 0.5*_ratio.ratioY + Node400fontSize + 2 ]);
  38432. Node400.a('node.underlinevisible',false);
  38433. Node400.a('node.underlineBorderWidth', 1);
  38434. }
  38435. dataModel.add(Node400);
  38436. zoomNodeList.push({
  38437. node: Node400,
  38438. borderWidth: 0,
  38439. attr: 'node.borderwidth'
  38440. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38441. var Node401 = new ht.Node();
  38442. var Node401textStart, Node401textWidth, Node401lineStart, Node401align = 'center', Node401fontSize = 14.66663*_ratio.ratioY,Node401width = 59*_ratio.ratioX, Node401height = 26*_ratio.ratioY;
  38443. (function () {
  38444. if (Node401align === 'left') {
  38445. Node401textStart = Node401fontSize * 0.2 > 2 ? Node401fontSize * 0.2 - 4 : Node401fontSize * 0.2 - 9;
  38446. Node401textWidth = Node401width;
  38447. Node401lineStart = 1;
  38448. } else if (Node401align === 'right') {
  38449. Node401textStart = 0;
  38450. Node401textWidth =Node401fontSize <= 8 ? Node401width + Node401fontSize * 0.2 + 6 : Node401width - Node401fontSize * 0.2;
  38451. Node401lineStart = (Node401width - (ht.Default.getTextSize('0', ' '+ Node401fontSize + 'px "Arial"').width + 6)) * 0.5;
  38452. } else if (Node401align === 'center') {
  38453. Node401textStart = -3;
  38454. Node401textWidth = Node401width;
  38455. Node401lineStart = Node401width - ht.Default.getTextSize('0', ' '+ Node401fontSize + 'px "Arial"').width - 11;
  38456. }
  38457. })();
  38458. Node401.setImage(GD.getTextJSON(Node401width, Node401height, true, false, false, ' '+ Node401fontSize + 'px "Arial"'))
  38459. Node401.setPosition(1197*ratio.ratioX, 101*ratio.ratioY);
  38460. Node401.setWidth(Node401width);
  38461. Node401.setHeight(Node401height);
  38462. Node401._nodeType = 'text';
  38463. Node401._disallowEvert = true;
  38464. Node401.setRotation(0*Math.PI/180);
  38465. Node401.a('node.width', Node401width);
  38466. Node401.a('node.height', Node401height);
  38467. Node401.a('node.rect', [0, 0, Node401width, Node401height]);
  38468. Node401.a('node.bordercolor','rgba(0,0,0,1)');
  38469. Node401.a('node.borderwidth', 0);
  38470. Node401.a('node.background','' || 'rgba(0,0,0,0)');
  38471. Node401.a('node.gradient','');
  38472. Node401.a('node.gradientcolor','');
  38473. Node401.a('node.text','0');
  38474. Node401.a('node.textalign','center');
  38475. Node401.a('node.textvAlign','middle');
  38476. Node401.a('node.textrect', [Node401textStart, 0, Node401textWidth, Node401height]);
  38477. Node401.a('node.color','rgba(0,0,0,1)');
  38478. Node401.a('node.font',' '+ Node401fontSize + 'px "Arial"');
  38479. Node401.a('node.textvisible',true);
  38480. Node401.a('node.linefeed',false);
  38481. if (false) {
  38482. Node401.a('node.textfunc',function(g) {
  38483. g.beginPath();
  38484. var str=Node401.a('node.text') || '0';
  38485. var color=Node401.a('node.color') || 'rgba(0,0,0,1)';
  38486. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node401width,Node401height,14.66663*_ratio.ratioY,"center",color,' '+ Node401fontSize + 'px "Arial"', 0,g);
  38487. });
  38488. }
  38489. if (false) {
  38490. Node401.a('node.underlinepoints',[Node401lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node401fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node401fontSize + 'px "Arial"').width + 6, (Node401height - Node401fontSize) * 0.5*_ratio.ratioY + Node401fontSize + 2 ]);
  38491. Node401.a('node.underlinevisible',false);
  38492. Node401.a('node.underlineBorderWidth', 1);
  38493. }
  38494. dataModel.add(Node401);
  38495. zoomNodeList.push({
  38496. node: Node401,
  38497. borderWidth: 0,
  38498. attr: 'node.borderwidth'
  38499. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38500. var Node402 = new ht.Node();
  38501. var Node402textStart, Node402textWidth, Node402lineStart, Node402align = 'center', Node402fontSize = 14.66663*_ratio.ratioY,Node402width = 59*_ratio.ratioX, Node402height = 26*_ratio.ratioY;
  38502. (function () {
  38503. if (Node402align === 'left') {
  38504. Node402textStart = Node402fontSize * 0.2 > 2 ? Node402fontSize * 0.2 - 4 : Node402fontSize * 0.2 - 9;
  38505. Node402textWidth = Node402width;
  38506. Node402lineStart = 1;
  38507. } else if (Node402align === 'right') {
  38508. Node402textStart = 0;
  38509. Node402textWidth =Node402fontSize <= 8 ? Node402width + Node402fontSize * 0.2 + 6 : Node402width - Node402fontSize * 0.2;
  38510. Node402lineStart = (Node402width - (ht.Default.getTextSize('0', ' '+ Node402fontSize + 'px "Arial"').width + 6)) * 0.5;
  38511. } else if (Node402align === 'center') {
  38512. Node402textStart = -3;
  38513. Node402textWidth = Node402width;
  38514. Node402lineStart = Node402width - ht.Default.getTextSize('0', ' '+ Node402fontSize + 'px "Arial"').width - 11;
  38515. }
  38516. })();
  38517. Node402.setImage(GD.getTextJSON(Node402width, Node402height, true, false, false, ' '+ Node402fontSize + 'px "Arial"'))
  38518. Node402.setPosition(1197*ratio.ratioX, 124*ratio.ratioY);
  38519. Node402.setWidth(Node402width);
  38520. Node402.setHeight(Node402height);
  38521. Node402._nodeType = 'text';
  38522. Node402._disallowEvert = true;
  38523. Node402.setRotation(0*Math.PI/180);
  38524. Node402.a('node.width', Node402width);
  38525. Node402.a('node.height', Node402height);
  38526. Node402.a('node.rect', [0, 0, Node402width, Node402height]);
  38527. Node402.a('node.bordercolor','rgba(0,0,0,1)');
  38528. Node402.a('node.borderwidth', 0);
  38529. Node402.a('node.background','' || 'rgba(0,0,0,0)');
  38530. Node402.a('node.gradient','');
  38531. Node402.a('node.gradientcolor','');
  38532. Node402.a('node.text','0');
  38533. Node402.a('node.textalign','center');
  38534. Node402.a('node.textvAlign','middle');
  38535. Node402.a('node.textrect', [Node402textStart, 0, Node402textWidth, Node402height]);
  38536. Node402.a('node.color','rgba(0,0,0,1)');
  38537. Node402.a('node.font',' '+ Node402fontSize + 'px "Arial"');
  38538. Node402.a('node.textvisible',true);
  38539. Node402.a('node.linefeed',false);
  38540. if (false) {
  38541. Node402.a('node.textfunc',function(g) {
  38542. g.beginPath();
  38543. var str=Node402.a('node.text') || '0';
  38544. var color=Node402.a('node.color') || 'rgba(0,0,0,1)';
  38545. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node402width,Node402height,14.66663*_ratio.ratioY,"center",color,' '+ Node402fontSize + 'px "Arial"', 0,g);
  38546. });
  38547. }
  38548. if (false) {
  38549. Node402.a('node.underlinepoints',[Node402lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node402fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node402fontSize + 'px "Arial"').width + 6, (Node402height - Node402fontSize) * 0.5*_ratio.ratioY + Node402fontSize + 2 ]);
  38550. Node402.a('node.underlinevisible',false);
  38551. Node402.a('node.underlineBorderWidth', 1);
  38552. }
  38553. dataModel.add(Node402);
  38554. zoomNodeList.push({
  38555. node: Node402,
  38556. borderWidth: 0,
  38557. attr: 'node.borderwidth'
  38558. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38559. var Node403 = new ht.Node();
  38560. var Node403textStart, Node403textWidth, Node403lineStart, Node403align = 'center', Node403fontSize = 14.66663*_ratio.ratioY,Node403width = 59*_ratio.ratioX, Node403height = 26*_ratio.ratioY;
  38561. (function () {
  38562. if (Node403align === 'left') {
  38563. Node403textStart = Node403fontSize * 0.2 > 2 ? Node403fontSize * 0.2 - 4 : Node403fontSize * 0.2 - 9;
  38564. Node403textWidth = Node403width;
  38565. Node403lineStart = 1;
  38566. } else if (Node403align === 'right') {
  38567. Node403textStart = 0;
  38568. Node403textWidth =Node403fontSize <= 8 ? Node403width + Node403fontSize * 0.2 + 6 : Node403width - Node403fontSize * 0.2;
  38569. Node403lineStart = (Node403width - (ht.Default.getTextSize('0', ' '+ Node403fontSize + 'px "Arial"').width + 6)) * 0.5;
  38570. } else if (Node403align === 'center') {
  38571. Node403textStart = -3;
  38572. Node403textWidth = Node403width;
  38573. Node403lineStart = Node403width - ht.Default.getTextSize('0', ' '+ Node403fontSize + 'px "Arial"').width - 11;
  38574. }
  38575. })();
  38576. Node403.setImage(GD.getTextJSON(Node403width, Node403height, true, false, false, ' '+ Node403fontSize + 'px "Arial"'))
  38577. Node403.setPosition(1197*ratio.ratioX, 148*ratio.ratioY);
  38578. Node403.setWidth(Node403width);
  38579. Node403.setHeight(Node403height);
  38580. Node403._nodeType = 'text';
  38581. Node403._disallowEvert = true;
  38582. Node403.setRotation(0*Math.PI/180);
  38583. Node403.a('node.width', Node403width);
  38584. Node403.a('node.height', Node403height);
  38585. Node403.a('node.rect', [0, 0, Node403width, Node403height]);
  38586. Node403.a('node.bordercolor','rgba(0,0,0,1)');
  38587. Node403.a('node.borderwidth', 0);
  38588. Node403.a('node.background','' || 'rgba(0,0,0,0)');
  38589. Node403.a('node.gradient','');
  38590. Node403.a('node.gradientcolor','');
  38591. Node403.a('node.text','0');
  38592. Node403.a('node.textalign','center');
  38593. Node403.a('node.textvAlign','middle');
  38594. Node403.a('node.textrect', [Node403textStart, 0, Node403textWidth, Node403height]);
  38595. Node403.a('node.color','rgba(0,0,0,1)');
  38596. Node403.a('node.font',' '+ Node403fontSize + 'px "Arial"');
  38597. Node403.a('node.textvisible',true);
  38598. Node403.a('node.linefeed',false);
  38599. if (false) {
  38600. Node403.a('node.textfunc',function(g) {
  38601. g.beginPath();
  38602. var str=Node403.a('node.text') || '0';
  38603. var color=Node403.a('node.color') || 'rgba(0,0,0,1)';
  38604. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node403width,Node403height,14.66663*_ratio.ratioY,"center",color,' '+ Node403fontSize + 'px "Arial"', 0,g);
  38605. });
  38606. }
  38607. if (false) {
  38608. Node403.a('node.underlinepoints',[Node403lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node403fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node403fontSize + 'px "Arial"').width + 6, (Node403height - Node403fontSize) * 0.5*_ratio.ratioY + Node403fontSize + 2 ]);
  38609. Node403.a('node.underlinevisible',false);
  38610. Node403.a('node.underlineBorderWidth', 1);
  38611. }
  38612. dataModel.add(Node403);
  38613. zoomNodeList.push({
  38614. node: Node403,
  38615. borderWidth: 0,
  38616. attr: 'node.borderwidth'
  38617. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38618. var Node404type = 'rect';
  38619. var Node404 = new ht.Node(),
  38620. Node404BorderWidth = 1*2;
  38621. if (Node404type === 'arc') {
  38622. Node404BorderWidth *= 1;
  38623. }
  38624. Node404.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node404type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38625. Node404.setPosition(1277*ratio.ratioX, 74*ratio.ratioY);
  38626. Node404.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  38627. Node404.s({
  38628. 'pixelPerfect':true
  38629. /*@AddPara@*/
  38630. });
  38631. Node404.a('node.width', 65*_ratio.ratioX);
  38632. Node404.a('node.height', 24.33138*_ratio.ratioY);
  38633. Node404.a('node.type', Node404type);
  38634. Node404.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  38635. Node404.a('node.background', 'rgba(255,255,255,0.003921569)');
  38636. Node404.a('node.gradientcolor', '');
  38637. Node404.a('node.gradient', '');
  38638. Node404.a('node.borderwidth', Node404BorderWidth);
  38639. Node404.a('node.color', 'rgba(224,224,224,1)');
  38640. Node404.a('node.fillrect', [0,0,0,0]);
  38641. Node404.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38642. Node404.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38643. Node404.a('node.fillgradient', '');
  38644. if (Node404type !== 'rect') {
  38645. Node404.a('node.arcFrom', parseFloat('@arcFrom@'));
  38646. Node404.a('node.arcTo', parseFloat('@arcTo@'));
  38647. Node404.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38648. }
  38649. if (Node404type === 'arc') {
  38650. Node404.a('node.arcOval', true);
  38651. }
  38652. Node404.setRotation(0*Math.PI/180);
  38653. Node404.borderWidth = Node404BorderWidth;
  38654. Node404.borderFillwidth = Node404BorderWidth;
  38655. dataModel.add(Node404);
  38656. Node404._nodename = 'Node404'
  38657. Node404._nodeType = 'rect';
  38658. zoomNodeList.push({
  38659. node: Node404,
  38660. attr: 'node.borderwidth'
  38661. });
  38662. (function (node, _img) {
  38663. var setWidth = node.setWidth,
  38664. setHeight = node.setHeight;
  38665. node.setWidth = function (width) {
  38666. if (width === this.getWidth()) return ;
  38667. var height = this.getHeight();
  38668. this.a('node.width', width);
  38669. this.a('node.rect', [0,0,width, height]);
  38670. setWidth.apply(this, arguments);
  38671. }
  38672. node.setHeight = function (height) {
  38673. if (height === this.getHeight()) return ;
  38674. var width = this.getWidth();
  38675. this.a('node.height', height);
  38676. this.a('node.rect', [0,0,width, height]);
  38677. setHeight.apply(this, arguments);
  38678. }
  38679. })(Node404, Node404.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38680. var Node405type = 'rect';
  38681. var Node405 = new ht.Node(),
  38682. Node405BorderWidth = 1*2;
  38683. if (Node405type === 'arc') {
  38684. Node405BorderWidth *= 1;
  38685. }
  38686. Node405.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node405type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38687. Node405.setPosition(1277*ratio.ratioX, 98*ratio.ratioY);
  38688. Node405.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  38689. Node405.s({
  38690. 'pixelPerfect':true
  38691. /*@AddPara@*/
  38692. });
  38693. Node405.a('node.width', 65*_ratio.ratioX);
  38694. Node405.a('node.height', 24.33138*_ratio.ratioY);
  38695. Node405.a('node.type', Node405type);
  38696. Node405.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  38697. Node405.a('node.background', 'rgba(255,255,255,0.003921569)');
  38698. Node405.a('node.gradientcolor', '');
  38699. Node405.a('node.gradient', '');
  38700. Node405.a('node.borderwidth', Node405BorderWidth);
  38701. Node405.a('node.color', 'rgba(224,224,224,1)');
  38702. Node405.a('node.fillrect', [0,0,0,0]);
  38703. Node405.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38704. Node405.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38705. Node405.a('node.fillgradient', '');
  38706. if (Node405type !== 'rect') {
  38707. Node405.a('node.arcFrom', parseFloat('@arcFrom@'));
  38708. Node405.a('node.arcTo', parseFloat('@arcTo@'));
  38709. Node405.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38710. }
  38711. if (Node405type === 'arc') {
  38712. Node405.a('node.arcOval', true);
  38713. }
  38714. Node405.setRotation(0*Math.PI/180);
  38715. Node405.borderWidth = Node405BorderWidth;
  38716. Node405.borderFillwidth = Node405BorderWidth;
  38717. dataModel.add(Node405);
  38718. Node405._nodename = 'Node405'
  38719. Node405._nodeType = 'rect';
  38720. zoomNodeList.push({
  38721. node: Node405,
  38722. attr: 'node.borderwidth'
  38723. });
  38724. (function (node, _img) {
  38725. var setWidth = node.setWidth,
  38726. setHeight = node.setHeight;
  38727. node.setWidth = function (width) {
  38728. if (width === this.getWidth()) return ;
  38729. var height = this.getHeight();
  38730. this.a('node.width', width);
  38731. this.a('node.rect', [0,0,width, height]);
  38732. setWidth.apply(this, arguments);
  38733. }
  38734. node.setHeight = function (height) {
  38735. if (height === this.getHeight()) return ;
  38736. var width = this.getWidth();
  38737. this.a('node.height', height);
  38738. this.a('node.rect', [0,0,width, height]);
  38739. setHeight.apply(this, arguments);
  38740. }
  38741. })(Node405, Node405.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38742. var Node406type = 'rect';
  38743. var Node406 = new ht.Node(),
  38744. Node406BorderWidth = 1*2;
  38745. if (Node406type === 'arc') {
  38746. Node406BorderWidth *= 1;
  38747. }
  38748. Node406.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node406type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38749. Node406.setPosition(1277*ratio.ratioX, 123*ratio.ratioY);
  38750. Node406.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  38751. Node406.s({
  38752. 'pixelPerfect':true
  38753. /*@AddPara@*/
  38754. });
  38755. Node406.a('node.width', 65*_ratio.ratioX);
  38756. Node406.a('node.height', 24.33136*_ratio.ratioY);
  38757. Node406.a('node.type', Node406type);
  38758. Node406.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  38759. Node406.a('node.background', 'rgba(255,255,255,0.003921569)');
  38760. Node406.a('node.gradientcolor', '');
  38761. Node406.a('node.gradient', '');
  38762. Node406.a('node.borderwidth', Node406BorderWidth);
  38763. Node406.a('node.color', 'rgba(224,224,224,1)');
  38764. Node406.a('node.fillrect', [0,0,0,0]);
  38765. Node406.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38766. Node406.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38767. Node406.a('node.fillgradient', '');
  38768. if (Node406type !== 'rect') {
  38769. Node406.a('node.arcFrom', parseFloat('@arcFrom@'));
  38770. Node406.a('node.arcTo', parseFloat('@arcTo@'));
  38771. Node406.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38772. }
  38773. if (Node406type === 'arc') {
  38774. Node406.a('node.arcOval', true);
  38775. }
  38776. Node406.setRotation(0*Math.PI/180);
  38777. Node406.borderWidth = Node406BorderWidth;
  38778. Node406.borderFillwidth = Node406BorderWidth;
  38779. dataModel.add(Node406);
  38780. Node406._nodename = 'Node406'
  38781. Node406._nodeType = 'rect';
  38782. zoomNodeList.push({
  38783. node: Node406,
  38784. attr: 'node.borderwidth'
  38785. });
  38786. (function (node, _img) {
  38787. var setWidth = node.setWidth,
  38788. setHeight = node.setHeight;
  38789. node.setWidth = function (width) {
  38790. if (width === this.getWidth()) return ;
  38791. var height = this.getHeight();
  38792. this.a('node.width', width);
  38793. this.a('node.rect', [0,0,width, height]);
  38794. setWidth.apply(this, arguments);
  38795. }
  38796. node.setHeight = function (height) {
  38797. if (height === this.getHeight()) return ;
  38798. var width = this.getWidth();
  38799. this.a('node.height', height);
  38800. this.a('node.rect', [0,0,width, height]);
  38801. setHeight.apply(this, arguments);
  38802. }
  38803. })(Node406, Node406.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38804. var Node407type = 'rect';
  38805. var Node407 = new ht.Node(),
  38806. Node407BorderWidth = 1*2;
  38807. if (Node407type === 'arc') {
  38808. Node407BorderWidth *= 1;
  38809. }
  38810. Node407.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node407type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  38811. Node407.setPosition(1277*ratio.ratioX, 147*ratio.ratioY);
  38812. Node407.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  38813. Node407.s({
  38814. 'pixelPerfect':true
  38815. /*@AddPara@*/
  38816. });
  38817. Node407.a('node.width', 65*_ratio.ratioX);
  38818. Node407.a('node.height', 24.33138*_ratio.ratioY);
  38819. Node407.a('node.type', Node407type);
  38820. Node407.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  38821. Node407.a('node.background', 'rgba(255,255,255,0.003921569)');
  38822. Node407.a('node.gradientcolor', '');
  38823. Node407.a('node.gradient', '');
  38824. Node407.a('node.borderwidth', Node407BorderWidth);
  38825. Node407.a('node.color', 'rgba(224,224,224,1)');
  38826. Node407.a('node.fillrect', [0,0,0,0]);
  38827. Node407.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  38828. Node407.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  38829. Node407.a('node.fillgradient', '');
  38830. if (Node407type !== 'rect') {
  38831. Node407.a('node.arcFrom', parseFloat('@arcFrom@'));
  38832. Node407.a('node.arcTo', parseFloat('@arcTo@'));
  38833. Node407.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  38834. }
  38835. if (Node407type === 'arc') {
  38836. Node407.a('node.arcOval', true);
  38837. }
  38838. Node407.setRotation(0*Math.PI/180);
  38839. Node407.borderWidth = Node407BorderWidth;
  38840. Node407.borderFillwidth = Node407BorderWidth;
  38841. dataModel.add(Node407);
  38842. Node407._nodename = 'Node407'
  38843. Node407._nodeType = 'rect';
  38844. zoomNodeList.push({
  38845. node: Node407,
  38846. attr: 'node.borderwidth'
  38847. });
  38848. (function (node, _img) {
  38849. var setWidth = node.setWidth,
  38850. setHeight = node.setHeight;
  38851. node.setWidth = function (width) {
  38852. if (width === this.getWidth()) return ;
  38853. var height = this.getHeight();
  38854. this.a('node.width', width);
  38855. this.a('node.rect', [0,0,width, height]);
  38856. setWidth.apply(this, arguments);
  38857. }
  38858. node.setHeight = function (height) {
  38859. if (height === this.getHeight()) return ;
  38860. var width = this.getWidth();
  38861. this.a('node.height', height);
  38862. this.a('node.rect', [0,0,width, height]);
  38863. setHeight.apply(this, arguments);
  38864. }
  38865. })(Node407, Node407.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38866. var Node408 = new ht.Node();
  38867. var Node408textStart, Node408textWidth, Node408lineStart, Node408align = 'center', Node408fontSize = 13.3333*_ratio.ratioY,Node408width = 59*_ratio.ratioX, Node408height = 26*_ratio.ratioY;
  38868. (function () {
  38869. if (Node408align === 'left') {
  38870. Node408textStart = Node408fontSize * 0.2 > 2 ? Node408fontSize * 0.2 - 4 : Node408fontSize * 0.2 - 9;
  38871. Node408textWidth = Node408width;
  38872. Node408lineStart = 1;
  38873. } else if (Node408align === 'right') {
  38874. Node408textStart = 0;
  38875. Node408textWidth =Node408fontSize <= 8 ? Node408width + Node408fontSize * 0.2 + 6 : Node408width - Node408fontSize * 0.2;
  38876. Node408lineStart = (Node408width - (ht.Default.getTextSize('万kWh', ' '+ Node408fontSize + 'px "Arial"').width + 6)) * 0.5;
  38877. } else if (Node408align === 'center') {
  38878. Node408textStart = -3;
  38879. Node408textWidth = Node408width;
  38880. Node408lineStart = Node408width - ht.Default.getTextSize('万kWh', ' '+ Node408fontSize + 'px "Arial"').width - 11;
  38881. }
  38882. })();
  38883. Node408.setImage(GD.getTextJSON(Node408width, Node408height, true, false, false, ' '+ Node408fontSize + 'px "Arial"'))
  38884. Node408.setPosition(1278*ratio.ratioX, 52*ratio.ratioY);
  38885. Node408.setWidth(Node408width);
  38886. Node408.setHeight(Node408height);
  38887. Node408._nodeType = 'text';
  38888. Node408._disallowEvert = true;
  38889. Node408.setRotation(0*Math.PI/180);
  38890. Node408.a('node.width', Node408width);
  38891. Node408.a('node.height', Node408height);
  38892. Node408.a('node.rect', [0, 0, Node408width, Node408height]);
  38893. Node408.a('node.bordercolor','rgba(128,128,128,1)');
  38894. Node408.a('node.borderwidth', 0);
  38895. Node408.a('node.background','' || 'rgba(0,0,0,0)');
  38896. Node408.a('node.gradient','');
  38897. Node408.a('node.gradientcolor','');
  38898. Node408.a('node.text','万kWh');
  38899. Node408.a('node.textalign','center');
  38900. Node408.a('node.textvAlign','middle');
  38901. Node408.a('node.textrect', [Node408textStart, 0, Node408textWidth, Node408height]);
  38902. Node408.a('node.color','rgba(128,128,128,1)');
  38903. Node408.a('node.font',' '+ Node408fontSize + 'px "Arial"');
  38904. Node408.a('node.textvisible',true);
  38905. Node408.a('node.linefeed',false);
  38906. if (false) {
  38907. Node408.a('node.textfunc',function(g) {
  38908. g.beginPath();
  38909. var str=Node408.a('node.text') || '万kWh';
  38910. var color=Node408.a('node.color') || 'rgba(128,128,128,1)';
  38911. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node408width,Node408height,13.3333*_ratio.ratioY,"center",color,' '+ Node408fontSize + 'px "Arial"', 0,g);
  38912. });
  38913. }
  38914. if (false) {
  38915. Node408.a('node.underlinepoints',[Node408lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node408fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node408fontSize + 'px "Arial"').width + 6, (Node408height - Node408fontSize) * 0.5*_ratio.ratioY + Node408fontSize + 2 ]);
  38916. Node408.a('node.underlinevisible',false);
  38917. Node408.a('node.underlineBorderWidth', 1);
  38918. }
  38919. dataModel.add(Node408);
  38920. zoomNodeList.push({
  38921. node: Node408,
  38922. borderWidth: 0,
  38923. attr: 'node.borderwidth'
  38924. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38925. var Node409 = new ht.Node();
  38926. var Node409textStart, Node409textWidth, Node409lineStart, Node409align = 'center', Node409fontSize = 13.3333*_ratio.ratioY,Node409width = 59*_ratio.ratioX, Node409height = 26*_ratio.ratioY;
  38927. (function () {
  38928. if (Node409align === 'left') {
  38929. Node409textStart = Node409fontSize * 0.2 > 2 ? Node409fontSize * 0.2 - 4 : Node409fontSize * 0.2 - 9;
  38930. Node409textWidth = Node409width;
  38931. Node409lineStart = 1;
  38932. } else if (Node409align === 'right') {
  38933. Node409textStart = 0;
  38934. Node409textWidth =Node409fontSize <= 8 ? Node409width + Node409fontSize * 0.2 + 6 : Node409width - Node409fontSize * 0.2;
  38935. Node409lineStart = (Node409width - (ht.Default.getTextSize('万kWh', ' '+ Node409fontSize + 'px "Arial"').width + 6)) * 0.5;
  38936. } else if (Node409align === 'center') {
  38937. Node409textStart = -3;
  38938. Node409textWidth = Node409width;
  38939. Node409lineStart = Node409width - ht.Default.getTextSize('万kWh', ' '+ Node409fontSize + 'px "Arial"').width - 11;
  38940. }
  38941. })();
  38942. Node409.setImage(GD.getTextJSON(Node409width, Node409height, true, false, false, ' '+ Node409fontSize + 'px "Arial"'))
  38943. Node409.setPosition(1278*ratio.ratioX, 76*ratio.ratioY);
  38944. Node409.setWidth(Node409width);
  38945. Node409.setHeight(Node409height);
  38946. Node409._nodeType = 'text';
  38947. Node409._disallowEvert = true;
  38948. Node409.setRotation(0*Math.PI/180);
  38949. Node409.a('node.width', Node409width);
  38950. Node409.a('node.height', Node409height);
  38951. Node409.a('node.rect', [0, 0, Node409width, Node409height]);
  38952. Node409.a('node.bordercolor','rgba(128,128,128,1)');
  38953. Node409.a('node.borderwidth', 0);
  38954. Node409.a('node.background','' || 'rgba(0,0,0,0)');
  38955. Node409.a('node.gradient','');
  38956. Node409.a('node.gradientcolor','');
  38957. Node409.a('node.text','万kWh');
  38958. Node409.a('node.textalign','center');
  38959. Node409.a('node.textvAlign','middle');
  38960. Node409.a('node.textrect', [Node409textStart, 0, Node409textWidth, Node409height]);
  38961. Node409.a('node.color','rgba(128,128,128,1)');
  38962. Node409.a('node.font',' '+ Node409fontSize + 'px "Arial"');
  38963. Node409.a('node.textvisible',true);
  38964. Node409.a('node.linefeed',false);
  38965. if (false) {
  38966. Node409.a('node.textfunc',function(g) {
  38967. g.beginPath();
  38968. var str=Node409.a('node.text') || '万kWh';
  38969. var color=Node409.a('node.color') || 'rgba(128,128,128,1)';
  38970. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node409width,Node409height,13.3333*_ratio.ratioY,"center",color,' '+ Node409fontSize + 'px "Arial"', 0,g);
  38971. });
  38972. }
  38973. if (false) {
  38974. Node409.a('node.underlinepoints',[Node409lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node409fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node409fontSize + 'px "Arial"').width + 6, (Node409height - Node409fontSize) * 0.5*_ratio.ratioY + Node409fontSize + 2 ]);
  38975. Node409.a('node.underlinevisible',false);
  38976. Node409.a('node.underlineBorderWidth', 1);
  38977. }
  38978. dataModel.add(Node409);
  38979. zoomNodeList.push({
  38980. node: Node409,
  38981. borderWidth: 0,
  38982. attr: 'node.borderwidth'
  38983. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  38984. var Node410 = new ht.Node();
  38985. var Node410textStart, Node410textWidth, Node410lineStart, Node410align = 'center', Node410fontSize = 13.3333*_ratio.ratioY,Node410width = 59*_ratio.ratioX, Node410height = 26*_ratio.ratioY;
  38986. (function () {
  38987. if (Node410align === 'left') {
  38988. Node410textStart = Node410fontSize * 0.2 > 2 ? Node410fontSize * 0.2 - 4 : Node410fontSize * 0.2 - 9;
  38989. Node410textWidth = Node410width;
  38990. Node410lineStart = 1;
  38991. } else if (Node410align === 'right') {
  38992. Node410textStart = 0;
  38993. Node410textWidth =Node410fontSize <= 8 ? Node410width + Node410fontSize * 0.2 + 6 : Node410width - Node410fontSize * 0.2;
  38994. Node410lineStart = (Node410width - (ht.Default.getTextSize('万kWh', ' '+ Node410fontSize + 'px "Arial"').width + 6)) * 0.5;
  38995. } else if (Node410align === 'center') {
  38996. Node410textStart = -3;
  38997. Node410textWidth = Node410width;
  38998. Node410lineStart = Node410width - ht.Default.getTextSize('万kWh', ' '+ Node410fontSize + 'px "Arial"').width - 11;
  38999. }
  39000. })();
  39001. Node410.setImage(GD.getTextJSON(Node410width, Node410height, true, false, false, ' '+ Node410fontSize + 'px "Arial"'))
  39002. Node410.setPosition(1278*ratio.ratioX, 99*ratio.ratioY);
  39003. Node410.setWidth(Node410width);
  39004. Node410.setHeight(Node410height);
  39005. Node410._nodeType = 'text';
  39006. Node410._disallowEvert = true;
  39007. Node410.setRotation(0*Math.PI/180);
  39008. Node410.a('node.width', Node410width);
  39009. Node410.a('node.height', Node410height);
  39010. Node410.a('node.rect', [0, 0, Node410width, Node410height]);
  39011. Node410.a('node.bordercolor','rgba(128,128,128,1)');
  39012. Node410.a('node.borderwidth', 0);
  39013. Node410.a('node.background','' || 'rgba(0,0,0,0)');
  39014. Node410.a('node.gradient','');
  39015. Node410.a('node.gradientcolor','');
  39016. Node410.a('node.text','万kWh');
  39017. Node410.a('node.textalign','center');
  39018. Node410.a('node.textvAlign','middle');
  39019. Node410.a('node.textrect', [Node410textStart, 0, Node410textWidth, Node410height]);
  39020. Node410.a('node.color','rgba(128,128,128,1)');
  39021. Node410.a('node.font',' '+ Node410fontSize + 'px "Arial"');
  39022. Node410.a('node.textvisible',true);
  39023. Node410.a('node.linefeed',false);
  39024. if (false) {
  39025. Node410.a('node.textfunc',function(g) {
  39026. g.beginPath();
  39027. var str=Node410.a('node.text') || '万kWh';
  39028. var color=Node410.a('node.color') || 'rgba(128,128,128,1)';
  39029. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node410width,Node410height,13.3333*_ratio.ratioY,"center",color,' '+ Node410fontSize + 'px "Arial"', 0,g);
  39030. });
  39031. }
  39032. if (false) {
  39033. Node410.a('node.underlinepoints',[Node410lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node410fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node410fontSize + 'px "Arial"').width + 6, (Node410height - Node410fontSize) * 0.5*_ratio.ratioY + Node410fontSize + 2 ]);
  39034. Node410.a('node.underlinevisible',false);
  39035. Node410.a('node.underlineBorderWidth', 1);
  39036. }
  39037. dataModel.add(Node410);
  39038. zoomNodeList.push({
  39039. node: Node410,
  39040. borderWidth: 0,
  39041. attr: 'node.borderwidth'
  39042. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39043. var Node411 = new ht.Node();
  39044. var Node411textStart, Node411textWidth, Node411lineStart, Node411align = 'center', Node411fontSize = 13.3333*_ratio.ratioY,Node411width = 59*_ratio.ratioX, Node411height = 26*_ratio.ratioY;
  39045. (function () {
  39046. if (Node411align === 'left') {
  39047. Node411textStart = Node411fontSize * 0.2 > 2 ? Node411fontSize * 0.2 - 4 : Node411fontSize * 0.2 - 9;
  39048. Node411textWidth = Node411width;
  39049. Node411lineStart = 1;
  39050. } else if (Node411align === 'right') {
  39051. Node411textStart = 0;
  39052. Node411textWidth =Node411fontSize <= 8 ? Node411width + Node411fontSize * 0.2 + 6 : Node411width - Node411fontSize * 0.2;
  39053. Node411lineStart = (Node411width - (ht.Default.getTextSize('万kWh', ' '+ Node411fontSize + 'px "Arial"').width + 6)) * 0.5;
  39054. } else if (Node411align === 'center') {
  39055. Node411textStart = -3;
  39056. Node411textWidth = Node411width;
  39057. Node411lineStart = Node411width - ht.Default.getTextSize('万kWh', ' '+ Node411fontSize + 'px "Arial"').width - 11;
  39058. }
  39059. })();
  39060. Node411.setImage(GD.getTextJSON(Node411width, Node411height, true, false, false, ' '+ Node411fontSize + 'px "Arial"'))
  39061. Node411.setPosition(1278*ratio.ratioX, 125*ratio.ratioY);
  39062. Node411.setWidth(Node411width);
  39063. Node411.setHeight(Node411height);
  39064. Node411._nodeType = 'text';
  39065. Node411._disallowEvert = true;
  39066. Node411.setRotation(0*Math.PI/180);
  39067. Node411.a('node.width', Node411width);
  39068. Node411.a('node.height', Node411height);
  39069. Node411.a('node.rect', [0, 0, Node411width, Node411height]);
  39070. Node411.a('node.bordercolor','rgba(128,128,128,1)');
  39071. Node411.a('node.borderwidth', 0);
  39072. Node411.a('node.background','' || 'rgba(0,0,0,0)');
  39073. Node411.a('node.gradient','');
  39074. Node411.a('node.gradientcolor','');
  39075. Node411.a('node.text','万kWh');
  39076. Node411.a('node.textalign','center');
  39077. Node411.a('node.textvAlign','middle');
  39078. Node411.a('node.textrect', [Node411textStart, 0, Node411textWidth, Node411height]);
  39079. Node411.a('node.color','rgba(128,128,128,1)');
  39080. Node411.a('node.font',' '+ Node411fontSize + 'px "Arial"');
  39081. Node411.a('node.textvisible',true);
  39082. Node411.a('node.linefeed',false);
  39083. if (false) {
  39084. Node411.a('node.textfunc',function(g) {
  39085. g.beginPath();
  39086. var str=Node411.a('node.text') || '万kWh';
  39087. var color=Node411.a('node.color') || 'rgba(128,128,128,1)';
  39088. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node411width,Node411height,13.3333*_ratio.ratioY,"center",color,' '+ Node411fontSize + 'px "Arial"', 0,g);
  39089. });
  39090. }
  39091. if (false) {
  39092. Node411.a('node.underlinepoints',[Node411lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node411fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node411fontSize + 'px "Arial"').width + 6, (Node411height - Node411fontSize) * 0.5*_ratio.ratioY + Node411fontSize + 2 ]);
  39093. Node411.a('node.underlinevisible',false);
  39094. Node411.a('node.underlineBorderWidth', 1);
  39095. }
  39096. dataModel.add(Node411);
  39097. zoomNodeList.push({
  39098. node: Node411,
  39099. borderWidth: 0,
  39100. attr: 'node.borderwidth'
  39101. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39102. var Node412 = new ht.Node();
  39103. var Node412textStart, Node412textWidth, Node412lineStart, Node412align = 'center', Node412fontSize = 13.3333*_ratio.ratioY,Node412width = 59*_ratio.ratioX, Node412height = 26*_ratio.ratioY;
  39104. (function () {
  39105. if (Node412align === 'left') {
  39106. Node412textStart = Node412fontSize * 0.2 > 2 ? Node412fontSize * 0.2 - 4 : Node412fontSize * 0.2 - 9;
  39107. Node412textWidth = Node412width;
  39108. Node412lineStart = 1;
  39109. } else if (Node412align === 'right') {
  39110. Node412textStart = 0;
  39111. Node412textWidth =Node412fontSize <= 8 ? Node412width + Node412fontSize * 0.2 + 6 : Node412width - Node412fontSize * 0.2;
  39112. Node412lineStart = (Node412width - (ht.Default.getTextSize('万kWh', ' '+ Node412fontSize + 'px "Arial"').width + 6)) * 0.5;
  39113. } else if (Node412align === 'center') {
  39114. Node412textStart = -3;
  39115. Node412textWidth = Node412width;
  39116. Node412lineStart = Node412width - ht.Default.getTextSize('万kWh', ' '+ Node412fontSize + 'px "Arial"').width - 11;
  39117. }
  39118. })();
  39119. Node412.setImage(GD.getTextJSON(Node412width, Node412height, true, false, false, ' '+ Node412fontSize + 'px "Arial"'))
  39120. Node412.setPosition(1278*ratio.ratioX, 149*ratio.ratioY);
  39121. Node412.setWidth(Node412width);
  39122. Node412.setHeight(Node412height);
  39123. Node412._nodeType = 'text';
  39124. Node412._disallowEvert = true;
  39125. Node412.setRotation(0*Math.PI/180);
  39126. Node412.a('node.width', Node412width);
  39127. Node412.a('node.height', Node412height);
  39128. Node412.a('node.rect', [0, 0, Node412width, Node412height]);
  39129. Node412.a('node.bordercolor','rgba(128,128,128,1)');
  39130. Node412.a('node.borderwidth', 0);
  39131. Node412.a('node.background','' || 'rgba(0,0,0,0)');
  39132. Node412.a('node.gradient','');
  39133. Node412.a('node.gradientcolor','');
  39134. Node412.a('node.text','万kWh');
  39135. Node412.a('node.textalign','center');
  39136. Node412.a('node.textvAlign','middle');
  39137. Node412.a('node.textrect', [Node412textStart, 0, Node412textWidth, Node412height]);
  39138. Node412.a('node.color','rgba(128,128,128,1)');
  39139. Node412.a('node.font',' '+ Node412fontSize + 'px "Arial"');
  39140. Node412.a('node.textvisible',true);
  39141. Node412.a('node.linefeed',false);
  39142. if (false) {
  39143. Node412.a('node.textfunc',function(g) {
  39144. g.beginPath();
  39145. var str=Node412.a('node.text') || '万kWh';
  39146. var color=Node412.a('node.color') || 'rgba(128,128,128,1)';
  39147. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node412width,Node412height,13.3333*_ratio.ratioY,"center",color,' '+ Node412fontSize + 'px "Arial"', 0,g);
  39148. });
  39149. }
  39150. if (false) {
  39151. Node412.a('node.underlinepoints',[Node412lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node412fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node412fontSize + 'px "Arial"').width + 6, (Node412height - Node412fontSize) * 0.5*_ratio.ratioY + Node412fontSize + 2 ]);
  39152. Node412.a('node.underlinevisible',false);
  39153. Node412.a('node.underlineBorderWidth', 1);
  39154. }
  39155. dataModel.add(Node412);
  39156. zoomNodeList.push({
  39157. node: Node412,
  39158. borderWidth: 0,
  39159. attr: 'node.borderwidth'
  39160. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39161. var Node413 = new ht.Node();
  39162. var Node413textStart, Node413textWidth, Node413lineStart, Node413align = 'left', Node413fontSize = 13.3333*_ratio.ratioY,Node413width = 67*_ratio.ratioX, Node413height = 26*_ratio.ratioY;
  39163. (function () {
  39164. if (Node413align === 'left') {
  39165. Node413textStart = Node413fontSize * 0.2 > 2 ? Node413fontSize * 0.2 - 4 : Node413fontSize * 0.2 - 9;
  39166. Node413textWidth = Node413width;
  39167. Node413lineStart = 1;
  39168. } else if (Node413align === 'right') {
  39169. Node413textStart = 0;
  39170. Node413textWidth =Node413fontSize <= 8 ? Node413width + Node413fontSize * 0.2 + 6 : Node413width - Node413fontSize * 0.2;
  39171. Node413lineStart = (Node413width - (ht.Default.getTextSize('装机容量', ' '+ Node413fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  39172. } else if (Node413align === 'center') {
  39173. Node413textStart = -3;
  39174. Node413textWidth = Node413width;
  39175. Node413lineStart = Node413width - ht.Default.getTextSize('装机容量', ' '+ Node413fontSize + 'px "微软雅黑"').width - 11;
  39176. }
  39177. })();
  39178. Node413.setImage(GD.getTextJSON(Node413width, Node413height, true, false, false, ' '+ Node413fontSize + 'px "微软雅黑"'))
  39179. Node413.setPosition(223*ratio.ratioX, 51*ratio.ratioY);
  39180. Node413.setWidth(Node413width);
  39181. Node413.setHeight(Node413height);
  39182. Node413._nodeType = 'text';
  39183. Node413._disallowEvert = true;
  39184. Node413.setRotation(0*Math.PI/180);
  39185. Node413.a('node.width', Node413width);
  39186. Node413.a('node.height', Node413height);
  39187. Node413.a('node.rect', [0, 0, Node413width, Node413height]);
  39188. Node413.a('node.bordercolor','rgba(0,0,0,1)');
  39189. Node413.a('node.borderwidth', 0);
  39190. Node413.a('node.background','' || 'rgba(0,0,0,0)');
  39191. Node413.a('node.gradient','');
  39192. Node413.a('node.gradientcolor','');
  39193. Node413.a('node.text','装机容量');
  39194. Node413.a('node.textalign','left');
  39195. Node413.a('node.textvAlign','middle');
  39196. Node413.a('node.textrect', [Node413textStart, 0, Node413textWidth, Node413height]);
  39197. Node413.a('node.color','rgba(0,0,0,1)');
  39198. Node413.a('node.font',' '+ Node413fontSize + 'px "微软雅黑"');
  39199. Node413.a('node.textvisible',true);
  39200. Node413.a('node.linefeed',false);
  39201. if (false) {
  39202. Node413.a('node.textfunc',function(g) {
  39203. g.beginPath();
  39204. var str=Node413.a('node.text') || '装机容量';
  39205. var color=Node413.a('node.color') || 'rgba(0,0,0,1)';
  39206. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node413width,Node413height,13.3333*_ratio.ratioY,"left",color,' '+ Node413fontSize + 'px "微软雅黑"', 0,g);
  39207. });
  39208. }
  39209. if (false) {
  39210. Node413.a('node.underlinepoints',[Node413lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node413fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node413fontSize + 'px "微软雅黑"').width + 6, (Node413height - Node413fontSize) * 0.5*_ratio.ratioY + Node413fontSize + 2 ]);
  39211. Node413.a('node.underlinevisible',false);
  39212. Node413.a('node.underlineBorderWidth', 1);
  39213. }
  39214. dataModel.add(Node413);
  39215. zoomNodeList.push({
  39216. node: Node413,
  39217. borderWidth: 0,
  39218. attr: 'node.borderwidth'
  39219. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39220. var Node414type = 'rect';
  39221. var Node414 = new ht.Node(),
  39222. Node414BorderWidth = 1*2;
  39223. if (Node414type === 'arc') {
  39224. Node414BorderWidth *= 1;
  39225. }
  39226. Node414.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node414type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39227. Node414.setPosition(354*ratio.ratioX, 50*ratio.ratioY);
  39228. Node414.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
  39229. Node414.s({
  39230. 'pixelPerfect':true
  39231. /*@AddPara@*/
  39232. });
  39233. Node414.a('node.width', 94*_ratio.ratioX);
  39234. Node414.a('node.height', 24.33136*_ratio.ratioY);
  39235. Node414.a('node.type', Node414type);
  39236. Node414.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  39237. Node414.a('node.background', 'rgba(255,255,255,0.003921569)');
  39238. Node414.a('node.gradientcolor', '');
  39239. Node414.a('node.gradient', '');
  39240. Node414.a('node.borderwidth', Node414BorderWidth);
  39241. Node414.a('node.color', 'rgba(224,224,224,1)');
  39242. Node414.a('node.fillrect', [0,0,0,0]);
  39243. Node414.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39244. Node414.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39245. Node414.a('node.fillgradient', '');
  39246. if (Node414type !== 'rect') {
  39247. Node414.a('node.arcFrom', parseFloat('@arcFrom@'));
  39248. Node414.a('node.arcTo', parseFloat('@arcTo@'));
  39249. Node414.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39250. }
  39251. if (Node414type === 'arc') {
  39252. Node414.a('node.arcOval', true);
  39253. }
  39254. Node414.setRotation(0*Math.PI/180);
  39255. Node414.borderWidth = Node414BorderWidth;
  39256. Node414.borderFillwidth = Node414BorderWidth;
  39257. dataModel.add(Node414);
  39258. Node414._nodename = 'Node414'
  39259. Node414._nodeType = 'rect';
  39260. zoomNodeList.push({
  39261. node: Node414,
  39262. attr: 'node.borderwidth'
  39263. });
  39264. (function (node, _img) {
  39265. var setWidth = node.setWidth,
  39266. setHeight = node.setHeight;
  39267. node.setWidth = function (width) {
  39268. if (width === this.getWidth()) return ;
  39269. var height = this.getHeight();
  39270. this.a('node.width', width);
  39271. this.a('node.rect', [0,0,width, height]);
  39272. setWidth.apply(this, arguments);
  39273. }
  39274. node.setHeight = function (height) {
  39275. if (height === this.getHeight()) return ;
  39276. var width = this.getWidth();
  39277. this.a('node.height', height);
  39278. this.a('node.rect', [0,0,width, height]);
  39279. setHeight.apply(this, arguments);
  39280. }
  39281. })(Node414, Node414.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39282. var Node415type = 'rect';
  39283. var Node415 = new ht.Node(),
  39284. Node415BorderWidth = 1*2;
  39285. if (Node415type === 'arc') {
  39286. Node415BorderWidth *= 1;
  39287. }
  39288. Node415.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node415type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39289. Node415.setPosition(354*ratio.ratioX, 74*ratio.ratioY);
  39290. Node415.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
  39291. Node415.s({
  39292. 'pixelPerfect':true
  39293. /*@AddPara@*/
  39294. });
  39295. Node415.a('node.width', 94*_ratio.ratioX);
  39296. Node415.a('node.height', 24.33138*_ratio.ratioY);
  39297. Node415.a('node.type', Node415type);
  39298. Node415.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  39299. Node415.a('node.background', 'rgba(255,255,255,0.003921569)');
  39300. Node415.a('node.gradientcolor', '');
  39301. Node415.a('node.gradient', '');
  39302. Node415.a('node.borderwidth', Node415BorderWidth);
  39303. Node415.a('node.color', 'rgba(224,224,224,1)');
  39304. Node415.a('node.fillrect', [0,0,0,0]);
  39305. Node415.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39306. Node415.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39307. Node415.a('node.fillgradient', '');
  39308. if (Node415type !== 'rect') {
  39309. Node415.a('node.arcFrom', parseFloat('@arcFrom@'));
  39310. Node415.a('node.arcTo', parseFloat('@arcTo@'));
  39311. Node415.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39312. }
  39313. if (Node415type === 'arc') {
  39314. Node415.a('node.arcOval', true);
  39315. }
  39316. Node415.setRotation(0*Math.PI/180);
  39317. Node415.borderWidth = Node415BorderWidth;
  39318. Node415.borderFillwidth = Node415BorderWidth;
  39319. dataModel.add(Node415);
  39320. Node415._nodename = 'Node415'
  39321. Node415._nodeType = 'rect';
  39322. zoomNodeList.push({
  39323. node: Node415,
  39324. attr: 'node.borderwidth'
  39325. });
  39326. (function (node, _img) {
  39327. var setWidth = node.setWidth,
  39328. setHeight = node.setHeight;
  39329. node.setWidth = function (width) {
  39330. if (width === this.getWidth()) return ;
  39331. var height = this.getHeight();
  39332. this.a('node.width', width);
  39333. this.a('node.rect', [0,0,width, height]);
  39334. setWidth.apply(this, arguments);
  39335. }
  39336. node.setHeight = function (height) {
  39337. if (height === this.getHeight()) return ;
  39338. var width = this.getWidth();
  39339. this.a('node.height', height);
  39340. this.a('node.rect', [0,0,width, height]);
  39341. setHeight.apply(this, arguments);
  39342. }
  39343. })(Node415, Node415.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39344. var Node416type = 'rect';
  39345. var Node416 = new ht.Node(),
  39346. Node416BorderWidth = 1*2;
  39347. if (Node416type === 'arc') {
  39348. Node416BorderWidth *= 1;
  39349. }
  39350. Node416.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node416type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39351. Node416.setPosition(354*ratio.ratioX, 98*ratio.ratioY);
  39352. Node416.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
  39353. Node416.s({
  39354. 'pixelPerfect':true
  39355. /*@AddPara@*/
  39356. });
  39357. Node416.a('node.width', 94*_ratio.ratioX);
  39358. Node416.a('node.height', 24.33138*_ratio.ratioY);
  39359. Node416.a('node.type', Node416type);
  39360. Node416.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  39361. Node416.a('node.background', 'rgba(255,255,255,0.003921569)');
  39362. Node416.a('node.gradientcolor', '');
  39363. Node416.a('node.gradient', '');
  39364. Node416.a('node.borderwidth', Node416BorderWidth);
  39365. Node416.a('node.color', 'rgba(224,224,224,1)');
  39366. Node416.a('node.fillrect', [0,0,0,0]);
  39367. Node416.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39368. Node416.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39369. Node416.a('node.fillgradient', '');
  39370. if (Node416type !== 'rect') {
  39371. Node416.a('node.arcFrom', parseFloat('@arcFrom@'));
  39372. Node416.a('node.arcTo', parseFloat('@arcTo@'));
  39373. Node416.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39374. }
  39375. if (Node416type === 'arc') {
  39376. Node416.a('node.arcOval', true);
  39377. }
  39378. Node416.setRotation(0*Math.PI/180);
  39379. Node416.borderWidth = Node416BorderWidth;
  39380. Node416.borderFillwidth = Node416BorderWidth;
  39381. dataModel.add(Node416);
  39382. Node416._nodename = 'Node416'
  39383. Node416._nodeType = 'rect';
  39384. zoomNodeList.push({
  39385. node: Node416,
  39386. attr: 'node.borderwidth'
  39387. });
  39388. (function (node, _img) {
  39389. var setWidth = node.setWidth,
  39390. setHeight = node.setHeight;
  39391. node.setWidth = function (width) {
  39392. if (width === this.getWidth()) return ;
  39393. var height = this.getHeight();
  39394. this.a('node.width', width);
  39395. this.a('node.rect', [0,0,width, height]);
  39396. setWidth.apply(this, arguments);
  39397. }
  39398. node.setHeight = function (height) {
  39399. if (height === this.getHeight()) return ;
  39400. var width = this.getWidth();
  39401. this.a('node.height', height);
  39402. this.a('node.rect', [0,0,width, height]);
  39403. setHeight.apply(this, arguments);
  39404. }
  39405. })(Node416, Node416.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39406. var Node417type = 'rect';
  39407. var Node417 = new ht.Node(),
  39408. Node417BorderWidth = 1*2;
  39409. if (Node417type === 'arc') {
  39410. Node417BorderWidth *= 1;
  39411. }
  39412. Node417.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node417type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39413. Node417.setPosition(354*ratio.ratioX, 123*ratio.ratioY);
  39414. Node417.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
  39415. Node417.s({
  39416. 'pixelPerfect':true
  39417. /*@AddPara@*/
  39418. });
  39419. Node417.a('node.width', 94*_ratio.ratioX);
  39420. Node417.a('node.height', 24.33136*_ratio.ratioY);
  39421. Node417.a('node.type', Node417type);
  39422. Node417.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  39423. Node417.a('node.background', 'rgba(255,255,255,0.003921569)');
  39424. Node417.a('node.gradientcolor', '');
  39425. Node417.a('node.gradient', '');
  39426. Node417.a('node.borderwidth', Node417BorderWidth);
  39427. Node417.a('node.color', 'rgba(224,224,224,1)');
  39428. Node417.a('node.fillrect', [0,0,0,0]);
  39429. Node417.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39430. Node417.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39431. Node417.a('node.fillgradient', '');
  39432. if (Node417type !== 'rect') {
  39433. Node417.a('node.arcFrom', parseFloat('@arcFrom@'));
  39434. Node417.a('node.arcTo', parseFloat('@arcTo@'));
  39435. Node417.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39436. }
  39437. if (Node417type === 'arc') {
  39438. Node417.a('node.arcOval', true);
  39439. }
  39440. Node417.setRotation(0*Math.PI/180);
  39441. Node417.borderWidth = Node417BorderWidth;
  39442. Node417.borderFillwidth = Node417BorderWidth;
  39443. dataModel.add(Node417);
  39444. Node417._nodename = 'Node417'
  39445. Node417._nodeType = 'rect';
  39446. zoomNodeList.push({
  39447. node: Node417,
  39448. attr: 'node.borderwidth'
  39449. });
  39450. (function (node, _img) {
  39451. var setWidth = node.setWidth,
  39452. setHeight = node.setHeight;
  39453. node.setWidth = function (width) {
  39454. if (width === this.getWidth()) return ;
  39455. var height = this.getHeight();
  39456. this.a('node.width', width);
  39457. this.a('node.rect', [0,0,width, height]);
  39458. setWidth.apply(this, arguments);
  39459. }
  39460. node.setHeight = function (height) {
  39461. if (height === this.getHeight()) return ;
  39462. var width = this.getWidth();
  39463. this.a('node.height', height);
  39464. this.a('node.rect', [0,0,width, height]);
  39465. setHeight.apply(this, arguments);
  39466. }
  39467. })(Node417, Node417.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39468. var Node418type = 'rect';
  39469. var Node418 = new ht.Node(),
  39470. Node418BorderWidth = 1*2;
  39471. if (Node418type === 'arc') {
  39472. Node418BorderWidth *= 1;
  39473. }
  39474. Node418.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node418type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39475. Node418.setPosition(354*ratio.ratioX, 147*ratio.ratioY);
  39476. Node418.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
  39477. Node418.s({
  39478. 'pixelPerfect':true
  39479. /*@AddPara@*/
  39480. });
  39481. Node418.a('node.width', 94*_ratio.ratioX);
  39482. Node418.a('node.height', 24.33138*_ratio.ratioY);
  39483. Node418.a('node.type', Node418type);
  39484. Node418.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  39485. Node418.a('node.background', 'rgba(255,255,255,0.003921569)');
  39486. Node418.a('node.gradientcolor', '');
  39487. Node418.a('node.gradient', '');
  39488. Node418.a('node.borderwidth', Node418BorderWidth);
  39489. Node418.a('node.color', 'rgba(224,224,224,1)');
  39490. Node418.a('node.fillrect', [0,0,0,0]);
  39491. Node418.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39492. Node418.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39493. Node418.a('node.fillgradient', '');
  39494. if (Node418type !== 'rect') {
  39495. Node418.a('node.arcFrom', parseFloat('@arcFrom@'));
  39496. Node418.a('node.arcTo', parseFloat('@arcTo@'));
  39497. Node418.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39498. }
  39499. if (Node418type === 'arc') {
  39500. Node418.a('node.arcOval', true);
  39501. }
  39502. Node418.setRotation(0*Math.PI/180);
  39503. Node418.borderWidth = Node418BorderWidth;
  39504. Node418.borderFillwidth = Node418BorderWidth;
  39505. dataModel.add(Node418);
  39506. Node418._nodename = 'Node418'
  39507. Node418._nodeType = 'rect';
  39508. zoomNodeList.push({
  39509. node: Node418,
  39510. attr: 'node.borderwidth'
  39511. });
  39512. (function (node, _img) {
  39513. var setWidth = node.setWidth,
  39514. setHeight = node.setHeight;
  39515. node.setWidth = function (width) {
  39516. if (width === this.getWidth()) return ;
  39517. var height = this.getHeight();
  39518. this.a('node.width', width);
  39519. this.a('node.rect', [0,0,width, height]);
  39520. setWidth.apply(this, arguments);
  39521. }
  39522. node.setHeight = function (height) {
  39523. if (height === this.getHeight()) return ;
  39524. var width = this.getWidth();
  39525. this.a('node.height', height);
  39526. this.a('node.rect', [0,0,width, height]);
  39527. setHeight.apply(this, arguments);
  39528. }
  39529. })(Node418, Node418.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39530. var Node419 = new ht.Node();
  39531. var Node419textStart, Node419textWidth, Node419lineStart, Node419align = 'center', Node419fontSize = 13.3333*_ratio.ratioY,Node419width = 58*_ratio.ratioX, Node419height = 26*_ratio.ratioY;
  39532. (function () {
  39533. if (Node419align === 'left') {
  39534. Node419textStart = Node419fontSize * 0.2 > 2 ? Node419fontSize * 0.2 - 4 : Node419fontSize * 0.2 - 9;
  39535. Node419textWidth = Node419width;
  39536. Node419lineStart = 1;
  39537. } else if (Node419align === 'right') {
  39538. Node419textStart = 0;
  39539. Node419textWidth =Node419fontSize <= 8 ? Node419width + Node419fontSize * 0.2 + 6 : Node419width - Node419fontSize * 0.2;
  39540. Node419lineStart = (Node419width - (ht.Default.getTextSize('0', ' '+ Node419fontSize + 'px "Arial"').width + 6)) * 0.5;
  39541. } else if (Node419align === 'center') {
  39542. Node419textStart = -3;
  39543. Node419textWidth = Node419width;
  39544. Node419lineStart = Node419width - ht.Default.getTextSize('0', ' '+ Node419fontSize + 'px "Arial"').width - 11;
  39545. }
  39546. })();
  39547. Node419.setImage(GD.getTextJSON(Node419width, Node419height, true, false, false, ' '+ Node419fontSize + 'px "Arial"'))
  39548. Node419.setPosition(354*ratio.ratioX, 52*ratio.ratioY);
  39549. Node419.setWidth(Node419width);
  39550. Node419.setHeight(Node419height);
  39551. Node419._nodeType = 'text';
  39552. Node419._disallowEvert = true;
  39553. Node419.setRotation(0*Math.PI/180);
  39554. Node419.a('node.width', Node419width);
  39555. Node419.a('node.height', Node419height);
  39556. Node419.a('node.rect', [0, 0, Node419width, Node419height]);
  39557. Node419.a('node.bordercolor','rgba(0,0,0,1)');
  39558. Node419.a('node.borderwidth', 0);
  39559. Node419.a('node.background','' || 'rgba(0,0,0,0)');
  39560. Node419.a('node.gradient','');
  39561. Node419.a('node.gradientcolor','');
  39562. Node419.a('node.text','0');
  39563. Node419.a('node.textalign','center');
  39564. Node419.a('node.textvAlign','middle');
  39565. Node419.a('node.textrect', [Node419textStart, 0, Node419textWidth, Node419height]);
  39566. Node419.a('node.color','rgba(0,0,0,1)');
  39567. Node419.a('node.font',' '+ Node419fontSize + 'px "Arial"');
  39568. Node419.a('node.textvisible',true);
  39569. Node419.a('node.linefeed',false);
  39570. if (false) {
  39571. Node419.a('node.textfunc',function(g) {
  39572. g.beginPath();
  39573. var str=Node419.a('node.text') || '0';
  39574. var color=Node419.a('node.color') || 'rgba(0,0,0,1)';
  39575. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node419width,Node419height,13.3333*_ratio.ratioY,"center",color,' '+ Node419fontSize + 'px "Arial"', 0,g);
  39576. });
  39577. }
  39578. if (false) {
  39579. Node419.a('node.underlinepoints',[Node419lineStart, (26 - 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 ]);
  39580. Node419.a('node.underlinevisible',false);
  39581. Node419.a('node.underlineBorderWidth', 1);
  39582. }
  39583. dataModel.add(Node419);
  39584. zoomNodeList.push({
  39585. node: Node419,
  39586. borderWidth: 0,
  39587. attr: 'node.borderwidth'
  39588. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39589. var Node420 = new ht.Node();
  39590. var Node420textStart, Node420textWidth, Node420lineStart, Node420align = 'center', Node420fontSize = 13.3333*_ratio.ratioY,Node420width = 58*_ratio.ratioX, Node420height = 26*_ratio.ratioY;
  39591. (function () {
  39592. if (Node420align === 'left') {
  39593. Node420textStart = Node420fontSize * 0.2 > 2 ? Node420fontSize * 0.2 - 4 : Node420fontSize * 0.2 - 9;
  39594. Node420textWidth = Node420width;
  39595. Node420lineStart = 1;
  39596. } else if (Node420align === 'right') {
  39597. Node420textStart = 0;
  39598. Node420textWidth =Node420fontSize <= 8 ? Node420width + Node420fontSize * 0.2 + 6 : Node420width - Node420fontSize * 0.2;
  39599. Node420lineStart = (Node420width - (ht.Default.getTextSize('0', ' '+ Node420fontSize + 'px "Arial"').width + 6)) * 0.5;
  39600. } else if (Node420align === 'center') {
  39601. Node420textStart = -3;
  39602. Node420textWidth = Node420width;
  39603. Node420lineStart = Node420width - ht.Default.getTextSize('0', ' '+ Node420fontSize + 'px "Arial"').width - 11;
  39604. }
  39605. })();
  39606. Node420.setImage(GD.getTextJSON(Node420width, Node420height, true, false, false, ' '+ Node420fontSize + 'px "Arial"'))
  39607. Node420.setPosition(354*ratio.ratioX, 76*ratio.ratioY);
  39608. Node420.setWidth(Node420width);
  39609. Node420.setHeight(Node420height);
  39610. Node420._nodeType = 'text';
  39611. Node420._disallowEvert = true;
  39612. Node420.setRotation(0*Math.PI/180);
  39613. Node420.a('node.width', Node420width);
  39614. Node420.a('node.height', Node420height);
  39615. Node420.a('node.rect', [0, 0, Node420width, Node420height]);
  39616. Node420.a('node.bordercolor','rgba(0,0,0,1)');
  39617. Node420.a('node.borderwidth', 0);
  39618. Node420.a('node.background','' || 'rgba(0,0,0,0)');
  39619. Node420.a('node.gradient','');
  39620. Node420.a('node.gradientcolor','');
  39621. Node420.a('node.text','0');
  39622. Node420.a('node.textalign','center');
  39623. Node420.a('node.textvAlign','middle');
  39624. Node420.a('node.textrect', [Node420textStart, 0, Node420textWidth, Node420height]);
  39625. Node420.a('node.color','rgba(0,0,0,1)');
  39626. Node420.a('node.font',' '+ Node420fontSize + 'px "Arial"');
  39627. Node420.a('node.textvisible',true);
  39628. Node420.a('node.linefeed',false);
  39629. if (false) {
  39630. Node420.a('node.textfunc',function(g) {
  39631. g.beginPath();
  39632. var str=Node420.a('node.text') || '0';
  39633. var color=Node420.a('node.color') || 'rgba(0,0,0,1)';
  39634. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node420width,Node420height,13.3333*_ratio.ratioY,"center",color,' '+ Node420fontSize + 'px "Arial"', 0,g);
  39635. });
  39636. }
  39637. if (false) {
  39638. Node420.a('node.underlinepoints',[Node420lineStart, (26 - 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 ]);
  39639. Node420.a('node.underlinevisible',false);
  39640. Node420.a('node.underlineBorderWidth', 1);
  39641. }
  39642. dataModel.add(Node420);
  39643. zoomNodeList.push({
  39644. node: Node420,
  39645. borderWidth: 0,
  39646. attr: 'node.borderwidth'
  39647. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39648. var Node421 = new ht.Node();
  39649. var Node421textStart, Node421textWidth, Node421lineStart, Node421align = 'center', Node421fontSize = 13.3333*_ratio.ratioY,Node421width = 58*_ratio.ratioX, Node421height = 26*_ratio.ratioY;
  39650. (function () {
  39651. if (Node421align === 'left') {
  39652. Node421textStart = Node421fontSize * 0.2 > 2 ? Node421fontSize * 0.2 - 4 : Node421fontSize * 0.2 - 9;
  39653. Node421textWidth = Node421width;
  39654. Node421lineStart = 1;
  39655. } else if (Node421align === 'right') {
  39656. Node421textStart = 0;
  39657. Node421textWidth =Node421fontSize <= 8 ? Node421width + Node421fontSize * 0.2 + 6 : Node421width - Node421fontSize * 0.2;
  39658. Node421lineStart = (Node421width - (ht.Default.getTextSize('0', ' '+ Node421fontSize + 'px "Arial"').width + 6)) * 0.5;
  39659. } else if (Node421align === 'center') {
  39660. Node421textStart = -3;
  39661. Node421textWidth = Node421width;
  39662. Node421lineStart = Node421width - ht.Default.getTextSize('0', ' '+ Node421fontSize + 'px "Arial"').width - 11;
  39663. }
  39664. })();
  39665. Node421.setImage(GD.getTextJSON(Node421width, Node421height, true, false, false, ' '+ Node421fontSize + 'px "Arial"'))
  39666. Node421.setPosition(354*ratio.ratioX, 101*ratio.ratioY);
  39667. Node421.setWidth(Node421width);
  39668. Node421.setHeight(Node421height);
  39669. Node421._nodeType = 'text';
  39670. Node421._disallowEvert = true;
  39671. Node421.setRotation(0*Math.PI/180);
  39672. Node421.a('node.width', Node421width);
  39673. Node421.a('node.height', Node421height);
  39674. Node421.a('node.rect', [0, 0, Node421width, Node421height]);
  39675. Node421.a('node.bordercolor','rgba(0,0,0,1)');
  39676. Node421.a('node.borderwidth', 0);
  39677. Node421.a('node.background','' || 'rgba(0,0,0,0)');
  39678. Node421.a('node.gradient','');
  39679. Node421.a('node.gradientcolor','');
  39680. Node421.a('node.text','0');
  39681. Node421.a('node.textalign','center');
  39682. Node421.a('node.textvAlign','middle');
  39683. Node421.a('node.textrect', [Node421textStart, 0, Node421textWidth, Node421height]);
  39684. Node421.a('node.color','rgba(0,0,0,1)');
  39685. Node421.a('node.font',' '+ Node421fontSize + 'px "Arial"');
  39686. Node421.a('node.textvisible',true);
  39687. Node421.a('node.linefeed',false);
  39688. if (false) {
  39689. Node421.a('node.textfunc',function(g) {
  39690. g.beginPath();
  39691. var str=Node421.a('node.text') || '0';
  39692. var color=Node421.a('node.color') || 'rgba(0,0,0,1)';
  39693. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node421width,Node421height,13.3333*_ratio.ratioY,"center",color,' '+ Node421fontSize + 'px "Arial"', 0,g);
  39694. });
  39695. }
  39696. if (false) {
  39697. Node421.a('node.underlinepoints',[Node421lineStart, (26 - 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 ]);
  39698. Node421.a('node.underlinevisible',false);
  39699. Node421.a('node.underlineBorderWidth', 1);
  39700. }
  39701. dataModel.add(Node421);
  39702. zoomNodeList.push({
  39703. node: Node421,
  39704. borderWidth: 0,
  39705. attr: 'node.borderwidth'
  39706. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39707. var Node422 = new ht.Node();
  39708. var Node422textStart, Node422textWidth, Node422lineStart, Node422align = 'center', Node422fontSize = 13.3333*_ratio.ratioY,Node422width = 58*_ratio.ratioX, Node422height = 26*_ratio.ratioY;
  39709. (function () {
  39710. if (Node422align === 'left') {
  39711. Node422textStart = Node422fontSize * 0.2 > 2 ? Node422fontSize * 0.2 - 4 : Node422fontSize * 0.2 - 9;
  39712. Node422textWidth = Node422width;
  39713. Node422lineStart = 1;
  39714. } else if (Node422align === 'right') {
  39715. Node422textStart = 0;
  39716. Node422textWidth =Node422fontSize <= 8 ? Node422width + Node422fontSize * 0.2 + 6 : Node422width - Node422fontSize * 0.2;
  39717. Node422lineStart = (Node422width - (ht.Default.getTextSize('0', ' '+ Node422fontSize + 'px "Arial"').width + 6)) * 0.5;
  39718. } else if (Node422align === 'center') {
  39719. Node422textStart = -3;
  39720. Node422textWidth = Node422width;
  39721. Node422lineStart = Node422width - ht.Default.getTextSize('0', ' '+ Node422fontSize + 'px "Arial"').width - 11;
  39722. }
  39723. })();
  39724. Node422.setImage(GD.getTextJSON(Node422width, Node422height, true, false, false, ' '+ Node422fontSize + 'px "Arial"'))
  39725. Node422.setPosition(354*ratio.ratioX, 124*ratio.ratioY);
  39726. Node422.setWidth(Node422width);
  39727. Node422.setHeight(Node422height);
  39728. Node422._nodeType = 'text';
  39729. Node422._disallowEvert = true;
  39730. Node422.setRotation(0*Math.PI/180);
  39731. Node422.a('node.width', Node422width);
  39732. Node422.a('node.height', Node422height);
  39733. Node422.a('node.rect', [0, 0, Node422width, Node422height]);
  39734. Node422.a('node.bordercolor','rgba(0,0,0,1)');
  39735. Node422.a('node.borderwidth', 0);
  39736. Node422.a('node.background','' || 'rgba(0,0,0,0)');
  39737. Node422.a('node.gradient','');
  39738. Node422.a('node.gradientcolor','');
  39739. Node422.a('node.text','0');
  39740. Node422.a('node.textalign','center');
  39741. Node422.a('node.textvAlign','middle');
  39742. Node422.a('node.textrect', [Node422textStart, 0, Node422textWidth, Node422height]);
  39743. Node422.a('node.color','rgba(0,0,0,1)');
  39744. Node422.a('node.font',' '+ Node422fontSize + 'px "Arial"');
  39745. Node422.a('node.textvisible',true);
  39746. Node422.a('node.linefeed',false);
  39747. if (false) {
  39748. Node422.a('node.textfunc',function(g) {
  39749. g.beginPath();
  39750. var str=Node422.a('node.text') || '0';
  39751. var color=Node422.a('node.color') || 'rgba(0,0,0,1)';
  39752. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node422width,Node422height,13.3333*_ratio.ratioY,"center",color,' '+ Node422fontSize + 'px "Arial"', 0,g);
  39753. });
  39754. }
  39755. if (false) {
  39756. Node422.a('node.underlinepoints',[Node422lineStart, (26 - 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 ]);
  39757. Node422.a('node.underlinevisible',false);
  39758. Node422.a('node.underlineBorderWidth', 1);
  39759. }
  39760. dataModel.add(Node422);
  39761. zoomNodeList.push({
  39762. node: Node422,
  39763. borderWidth: 0,
  39764. attr: 'node.borderwidth'
  39765. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39766. var Node423 = new ht.Node();
  39767. var Node423textStart, Node423textWidth, Node423lineStart, Node423align = 'center', Node423fontSize = 13.3333*_ratio.ratioY,Node423width = 58*_ratio.ratioX, Node423height = 26*_ratio.ratioY;
  39768. (function () {
  39769. if (Node423align === 'left') {
  39770. Node423textStart = Node423fontSize * 0.2 > 2 ? Node423fontSize * 0.2 - 4 : Node423fontSize * 0.2 - 9;
  39771. Node423textWidth = Node423width;
  39772. Node423lineStart = 1;
  39773. } else if (Node423align === 'right') {
  39774. Node423textStart = 0;
  39775. Node423textWidth =Node423fontSize <= 8 ? Node423width + Node423fontSize * 0.2 + 6 : Node423width - Node423fontSize * 0.2;
  39776. Node423lineStart = (Node423width - (ht.Default.getTextSize('0', ' '+ Node423fontSize + 'px "Arial"').width + 6)) * 0.5;
  39777. } else if (Node423align === 'center') {
  39778. Node423textStart = -3;
  39779. Node423textWidth = Node423width;
  39780. Node423lineStart = Node423width - ht.Default.getTextSize('0', ' '+ Node423fontSize + 'px "Arial"').width - 11;
  39781. }
  39782. })();
  39783. Node423.setImage(GD.getTextJSON(Node423width, Node423height, true, false, false, ' '+ Node423fontSize + 'px "Arial"'))
  39784. Node423.setPosition(354*ratio.ratioX, 148*ratio.ratioY);
  39785. Node423.setWidth(Node423width);
  39786. Node423.setHeight(Node423height);
  39787. Node423._nodeType = 'text';
  39788. Node423._disallowEvert = true;
  39789. Node423.setRotation(0*Math.PI/180);
  39790. Node423.a('node.width', Node423width);
  39791. Node423.a('node.height', Node423height);
  39792. Node423.a('node.rect', [0, 0, Node423width, Node423height]);
  39793. Node423.a('node.bordercolor','rgba(0,0,0,1)');
  39794. Node423.a('node.borderwidth', 0);
  39795. Node423.a('node.background','' || 'rgba(0,0,0,0)');
  39796. Node423.a('node.gradient','');
  39797. Node423.a('node.gradientcolor','');
  39798. Node423.a('node.text','0');
  39799. Node423.a('node.textalign','center');
  39800. Node423.a('node.textvAlign','middle');
  39801. Node423.a('node.textrect', [Node423textStart, 0, Node423textWidth, Node423height]);
  39802. Node423.a('node.color','rgba(0,0,0,1)');
  39803. Node423.a('node.font',' '+ Node423fontSize + 'px "Arial"');
  39804. Node423.a('node.textvisible',true);
  39805. Node423.a('node.linefeed',false);
  39806. if (false) {
  39807. Node423.a('node.textfunc',function(g) {
  39808. g.beginPath();
  39809. var str=Node423.a('node.text') || '0';
  39810. var color=Node423.a('node.color') || 'rgba(0,0,0,1)';
  39811. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node423width,Node423height,13.3333*_ratio.ratioY,"center",color,' '+ Node423fontSize + 'px "Arial"', 0,g);
  39812. });
  39813. }
  39814. if (false) {
  39815. Node423.a('node.underlinepoints',[Node423lineStart, (26 - 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 ]);
  39816. Node423.a('node.underlinevisible',false);
  39817. Node423.a('node.underlineBorderWidth', 1);
  39818. }
  39819. dataModel.add(Node423);
  39820. zoomNodeList.push({
  39821. node: Node423,
  39822. borderWidth: 0,
  39823. attr: 'node.borderwidth'
  39824. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39825. var Node424type = 'rect';
  39826. var Node424 = new ht.Node(),
  39827. Node424BorderWidth = 1*2;
  39828. if (Node424type === 'arc') {
  39829. Node424BorderWidth *= 1;
  39830. }
  39831. Node424.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node424type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39832. Node424.setPosition(433*ratio.ratioX, 50*ratio.ratioY);
  39833. Node424.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  39834. Node424.s({
  39835. 'pixelPerfect':true
  39836. /*@AddPara@*/
  39837. });
  39838. Node424.a('node.width', 65*_ratio.ratioX);
  39839. Node424.a('node.height', 24.33136*_ratio.ratioY);
  39840. Node424.a('node.type', Node424type);
  39841. Node424.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  39842. Node424.a('node.background', 'rgba(255,255,255,0.003921569)');
  39843. Node424.a('node.gradientcolor', '');
  39844. Node424.a('node.gradient', '');
  39845. Node424.a('node.borderwidth', Node424BorderWidth);
  39846. Node424.a('node.color', 'rgba(224,224,224,1)');
  39847. Node424.a('node.fillrect', [0,0,0,0]);
  39848. Node424.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39849. Node424.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39850. Node424.a('node.fillgradient', '');
  39851. if (Node424type !== 'rect') {
  39852. Node424.a('node.arcFrom', parseFloat('@arcFrom@'));
  39853. Node424.a('node.arcTo', parseFloat('@arcTo@'));
  39854. Node424.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39855. }
  39856. if (Node424type === 'arc') {
  39857. Node424.a('node.arcOval', true);
  39858. }
  39859. Node424.setRotation(0*Math.PI/180);
  39860. Node424.borderWidth = Node424BorderWidth;
  39861. Node424.borderFillwidth = Node424BorderWidth;
  39862. dataModel.add(Node424);
  39863. Node424._nodename = 'Node424'
  39864. Node424._nodeType = 'rect';
  39865. zoomNodeList.push({
  39866. node: Node424,
  39867. attr: 'node.borderwidth'
  39868. });
  39869. (function (node, _img) {
  39870. var setWidth = node.setWidth,
  39871. setHeight = node.setHeight;
  39872. node.setWidth = function (width) {
  39873. if (width === this.getWidth()) return ;
  39874. var height = this.getHeight();
  39875. this.a('node.width', width);
  39876. this.a('node.rect', [0,0,width, height]);
  39877. setWidth.apply(this, arguments);
  39878. }
  39879. node.setHeight = function (height) {
  39880. if (height === this.getHeight()) return ;
  39881. var width = this.getWidth();
  39882. this.a('node.height', height);
  39883. this.a('node.rect', [0,0,width, height]);
  39884. setHeight.apply(this, arguments);
  39885. }
  39886. })(Node424, Node424.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39887. var Node425type = 'rect';
  39888. var Node425 = new ht.Node(),
  39889. Node425BorderWidth = 1*2;
  39890. if (Node425type === 'arc') {
  39891. Node425BorderWidth *= 1;
  39892. }
  39893. Node425.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node425type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39894. Node425.setPosition(433*ratio.ratioX, 74*ratio.ratioY);
  39895. Node425.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  39896. Node425.s({
  39897. 'pixelPerfect':true
  39898. /*@AddPara@*/
  39899. });
  39900. Node425.a('node.width', 65*_ratio.ratioX);
  39901. Node425.a('node.height', 24.33138*_ratio.ratioY);
  39902. Node425.a('node.type', Node425type);
  39903. Node425.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  39904. Node425.a('node.background', 'rgba(255,255,255,0.003921569)');
  39905. Node425.a('node.gradientcolor', '');
  39906. Node425.a('node.gradient', '');
  39907. Node425.a('node.borderwidth', Node425BorderWidth);
  39908. Node425.a('node.color', 'rgba(224,224,224,1)');
  39909. Node425.a('node.fillrect', [0,0,0,0]);
  39910. Node425.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39911. Node425.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39912. Node425.a('node.fillgradient', '');
  39913. if (Node425type !== 'rect') {
  39914. Node425.a('node.arcFrom', parseFloat('@arcFrom@'));
  39915. Node425.a('node.arcTo', parseFloat('@arcTo@'));
  39916. Node425.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39917. }
  39918. if (Node425type === 'arc') {
  39919. Node425.a('node.arcOval', true);
  39920. }
  39921. Node425.setRotation(0*Math.PI/180);
  39922. Node425.borderWidth = Node425BorderWidth;
  39923. Node425.borderFillwidth = Node425BorderWidth;
  39924. dataModel.add(Node425);
  39925. Node425._nodename = 'Node425'
  39926. Node425._nodeType = 'rect';
  39927. zoomNodeList.push({
  39928. node: Node425,
  39929. attr: 'node.borderwidth'
  39930. });
  39931. (function (node, _img) {
  39932. var setWidth = node.setWidth,
  39933. setHeight = node.setHeight;
  39934. node.setWidth = function (width) {
  39935. if (width === this.getWidth()) return ;
  39936. var height = this.getHeight();
  39937. this.a('node.width', width);
  39938. this.a('node.rect', [0,0,width, height]);
  39939. setWidth.apply(this, arguments);
  39940. }
  39941. node.setHeight = function (height) {
  39942. if (height === this.getHeight()) return ;
  39943. var width = this.getWidth();
  39944. this.a('node.height', height);
  39945. this.a('node.rect', [0,0,width, height]);
  39946. setHeight.apply(this, arguments);
  39947. }
  39948. })(Node425, Node425.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  39949. var Node426type = 'rect';
  39950. var Node426 = new ht.Node(),
  39951. Node426BorderWidth = 1*2;
  39952. if (Node426type === 'arc') {
  39953. Node426BorderWidth *= 1;
  39954. }
  39955. Node426.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node426type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  39956. Node426.setPosition(433*ratio.ratioX, 98*ratio.ratioY);
  39957. Node426.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  39958. Node426.s({
  39959. 'pixelPerfect':true
  39960. /*@AddPara@*/
  39961. });
  39962. Node426.a('node.width', 65*_ratio.ratioX);
  39963. Node426.a('node.height', 24.33138*_ratio.ratioY);
  39964. Node426.a('node.type', Node426type);
  39965. Node426.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  39966. Node426.a('node.background', 'rgba(255,255,255,0.003921569)');
  39967. Node426.a('node.gradientcolor', '');
  39968. Node426.a('node.gradient', '');
  39969. Node426.a('node.borderwidth', Node426BorderWidth);
  39970. Node426.a('node.color', 'rgba(224,224,224,1)');
  39971. Node426.a('node.fillrect', [0,0,0,0]);
  39972. Node426.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  39973. Node426.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  39974. Node426.a('node.fillgradient', '');
  39975. if (Node426type !== 'rect') {
  39976. Node426.a('node.arcFrom', parseFloat('@arcFrom@'));
  39977. Node426.a('node.arcTo', parseFloat('@arcTo@'));
  39978. Node426.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  39979. }
  39980. if (Node426type === 'arc') {
  39981. Node426.a('node.arcOval', true);
  39982. }
  39983. Node426.setRotation(0*Math.PI/180);
  39984. Node426.borderWidth = Node426BorderWidth;
  39985. Node426.borderFillwidth = Node426BorderWidth;
  39986. dataModel.add(Node426);
  39987. Node426._nodename = 'Node426'
  39988. Node426._nodeType = 'rect';
  39989. zoomNodeList.push({
  39990. node: Node426,
  39991. attr: 'node.borderwidth'
  39992. });
  39993. (function (node, _img) {
  39994. var setWidth = node.setWidth,
  39995. setHeight = node.setHeight;
  39996. node.setWidth = function (width) {
  39997. if (width === this.getWidth()) return ;
  39998. var height = this.getHeight();
  39999. this.a('node.width', width);
  40000. this.a('node.rect', [0,0,width, height]);
  40001. setWidth.apply(this, arguments);
  40002. }
  40003. node.setHeight = function (height) {
  40004. if (height === this.getHeight()) return ;
  40005. var width = this.getWidth();
  40006. this.a('node.height', height);
  40007. this.a('node.rect', [0,0,width, height]);
  40008. setHeight.apply(this, arguments);
  40009. }
  40010. })(Node426, Node426.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40011. var Node427type = 'rect';
  40012. var Node427 = new ht.Node(),
  40013. Node427BorderWidth = 1*2;
  40014. if (Node427type === 'arc') {
  40015. Node427BorderWidth *= 1;
  40016. }
  40017. Node427.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node427type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40018. Node427.setPosition(433*ratio.ratioX, 123*ratio.ratioY);
  40019. Node427.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  40020. Node427.s({
  40021. 'pixelPerfect':true
  40022. /*@AddPara@*/
  40023. });
  40024. Node427.a('node.width', 65*_ratio.ratioX);
  40025. Node427.a('node.height', 24.33136*_ratio.ratioY);
  40026. Node427.a('node.type', Node427type);
  40027. Node427.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  40028. Node427.a('node.background', 'rgba(255,255,255,0.003921569)');
  40029. Node427.a('node.gradientcolor', '');
  40030. Node427.a('node.gradient', '');
  40031. Node427.a('node.borderwidth', Node427BorderWidth);
  40032. Node427.a('node.color', 'rgba(224,224,224,1)');
  40033. Node427.a('node.fillrect', [0,0,0,0]);
  40034. Node427.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40035. Node427.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40036. Node427.a('node.fillgradient', '');
  40037. if (Node427type !== 'rect') {
  40038. Node427.a('node.arcFrom', parseFloat('@arcFrom@'));
  40039. Node427.a('node.arcTo', parseFloat('@arcTo@'));
  40040. Node427.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40041. }
  40042. if (Node427type === 'arc') {
  40043. Node427.a('node.arcOval', true);
  40044. }
  40045. Node427.setRotation(0*Math.PI/180);
  40046. Node427.borderWidth = Node427BorderWidth;
  40047. Node427.borderFillwidth = Node427BorderWidth;
  40048. dataModel.add(Node427);
  40049. Node427._nodename = 'Node427'
  40050. Node427._nodeType = 'rect';
  40051. zoomNodeList.push({
  40052. node: Node427,
  40053. attr: 'node.borderwidth'
  40054. });
  40055. (function (node, _img) {
  40056. var setWidth = node.setWidth,
  40057. setHeight = node.setHeight;
  40058. node.setWidth = function (width) {
  40059. if (width === this.getWidth()) return ;
  40060. var height = this.getHeight();
  40061. this.a('node.width', width);
  40062. this.a('node.rect', [0,0,width, height]);
  40063. setWidth.apply(this, arguments);
  40064. }
  40065. node.setHeight = function (height) {
  40066. if (height === this.getHeight()) return ;
  40067. var width = this.getWidth();
  40068. this.a('node.height', height);
  40069. this.a('node.rect', [0,0,width, height]);
  40070. setHeight.apply(this, arguments);
  40071. }
  40072. })(Node427, Node427.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40073. var Node428type = 'rect';
  40074. var Node428 = new ht.Node(),
  40075. Node428BorderWidth = 1*2;
  40076. if (Node428type === 'arc') {
  40077. Node428BorderWidth *= 1;
  40078. }
  40079. Node428.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node428type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40080. Node428.setPosition(433*ratio.ratioX, 147*ratio.ratioY);
  40081. Node428.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  40082. Node428.s({
  40083. 'pixelPerfect':true
  40084. /*@AddPara@*/
  40085. });
  40086. Node428.a('node.width', 65*_ratio.ratioX);
  40087. Node428.a('node.height', 24.33138*_ratio.ratioY);
  40088. Node428.a('node.type', Node428type);
  40089. Node428.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  40090. Node428.a('node.background', 'rgba(255,255,255,0.003921569)');
  40091. Node428.a('node.gradientcolor', '');
  40092. Node428.a('node.gradient', '');
  40093. Node428.a('node.borderwidth', Node428BorderWidth);
  40094. Node428.a('node.color', 'rgba(224,224,224,1)');
  40095. Node428.a('node.fillrect', [0,0,0,0]);
  40096. Node428.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40097. Node428.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40098. Node428.a('node.fillgradient', '');
  40099. if (Node428type !== 'rect') {
  40100. Node428.a('node.arcFrom', parseFloat('@arcFrom@'));
  40101. Node428.a('node.arcTo', parseFloat('@arcTo@'));
  40102. Node428.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40103. }
  40104. if (Node428type === 'arc') {
  40105. Node428.a('node.arcOval', true);
  40106. }
  40107. Node428.setRotation(0*Math.PI/180);
  40108. Node428.borderWidth = Node428BorderWidth;
  40109. Node428.borderFillwidth = Node428BorderWidth;
  40110. dataModel.add(Node428);
  40111. Node428._nodename = 'Node428'
  40112. Node428._nodeType = 'rect';
  40113. zoomNodeList.push({
  40114. node: Node428,
  40115. attr: 'node.borderwidth'
  40116. });
  40117. (function (node, _img) {
  40118. var setWidth = node.setWidth,
  40119. setHeight = node.setHeight;
  40120. node.setWidth = function (width) {
  40121. if (width === this.getWidth()) return ;
  40122. var height = this.getHeight();
  40123. this.a('node.width', width);
  40124. this.a('node.rect', [0,0,width, height]);
  40125. setWidth.apply(this, arguments);
  40126. }
  40127. node.setHeight = function (height) {
  40128. if (height === this.getHeight()) return ;
  40129. var width = this.getWidth();
  40130. this.a('node.height', height);
  40131. this.a('node.rect', [0,0,width, height]);
  40132. setHeight.apply(this, arguments);
  40133. }
  40134. })(Node428, Node428.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40135. var Node429 = new ht.Node();
  40136. var Node429textStart, Node429textWidth, Node429lineStart, Node429align = 'center', Node429fontSize = 13.3333*_ratio.ratioY,Node429width = 59*_ratio.ratioX, Node429height = 26*_ratio.ratioY;
  40137. (function () {
  40138. if (Node429align === 'left') {
  40139. Node429textStart = Node429fontSize * 0.2 > 2 ? Node429fontSize * 0.2 - 4 : Node429fontSize * 0.2 - 9;
  40140. Node429textWidth = Node429width;
  40141. Node429lineStart = 1;
  40142. } else if (Node429align === 'right') {
  40143. Node429textStart = 0;
  40144. Node429textWidth =Node429fontSize <= 8 ? Node429width + Node429fontSize * 0.2 + 6 : Node429width - Node429fontSize * 0.2;
  40145. Node429lineStart = (Node429width - (ht.Default.getTextSize('万kW', ' '+ Node429fontSize + 'px "Arial"').width + 6)) * 0.5;
  40146. } else if (Node429align === 'center') {
  40147. Node429textStart = -3;
  40148. Node429textWidth = Node429width;
  40149. Node429lineStart = Node429width - ht.Default.getTextSize('万kW', ' '+ Node429fontSize + 'px "Arial"').width - 11;
  40150. }
  40151. })();
  40152. Node429.setImage(GD.getTextJSON(Node429width, Node429height, true, false, false, ' '+ Node429fontSize + 'px "Arial"'))
  40153. Node429.setPosition(434*ratio.ratioX, 52*ratio.ratioY);
  40154. Node429.setWidth(Node429width);
  40155. Node429.setHeight(Node429height);
  40156. Node429._nodeType = 'text';
  40157. Node429._disallowEvert = true;
  40158. Node429.setRotation(0*Math.PI/180);
  40159. Node429.a('node.width', Node429width);
  40160. Node429.a('node.height', Node429height);
  40161. Node429.a('node.rect', [0, 0, Node429width, Node429height]);
  40162. Node429.a('node.bordercolor','rgba(128,128,128,1)');
  40163. Node429.a('node.borderwidth', 0);
  40164. Node429.a('node.background','' || 'rgba(0,0,0,0)');
  40165. Node429.a('node.gradient','');
  40166. Node429.a('node.gradientcolor','');
  40167. Node429.a('node.text','万kW');
  40168. Node429.a('node.textalign','center');
  40169. Node429.a('node.textvAlign','middle');
  40170. Node429.a('node.textrect', [Node429textStart, 0, Node429textWidth, Node429height]);
  40171. Node429.a('node.color','rgba(128,128,128,1)');
  40172. Node429.a('node.font',' '+ Node429fontSize + 'px "Arial"');
  40173. Node429.a('node.textvisible',true);
  40174. Node429.a('node.linefeed',false);
  40175. if (false) {
  40176. Node429.a('node.textfunc',function(g) {
  40177. g.beginPath();
  40178. var str=Node429.a('node.text') || '万kW';
  40179. var color=Node429.a('node.color') || 'rgba(128,128,128,1)';
  40180. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429width,Node429height,13.3333*_ratio.ratioY,"center",color,' '+ Node429fontSize + 'px "Arial"', 0,g);
  40181. });
  40182. }
  40183. if (false) {
  40184. Node429.a('node.underlinepoints',[Node429lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node429fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node429fontSize + 'px "Arial"').width + 6, (Node429height - Node429fontSize) * 0.5*_ratio.ratioY + Node429fontSize + 2 ]);
  40185. Node429.a('node.underlinevisible',false);
  40186. Node429.a('node.underlineBorderWidth', 1);
  40187. }
  40188. dataModel.add(Node429);
  40189. zoomNodeList.push({
  40190. node: Node429,
  40191. borderWidth: 0,
  40192. attr: 'node.borderwidth'
  40193. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40194. var Node430 = new ht.Node();
  40195. var Node430textStart, Node430textWidth, Node430lineStart, Node430align = 'center', Node430fontSize = 13.3333*_ratio.ratioY,Node430width = 59*_ratio.ratioX, Node430height = 26*_ratio.ratioY;
  40196. (function () {
  40197. if (Node430align === 'left') {
  40198. Node430textStart = Node430fontSize * 0.2 > 2 ? Node430fontSize * 0.2 - 4 : Node430fontSize * 0.2 - 9;
  40199. Node430textWidth = Node430width;
  40200. Node430lineStart = 1;
  40201. } else if (Node430align === 'right') {
  40202. Node430textStart = 0;
  40203. Node430textWidth =Node430fontSize <= 8 ? Node430width + Node430fontSize * 0.2 + 6 : Node430width - Node430fontSize * 0.2;
  40204. Node430lineStart = (Node430width - (ht.Default.getTextSize('MW', ' '+ Node430fontSize + 'px "Arial"').width + 6)) * 0.5;
  40205. } else if (Node430align === 'center') {
  40206. Node430textStart = -3;
  40207. Node430textWidth = Node430width;
  40208. Node430lineStart = Node430width - ht.Default.getTextSize('MW', ' '+ Node430fontSize + 'px "Arial"').width - 11;
  40209. }
  40210. })();
  40211. Node430.setImage(GD.getTextJSON(Node430width, Node430height, true, false, false, ' '+ Node430fontSize + 'px "Arial"'))
  40212. Node430.setPosition(434*ratio.ratioX, 76*ratio.ratioY);
  40213. Node430.setWidth(Node430width);
  40214. Node430.setHeight(Node430height);
  40215. Node430._nodeType = 'text';
  40216. Node430._disallowEvert = true;
  40217. Node430.setRotation(0*Math.PI/180);
  40218. Node430.a('node.width', Node430width);
  40219. Node430.a('node.height', Node430height);
  40220. Node430.a('node.rect', [0, 0, Node430width, Node430height]);
  40221. Node430.a('node.bordercolor','rgba(128,128,128,1)');
  40222. Node430.a('node.borderwidth', 0);
  40223. Node430.a('node.background','' || 'rgba(0,0,0,0)');
  40224. Node430.a('node.gradient','');
  40225. Node430.a('node.gradientcolor','');
  40226. Node430.a('node.text','MW');
  40227. Node430.a('node.textalign','center');
  40228. Node430.a('node.textvAlign','middle');
  40229. Node430.a('node.textrect', [Node430textStart, 0, Node430textWidth, Node430height]);
  40230. Node430.a('node.color','rgba(128,128,128,1)');
  40231. Node430.a('node.font',' '+ Node430fontSize + 'px "Arial"');
  40232. Node430.a('node.textvisible',true);
  40233. Node430.a('node.linefeed',false);
  40234. if (false) {
  40235. Node430.a('node.textfunc',function(g) {
  40236. g.beginPath();
  40237. var str=Node430.a('node.text') || 'MW';
  40238. var color=Node430.a('node.color') || 'rgba(128,128,128,1)';
  40239. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node430width,Node430height,13.3333*_ratio.ratioY,"center",color,' '+ Node430fontSize + 'px "Arial"', 0,g);
  40240. });
  40241. }
  40242. if (false) {
  40243. Node430.a('node.underlinepoints',[Node430lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node430fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node430fontSize + 'px "Arial"').width + 6, (Node430height - Node430fontSize) * 0.5*_ratio.ratioY + Node430fontSize + 2 ]);
  40244. Node430.a('node.underlinevisible',false);
  40245. Node430.a('node.underlineBorderWidth', 1);
  40246. }
  40247. dataModel.add(Node430);
  40248. zoomNodeList.push({
  40249. node: Node430,
  40250. borderWidth: 0,
  40251. attr: 'node.borderwidth'
  40252. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40253. var Node431 = new ht.Node();
  40254. var Node431textStart, Node431textWidth, Node431lineStart, Node431align = 'center', Node431fontSize = 13.3333*_ratio.ratioY,Node431width = 59*_ratio.ratioX, Node431height = 26*_ratio.ratioY;
  40255. (function () {
  40256. if (Node431align === 'left') {
  40257. Node431textStart = Node431fontSize * 0.2 > 2 ? Node431fontSize * 0.2 - 4 : Node431fontSize * 0.2 - 9;
  40258. Node431textWidth = Node431width;
  40259. Node431lineStart = 1;
  40260. } else if (Node431align === 'right') {
  40261. Node431textStart = 0;
  40262. Node431textWidth =Node431fontSize <= 8 ? Node431width + Node431fontSize * 0.2 + 6 : Node431width - Node431fontSize * 0.2;
  40263. Node431lineStart = (Node431width - (ht.Default.getTextSize('m/s', ' '+ Node431fontSize + 'px "Arial"').width + 6)) * 0.5;
  40264. } else if (Node431align === 'center') {
  40265. Node431textStart = -3;
  40266. Node431textWidth = Node431width;
  40267. Node431lineStart = Node431width - ht.Default.getTextSize('m/s', ' '+ Node431fontSize + 'px "Arial"').width - 11;
  40268. }
  40269. })();
  40270. Node431.setImage(GD.getTextJSON(Node431width, Node431height, true, false, false, ' '+ Node431fontSize + 'px "Arial"'))
  40271. Node431.setPosition(434*ratio.ratioX, 99*ratio.ratioY);
  40272. Node431.setWidth(Node431width);
  40273. Node431.setHeight(Node431height);
  40274. Node431._nodeType = 'text';
  40275. Node431._disallowEvert = true;
  40276. Node431.setRotation(0*Math.PI/180);
  40277. Node431.a('node.width', Node431width);
  40278. Node431.a('node.height', Node431height);
  40279. Node431.a('node.rect', [0, 0, Node431width, Node431height]);
  40280. Node431.a('node.bordercolor','rgba(128,128,128,1)');
  40281. Node431.a('node.borderwidth', 0);
  40282. Node431.a('node.background','' || 'rgba(0,0,0,0)');
  40283. Node431.a('node.gradient','');
  40284. Node431.a('node.gradientcolor','');
  40285. Node431.a('node.text','m/s');
  40286. Node431.a('node.textalign','center');
  40287. Node431.a('node.textvAlign','middle');
  40288. Node431.a('node.textrect', [Node431textStart, 0, Node431textWidth, Node431height]);
  40289. Node431.a('node.color','rgba(128,128,128,1)');
  40290. Node431.a('node.font',' '+ Node431fontSize + 'px "Arial"');
  40291. Node431.a('node.textvisible',true);
  40292. Node431.a('node.linefeed',false);
  40293. if (false) {
  40294. Node431.a('node.textfunc',function(g) {
  40295. g.beginPath();
  40296. var str=Node431.a('node.text') || 'm/s';
  40297. var color=Node431.a('node.color') || 'rgba(128,128,128,1)';
  40298. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node431width,Node431height,13.3333*_ratio.ratioY,"center",color,' '+ Node431fontSize + 'px "Arial"', 0,g);
  40299. });
  40300. }
  40301. if (false) {
  40302. Node431.a('node.underlinepoints',[Node431lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node431fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node431fontSize + 'px "Arial"').width + 6, (Node431height - Node431fontSize) * 0.5*_ratio.ratioY + Node431fontSize + 2 ]);
  40303. Node431.a('node.underlinevisible',false);
  40304. Node431.a('node.underlineBorderWidth', 1);
  40305. }
  40306. dataModel.add(Node431);
  40307. zoomNodeList.push({
  40308. node: Node431,
  40309. borderWidth: 0,
  40310. attr: 'node.borderwidth'
  40311. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40312. var Node432 = new ht.Node();
  40313. var Node432textStart, Node432textWidth, Node432lineStart, Node432align = 'center', Node432fontSize = 13.3333*_ratio.ratioY,Node432width = 59*_ratio.ratioX, Node432height = 26*_ratio.ratioY;
  40314. (function () {
  40315. if (Node432align === 'left') {
  40316. Node432textStart = Node432fontSize * 0.2 > 2 ? Node432fontSize * 0.2 - 4 : Node432fontSize * 0.2 - 9;
  40317. Node432textWidth = Node432width;
  40318. Node432lineStart = 1;
  40319. } else if (Node432align === 'right') {
  40320. Node432textStart = 0;
  40321. Node432textWidth =Node432fontSize <= 8 ? Node432width + Node432fontSize * 0.2 + 6 : Node432width - Node432fontSize * 0.2;
  40322. Node432lineStart = (Node432width - (ht.Default.getTextSize('万kWh', ' '+ Node432fontSize + 'px "Arial"').width + 6)) * 0.5;
  40323. } else if (Node432align === 'center') {
  40324. Node432textStart = -3;
  40325. Node432textWidth = Node432width;
  40326. Node432lineStart = Node432width - ht.Default.getTextSize('万kWh', ' '+ Node432fontSize + 'px "Arial"').width - 11;
  40327. }
  40328. })();
  40329. Node432.setImage(GD.getTextJSON(Node432width, Node432height, true, false, false, ' '+ Node432fontSize + 'px "Arial"'))
  40330. Node432.setPosition(434*ratio.ratioX, 125*ratio.ratioY);
  40331. Node432.setWidth(Node432width);
  40332. Node432.setHeight(Node432height);
  40333. Node432._nodeType = 'text';
  40334. Node432._disallowEvert = true;
  40335. Node432.setRotation(0*Math.PI/180);
  40336. Node432.a('node.width', Node432width);
  40337. Node432.a('node.height', Node432height);
  40338. Node432.a('node.rect', [0, 0, Node432width, Node432height]);
  40339. Node432.a('node.bordercolor','rgba(128,128,128,1)');
  40340. Node432.a('node.borderwidth', 0);
  40341. Node432.a('node.background','' || 'rgba(0,0,0,0)');
  40342. Node432.a('node.gradient','');
  40343. Node432.a('node.gradientcolor','');
  40344. Node432.a('node.text','万kWh');
  40345. Node432.a('node.textalign','center');
  40346. Node432.a('node.textvAlign','middle');
  40347. Node432.a('node.textrect', [Node432textStart, 0, Node432textWidth, Node432height]);
  40348. Node432.a('node.color','rgba(128,128,128,1)');
  40349. Node432.a('node.font',' '+ Node432fontSize + 'px "Arial"');
  40350. Node432.a('node.textvisible',true);
  40351. Node432.a('node.linefeed',false);
  40352. if (false) {
  40353. Node432.a('node.textfunc',function(g) {
  40354. g.beginPath();
  40355. var str=Node432.a('node.text') || '万kWh';
  40356. var color=Node432.a('node.color') || 'rgba(128,128,128,1)';
  40357. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node432width,Node432height,13.3333*_ratio.ratioY,"center",color,' '+ Node432fontSize + 'px "Arial"', 0,g);
  40358. });
  40359. }
  40360. if (false) {
  40361. Node432.a('node.underlinepoints',[Node432lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node432fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node432fontSize + 'px "Arial"').width + 6, (Node432height - Node432fontSize) * 0.5*_ratio.ratioY + Node432fontSize + 2 ]);
  40362. Node432.a('node.underlinevisible',false);
  40363. Node432.a('node.underlineBorderWidth', 1);
  40364. }
  40365. dataModel.add(Node432);
  40366. zoomNodeList.push({
  40367. node: Node432,
  40368. borderWidth: 0,
  40369. attr: 'node.borderwidth'
  40370. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40371. var Node433 = new ht.Node();
  40372. var Node433textStart, Node433textWidth, Node433lineStart, Node433align = 'center', Node433fontSize = 13.3333*_ratio.ratioY,Node433width = 59*_ratio.ratioX, Node433height = 26*_ratio.ratioY;
  40373. (function () {
  40374. if (Node433align === 'left') {
  40375. Node433textStart = Node433fontSize * 0.2 > 2 ? Node433fontSize * 0.2 - 4 : Node433fontSize * 0.2 - 9;
  40376. Node433textWidth = Node433width;
  40377. Node433lineStart = 1;
  40378. } else if (Node433align === 'right') {
  40379. Node433textStart = 0;
  40380. Node433textWidth =Node433fontSize <= 8 ? Node433width + Node433fontSize * 0.2 + 6 : Node433width - Node433fontSize * 0.2;
  40381. Node433lineStart = (Node433width - (ht.Default.getTextSize('万kWh', ' '+ Node433fontSize + 'px "Arial"').width + 6)) * 0.5;
  40382. } else if (Node433align === 'center') {
  40383. Node433textStart = -3;
  40384. Node433textWidth = Node433width;
  40385. Node433lineStart = Node433width - ht.Default.getTextSize('万kWh', ' '+ Node433fontSize + 'px "Arial"').width - 11;
  40386. }
  40387. })();
  40388. Node433.setImage(GD.getTextJSON(Node433width, Node433height, true, false, false, ' '+ Node433fontSize + 'px "Arial"'))
  40389. Node433.setPosition(434*ratio.ratioX, 149*ratio.ratioY);
  40390. Node433.setWidth(Node433width);
  40391. Node433.setHeight(Node433height);
  40392. Node433._nodeType = 'text';
  40393. Node433._disallowEvert = true;
  40394. Node433.setRotation(0*Math.PI/180);
  40395. Node433.a('node.width', Node433width);
  40396. Node433.a('node.height', Node433height);
  40397. Node433.a('node.rect', [0, 0, Node433width, Node433height]);
  40398. Node433.a('node.bordercolor','rgba(128,128,128,1)');
  40399. Node433.a('node.borderwidth', 0);
  40400. Node433.a('node.background','' || 'rgba(0,0,0,0)');
  40401. Node433.a('node.gradient','');
  40402. Node433.a('node.gradientcolor','');
  40403. Node433.a('node.text','万kWh');
  40404. Node433.a('node.textalign','center');
  40405. Node433.a('node.textvAlign','middle');
  40406. Node433.a('node.textrect', [Node433textStart, 0, Node433textWidth, Node433height]);
  40407. Node433.a('node.color','rgba(128,128,128,1)');
  40408. Node433.a('node.font',' '+ Node433fontSize + 'px "Arial"');
  40409. Node433.a('node.textvisible',true);
  40410. Node433.a('node.linefeed',false);
  40411. if (false) {
  40412. Node433.a('node.textfunc',function(g) {
  40413. g.beginPath();
  40414. var str=Node433.a('node.text') || '万kWh';
  40415. var color=Node433.a('node.color') || 'rgba(128,128,128,1)';
  40416. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433width,Node433height,13.3333*_ratio.ratioY,"center",color,' '+ Node433fontSize + 'px "Arial"', 0,g);
  40417. });
  40418. }
  40419. if (false) {
  40420. Node433.a('node.underlinepoints',[Node433lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node433fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node433fontSize + 'px "Arial"').width + 6, (Node433height - Node433fontSize) * 0.5*_ratio.ratioY + Node433fontSize + 2 ]);
  40421. Node433.a('node.underlinevisible',false);
  40422. Node433.a('node.underlineBorderWidth', 1);
  40423. }
  40424. dataModel.add(Node433);
  40425. zoomNodeList.push({
  40426. node: Node433,
  40427. borderWidth: 0,
  40428. attr: 'node.borderwidth'
  40429. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40430. var Node434type = 'rect';
  40431. var Node434 = new ht.Node(),
  40432. Node434BorderWidth = 1*2;
  40433. if (Node434type === 'arc') {
  40434. Node434BorderWidth *= 1;
  40435. }
  40436. Node434.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node434type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40437. Node434.setPosition(638*ratio.ratioX, 50*ratio.ratioY);
  40438. Node434.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
  40439. Node434.s({
  40440. 'pixelPerfect':true
  40441. /*@AddPara@*/
  40442. });
  40443. Node434.a('node.width', 94*_ratio.ratioX);
  40444. Node434.a('node.height', 24.33136*_ratio.ratioY);
  40445. Node434.a('node.type', Node434type);
  40446. Node434.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  40447. Node434.a('node.background', 'rgba(255,255,255,0.003921569)');
  40448. Node434.a('node.gradientcolor', '');
  40449. Node434.a('node.gradient', '');
  40450. Node434.a('node.borderwidth', Node434BorderWidth);
  40451. Node434.a('node.color', 'rgba(224,224,224,1)');
  40452. Node434.a('node.fillrect', [0,0,0,0]);
  40453. Node434.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40454. Node434.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40455. Node434.a('node.fillgradient', '');
  40456. if (Node434type !== 'rect') {
  40457. Node434.a('node.arcFrom', parseFloat('@arcFrom@'));
  40458. Node434.a('node.arcTo', parseFloat('@arcTo@'));
  40459. Node434.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40460. }
  40461. if (Node434type === 'arc') {
  40462. Node434.a('node.arcOval', true);
  40463. }
  40464. Node434.setRotation(0*Math.PI/180);
  40465. Node434.borderWidth = Node434BorderWidth;
  40466. Node434.borderFillwidth = Node434BorderWidth;
  40467. dataModel.add(Node434);
  40468. Node434._nodename = 'Node434'
  40469. Node434._nodeType = 'rect';
  40470. zoomNodeList.push({
  40471. node: Node434,
  40472. attr: 'node.borderwidth'
  40473. });
  40474. (function (node, _img) {
  40475. var setWidth = node.setWidth,
  40476. setHeight = node.setHeight;
  40477. node.setWidth = function (width) {
  40478. if (width === this.getWidth()) return ;
  40479. var height = this.getHeight();
  40480. this.a('node.width', width);
  40481. this.a('node.rect', [0,0,width, height]);
  40482. setWidth.apply(this, arguments);
  40483. }
  40484. node.setHeight = function (height) {
  40485. if (height === this.getHeight()) return ;
  40486. var width = this.getWidth();
  40487. this.a('node.height', height);
  40488. this.a('node.rect', [0,0,width, height]);
  40489. setHeight.apply(this, arguments);
  40490. }
  40491. })(Node434, Node434.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40492. var Node435type = 'rect';
  40493. var Node435 = new ht.Node(),
  40494. Node435BorderWidth = 1*2;
  40495. if (Node435type === 'arc') {
  40496. Node435BorderWidth *= 1;
  40497. }
  40498. Node435.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node435type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40499. Node435.setPosition(638*ratio.ratioX, 74*ratio.ratioY);
  40500. Node435.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
  40501. Node435.s({
  40502. 'pixelPerfect':true
  40503. /*@AddPara@*/
  40504. });
  40505. Node435.a('node.width', 94*_ratio.ratioX);
  40506. Node435.a('node.height', 24.33138*_ratio.ratioY);
  40507. Node435.a('node.type', Node435type);
  40508. Node435.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  40509. Node435.a('node.background', 'rgba(255,255,255,0.003921569)');
  40510. Node435.a('node.gradientcolor', '');
  40511. Node435.a('node.gradient', '');
  40512. Node435.a('node.borderwidth', Node435BorderWidth);
  40513. Node435.a('node.color', 'rgba(224,224,224,1)');
  40514. Node435.a('node.fillrect', [0,0,0,0]);
  40515. Node435.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40516. Node435.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40517. Node435.a('node.fillgradient', '');
  40518. if (Node435type !== 'rect') {
  40519. Node435.a('node.arcFrom', parseFloat('@arcFrom@'));
  40520. Node435.a('node.arcTo', parseFloat('@arcTo@'));
  40521. Node435.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40522. }
  40523. if (Node435type === 'arc') {
  40524. Node435.a('node.arcOval', true);
  40525. }
  40526. Node435.setRotation(0*Math.PI/180);
  40527. Node435.borderWidth = Node435BorderWidth;
  40528. Node435.borderFillwidth = Node435BorderWidth;
  40529. dataModel.add(Node435);
  40530. Node435._nodename = 'Node435'
  40531. Node435._nodeType = 'rect';
  40532. zoomNodeList.push({
  40533. node: Node435,
  40534. attr: 'node.borderwidth'
  40535. });
  40536. (function (node, _img) {
  40537. var setWidth = node.setWidth,
  40538. setHeight = node.setHeight;
  40539. node.setWidth = function (width) {
  40540. if (width === this.getWidth()) return ;
  40541. var height = this.getHeight();
  40542. this.a('node.width', width);
  40543. this.a('node.rect', [0,0,width, height]);
  40544. setWidth.apply(this, arguments);
  40545. }
  40546. node.setHeight = function (height) {
  40547. if (height === this.getHeight()) return ;
  40548. var width = this.getWidth();
  40549. this.a('node.height', height);
  40550. this.a('node.rect', [0,0,width, height]);
  40551. setHeight.apply(this, arguments);
  40552. }
  40553. })(Node435, Node435.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40554. var Node436type = 'rect';
  40555. var Node436 = new ht.Node(),
  40556. Node436BorderWidth = 1*2;
  40557. if (Node436type === 'arc') {
  40558. Node436BorderWidth *= 1;
  40559. }
  40560. Node436.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node436type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40561. Node436.setPosition(638*ratio.ratioX, 98*ratio.ratioY);
  40562. Node436.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
  40563. Node436.s({
  40564. 'pixelPerfect':true
  40565. /*@AddPara@*/
  40566. });
  40567. Node436.a('node.width', 94*_ratio.ratioX);
  40568. Node436.a('node.height', 24.33138*_ratio.ratioY);
  40569. Node436.a('node.type', Node436type);
  40570. Node436.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  40571. Node436.a('node.background', 'rgba(255,255,255,0.003921569)');
  40572. Node436.a('node.gradientcolor', '');
  40573. Node436.a('node.gradient', '');
  40574. Node436.a('node.borderwidth', Node436BorderWidth);
  40575. Node436.a('node.color', 'rgba(224,224,224,1)');
  40576. Node436.a('node.fillrect', [0,0,0,0]);
  40577. Node436.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40578. Node436.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40579. Node436.a('node.fillgradient', '');
  40580. if (Node436type !== 'rect') {
  40581. Node436.a('node.arcFrom', parseFloat('@arcFrom@'));
  40582. Node436.a('node.arcTo', parseFloat('@arcTo@'));
  40583. Node436.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40584. }
  40585. if (Node436type === 'arc') {
  40586. Node436.a('node.arcOval', true);
  40587. }
  40588. Node436.setRotation(0*Math.PI/180);
  40589. Node436.borderWidth = Node436BorderWidth;
  40590. Node436.borderFillwidth = Node436BorderWidth;
  40591. dataModel.add(Node436);
  40592. Node436._nodename = 'Node436'
  40593. Node436._nodeType = 'rect';
  40594. zoomNodeList.push({
  40595. node: Node436,
  40596. attr: 'node.borderwidth'
  40597. });
  40598. (function (node, _img) {
  40599. var setWidth = node.setWidth,
  40600. setHeight = node.setHeight;
  40601. node.setWidth = function (width) {
  40602. if (width === this.getWidth()) return ;
  40603. var height = this.getHeight();
  40604. this.a('node.width', width);
  40605. this.a('node.rect', [0,0,width, height]);
  40606. setWidth.apply(this, arguments);
  40607. }
  40608. node.setHeight = function (height) {
  40609. if (height === this.getHeight()) return ;
  40610. var width = this.getWidth();
  40611. this.a('node.height', height);
  40612. this.a('node.rect', [0,0,width, height]);
  40613. setHeight.apply(this, arguments);
  40614. }
  40615. })(Node436, Node436.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40616. var Node437type = 'rect';
  40617. var Node437 = new ht.Node(),
  40618. Node437BorderWidth = 1*2;
  40619. if (Node437type === 'arc') {
  40620. Node437BorderWidth *= 1;
  40621. }
  40622. Node437.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node437type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40623. Node437.setPosition(638*ratio.ratioX, 123*ratio.ratioY);
  40624. Node437.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
  40625. Node437.s({
  40626. 'pixelPerfect':true
  40627. /*@AddPara@*/
  40628. });
  40629. Node437.a('node.width', 94*_ratio.ratioX);
  40630. Node437.a('node.height', 24.33136*_ratio.ratioY);
  40631. Node437.a('node.type', Node437type);
  40632. Node437.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  40633. Node437.a('node.background', 'rgba(255,255,255,0.003921569)');
  40634. Node437.a('node.gradientcolor', '');
  40635. Node437.a('node.gradient', '');
  40636. Node437.a('node.borderwidth', Node437BorderWidth);
  40637. Node437.a('node.color', 'rgba(224,224,224,1)');
  40638. Node437.a('node.fillrect', [0,0,0,0]);
  40639. Node437.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40640. Node437.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40641. Node437.a('node.fillgradient', '');
  40642. if (Node437type !== 'rect') {
  40643. Node437.a('node.arcFrom', parseFloat('@arcFrom@'));
  40644. Node437.a('node.arcTo', parseFloat('@arcTo@'));
  40645. Node437.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40646. }
  40647. if (Node437type === 'arc') {
  40648. Node437.a('node.arcOval', true);
  40649. }
  40650. Node437.setRotation(0*Math.PI/180);
  40651. Node437.borderWidth = Node437BorderWidth;
  40652. Node437.borderFillwidth = Node437BorderWidth;
  40653. dataModel.add(Node437);
  40654. Node437._nodename = 'Node437'
  40655. Node437._nodeType = 'rect';
  40656. zoomNodeList.push({
  40657. node: Node437,
  40658. attr: 'node.borderwidth'
  40659. });
  40660. (function (node, _img) {
  40661. var setWidth = node.setWidth,
  40662. setHeight = node.setHeight;
  40663. node.setWidth = function (width) {
  40664. if (width === this.getWidth()) return ;
  40665. var height = this.getHeight();
  40666. this.a('node.width', width);
  40667. this.a('node.rect', [0,0,width, height]);
  40668. setWidth.apply(this, arguments);
  40669. }
  40670. node.setHeight = function (height) {
  40671. if (height === this.getHeight()) return ;
  40672. var width = this.getWidth();
  40673. this.a('node.height', height);
  40674. this.a('node.rect', [0,0,width, height]);
  40675. setHeight.apply(this, arguments);
  40676. }
  40677. })(Node437, Node437.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40678. var Node438type = 'rect';
  40679. var Node438 = new ht.Node(),
  40680. Node438BorderWidth = 1*2;
  40681. if (Node438type === 'arc') {
  40682. Node438BorderWidth *= 1;
  40683. }
  40684. Node438.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node438type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  40685. Node438.setPosition(638*ratio.ratioX, 147*ratio.ratioY);
  40686. Node438.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
  40687. Node438.s({
  40688. 'pixelPerfect':true
  40689. /*@AddPara@*/
  40690. });
  40691. Node438.a('node.width', 94*_ratio.ratioX);
  40692. Node438.a('node.height', 24.33138*_ratio.ratioY);
  40693. Node438.a('node.type', Node438type);
  40694. Node438.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  40695. Node438.a('node.background', 'rgba(255,255,255,0.003921569)');
  40696. Node438.a('node.gradientcolor', '');
  40697. Node438.a('node.gradient', '');
  40698. Node438.a('node.borderwidth', Node438BorderWidth);
  40699. Node438.a('node.color', 'rgba(224,224,224,1)');
  40700. Node438.a('node.fillrect', [0,0,0,0]);
  40701. Node438.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  40702. Node438.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  40703. Node438.a('node.fillgradient', '');
  40704. if (Node438type !== 'rect') {
  40705. Node438.a('node.arcFrom', parseFloat('@arcFrom@'));
  40706. Node438.a('node.arcTo', parseFloat('@arcTo@'));
  40707. Node438.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  40708. }
  40709. if (Node438type === 'arc') {
  40710. Node438.a('node.arcOval', true);
  40711. }
  40712. Node438.setRotation(0*Math.PI/180);
  40713. Node438.borderWidth = Node438BorderWidth;
  40714. Node438.borderFillwidth = Node438BorderWidth;
  40715. dataModel.add(Node438);
  40716. Node438._nodename = 'Node438'
  40717. Node438._nodeType = 'rect';
  40718. zoomNodeList.push({
  40719. node: Node438,
  40720. attr: 'node.borderwidth'
  40721. });
  40722. (function (node, _img) {
  40723. var setWidth = node.setWidth,
  40724. setHeight = node.setHeight;
  40725. node.setWidth = function (width) {
  40726. if (width === this.getWidth()) return ;
  40727. var height = this.getHeight();
  40728. this.a('node.width', width);
  40729. this.a('node.rect', [0,0,width, height]);
  40730. setWidth.apply(this, arguments);
  40731. }
  40732. node.setHeight = function (height) {
  40733. if (height === this.getHeight()) return ;
  40734. var width = this.getWidth();
  40735. this.a('node.height', height);
  40736. this.a('node.rect', [0,0,width, height]);
  40737. setHeight.apply(this, arguments);
  40738. }
  40739. })(Node438, Node438.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40740. var Node439 = new ht.Node();
  40741. var Node439textStart, Node439textWidth, Node439lineStart, Node439align = 'center', Node439fontSize = 13.3333*_ratio.ratioY,Node439width = 58*_ratio.ratioX, Node439height = 26*_ratio.ratioY;
  40742. (function () {
  40743. if (Node439align === 'left') {
  40744. Node439textStart = Node439fontSize * 0.2 > 2 ? Node439fontSize * 0.2 - 4 : Node439fontSize * 0.2 - 9;
  40745. Node439textWidth = Node439width;
  40746. Node439lineStart = 1;
  40747. } else if (Node439align === 'right') {
  40748. Node439textStart = 0;
  40749. Node439textWidth =Node439fontSize <= 8 ? Node439width + Node439fontSize * 0.2 + 6 : Node439width - Node439fontSize * 0.2;
  40750. Node439lineStart = (Node439width - (ht.Default.getTextSize('0', ' '+ Node439fontSize + 'px "Arial"').width + 6)) * 0.5;
  40751. } else if (Node439align === 'center') {
  40752. Node439textStart = -3;
  40753. Node439textWidth = Node439width;
  40754. Node439lineStart = Node439width - ht.Default.getTextSize('0', ' '+ Node439fontSize + 'px "Arial"').width - 11;
  40755. }
  40756. })();
  40757. Node439.setImage(GD.getTextJSON(Node439width, Node439height, true, false, false, ' '+ Node439fontSize + 'px "Arial"'))
  40758. Node439.setPosition(638*ratio.ratioX, 52*ratio.ratioY);
  40759. Node439.setWidth(Node439width);
  40760. Node439.setHeight(Node439height);
  40761. Node439._nodeType = 'text';
  40762. Node439._disallowEvert = true;
  40763. Node439.setRotation(0*Math.PI/180);
  40764. Node439.a('node.width', Node439width);
  40765. Node439.a('node.height', Node439height);
  40766. Node439.a('node.rect', [0, 0, Node439width, Node439height]);
  40767. Node439.a('node.bordercolor','rgba(0,0,0,1)');
  40768. Node439.a('node.borderwidth', 0);
  40769. Node439.a('node.background','' || 'rgba(0,0,0,0)');
  40770. Node439.a('node.gradient','');
  40771. Node439.a('node.gradientcolor','');
  40772. Node439.a('node.text','0');
  40773. Node439.a('node.textalign','center');
  40774. Node439.a('node.textvAlign','middle');
  40775. Node439.a('node.textrect', [Node439textStart, 0, Node439textWidth, Node439height]);
  40776. Node439.a('node.color','rgba(0,0,0,1)');
  40777. Node439.a('node.font',' '+ Node439fontSize + 'px "Arial"');
  40778. Node439.a('node.textvisible',true);
  40779. Node439.a('node.linefeed',false);
  40780. if (false) {
  40781. Node439.a('node.textfunc',function(g) {
  40782. g.beginPath();
  40783. var str=Node439.a('node.text') || '0';
  40784. var color=Node439.a('node.color') || 'rgba(0,0,0,1)';
  40785. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439width,Node439height,13.3333*_ratio.ratioY,"center",color,' '+ Node439fontSize + 'px "Arial"', 0,g);
  40786. });
  40787. }
  40788. if (false) {
  40789. Node439.a('node.underlinepoints',[Node439lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node439fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node439fontSize + 'px "Arial"').width + 6, (Node439height - Node439fontSize) * 0.5*_ratio.ratioY + Node439fontSize + 2 ]);
  40790. Node439.a('node.underlinevisible',false);
  40791. Node439.a('node.underlineBorderWidth', 1);
  40792. }
  40793. dataModel.add(Node439);
  40794. zoomNodeList.push({
  40795. node: Node439,
  40796. borderWidth: 0,
  40797. attr: 'node.borderwidth'
  40798. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40799. var Node440 = new ht.Node();
  40800. var Node440textStart, Node440textWidth, Node440lineStart, Node440align = 'center', Node440fontSize = 13.3333*_ratio.ratioY,Node440width = 58*_ratio.ratioX, Node440height = 26*_ratio.ratioY;
  40801. (function () {
  40802. if (Node440align === 'left') {
  40803. Node440textStart = Node440fontSize * 0.2 > 2 ? Node440fontSize * 0.2 - 4 : Node440fontSize * 0.2 - 9;
  40804. Node440textWidth = Node440width;
  40805. Node440lineStart = 1;
  40806. } else if (Node440align === 'right') {
  40807. Node440textStart = 0;
  40808. Node440textWidth =Node440fontSize <= 8 ? Node440width + Node440fontSize * 0.2 + 6 : Node440width - Node440fontSize * 0.2;
  40809. Node440lineStart = (Node440width - (ht.Default.getTextSize('0', ' '+ Node440fontSize + 'px "Arial"').width + 6)) * 0.5;
  40810. } else if (Node440align === 'center') {
  40811. Node440textStart = -3;
  40812. Node440textWidth = Node440width;
  40813. Node440lineStart = Node440width - ht.Default.getTextSize('0', ' '+ Node440fontSize + 'px "Arial"').width - 11;
  40814. }
  40815. })();
  40816. Node440.setImage(GD.getTextJSON(Node440width, Node440height, true, false, false, ' '+ Node440fontSize + 'px "Arial"'))
  40817. Node440.setPosition(638*ratio.ratioX, 76*ratio.ratioY);
  40818. Node440.setWidth(Node440width);
  40819. Node440.setHeight(Node440height);
  40820. Node440._nodeType = 'text';
  40821. Node440._disallowEvert = true;
  40822. Node440.setRotation(0*Math.PI/180);
  40823. Node440.a('node.width', Node440width);
  40824. Node440.a('node.height', Node440height);
  40825. Node440.a('node.rect', [0, 0, Node440width, Node440height]);
  40826. Node440.a('node.bordercolor','rgba(0,0,0,1)');
  40827. Node440.a('node.borderwidth', 0);
  40828. Node440.a('node.background','' || 'rgba(0,0,0,0)');
  40829. Node440.a('node.gradient','');
  40830. Node440.a('node.gradientcolor','');
  40831. Node440.a('node.text','0');
  40832. Node440.a('node.textalign','center');
  40833. Node440.a('node.textvAlign','middle');
  40834. Node440.a('node.textrect', [Node440textStart, 0, Node440textWidth, Node440height]);
  40835. Node440.a('node.color','rgba(0,0,0,1)');
  40836. Node440.a('node.font',' '+ Node440fontSize + 'px "Arial"');
  40837. Node440.a('node.textvisible',true);
  40838. Node440.a('node.linefeed',false);
  40839. if (false) {
  40840. Node440.a('node.textfunc',function(g) {
  40841. g.beginPath();
  40842. var str=Node440.a('node.text') || '0';
  40843. var color=Node440.a('node.color') || 'rgba(0,0,0,1)';
  40844. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node440width,Node440height,13.3333*_ratio.ratioY,"center",color,' '+ Node440fontSize + 'px "Arial"', 0,g);
  40845. });
  40846. }
  40847. if (false) {
  40848. Node440.a('node.underlinepoints',[Node440lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node440fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node440fontSize + 'px "Arial"').width + 6, (Node440height - Node440fontSize) * 0.5*_ratio.ratioY + Node440fontSize + 2 ]);
  40849. Node440.a('node.underlinevisible',false);
  40850. Node440.a('node.underlineBorderWidth', 1);
  40851. }
  40852. dataModel.add(Node440);
  40853. zoomNodeList.push({
  40854. node: Node440,
  40855. borderWidth: 0,
  40856. attr: 'node.borderwidth'
  40857. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40858. var Node441 = new ht.Node();
  40859. var Node441textStart, Node441textWidth, Node441lineStart, Node441align = 'center', Node441fontSize = 13.3333*_ratio.ratioY,Node441width = 58*_ratio.ratioX, Node441height = 26*_ratio.ratioY;
  40860. (function () {
  40861. if (Node441align === 'left') {
  40862. Node441textStart = Node441fontSize * 0.2 > 2 ? Node441fontSize * 0.2 - 4 : Node441fontSize * 0.2 - 9;
  40863. Node441textWidth = Node441width;
  40864. Node441lineStart = 1;
  40865. } else if (Node441align === 'right') {
  40866. Node441textStart = 0;
  40867. Node441textWidth =Node441fontSize <= 8 ? Node441width + Node441fontSize * 0.2 + 6 : Node441width - Node441fontSize * 0.2;
  40868. Node441lineStart = (Node441width - (ht.Default.getTextSize('0', ' '+ Node441fontSize + 'px "Arial"').width + 6)) * 0.5;
  40869. } else if (Node441align === 'center') {
  40870. Node441textStart = -3;
  40871. Node441textWidth = Node441width;
  40872. Node441lineStart = Node441width - ht.Default.getTextSize('0', ' '+ Node441fontSize + 'px "Arial"').width - 11;
  40873. }
  40874. })();
  40875. Node441.setImage(GD.getTextJSON(Node441width, Node441height, true, false, false, ' '+ Node441fontSize + 'px "Arial"'))
  40876. Node441.setPosition(638*ratio.ratioX, 101*ratio.ratioY);
  40877. Node441.setWidth(Node441width);
  40878. Node441.setHeight(Node441height);
  40879. Node441._nodeType = 'text';
  40880. Node441._disallowEvert = true;
  40881. Node441.setRotation(0*Math.PI/180);
  40882. Node441.a('node.width', Node441width);
  40883. Node441.a('node.height', Node441height);
  40884. Node441.a('node.rect', [0, 0, Node441width, Node441height]);
  40885. Node441.a('node.bordercolor','rgba(0,0,0,1)');
  40886. Node441.a('node.borderwidth', 0);
  40887. Node441.a('node.background','' || 'rgba(0,0,0,0)');
  40888. Node441.a('node.gradient','');
  40889. Node441.a('node.gradientcolor','');
  40890. Node441.a('node.text','0');
  40891. Node441.a('node.textalign','center');
  40892. Node441.a('node.textvAlign','middle');
  40893. Node441.a('node.textrect', [Node441textStart, 0, Node441textWidth, Node441height]);
  40894. Node441.a('node.color','rgba(0,0,0,1)');
  40895. Node441.a('node.font',' '+ Node441fontSize + 'px "Arial"');
  40896. Node441.a('node.textvisible',true);
  40897. Node441.a('node.linefeed',false);
  40898. if (false) {
  40899. Node441.a('node.textfunc',function(g) {
  40900. g.beginPath();
  40901. var str=Node441.a('node.text') || '0';
  40902. var color=Node441.a('node.color') || 'rgba(0,0,0,1)';
  40903. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node441width,Node441height,13.3333*_ratio.ratioY,"center",color,' '+ Node441fontSize + 'px "Arial"', 0,g);
  40904. });
  40905. }
  40906. if (false) {
  40907. Node441.a('node.underlinepoints',[Node441lineStart, (26 - 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 ]);
  40908. Node441.a('node.underlinevisible',false);
  40909. Node441.a('node.underlineBorderWidth', 1);
  40910. }
  40911. dataModel.add(Node441);
  40912. zoomNodeList.push({
  40913. node: Node441,
  40914. borderWidth: 0,
  40915. attr: 'node.borderwidth'
  40916. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40917. var Node442 = new ht.Node();
  40918. var Node442textStart, Node442textWidth, Node442lineStart, Node442align = 'center', Node442fontSize = 13.3333*_ratio.ratioY,Node442width = 58*_ratio.ratioX, Node442height = 26*_ratio.ratioY;
  40919. (function () {
  40920. if (Node442align === 'left') {
  40921. Node442textStart = Node442fontSize * 0.2 > 2 ? Node442fontSize * 0.2 - 4 : Node442fontSize * 0.2 - 9;
  40922. Node442textWidth = Node442width;
  40923. Node442lineStart = 1;
  40924. } else if (Node442align === 'right') {
  40925. Node442textStart = 0;
  40926. Node442textWidth =Node442fontSize <= 8 ? Node442width + Node442fontSize * 0.2 + 6 : Node442width - Node442fontSize * 0.2;
  40927. Node442lineStart = (Node442width - (ht.Default.getTextSize('0', ' '+ Node442fontSize + 'px "Arial"').width + 6)) * 0.5;
  40928. } else if (Node442align === 'center') {
  40929. Node442textStart = -3;
  40930. Node442textWidth = Node442width;
  40931. Node442lineStart = Node442width - ht.Default.getTextSize('0', ' '+ Node442fontSize + 'px "Arial"').width - 11;
  40932. }
  40933. })();
  40934. Node442.setImage(GD.getTextJSON(Node442width, Node442height, true, false, false, ' '+ Node442fontSize + 'px "Arial"'))
  40935. Node442.setPosition(638*ratio.ratioX, 124*ratio.ratioY);
  40936. Node442.setWidth(Node442width);
  40937. Node442.setHeight(Node442height);
  40938. Node442._nodeType = 'text';
  40939. Node442._disallowEvert = true;
  40940. Node442.setRotation(0*Math.PI/180);
  40941. Node442.a('node.width', Node442width);
  40942. Node442.a('node.height', Node442height);
  40943. Node442.a('node.rect', [0, 0, Node442width, Node442height]);
  40944. Node442.a('node.bordercolor','rgba(0,0,0,1)');
  40945. Node442.a('node.borderwidth', 0);
  40946. Node442.a('node.background','' || 'rgba(0,0,0,0)');
  40947. Node442.a('node.gradient','');
  40948. Node442.a('node.gradientcolor','');
  40949. Node442.a('node.text','0');
  40950. Node442.a('node.textalign','center');
  40951. Node442.a('node.textvAlign','middle');
  40952. Node442.a('node.textrect', [Node442textStart, 0, Node442textWidth, Node442height]);
  40953. Node442.a('node.color','rgba(0,0,0,1)');
  40954. Node442.a('node.font',' '+ Node442fontSize + 'px "Arial"');
  40955. Node442.a('node.textvisible',true);
  40956. Node442.a('node.linefeed',false);
  40957. if (false) {
  40958. Node442.a('node.textfunc',function(g) {
  40959. g.beginPath();
  40960. var str=Node442.a('node.text') || '0';
  40961. var color=Node442.a('node.color') || 'rgba(0,0,0,1)';
  40962. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node442width,Node442height,13.3333*_ratio.ratioY,"center",color,' '+ Node442fontSize + 'px "Arial"', 0,g);
  40963. });
  40964. }
  40965. if (false) {
  40966. Node442.a('node.underlinepoints',[Node442lineStart, (26 - 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 ]);
  40967. Node442.a('node.underlinevisible',false);
  40968. Node442.a('node.underlineBorderWidth', 1);
  40969. }
  40970. dataModel.add(Node442);
  40971. zoomNodeList.push({
  40972. node: Node442,
  40973. borderWidth: 0,
  40974. attr: 'node.borderwidth'
  40975. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  40976. var Node443 = new ht.Node();
  40977. var Node443textStart, Node443textWidth, Node443lineStart, Node443align = 'center', Node443fontSize = 13.3333*_ratio.ratioY,Node443width = 58*_ratio.ratioX, Node443height = 26*_ratio.ratioY;
  40978. (function () {
  40979. if (Node443align === 'left') {
  40980. Node443textStart = Node443fontSize * 0.2 > 2 ? Node443fontSize * 0.2 - 4 : Node443fontSize * 0.2 - 9;
  40981. Node443textWidth = Node443width;
  40982. Node443lineStart = 1;
  40983. } else if (Node443align === 'right') {
  40984. Node443textStart = 0;
  40985. Node443textWidth =Node443fontSize <= 8 ? Node443width + Node443fontSize * 0.2 + 6 : Node443width - Node443fontSize * 0.2;
  40986. Node443lineStart = (Node443width - (ht.Default.getTextSize('0', ' '+ Node443fontSize + 'px "Arial"').width + 6)) * 0.5;
  40987. } else if (Node443align === 'center') {
  40988. Node443textStart = -3;
  40989. Node443textWidth = Node443width;
  40990. Node443lineStart = Node443width - ht.Default.getTextSize('0', ' '+ Node443fontSize + 'px "Arial"').width - 11;
  40991. }
  40992. })();
  40993. Node443.setImage(GD.getTextJSON(Node443width, Node443height, true, false, false, ' '+ Node443fontSize + 'px "Arial"'))
  40994. Node443.setPosition(638*ratio.ratioX, 148*ratio.ratioY);
  40995. Node443.setWidth(Node443width);
  40996. Node443.setHeight(Node443height);
  40997. Node443._nodeType = 'text';
  40998. Node443._disallowEvert = true;
  40999. Node443.setRotation(0*Math.PI/180);
  41000. Node443.a('node.width', Node443width);
  41001. Node443.a('node.height', Node443height);
  41002. Node443.a('node.rect', [0, 0, Node443width, Node443height]);
  41003. Node443.a('node.bordercolor','rgba(0,0,0,1)');
  41004. Node443.a('node.borderwidth', 0);
  41005. Node443.a('node.background','' || 'rgba(0,0,0,0)');
  41006. Node443.a('node.gradient','');
  41007. Node443.a('node.gradientcolor','');
  41008. Node443.a('node.text','0');
  41009. Node443.a('node.textalign','center');
  41010. Node443.a('node.textvAlign','middle');
  41011. Node443.a('node.textrect', [Node443textStart, 0, Node443textWidth, Node443height]);
  41012. Node443.a('node.color','rgba(0,0,0,1)');
  41013. Node443.a('node.font',' '+ Node443fontSize + 'px "Arial"');
  41014. Node443.a('node.textvisible',true);
  41015. Node443.a('node.linefeed',false);
  41016. if (false) {
  41017. Node443.a('node.textfunc',function(g) {
  41018. g.beginPath();
  41019. var str=Node443.a('node.text') || '0';
  41020. var color=Node443.a('node.color') || 'rgba(0,0,0,1)';
  41021. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node443width,Node443height,13.3333*_ratio.ratioY,"center",color,' '+ Node443fontSize + 'px "Arial"', 0,g);
  41022. });
  41023. }
  41024. if (false) {
  41025. Node443.a('node.underlinepoints',[Node443lineStart, (26 - 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 ]);
  41026. Node443.a('node.underlinevisible',false);
  41027. Node443.a('node.underlineBorderWidth', 1);
  41028. }
  41029. dataModel.add(Node443);
  41030. zoomNodeList.push({
  41031. node: Node443,
  41032. borderWidth: 0,
  41033. attr: 'node.borderwidth'
  41034. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41035. var Node444type = 'rect';
  41036. var Node444 = new ht.Node(),
  41037. Node444BorderWidth = 1*2;
  41038. if (Node444type === 'arc') {
  41039. Node444BorderWidth *= 1;
  41040. }
  41041. Node444.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node444type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  41042. Node444.setPosition(717*ratio.ratioX, 50*ratio.ratioY);
  41043. Node444.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  41044. Node444.s({
  41045. 'pixelPerfect':true
  41046. /*@AddPara@*/
  41047. });
  41048. Node444.a('node.width', 65*_ratio.ratioX);
  41049. Node444.a('node.height', 24.33136*_ratio.ratioY);
  41050. Node444.a('node.type', Node444type);
  41051. Node444.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  41052. Node444.a('node.background', 'rgba(255,255,255,0.003921569)');
  41053. Node444.a('node.gradientcolor', '');
  41054. Node444.a('node.gradient', '');
  41055. Node444.a('node.borderwidth', Node444BorderWidth);
  41056. Node444.a('node.color', 'rgba(224,224,224,1)');
  41057. Node444.a('node.fillrect', [0,0,0,0]);
  41058. Node444.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  41059. Node444.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  41060. Node444.a('node.fillgradient', '');
  41061. if (Node444type !== 'rect') {
  41062. Node444.a('node.arcFrom', parseFloat('@arcFrom@'));
  41063. Node444.a('node.arcTo', parseFloat('@arcTo@'));
  41064. Node444.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  41065. }
  41066. if (Node444type === 'arc') {
  41067. Node444.a('node.arcOval', true);
  41068. }
  41069. Node444.setRotation(0*Math.PI/180);
  41070. Node444.borderWidth = Node444BorderWidth;
  41071. Node444.borderFillwidth = Node444BorderWidth;
  41072. dataModel.add(Node444);
  41073. Node444._nodename = 'Node444'
  41074. Node444._nodeType = 'rect';
  41075. zoomNodeList.push({
  41076. node: Node444,
  41077. attr: 'node.borderwidth'
  41078. });
  41079. (function (node, _img) {
  41080. var setWidth = node.setWidth,
  41081. setHeight = node.setHeight;
  41082. node.setWidth = function (width) {
  41083. if (width === this.getWidth()) return ;
  41084. var height = this.getHeight();
  41085. this.a('node.width', width);
  41086. this.a('node.rect', [0,0,width, height]);
  41087. setWidth.apply(this, arguments);
  41088. }
  41089. node.setHeight = function (height) {
  41090. if (height === this.getHeight()) return ;
  41091. var width = this.getWidth();
  41092. this.a('node.height', height);
  41093. this.a('node.rect', [0,0,width, height]);
  41094. setHeight.apply(this, arguments);
  41095. }
  41096. })(Node444, Node444.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41097. var Node445type = 'rect';
  41098. var Node445 = new ht.Node(),
  41099. Node445BorderWidth = 1*2;
  41100. if (Node445type === 'arc') {
  41101. Node445BorderWidth *= 1;
  41102. }
  41103. Node445.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node445type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  41104. Node445.setPosition(717*ratio.ratioX, 74*ratio.ratioY);
  41105. Node445.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  41106. Node445.s({
  41107. 'pixelPerfect':true
  41108. /*@AddPara@*/
  41109. });
  41110. Node445.a('node.width', 65*_ratio.ratioX);
  41111. Node445.a('node.height', 24.33138*_ratio.ratioY);
  41112. Node445.a('node.type', Node445type);
  41113. Node445.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  41114. Node445.a('node.background', 'rgba(255,255,255,0.003921569)');
  41115. Node445.a('node.gradientcolor', '');
  41116. Node445.a('node.gradient', '');
  41117. Node445.a('node.borderwidth', Node445BorderWidth);
  41118. Node445.a('node.color', 'rgba(224,224,224,1)');
  41119. Node445.a('node.fillrect', [0,0,0,0]);
  41120. Node445.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  41121. Node445.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  41122. Node445.a('node.fillgradient', '');
  41123. if (Node445type !== 'rect') {
  41124. Node445.a('node.arcFrom', parseFloat('@arcFrom@'));
  41125. Node445.a('node.arcTo', parseFloat('@arcTo@'));
  41126. Node445.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  41127. }
  41128. if (Node445type === 'arc') {
  41129. Node445.a('node.arcOval', true);
  41130. }
  41131. Node445.setRotation(0*Math.PI/180);
  41132. Node445.borderWidth = Node445BorderWidth;
  41133. Node445.borderFillwidth = Node445BorderWidth;
  41134. dataModel.add(Node445);
  41135. Node445._nodename = 'Node445'
  41136. Node445._nodeType = 'rect';
  41137. zoomNodeList.push({
  41138. node: Node445,
  41139. attr: 'node.borderwidth'
  41140. });
  41141. (function (node, _img) {
  41142. var setWidth = node.setWidth,
  41143. setHeight = node.setHeight;
  41144. node.setWidth = function (width) {
  41145. if (width === this.getWidth()) return ;
  41146. var height = this.getHeight();
  41147. this.a('node.width', width);
  41148. this.a('node.rect', [0,0,width, height]);
  41149. setWidth.apply(this, arguments);
  41150. }
  41151. node.setHeight = function (height) {
  41152. if (height === this.getHeight()) return ;
  41153. var width = this.getWidth();
  41154. this.a('node.height', height);
  41155. this.a('node.rect', [0,0,width, height]);
  41156. setHeight.apply(this, arguments);
  41157. }
  41158. })(Node445, Node445.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41159. var Node446type = 'rect';
  41160. var Node446 = new ht.Node(),
  41161. Node446BorderWidth = 1*2;
  41162. if (Node446type === 'arc') {
  41163. Node446BorderWidth *= 1;
  41164. }
  41165. Node446.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node446type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  41166. Node446.setPosition(717*ratio.ratioX, 98*ratio.ratioY);
  41167. Node446.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  41168. Node446.s({
  41169. 'pixelPerfect':true
  41170. /*@AddPara@*/
  41171. });
  41172. Node446.a('node.width', 65*_ratio.ratioX);
  41173. Node446.a('node.height', 24.33138*_ratio.ratioY);
  41174. Node446.a('node.type', Node446type);
  41175. Node446.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  41176. Node446.a('node.background', 'rgba(255,255,255,0.003921569)');
  41177. Node446.a('node.gradientcolor', '');
  41178. Node446.a('node.gradient', '');
  41179. Node446.a('node.borderwidth', Node446BorderWidth);
  41180. Node446.a('node.color', 'rgba(224,224,224,1)');
  41181. Node446.a('node.fillrect', [0,0,0,0]);
  41182. Node446.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  41183. Node446.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  41184. Node446.a('node.fillgradient', '');
  41185. if (Node446type !== 'rect') {
  41186. Node446.a('node.arcFrom', parseFloat('@arcFrom@'));
  41187. Node446.a('node.arcTo', parseFloat('@arcTo@'));
  41188. Node446.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  41189. }
  41190. if (Node446type === 'arc') {
  41191. Node446.a('node.arcOval', true);
  41192. }
  41193. Node446.setRotation(0*Math.PI/180);
  41194. Node446.borderWidth = Node446BorderWidth;
  41195. Node446.borderFillwidth = Node446BorderWidth;
  41196. dataModel.add(Node446);
  41197. Node446._nodename = 'Node446'
  41198. Node446._nodeType = 'rect';
  41199. zoomNodeList.push({
  41200. node: Node446,
  41201. attr: 'node.borderwidth'
  41202. });
  41203. (function (node, _img) {
  41204. var setWidth = node.setWidth,
  41205. setHeight = node.setHeight;
  41206. node.setWidth = function (width) {
  41207. if (width === this.getWidth()) return ;
  41208. var height = this.getHeight();
  41209. this.a('node.width', width);
  41210. this.a('node.rect', [0,0,width, height]);
  41211. setWidth.apply(this, arguments);
  41212. }
  41213. node.setHeight = function (height) {
  41214. if (height === this.getHeight()) return ;
  41215. var width = this.getWidth();
  41216. this.a('node.height', height);
  41217. this.a('node.rect', [0,0,width, height]);
  41218. setHeight.apply(this, arguments);
  41219. }
  41220. })(Node446, Node446.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41221. var Node447type = 'rect';
  41222. var Node447 = new ht.Node(),
  41223. Node447BorderWidth = 1*2;
  41224. if (Node447type === 'arc') {
  41225. Node447BorderWidth *= 1;
  41226. }
  41227. Node447.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node447type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  41228. Node447.setPosition(717*ratio.ratioX, 123*ratio.ratioY);
  41229. Node447.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
  41230. Node447.s({
  41231. 'pixelPerfect':true
  41232. /*@AddPara@*/
  41233. });
  41234. Node447.a('node.width', 65*_ratio.ratioX);
  41235. Node447.a('node.height', 24.33136*_ratio.ratioY);
  41236. Node447.a('node.type', Node447type);
  41237. Node447.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
  41238. Node447.a('node.background', 'rgba(255,255,255,0.003921569)');
  41239. Node447.a('node.gradientcolor', '');
  41240. Node447.a('node.gradient', '');
  41241. Node447.a('node.borderwidth', Node447BorderWidth);
  41242. Node447.a('node.color', 'rgba(224,224,224,1)');
  41243. Node447.a('node.fillrect', [0,0,0,0]);
  41244. Node447.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  41245. Node447.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  41246. Node447.a('node.fillgradient', '');
  41247. if (Node447type !== 'rect') {
  41248. Node447.a('node.arcFrom', parseFloat('@arcFrom@'));
  41249. Node447.a('node.arcTo', parseFloat('@arcTo@'));
  41250. Node447.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  41251. }
  41252. if (Node447type === 'arc') {
  41253. Node447.a('node.arcOval', true);
  41254. }
  41255. Node447.setRotation(0*Math.PI/180);
  41256. Node447.borderWidth = Node447BorderWidth;
  41257. Node447.borderFillwidth = Node447BorderWidth;
  41258. dataModel.add(Node447);
  41259. Node447._nodename = 'Node447'
  41260. Node447._nodeType = 'rect';
  41261. zoomNodeList.push({
  41262. node: Node447,
  41263. attr: 'node.borderwidth'
  41264. });
  41265. (function (node, _img) {
  41266. var setWidth = node.setWidth,
  41267. setHeight = node.setHeight;
  41268. node.setWidth = function (width) {
  41269. if (width === this.getWidth()) return ;
  41270. var height = this.getHeight();
  41271. this.a('node.width', width);
  41272. this.a('node.rect', [0,0,width, height]);
  41273. setWidth.apply(this, arguments);
  41274. }
  41275. node.setHeight = function (height) {
  41276. if (height === this.getHeight()) return ;
  41277. var width = this.getWidth();
  41278. this.a('node.height', height);
  41279. this.a('node.rect', [0,0,width, height]);
  41280. setHeight.apply(this, arguments);
  41281. }
  41282. })(Node447, Node447.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41283. var Node448type = 'rect';
  41284. var Node448 = new ht.Node(),
  41285. Node448BorderWidth = 1*2;
  41286. if (Node448type === 'arc') {
  41287. Node448BorderWidth *= 1;
  41288. }
  41289. Node448.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node448type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  41290. Node448.setPosition(717*ratio.ratioX, 147*ratio.ratioY);
  41291. Node448.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
  41292. Node448.s({
  41293. 'pixelPerfect':true
  41294. /*@AddPara@*/
  41295. });
  41296. Node448.a('node.width', 65*_ratio.ratioX);
  41297. Node448.a('node.height', 24.33138*_ratio.ratioY);
  41298. Node448.a('node.type', Node448type);
  41299. Node448.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
  41300. Node448.a('node.background', 'rgba(255,255,255,0.003921569)');
  41301. Node448.a('node.gradientcolor', '');
  41302. Node448.a('node.gradient', '');
  41303. Node448.a('node.borderwidth', Node448BorderWidth);
  41304. Node448.a('node.color', 'rgba(224,224,224,1)');
  41305. Node448.a('node.fillrect', [0,0,0,0]);
  41306. Node448.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  41307. Node448.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  41308. Node448.a('node.fillgradient', '');
  41309. if (Node448type !== 'rect') {
  41310. Node448.a('node.arcFrom', parseFloat('@arcFrom@'));
  41311. Node448.a('node.arcTo', parseFloat('@arcTo@'));
  41312. Node448.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  41313. }
  41314. if (Node448type === 'arc') {
  41315. Node448.a('node.arcOval', true);
  41316. }
  41317. Node448.setRotation(0*Math.PI/180);
  41318. Node448.borderWidth = Node448BorderWidth;
  41319. Node448.borderFillwidth = Node448BorderWidth;
  41320. dataModel.add(Node448);
  41321. Node448._nodename = 'Node448'
  41322. Node448._nodeType = 'rect';
  41323. zoomNodeList.push({
  41324. node: Node448,
  41325. attr: 'node.borderwidth'
  41326. });
  41327. (function (node, _img) {
  41328. var setWidth = node.setWidth,
  41329. setHeight = node.setHeight;
  41330. node.setWidth = function (width) {
  41331. if (width === this.getWidth()) return ;
  41332. var height = this.getHeight();
  41333. this.a('node.width', width);
  41334. this.a('node.rect', [0,0,width, height]);
  41335. setWidth.apply(this, arguments);
  41336. }
  41337. node.setHeight = function (height) {
  41338. if (height === this.getHeight()) return ;
  41339. var width = this.getWidth();
  41340. this.a('node.height', height);
  41341. this.a('node.rect', [0,0,width, height]);
  41342. setHeight.apply(this, arguments);
  41343. }
  41344. })(Node448, Node448.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41345. var Node449 = new ht.Node();
  41346. var Node449textStart, Node449textWidth, Node449lineStart, Node449align = 'center', Node449fontSize = 13.3333*_ratio.ratioY,Node449width = 59*_ratio.ratioX, Node449height = 26*_ratio.ratioY;
  41347. (function () {
  41348. if (Node449align === 'left') {
  41349. Node449textStart = Node449fontSize * 0.2 > 2 ? Node449fontSize * 0.2 - 4 : Node449fontSize * 0.2 - 9;
  41350. Node449textWidth = Node449width;
  41351. Node449lineStart = 1;
  41352. } else if (Node449align === 'right') {
  41353. Node449textStart = 0;
  41354. Node449textWidth =Node449fontSize <= 8 ? Node449width + Node449fontSize * 0.2 + 6 : Node449width - Node449fontSize * 0.2;
  41355. Node449lineStart = (Node449width - (ht.Default.getTextSize('万kWh', ' '+ Node449fontSize + 'px "Arial"').width + 6)) * 0.5;
  41356. } else if (Node449align === 'center') {
  41357. Node449textStart = -3;
  41358. Node449textWidth = Node449width;
  41359. Node449lineStart = Node449width - ht.Default.getTextSize('万kWh', ' '+ Node449fontSize + 'px "Arial"').width - 11;
  41360. }
  41361. })();
  41362. Node449.setImage(GD.getTextJSON(Node449width, Node449height, true, false, false, ' '+ Node449fontSize + 'px "Arial"'))
  41363. Node449.setPosition(718*ratio.ratioX, 52*ratio.ratioY);
  41364. Node449.setWidth(Node449width);
  41365. Node449.setHeight(Node449height);
  41366. Node449._nodeType = 'text';
  41367. Node449._disallowEvert = true;
  41368. Node449.setRotation(0*Math.PI/180);
  41369. Node449.a('node.width', Node449width);
  41370. Node449.a('node.height', Node449height);
  41371. Node449.a('node.rect', [0, 0, Node449width, Node449height]);
  41372. Node449.a('node.bordercolor','rgba(128,128,128,1)');
  41373. Node449.a('node.borderwidth', 0);
  41374. Node449.a('node.background','' || 'rgba(0,0,0,0)');
  41375. Node449.a('node.gradient','');
  41376. Node449.a('node.gradientcolor','');
  41377. Node449.a('node.text','万kWh');
  41378. Node449.a('node.textalign','center');
  41379. Node449.a('node.textvAlign','middle');
  41380. Node449.a('node.textrect', [Node449textStart, 0, Node449textWidth, Node449height]);
  41381. Node449.a('node.color','rgba(128,128,128,1)');
  41382. Node449.a('node.font',' '+ Node449fontSize + 'px "Arial"');
  41383. Node449.a('node.textvisible',true);
  41384. Node449.a('node.linefeed',false);
  41385. if (false) {
  41386. Node449.a('node.textfunc',function(g) {
  41387. g.beginPath();
  41388. var str=Node449.a('node.text') || '万kWh';
  41389. var color=Node449.a('node.color') || 'rgba(128,128,128,1)';
  41390. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449width,Node449height,13.3333*_ratio.ratioY,"center",color,' '+ Node449fontSize + 'px "Arial"', 0,g);
  41391. });
  41392. }
  41393. if (false) {
  41394. Node449.a('node.underlinepoints',[Node449lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node449fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node449fontSize + 'px "Arial"').width + 6, (Node449height - Node449fontSize) * 0.5*_ratio.ratioY + Node449fontSize + 2 ]);
  41395. Node449.a('node.underlinevisible',false);
  41396. Node449.a('node.underlineBorderWidth', 1);
  41397. }
  41398. dataModel.add(Node449);
  41399. zoomNodeList.push({
  41400. node: Node449,
  41401. borderWidth: 0,
  41402. attr: 'node.borderwidth'
  41403. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41404. var Node450 = new ht.Node();
  41405. var Node450textStart, Node450textWidth, Node450lineStart, Node450align = 'center', Node450fontSize = 13.3333*_ratio.ratioY,Node450width = 59*_ratio.ratioX, Node450height = 26*_ratio.ratioY;
  41406. (function () {
  41407. if (Node450align === 'left') {
  41408. Node450textStart = Node450fontSize * 0.2 > 2 ? Node450fontSize * 0.2 - 4 : Node450fontSize * 0.2 - 9;
  41409. Node450textWidth = Node450width;
  41410. Node450lineStart = 1;
  41411. } else if (Node450align === 'right') {
  41412. Node450textStart = 0;
  41413. Node450textWidth =Node450fontSize <= 8 ? Node450width + Node450fontSize * 0.2 + 6 : Node450width - Node450fontSize * 0.2;
  41414. Node450lineStart = (Node450width - (ht.Default.getTextSize('万kWh', ' '+ Node450fontSize + 'px "Arial"').width + 6)) * 0.5;
  41415. } else if (Node450align === 'center') {
  41416. Node450textStart = -3;
  41417. Node450textWidth = Node450width;
  41418. Node450lineStart = Node450width - ht.Default.getTextSize('万kWh', ' '+ Node450fontSize + 'px "Arial"').width - 11;
  41419. }
  41420. })();
  41421. Node450.setImage(GD.getTextJSON(Node450width, Node450height, true, false, false, ' '+ Node450fontSize + 'px "Arial"'))
  41422. Node450.setPosition(718*ratio.ratioX, 76*ratio.ratioY);
  41423. Node450.setWidth(Node450width);
  41424. Node450.setHeight(Node450height);
  41425. Node450._nodeType = 'text';
  41426. Node450._disallowEvert = true;
  41427. Node450.setRotation(0*Math.PI/180);
  41428. Node450.a('node.width', Node450width);
  41429. Node450.a('node.height', Node450height);
  41430. Node450.a('node.rect', [0, 0, Node450width, Node450height]);
  41431. Node450.a('node.bordercolor','rgba(128,128,128,1)');
  41432. Node450.a('node.borderwidth', 0);
  41433. Node450.a('node.background','' || 'rgba(0,0,0,0)');
  41434. Node450.a('node.gradient','');
  41435. Node450.a('node.gradientcolor','');
  41436. Node450.a('node.text','万kWh');
  41437. Node450.a('node.textalign','center');
  41438. Node450.a('node.textvAlign','middle');
  41439. Node450.a('node.textrect', [Node450textStart, 0, Node450textWidth, Node450height]);
  41440. Node450.a('node.color','rgba(128,128,128,1)');
  41441. Node450.a('node.font',' '+ Node450fontSize + 'px "Arial"');
  41442. Node450.a('node.textvisible',true);
  41443. Node450.a('node.linefeed',false);
  41444. if (false) {
  41445. Node450.a('node.textfunc',function(g) {
  41446. g.beginPath();
  41447. var str=Node450.a('node.text') || '万kWh';
  41448. var color=Node450.a('node.color') || 'rgba(128,128,128,1)';
  41449. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450width,Node450height,13.3333*_ratio.ratioY,"center",color,' '+ Node450fontSize + 'px "Arial"', 0,g);
  41450. });
  41451. }
  41452. if (false) {
  41453. Node450.a('node.underlinepoints',[Node450lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node450fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node450fontSize + 'px "Arial"').width + 6, (Node450height - Node450fontSize) * 0.5*_ratio.ratioY + Node450fontSize + 2 ]);
  41454. Node450.a('node.underlinevisible',false);
  41455. Node450.a('node.underlineBorderWidth', 1);
  41456. }
  41457. dataModel.add(Node450);
  41458. zoomNodeList.push({
  41459. node: Node450,
  41460. borderWidth: 0,
  41461. attr: 'node.borderwidth'
  41462. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41463. var Node451 = new ht.Node();
  41464. var Node451textStart, Node451textWidth, Node451lineStart, Node451align = 'center', Node451fontSize = 13.3333*_ratio.ratioY,Node451width = 59*_ratio.ratioX, Node451height = 26*_ratio.ratioY;
  41465. (function () {
  41466. if (Node451align === 'left') {
  41467. Node451textStart = Node451fontSize * 0.2 > 2 ? Node451fontSize * 0.2 - 4 : Node451fontSize * 0.2 - 9;
  41468. Node451textWidth = Node451width;
  41469. Node451lineStart = 1;
  41470. } else if (Node451align === 'right') {
  41471. Node451textStart = 0;
  41472. Node451textWidth =Node451fontSize <= 8 ? Node451width + Node451fontSize * 0.2 + 6 : Node451width - Node451fontSize * 0.2;
  41473. Node451lineStart = (Node451width - (ht.Default.getTextSize('万kWh', ' '+ Node451fontSize + 'px "Arial"').width + 6)) * 0.5;
  41474. } else if (Node451align === 'center') {
  41475. Node451textStart = -3;
  41476. Node451textWidth = Node451width;
  41477. Node451lineStart = Node451width - ht.Default.getTextSize('万kWh', ' '+ Node451fontSize + 'px "Arial"').width - 11;
  41478. }
  41479. })();
  41480. Node451.setImage(GD.getTextJSON(Node451width, Node451height, true, false, false, ' '+ Node451fontSize + 'px "Arial"'))
  41481. Node451.setPosition(718*ratio.ratioX, 99*ratio.ratioY);
  41482. Node451.setWidth(Node451width);
  41483. Node451.setHeight(Node451height);
  41484. Node451._nodeType = 'text';
  41485. Node451._disallowEvert = true;
  41486. Node451.setRotation(0*Math.PI/180);
  41487. Node451.a('node.width', Node451width);
  41488. Node451.a('node.height', Node451height);
  41489. Node451.a('node.rect', [0, 0, Node451width, Node451height]);
  41490. Node451.a('node.bordercolor','rgba(128,128,128,1)');
  41491. Node451.a('node.borderwidth', 0);
  41492. Node451.a('node.background','' || 'rgba(0,0,0,0)');
  41493. Node451.a('node.gradient','');
  41494. Node451.a('node.gradientcolor','');
  41495. Node451.a('node.text','万kWh');
  41496. Node451.a('node.textalign','center');
  41497. Node451.a('node.textvAlign','middle');
  41498. Node451.a('node.textrect', [Node451textStart, 0, Node451textWidth, Node451height]);
  41499. Node451.a('node.color','rgba(128,128,128,1)');
  41500. Node451.a('node.font',' '+ Node451fontSize + 'px "Arial"');
  41501. Node451.a('node.textvisible',true);
  41502. Node451.a('node.linefeed',false);
  41503. if (false) {
  41504. Node451.a('node.textfunc',function(g) {
  41505. g.beginPath();
  41506. var str=Node451.a('node.text') || '万kWh';
  41507. var color=Node451.a('node.color') || 'rgba(128,128,128,1)';
  41508. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node451width,Node451height,13.3333*_ratio.ratioY,"center",color,' '+ Node451fontSize + 'px "Arial"', 0,g);
  41509. });
  41510. }
  41511. if (false) {
  41512. Node451.a('node.underlinepoints',[Node451lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node451fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node451fontSize + 'px "Arial"').width + 6, (Node451height - Node451fontSize) * 0.5*_ratio.ratioY + Node451fontSize + 2 ]);
  41513. Node451.a('node.underlinevisible',false);
  41514. Node451.a('node.underlineBorderWidth', 1);
  41515. }
  41516. dataModel.add(Node451);
  41517. zoomNodeList.push({
  41518. node: Node451,
  41519. borderWidth: 0,
  41520. attr: 'node.borderwidth'
  41521. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41522. var Node452 = new ht.Node();
  41523. var Node452textStart, Node452textWidth, Node452lineStart, Node452align = 'center', Node452fontSize = 13.3333*_ratio.ratioY,Node452width = 59*_ratio.ratioX, Node452height = 26*_ratio.ratioY;
  41524. (function () {
  41525. if (Node452align === 'left') {
  41526. Node452textStart = Node452fontSize * 0.2 > 2 ? Node452fontSize * 0.2 - 4 : Node452fontSize * 0.2 - 9;
  41527. Node452textWidth = Node452width;
  41528. Node452lineStart = 1;
  41529. } else if (Node452align === 'right') {
  41530. Node452textStart = 0;
  41531. Node452textWidth =Node452fontSize <= 8 ? Node452width + Node452fontSize * 0.2 + 6 : Node452width - Node452fontSize * 0.2;
  41532. Node452lineStart = (Node452width - (ht.Default.getTextSize('万kWh', ' '+ Node452fontSize + 'px "Arial"').width + 6)) * 0.5;
  41533. } else if (Node452align === 'center') {
  41534. Node452textStart = -3;
  41535. Node452textWidth = Node452width;
  41536. Node452lineStart = Node452width - ht.Default.getTextSize('万kWh', ' '+ Node452fontSize + 'px "Arial"').width - 11;
  41537. }
  41538. })();
  41539. Node452.setImage(GD.getTextJSON(Node452width, Node452height, true, false, false, ' '+ Node452fontSize + 'px "Arial"'))
  41540. Node452.setPosition(718*ratio.ratioX, 125*ratio.ratioY);
  41541. Node452.setWidth(Node452width);
  41542. Node452.setHeight(Node452height);
  41543. Node452._nodeType = 'text';
  41544. Node452._disallowEvert = true;
  41545. Node452.setRotation(0*Math.PI/180);
  41546. Node452.a('node.width', Node452width);
  41547. Node452.a('node.height', Node452height);
  41548. Node452.a('node.rect', [0, 0, Node452width, Node452height]);
  41549. Node452.a('node.bordercolor','rgba(128,128,128,1)');
  41550. Node452.a('node.borderwidth', 0);
  41551. Node452.a('node.background','' || 'rgba(0,0,0,0)');
  41552. Node452.a('node.gradient','');
  41553. Node452.a('node.gradientcolor','');
  41554. Node452.a('node.text','万kWh');
  41555. Node452.a('node.textalign','center');
  41556. Node452.a('node.textvAlign','middle');
  41557. Node452.a('node.textrect', [Node452textStart, 0, Node452textWidth, Node452height]);
  41558. Node452.a('node.color','rgba(128,128,128,1)');
  41559. Node452.a('node.font',' '+ Node452fontSize + 'px "Arial"');
  41560. Node452.a('node.textvisible',true);
  41561. Node452.a('node.linefeed',false);
  41562. if (false) {
  41563. Node452.a('node.textfunc',function(g) {
  41564. g.beginPath();
  41565. var str=Node452.a('node.text') || '万kWh';
  41566. var color=Node452.a('node.color') || 'rgba(128,128,128,1)';
  41567. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node452width,Node452height,13.3333*_ratio.ratioY,"center",color,' '+ Node452fontSize + 'px "Arial"', 0,g);
  41568. });
  41569. }
  41570. if (false) {
  41571. Node452.a('node.underlinepoints',[Node452lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node452fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node452fontSize + 'px "Arial"').width + 6, (Node452height - Node452fontSize) * 0.5*_ratio.ratioY + Node452fontSize + 2 ]);
  41572. Node452.a('node.underlinevisible',false);
  41573. Node452.a('node.underlineBorderWidth', 1);
  41574. }
  41575. dataModel.add(Node452);
  41576. zoomNodeList.push({
  41577. node: Node452,
  41578. borderWidth: 0,
  41579. attr: 'node.borderwidth'
  41580. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41581. var Node453 = new ht.Node();
  41582. var Node453textStart, Node453textWidth, Node453lineStart, Node453align = 'center', Node453fontSize = 13.3333*_ratio.ratioY,Node453width = 59*_ratio.ratioX, Node453height = 26*_ratio.ratioY;
  41583. (function () {
  41584. if (Node453align === 'left') {
  41585. Node453textStart = Node453fontSize * 0.2 > 2 ? Node453fontSize * 0.2 - 4 : Node453fontSize * 0.2 - 9;
  41586. Node453textWidth = Node453width;
  41587. Node453lineStart = 1;
  41588. } else if (Node453align === 'right') {
  41589. Node453textStart = 0;
  41590. Node453textWidth =Node453fontSize <= 8 ? Node453width + Node453fontSize * 0.2 + 6 : Node453width - Node453fontSize * 0.2;
  41591. Node453lineStart = (Node453width - (ht.Default.getTextSize('万kWh', ' '+ Node453fontSize + 'px "Arial"').width + 6)) * 0.5;
  41592. } else if (Node453align === 'center') {
  41593. Node453textStart = -3;
  41594. Node453textWidth = Node453width;
  41595. Node453lineStart = Node453width - ht.Default.getTextSize('万kWh', ' '+ Node453fontSize + 'px "Arial"').width - 11;
  41596. }
  41597. })();
  41598. Node453.setImage(GD.getTextJSON(Node453width, Node453height, true, false, false, ' '+ Node453fontSize + 'px "Arial"'))
  41599. Node453.setPosition(718*ratio.ratioX, 149*ratio.ratioY);
  41600. Node453.setWidth(Node453width);
  41601. Node453.setHeight(Node453height);
  41602. Node453._nodeType = 'text';
  41603. Node453._disallowEvert = true;
  41604. Node453.setRotation(0*Math.PI/180);
  41605. Node453.a('node.width', Node453width);
  41606. Node453.a('node.height', Node453height);
  41607. Node453.a('node.rect', [0, 0, Node453width, Node453height]);
  41608. Node453.a('node.bordercolor','rgba(128,128,128,1)');
  41609. Node453.a('node.borderwidth', 0);
  41610. Node453.a('node.background','' || 'rgba(0,0,0,0)');
  41611. Node453.a('node.gradient','');
  41612. Node453.a('node.gradientcolor','');
  41613. Node453.a('node.text','万kWh');
  41614. Node453.a('node.textalign','center');
  41615. Node453.a('node.textvAlign','middle');
  41616. Node453.a('node.textrect', [Node453textStart, 0, Node453textWidth, Node453height]);
  41617. Node453.a('node.color','rgba(128,128,128,1)');
  41618. Node453.a('node.font',' '+ Node453fontSize + 'px "Arial"');
  41619. Node453.a('node.textvisible',true);
  41620. Node453.a('node.linefeed',false);
  41621. if (false) {
  41622. Node453.a('node.textfunc',function(g) {
  41623. g.beginPath();
  41624. var str=Node453.a('node.text') || '万kWh';
  41625. var color=Node453.a('node.color') || 'rgba(128,128,128,1)';
  41626. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node453width,Node453height,13.3333*_ratio.ratioY,"center",color,' '+ Node453fontSize + 'px "Arial"', 0,g);
  41627. });
  41628. }
  41629. if (false) {
  41630. Node453.a('node.underlinepoints',[Node453lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node453fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node453fontSize + 'px "Arial"').width + 6, (Node453height - Node453fontSize) * 0.5*_ratio.ratioY + Node453fontSize + 2 ]);
  41631. Node453.a('node.underlinevisible',false);
  41632. Node453.a('node.underlineBorderWidth', 1);
  41633. }
  41634. dataModel.add(Node453);
  41635. zoomNodeList.push({
  41636. node: Node453,
  41637. borderWidth: 0,
  41638. attr: 'node.borderwidth'
  41639. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41640. var Node454 = new ht.Node();
  41641. var Node454textStart, Node454textWidth, Node454lineStart, Node454align = 'left', Node454fontSize = 11.99997*_ratio.ratioY,Node454width = 53*_ratio.ratioX, Node454height = 20*_ratio.ratioY;
  41642. (function () {
  41643. if (Node454align === 'left') {
  41644. Node454textStart = Node454fontSize * 0.2 > 2 ? Node454fontSize * 0.2 - 4 : Node454fontSize * 0.2 - 9;
  41645. Node454textWidth = Node454width;
  41646. Node454lineStart = 1;
  41647. } else if (Node454align === 'right') {
  41648. Node454textStart = 0;
  41649. Node454textWidth =Node454fontSize <= 8 ? Node454width + Node454fontSize * 0.2 + 6 : Node454width - Node454fontSize * 0.2;
  41650. Node454lineStart = (Node454width - (ht.Default.getTextSize('机', 'bold '+ Node454fontSize + 'px "Arial"').width + 6)) * 0.5;
  41651. } else if (Node454align === 'center') {
  41652. Node454textStart = -3;
  41653. Node454textWidth = Node454width;
  41654. Node454lineStart = Node454width - ht.Default.getTextSize('机', 'bold '+ Node454fontSize + 'px "Arial"').width - 11;
  41655. }
  41656. })();
  41657. Node454.setImage(GD.getTextJSON(Node454width, Node454height, true, false, false, 'bold '+ Node454fontSize + 'px "Arial"'))
  41658. Node454.setPosition(1343*ratio.ratioX, 86*ratio.ratioY);
  41659. Node454.setWidth(Node454width);
  41660. Node454.setHeight(Node454height);
  41661. Node454._nodeType = 'text';
  41662. Node454._disallowEvert = true;
  41663. Node454.setRotation(0*Math.PI/180);
  41664. Node454.a('node.width', Node454width);
  41665. Node454.a('node.height', Node454height);
  41666. Node454.a('node.rect', [0, 0, Node454width, Node454height]);
  41667. Node454.a('node.bordercolor','rgba(255,255,255,1)');
  41668. Node454.a('node.borderwidth', 0);
  41669. Node454.a('node.background','' || 'rgba(0,0,0,0)');
  41670. Node454.a('node.gradient','');
  41671. Node454.a('node.gradientcolor','');
  41672. Node454.a('node.text','机');
  41673. Node454.a('node.textalign','left');
  41674. Node454.a('node.textvAlign','middle');
  41675. Node454.a('node.textrect', [Node454textStart, 0, Node454textWidth, Node454height]);
  41676. Node454.a('node.color','rgba(255,255,255,1)');
  41677. Node454.a('node.font','bold '+ Node454fontSize + 'px "Arial"');
  41678. Node454.a('node.textvisible',true);
  41679. Node454.a('node.linefeed',false);
  41680. if (false) {
  41681. Node454.a('node.textfunc',function(g) {
  41682. g.beginPath();
  41683. var str=Node454.a('node.text') || '机';
  41684. var color=Node454.a('node.color') || 'rgba(255,255,255,1)';
  41685. canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node454width,Node454height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node454fontSize + 'px "Arial"', 0,g);
  41686. });
  41687. }
  41688. if (false) {
  41689. Node454.a('node.underlinepoints',[Node454lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node454fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node454fontSize + 'px "Arial"').width + 6, (Node454height - Node454fontSize) * 0.5*_ratio.ratioY + Node454fontSize + 2 ]);
  41690. Node454.a('node.underlinevisible',false);
  41691. Node454.a('node.underlineBorderWidth', 1);
  41692. }
  41693. dataModel.add(Node454);
  41694. zoomNodeList.push({
  41695. node: Node454,
  41696. borderWidth: 0,
  41697. attr: 'node.borderwidth'
  41698. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41699. var Node455 = new ht.Node();
  41700. var Node455textStart, Node455textWidth, Node455lineStart, Node455align = 'left', Node455fontSize = 11.99997*_ratio.ratioY,Node455width = 53*_ratio.ratioX, Node455height = 20*_ratio.ratioY;
  41701. (function () {
  41702. if (Node455align === 'left') {
  41703. Node455textStart = Node455fontSize * 0.2 > 2 ? Node455fontSize * 0.2 - 4 : Node455fontSize * 0.2 - 9;
  41704. Node455textWidth = Node455width;
  41705. Node455lineStart = 1;
  41706. } else if (Node455align === 'right') {
  41707. Node455textStart = 0;
  41708. Node455textWidth =Node455fontSize <= 8 ? Node455width + Node455fontSize * 0.2 + 6 : Node455width - Node455fontSize * 0.2;
  41709. Node455lineStart = (Node455width - (ht.Default.getTextSize('状', 'bold '+ Node455fontSize + 'px "Arial"').width + 6)) * 0.5;
  41710. } else if (Node455align === 'center') {
  41711. Node455textStart = -3;
  41712. Node455textWidth = Node455width;
  41713. Node455lineStart = Node455width - ht.Default.getTextSize('状', 'bold '+ Node455fontSize + 'px "Arial"').width - 11;
  41714. }
  41715. })();
  41716. Node455.setImage(GD.getTextJSON(Node455width, Node455height, true, false, false, 'bold '+ Node455fontSize + 'px "Arial"'))
  41717. Node455.setPosition(1343*ratio.ratioX, 109*ratio.ratioY);
  41718. Node455.setWidth(Node455width);
  41719. Node455.setHeight(Node455height);
  41720. Node455._nodeType = 'text';
  41721. Node455._disallowEvert = true;
  41722. Node455.setRotation(0*Math.PI/180);
  41723. Node455.a('node.width', Node455width);
  41724. Node455.a('node.height', Node455height);
  41725. Node455.a('node.rect', [0, 0, Node455width, Node455height]);
  41726. Node455.a('node.bordercolor','rgba(255,255,255,1)');
  41727. Node455.a('node.borderwidth', 0);
  41728. Node455.a('node.background','' || 'rgba(0,0,0,0)');
  41729. Node455.a('node.gradient','');
  41730. Node455.a('node.gradientcolor','');
  41731. Node455.a('node.text','状');
  41732. Node455.a('node.textalign','left');
  41733. Node455.a('node.textvAlign','middle');
  41734. Node455.a('node.textrect', [Node455textStart, 0, Node455textWidth, Node455height]);
  41735. Node455.a('node.color','rgba(255,255,255,1)');
  41736. Node455.a('node.font','bold '+ Node455fontSize + 'px "Arial"');
  41737. Node455.a('node.textvisible',true);
  41738. Node455.a('node.linefeed',false);
  41739. if (false) {
  41740. Node455.a('node.textfunc',function(g) {
  41741. g.beginPath();
  41742. var str=Node455.a('node.text') || '状';
  41743. var color=Node455.a('node.color') || 'rgba(255,255,255,1)';
  41744. canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node455width,Node455height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node455fontSize + 'px "Arial"', 0,g);
  41745. });
  41746. }
  41747. if (false) {
  41748. Node455.a('node.underlinepoints',[Node455lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node455fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node455fontSize + 'px "Arial"').width + 6, (Node455height - Node455fontSize) * 0.5*_ratio.ratioY + Node455fontSize + 2 ]);
  41749. Node455.a('node.underlinevisible',false);
  41750. Node455.a('node.underlineBorderWidth', 1);
  41751. }
  41752. dataModel.add(Node455);
  41753. zoomNodeList.push({
  41754. node: Node455,
  41755. borderWidth: 0,
  41756. attr: 'node.borderwidth'
  41757. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41758. var Node456 = new ht.Node();
  41759. var Node456textStart, Node456textWidth, Node456lineStart, Node456align = 'left', Node456fontSize = 11.99997*_ratio.ratioY,Node456width = 53*_ratio.ratioX, Node456height = 20*_ratio.ratioY;
  41760. (function () {
  41761. if (Node456align === 'left') {
  41762. Node456textStart = Node456fontSize * 0.2 > 2 ? Node456fontSize * 0.2 - 4 : Node456fontSize * 0.2 - 9;
  41763. Node456textWidth = Node456width;
  41764. Node456lineStart = 1;
  41765. } else if (Node456align === 'right') {
  41766. Node456textStart = 0;
  41767. Node456textWidth =Node456fontSize <= 8 ? Node456width + Node456fontSize * 0.2 + 6 : Node456width - Node456fontSize * 0.2;
  41768. Node456lineStart = (Node456width - (ht.Default.getTextSize('态', 'bold '+ Node456fontSize + 'px "Arial"').width + 6)) * 0.5;
  41769. } else if (Node456align === 'center') {
  41770. Node456textStart = -3;
  41771. Node456textWidth = Node456width;
  41772. Node456lineStart = Node456width - ht.Default.getTextSize('态', 'bold '+ Node456fontSize + 'px "Arial"').width - 11;
  41773. }
  41774. })();
  41775. Node456.setImage(GD.getTextJSON(Node456width, Node456height, true, false, false, 'bold '+ Node456fontSize + 'px "Arial"'))
  41776. Node456.setPosition(1343*ratio.ratioX, 131*ratio.ratioY);
  41777. Node456.setWidth(Node456width);
  41778. Node456.setHeight(Node456height);
  41779. Node456._nodeType = 'text';
  41780. Node456._disallowEvert = true;
  41781. Node456.setRotation(0*Math.PI/180);
  41782. Node456.a('node.width', Node456width);
  41783. Node456.a('node.height', Node456height);
  41784. Node456.a('node.rect', [0, 0, Node456width, Node456height]);
  41785. Node456.a('node.bordercolor','rgba(255,255,255,1)');
  41786. Node456.a('node.borderwidth', 0);
  41787. Node456.a('node.background','' || 'rgba(0,0,0,0)');
  41788. Node456.a('node.gradient','');
  41789. Node456.a('node.gradientcolor','');
  41790. Node456.a('node.text','态');
  41791. Node456.a('node.textalign','left');
  41792. Node456.a('node.textvAlign','middle');
  41793. Node456.a('node.textrect', [Node456textStart, 0, Node456textWidth, Node456height]);
  41794. Node456.a('node.color','rgba(255,255,255,1)');
  41795. Node456.a('node.font','bold '+ Node456fontSize + 'px "Arial"');
  41796. Node456.a('node.textvisible',true);
  41797. Node456.a('node.linefeed',false);
  41798. if (false) {
  41799. Node456.a('node.textfunc',function(g) {
  41800. g.beginPath();
  41801. var str=Node456.a('node.text') || '态';
  41802. var color=Node456.a('node.color') || 'rgba(255,255,255,1)';
  41803. canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node456width,Node456height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node456fontSize + 'px "Arial"', 0,g);
  41804. });
  41805. }
  41806. if (false) {
  41807. Node456.a('node.underlinepoints',[Node456lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node456fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node456fontSize + 'px "Arial"').width + 6, (Node456height - Node456fontSize) * 0.5*_ratio.ratioY + Node456fontSize + 2 ]);
  41808. Node456.a('node.underlinevisible',false);
  41809. Node456.a('node.underlineBorderWidth', 1);
  41810. }
  41811. dataModel.add(Node456);
  41812. zoomNodeList.push({
  41813. node: Node456,
  41814. borderWidth: 0,
  41815. attr: 'node.borderwidth'
  41816. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41817. var Node457 = new ht.Node();
  41818. var Node457textStart, Node457textWidth, Node457lineStart, Node457align = 'center', Node457fontSize = 14.66663*_ratio.ratioY,Node457width = 67*_ratio.ratioX, Node457height = 26*_ratio.ratioY;
  41819. (function () {
  41820. if (Node457align === 'left') {
  41821. Node457textStart = Node457fontSize * 0.2 > 2 ? Node457fontSize * 0.2 - 4 : Node457fontSize * 0.2 - 9;
  41822. Node457textWidth = Node457width;
  41823. Node457lineStart = 1;
  41824. } else if (Node457align === 'right') {
  41825. Node457textStart = 0;
  41826. Node457textWidth =Node457fontSize <= 8 ? Node457width + Node457fontSize * 0.2 + 6 : Node457width - Node457fontSize * 0.2;
  41827. Node457lineStart = (Node457width - (ht.Default.getTextSize('台', ' '+ Node457fontSize + 'px "Arial"').width + 6)) * 0.5;
  41828. } else if (Node457align === 'center') {
  41829. Node457textStart = -3;
  41830. Node457textWidth = Node457width;
  41831. Node457lineStart = Node457width - ht.Default.getTextSize('台', ' '+ Node457fontSize + 'px "Arial"').width - 11;
  41832. }
  41833. })();
  41834. Node457.setImage(GD.getTextJSON(Node457width, Node457height, true, false, false, ' '+ Node457fontSize + 'px "Arial"'))
  41835. Node457.setPosition(1586*ratio.ratioX, 84*ratio.ratioY);
  41836. Node457.setWidth(Node457width);
  41837. Node457.setHeight(Node457height);
  41838. Node457._nodeType = 'text';
  41839. Node457._disallowEvert = true;
  41840. Node457.setRotation(0*Math.PI/180);
  41841. Node457.a('node.width', Node457width);
  41842. Node457.a('node.height', Node457height);
  41843. Node457.a('node.rect', [0, 0, Node457width, Node457height]);
  41844. Node457.a('node.bordercolor','rgba(105,105,105,1)');
  41845. Node457.a('node.borderwidth', 0);
  41846. Node457.a('node.background','' || 'rgba(0,0,0,0)');
  41847. Node457.a('node.gradient','');
  41848. Node457.a('node.gradientcolor','');
  41849. Node457.a('node.text','台');
  41850. Node457.a('node.textalign','center');
  41851. Node457.a('node.textvAlign','middle');
  41852. Node457.a('node.textrect', [Node457textStart, 0, Node457textWidth, Node457height]);
  41853. Node457.a('node.color','rgba(105,105,105,1)');
  41854. Node457.a('node.font',' '+ Node457fontSize + 'px "Arial"');
  41855. Node457.a('node.textvisible',true);
  41856. Node457.a('node.linefeed',false);
  41857. if (false) {
  41858. Node457.a('node.textfunc',function(g) {
  41859. g.beginPath();
  41860. var str=Node457.a('node.text') || '台';
  41861. var color=Node457.a('node.color') || 'rgba(105,105,105,1)';
  41862. canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node457width,Node457height,14.66663*_ratio.ratioY,"center",color,' '+ Node457fontSize + 'px "Arial"', 0,g);
  41863. });
  41864. }
  41865. if (false) {
  41866. Node457.a('node.underlinepoints',[Node457lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node457fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node457fontSize + 'px "Arial"').width + 6, (Node457height - Node457fontSize) * 0.5*_ratio.ratioY + Node457fontSize + 2 ]);
  41867. Node457.a('node.underlinevisible',false);
  41868. Node457.a('node.underlineBorderWidth', 1);
  41869. }
  41870. dataModel.add(Node457);
  41871. zoomNodeList.push({
  41872. node: Node457,
  41873. borderWidth: 0,
  41874. attr: 'node.borderwidth'
  41875. }); var Node458;
  41876. (function () {
  41877. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41878. var ratioX, ratioY;
  41879. if ('Default' === 'False') {
  41880. ratioX = 1;
  41881. ratioY = 1;
  41882. } else if ('Default' === 'X') {
  41883. ratioX = ratioY = _ratio.ratioX;
  41884. } else if ('Default' === 'Y') {
  41885. ratioX = ratioY = _ratio.ratioY;
  41886. } else {
  41887. ratioX = _ratio.ratioX;
  41888. ratioY = _ratio.ratioY;
  41889. }
  41890. ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg');
  41891. Node458 = new ht.Node();
  41892. Node458.setPosition(1475*ratio.ratioX, 68*ratio.ratioY);
  41893. Node458.setSize(9*ratioX, 60*ratioY);
  41894. Node458.setImage('imgimage//page_list_box_left_blue.jpg');
  41895. Node458.setRotation(0*Math.PI/180);
  41896. Node458._zoomBy = 'Default';
  41897. Node458._nodeType = 'image';
  41898. Node458._disallowEvert = true;
  41899. dataModel.add(Node458);
  41900. })();
  41901. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41902. var Node459type = 'rect';
  41903. var Node459 = new ht.Node(),
  41904. Node459BorderWidth = 1*2;
  41905. if (Node459type === 'arc') {
  41906. Node459BorderWidth *= 1;
  41907. }
  41908. Node459.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node459type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  41909. Node459.setPosition(1544*ratio.ratioX, 68*ratio.ratioY);
  41910. Node459.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
  41911. Node459.s({
  41912. 'pixelPerfect':true
  41913. /*@AddPara@*/
  41914. });
  41915. Node459.a('node.width', 127*_ratio.ratioX);
  41916. Node459.a('node.height', 60.81538*_ratio.ratioY);
  41917. Node459.a('node.type', Node459type);
  41918. Node459.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
  41919. Node459.a('node.background', 'rgba(255,255,255,0.003921569)');
  41920. Node459.a('node.gradientcolor', '');
  41921. Node459.a('node.gradient', '');
  41922. Node459.a('node.borderwidth', Node459BorderWidth);
  41923. Node459.a('node.color', 'rgba(128,128,128,1)');
  41924. Node459.a('node.fillrect', [0,0,0,0]);
  41925. Node459.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  41926. Node459.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  41927. Node459.a('node.fillgradient', '');
  41928. if (Node459type !== 'rect') {
  41929. Node459.a('node.arcFrom', parseFloat('@arcFrom@'));
  41930. Node459.a('node.arcTo', parseFloat('@arcTo@'));
  41931. Node459.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  41932. }
  41933. if (Node459type === 'arc') {
  41934. Node459.a('node.arcOval', true);
  41935. }
  41936. Node459.setRotation(0*Math.PI/180);
  41937. Node459.borderWidth = Node459BorderWidth;
  41938. Node459.borderFillwidth = Node459BorderWidth;
  41939. dataModel.add(Node459);
  41940. Node459._nodename = 'Node459'
  41941. Node459._nodeType = 'rect';
  41942. zoomNodeList.push({
  41943. node: Node459,
  41944. attr: 'node.borderwidth'
  41945. });
  41946. (function (node, _img) {
  41947. var setWidth = node.setWidth,
  41948. setHeight = node.setHeight;
  41949. node.setWidth = function (width) {
  41950. if (width === this.getWidth()) return ;
  41951. var height = this.getHeight();
  41952. this.a('node.width', width);
  41953. this.a('node.rect', [0,0,width, height]);
  41954. setWidth.apply(this, arguments);
  41955. }
  41956. node.setHeight = function (height) {
  41957. if (height === this.getHeight()) return ;
  41958. var width = this.getWidth();
  41959. this.a('node.height', height);
  41960. this.a('node.rect', [0,0,width, height]);
  41961. setHeight.apply(this, arguments);
  41962. }
  41963. })(Node459, Node459.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  41964. var Node460 = new ht.Node();
  41965. var Node460textStart, Node460textWidth, Node460lineStart, Node460align = 'left', Node460fontSize = 15.99996*_ratio.ratioY,Node460width = 29*_ratio.ratioX, Node460height = 25*_ratio.ratioY;
  41966. (function () {
  41967. if (Node460align === 'left') {
  41968. Node460textStart = Node460fontSize * 0.2 > 2 ? Node460fontSize * 0.2 - 4 : Node460fontSize * 0.2 - 9;
  41969. Node460textWidth = Node460width;
  41970. Node460lineStart = 1;
  41971. } else if (Node460align === 'right') {
  41972. Node460textStart = 0;
  41973. Node460textWidth =Node460fontSize <= 8 ? Node460width + Node460fontSize * 0.2 + 6 : Node460width - Node460fontSize * 0.2;
  41974. Node460lineStart = (Node460width - (ht.Default.getTextSize('0', ' '+ Node460fontSize + 'px "Arial"').width + 6)) * 0.5;
  41975. } else if (Node460align === 'center') {
  41976. Node460textStart = -3;
  41977. Node460textWidth = Node460width;
  41978. Node460lineStart = Node460width - ht.Default.getTextSize('0', ' '+ Node460fontSize + 'px "Arial"').width - 11;
  41979. }
  41980. })();
  41981. Node460.setImage(GD.getTextJSON(Node460width, Node460height, true, false, false, ' '+ Node460fontSize + 'px "Arial"'))
  41982. Node460.setPosition(1507*ratio.ratioX, 83*ratio.ratioY);
  41983. Node460.setWidth(Node460width);
  41984. Node460.setHeight(Node460height);
  41985. Node460._nodeType = 'text';
  41986. Node460._disallowEvert = true;
  41987. Node460.setRotation(0*Math.PI/180);
  41988. Node460.a('node.width', Node460width);
  41989. Node460.a('node.height', Node460height);
  41990. Node460.a('node.rect', [0, 0, Node460width, Node460height]);
  41991. Node460.a('node.bordercolor','rgba(0,0,0,1)');
  41992. Node460.a('node.borderwidth', 0);
  41993. Node460.a('node.background','' || 'rgba(0,0,0,0)');
  41994. Node460.a('node.gradient','');
  41995. Node460.a('node.gradientcolor','');
  41996. Node460.a('node.text','0');
  41997. Node460.a('node.textalign','left');
  41998. Node460.a('node.textvAlign','middle');
  41999. Node460.a('node.textrect', [Node460textStart, 0, Node460textWidth, Node460height]);
  42000. Node460.a('node.color','rgba(0,0,0,1)');
  42001. Node460.a('node.font',' '+ Node460fontSize + 'px "Arial"');
  42002. Node460.a('node.textvisible',true);
  42003. Node460.a('node.linefeed',false);
  42004. if (false) {
  42005. Node460.a('node.textfunc',function(g) {
  42006. g.beginPath();
  42007. var str=Node460.a('node.text') || '0';
  42008. var color=Node460.a('node.color') || 'rgba(0,0,0,1)';
  42009. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node460width,Node460height,15.99996*_ratio.ratioY,"left",color,' '+ Node460fontSize + 'px "Arial"', 0,g);
  42010. });
  42011. }
  42012. if (false) {
  42013. Node460.a('node.underlinepoints',[Node460lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node460fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node460fontSize + 'px "Arial"').width + 6, (Node460height - Node460fontSize) * 0.5*_ratio.ratioY + Node460fontSize + 2 ]);
  42014. Node460.a('node.underlinevisible',false);
  42015. Node460.a('node.underlineBorderWidth', 1);
  42016. }
  42017. dataModel.add(Node460);
  42018. zoomNodeList.push({
  42019. node: Node460,
  42020. borderWidth: 0,
  42021. attr: 'node.borderwidth'
  42022. }); var Node461;
  42023. (function () {
  42024. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42025. var ratioX, ratioY;
  42026. if ('Default' === 'False') {
  42027. ratioX = 1;
  42028. ratioY = 1;
  42029. } else if ('Default' === 'X') {
  42030. ratioX = ratioY = _ratio.ratioX;
  42031. } else if ('Default' === 'Y') {
  42032. ratioX = ratioY = _ratio.ratioY;
  42033. } else {
  42034. ratioX = _ratio.ratioX;
  42035. ratioY = _ratio.ratioY;
  42036. }
  42037. ht.Default.setImage('imgimage//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg');
  42038. Node461 = new ht.Node();
  42039. Node461.setPosition(1751*ratio.ratioX, 68*ratio.ratioY);
  42040. Node461.setSize(9*ratioX, 60*ratioY);
  42041. Node461.setImage('imgimage//page_list_box_left_red.jpg');
  42042. Node461.setRotation(0*Math.PI/180);
  42043. Node461._zoomBy = 'Default';
  42044. Node461._nodeType = 'image';
  42045. Node461._disallowEvert = true;
  42046. dataModel.add(Node461);
  42047. })();
  42048. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42049. var Node462 = new ht.Node();
  42050. var Node462textStart, Node462textWidth, Node462lineStart, Node462align = 'left', Node462fontSize = 15.99996*_ratio.ratioY,Node462width = 29*_ratio.ratioX, Node462height = 25*_ratio.ratioY;
  42051. (function () {
  42052. if (Node462align === 'left') {
  42053. Node462textStart = Node462fontSize * 0.2 > 2 ? Node462fontSize * 0.2 - 4 : Node462fontSize * 0.2 - 9;
  42054. Node462textWidth = Node462width;
  42055. Node462lineStart = 1;
  42056. } else if (Node462align === 'right') {
  42057. Node462textStart = 0;
  42058. Node462textWidth =Node462fontSize <= 8 ? Node462width + Node462fontSize * 0.2 + 6 : Node462width - Node462fontSize * 0.2;
  42059. Node462lineStart = (Node462width - (ht.Default.getTextSize('0', ' '+ Node462fontSize + 'px "Arial"').width + 6)) * 0.5;
  42060. } else if (Node462align === 'center') {
  42061. Node462textStart = -3;
  42062. Node462textWidth = Node462width;
  42063. Node462lineStart = Node462width - ht.Default.getTextSize('0', ' '+ Node462fontSize + 'px "Arial"').width - 11;
  42064. }
  42065. })();
  42066. Node462.setImage(GD.getTextJSON(Node462width, Node462height, true, false, false, ' '+ Node462fontSize + 'px "Arial"'))
  42067. Node462.setPosition(1783*ratio.ratioX, 83*ratio.ratioY);
  42068. Node462.setWidth(Node462width);
  42069. Node462.setHeight(Node462height);
  42070. Node462._nodeType = 'text';
  42071. Node462._disallowEvert = true;
  42072. Node462.setRotation(0*Math.PI/180);
  42073. Node462.a('node.width', Node462width);
  42074. Node462.a('node.height', Node462height);
  42075. Node462.a('node.rect', [0, 0, Node462width, Node462height]);
  42076. Node462.a('node.bordercolor','rgba(0,0,0,1)');
  42077. Node462.a('node.borderwidth', 0);
  42078. Node462.a('node.background','' || 'rgba(0,0,0,0)');
  42079. Node462.a('node.gradient','');
  42080. Node462.a('node.gradientcolor','');
  42081. Node462.a('node.text','0');
  42082. Node462.a('node.textalign','left');
  42083. Node462.a('node.textvAlign','middle');
  42084. Node462.a('node.textrect', [Node462textStart, 0, Node462textWidth, Node462height]);
  42085. Node462.a('node.color','rgba(0,0,0,1)');
  42086. Node462.a('node.font',' '+ Node462fontSize + 'px "Arial"');
  42087. Node462.a('node.textvisible',true);
  42088. Node462.a('node.linefeed',false);
  42089. if (false) {
  42090. Node462.a('node.textfunc',function(g) {
  42091. g.beginPath();
  42092. var str=Node462.a('node.text') || '0';
  42093. var color=Node462.a('node.color') || 'rgba(0,0,0,1)';
  42094. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node462width,Node462height,15.99996*_ratio.ratioY,"left",color,' '+ Node462fontSize + 'px "Arial"', 0,g);
  42095. });
  42096. }
  42097. if (false) {
  42098. Node462.a('node.underlinepoints',[Node462lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node462fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node462fontSize + 'px "Arial"').width + 6, (Node462height - Node462fontSize) * 0.5*_ratio.ratioY + Node462fontSize + 2 ]);
  42099. Node462.a('node.underlinevisible',false);
  42100. Node462.a('node.underlineBorderWidth', 1);
  42101. }
  42102. dataModel.add(Node462);
  42103. zoomNodeList.push({
  42104. node: Node462,
  42105. borderWidth: 0,
  42106. attr: 'node.borderwidth'
  42107. }); var Node463;
  42108. (function () {
  42109. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42110. var ratioX, ratioY;
  42111. if ('Default' === 'False') {
  42112. ratioX = 1;
  42113. ratioY = 1;
  42114. } else if ('Default' === 'X') {
  42115. ratioX = ratioY = _ratio.ratioX;
  42116. } else if ('Default' === 'Y') {
  42117. ratioX = ratioY = _ratio.ratioY;
  42118. } else {
  42119. ratioX = _ratio.ratioX;
  42120. ratioY = _ratio.ratioY;
  42121. }
  42122. ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
  42123. Node463 = new ht.Node();
  42124. Node463.setPosition(1751*ratio.ratioX, 129*ratio.ratioY);
  42125. Node463.setSize(9*ratioX, 60*ratioY);
  42126. Node463.setImage('imgimage//page_list_box_left_black.jpg');
  42127. Node463.setRotation(0*Math.PI/180);
  42128. Node463._zoomBy = 'Default';
  42129. Node463._nodeType = 'image';
  42130. Node463._disallowEvert = true;
  42131. dataModel.add(Node463);
  42132. })();
  42133. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42134. var Node464 = new ht.Node();
  42135. var Node464textStart, Node464textWidth, Node464lineStart, Node464align = 'left', Node464fontSize = 13.3333*_ratio.ratioY,Node464width = 47*_ratio.ratioX, Node464height = 38*_ratio.ratioY;
  42136. (function () {
  42137. if (Node464align === 'left') {
  42138. Node464textStart = Node464fontSize * 0.2 > 2 ? Node464fontSize * 0.2 - 4 : Node464fontSize * 0.2 - 9;
  42139. Node464textWidth = Node464width;
  42140. Node464lineStart = 1;
  42141. } else if (Node464align === 'right') {
  42142. Node464textStart = 0;
  42143. Node464textWidth =Node464fontSize <= 8 ? Node464width + Node464fontSize * 0.2 + 6 : Node464width - Node464fontSize * 0.2;
  42144. Node464lineStart = (Node464width - (ht.Default.getTextSize('离线', 'bold '+ Node464fontSize + 'px "Arial"').width + 6)) * 0.5;
  42145. } else if (Node464align === 'center') {
  42146. Node464textStart = -3;
  42147. Node464textWidth = Node464width;
  42148. Node464lineStart = Node464width - ht.Default.getTextSize('离线', 'bold '+ Node464fontSize + 'px "Arial"').width - 11;
  42149. }
  42150. })();
  42151. Node464.setImage(GD.getTextJSON(Node464width, Node464height, true, false, false, 'bold '+ Node464fontSize + 'px "Arial"'))
  42152. Node464.setPosition(1782*ratio.ratioX, 112*ratio.ratioY);
  42153. Node464.setWidth(Node464width);
  42154. Node464.setHeight(Node464height);
  42155. Node464._nodeType = 'text';
  42156. Node464._disallowEvert = true;
  42157. Node464.setRotation(0*Math.PI/180);
  42158. Node464.a('node.width', Node464width);
  42159. Node464.a('node.height', Node464height);
  42160. Node464.a('node.rect', [0, 0, Node464width, Node464height]);
  42161. Node464.a('node.bordercolor','rgba(0,0,0,1)');
  42162. Node464.a('node.borderwidth', 0);
  42163. Node464.a('node.background','' || 'rgba(0,0,0,0)');
  42164. Node464.a('node.gradient','');
  42165. Node464.a('node.gradientcolor','');
  42166. Node464.a('node.text','离线');
  42167. Node464.a('node.textalign','left');
  42168. Node464.a('node.textvAlign','middle');
  42169. Node464.a('node.textrect', [Node464textStart, 0, Node464textWidth, Node464height]);
  42170. Node464.a('node.color','rgba(0,0,0,1)');
  42171. Node464.a('node.font','bold '+ Node464fontSize + 'px "Arial"');
  42172. Node464.a('node.textvisible',true);
  42173. Node464.a('node.linefeed',false);
  42174. if (false) {
  42175. Node464.a('node.textfunc',function(g) {
  42176. g.beginPath();
  42177. var str=Node464.a('node.text') || '离线';
  42178. var color=Node464.a('node.color') || 'rgba(0,0,0,1)';
  42179. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node464width,Node464height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node464fontSize + 'px "Arial"', 0,g);
  42180. });
  42181. }
  42182. if (false) {
  42183. Node464.a('node.underlinepoints',[Node464lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node464fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node464fontSize + 'px "Arial"').width + 6, (Node464height - Node464fontSize) * 0.5*_ratio.ratioY + Node464fontSize + 2 ]);
  42184. Node464.a('node.underlinevisible',false);
  42185. Node464.a('node.underlineBorderWidth', 1);
  42186. }
  42187. dataModel.add(Node464);
  42188. zoomNodeList.push({
  42189. node: Node464,
  42190. borderWidth: 0,
  42191. attr: 'node.borderwidth'
  42192. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42193. var Node465 = new ht.Node();
  42194. var Node465textStart, Node465textWidth, Node465lineStart, Node465align = 'left', Node465fontSize = 15.99996*_ratio.ratioY,Node465width = 29*_ratio.ratioX, Node465height = 25*_ratio.ratioY;
  42195. (function () {
  42196. if (Node465align === 'left') {
  42197. Node465textStart = Node465fontSize * 0.2 > 2 ? Node465fontSize * 0.2 - 4 : Node465fontSize * 0.2 - 9;
  42198. Node465textWidth = Node465width;
  42199. Node465lineStart = 1;
  42200. } else if (Node465align === 'right') {
  42201. Node465textStart = 0;
  42202. Node465textWidth =Node465fontSize <= 8 ? Node465width + Node465fontSize * 0.2 + 6 : Node465width - Node465fontSize * 0.2;
  42203. Node465lineStart = (Node465width - (ht.Default.getTextSize('0', ' '+ Node465fontSize + 'px "Arial"').width + 6)) * 0.5;
  42204. } else if (Node465align === 'center') {
  42205. Node465textStart = -3;
  42206. Node465textWidth = Node465width;
  42207. Node465lineStart = Node465width - ht.Default.getTextSize('0', ' '+ Node465fontSize + 'px "Arial"').width - 11;
  42208. }
  42209. })();
  42210. Node465.setImage(GD.getTextJSON(Node465width, Node465height, true, false, false, ' '+ Node465fontSize + 'px "Arial"'))
  42211. Node465.setPosition(1783*ratio.ratioX, 144*ratio.ratioY);
  42212. Node465.setWidth(Node465width);
  42213. Node465.setHeight(Node465height);
  42214. Node465._nodeType = 'text';
  42215. Node465._disallowEvert = true;
  42216. Node465.setRotation(0*Math.PI/180);
  42217. Node465.a('node.width', Node465width);
  42218. Node465.a('node.height', Node465height);
  42219. Node465.a('node.rect', [0, 0, Node465width, Node465height]);
  42220. Node465.a('node.bordercolor','rgba(0,0,0,1)');
  42221. Node465.a('node.borderwidth', 0);
  42222. Node465.a('node.background','' || 'rgba(0,0,0,0)');
  42223. Node465.a('node.gradient','');
  42224. Node465.a('node.gradientcolor','');
  42225. Node465.a('node.text','0');
  42226. Node465.a('node.textalign','left');
  42227. Node465.a('node.textvAlign','middle');
  42228. Node465.a('node.textrect', [Node465textStart, 0, Node465textWidth, Node465height]);
  42229. Node465.a('node.color','rgba(0,0,0,1)');
  42230. Node465.a('node.font',' '+ Node465fontSize + 'px "Arial"');
  42231. Node465.a('node.textvisible',true);
  42232. Node465.a('node.linefeed',false);
  42233. if (false) {
  42234. Node465.a('node.textfunc',function(g) {
  42235. g.beginPath();
  42236. var str=Node465.a('node.text') || '0';
  42237. var color=Node465.a('node.color') || 'rgba(0,0,0,1)';
  42238. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node465width,Node465height,15.99996*_ratio.ratioY,"left",color,' '+ Node465fontSize + 'px "Arial"', 0,g);
  42239. });
  42240. }
  42241. if (false) {
  42242. Node465.a('node.underlinepoints',[Node465lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node465fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node465fontSize + 'px "Arial"').width + 6, (Node465height - Node465fontSize) * 0.5*_ratio.ratioY + Node465fontSize + 2 ]);
  42243. Node465.a('node.underlinevisible',false);
  42244. Node465.a('node.underlineBorderWidth', 1);
  42245. }
  42246. dataModel.add(Node465);
  42247. zoomNodeList.push({
  42248. node: Node465,
  42249. borderWidth: 0,
  42250. attr: 'node.borderwidth'
  42251. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42252. var Node466 = new ht.Node();
  42253. var Node466textStart, Node466textWidth, Node466lineStart, Node466align = 'left', Node466fontSize = 13.3333*_ratio.ratioY,Node466width = 77*_ratio.ratioX, Node466height = 26*_ratio.ratioY;
  42254. (function () {
  42255. if (Node466align === 'left') {
  42256. Node466textStart = Node466fontSize * 0.2 > 2 ? Node466fontSize * 0.2 - 4 : Node466fontSize * 0.2 - 9;
  42257. Node466textWidth = Node466width;
  42258. Node466lineStart = 1;
  42259. } else if (Node466align === 'right') {
  42260. Node466textStart = 0;
  42261. Node466textWidth =Node466fontSize <= 8 ? Node466width + Node466fontSize * 0.2 + 6 : Node466width - Node466fontSize * 0.2;
  42262. Node466lineStart = (Node466width - (ht.Default.getTextSize('上网电量', ' '+ Node466fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  42263. } else if (Node466align === 'center') {
  42264. Node466textStart = -3;
  42265. Node466textWidth = Node466width;
  42266. Node466lineStart = Node466width - ht.Default.getTextSize('上网电量', ' '+ Node466fontSize + 'px "微软雅黑"').width - 11;
  42267. }
  42268. })();
  42269. Node466.setImage(GD.getTextJSON(Node466width, Node466height, true, false, false, ' '+ Node466fontSize + 'px "微软雅黑"'))
  42270. Node466.setPosition(224*ratio.ratioX, 150*ratio.ratioY);
  42271. Node466.setWidth(Node466width);
  42272. Node466.setHeight(Node466height);
  42273. Node466._nodeType = 'text';
  42274. Node466._disallowEvert = true;
  42275. Node466.setRotation(0*Math.PI/180);
  42276. Node466.a('node.width', Node466width);
  42277. Node466.a('node.height', Node466height);
  42278. Node466.a('node.rect', [0, 0, Node466width, Node466height]);
  42279. Node466.a('node.bordercolor','rgba(0,0,0,1)');
  42280. Node466.a('node.borderwidth', 0);
  42281. Node466.a('node.background','' || 'rgba(0,0,0,0)');
  42282. Node466.a('node.gradient','');
  42283. Node466.a('node.gradientcolor','');
  42284. Node466.a('node.text','上网电量');
  42285. Node466.a('node.textalign','left');
  42286. Node466.a('node.textvAlign','middle');
  42287. Node466.a('node.textrect', [Node466textStart, 0, Node466textWidth, Node466height]);
  42288. Node466.a('node.color','rgba(0,0,0,1)');
  42289. Node466.a('node.font',' '+ Node466fontSize + 'px "微软雅黑"');
  42290. Node466.a('node.textvisible',true);
  42291. Node466.a('node.linefeed',false);
  42292. if (false) {
  42293. Node466.a('node.textfunc',function(g) {
  42294. g.beginPath();
  42295. var str=Node466.a('node.text') || '上网电量';
  42296. var color=Node466.a('node.color') || 'rgba(0,0,0,1)';
  42297. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node466width,Node466height,13.3333*_ratio.ratioY,"left",color,' '+ Node466fontSize + 'px "微软雅黑"', 0,g);
  42298. });
  42299. }
  42300. if (false) {
  42301. Node466.a('node.underlinepoints',[Node466lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node466fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node466fontSize + 'px "微软雅黑"').width + 6, (Node466height - Node466fontSize) * 0.5*_ratio.ratioY + Node466fontSize + 2 ]);
  42302. Node466.a('node.underlinevisible',false);
  42303. Node466.a('node.underlineBorderWidth', 1);
  42304. }
  42305. dataModel.add(Node466);
  42306. zoomNodeList.push({
  42307. node: Node466,
  42308. borderWidth: 0,
  42309. attr: 'node.borderwidth'
  42310. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42311. var Node467 = new ht.Node();
  42312. var Node467textStart, Node467textWidth, Node467lineStart, Node467align = 'center', Node467fontSize = 13.3333*_ratio.ratioY,Node467width = 113*_ratio.ratioX, Node467height = 26*_ratio.ratioY;
  42313. (function () {
  42314. if (Node467align === 'left') {
  42315. Node467textStart = Node467fontSize * 0.2 > 2 ? Node467fontSize * 0.2 - 4 : Node467fontSize * 0.2 - 9;
  42316. Node467textWidth = Node467width;
  42317. Node467lineStart = 1;
  42318. } else if (Node467align === 'right') {
  42319. Node467textStart = 0;
  42320. Node467textWidth =Node467fontSize <= 8 ? Node467width + Node467fontSize * 0.2 + 6 : Node467width - Node467fontSize * 0.2;
  42321. Node467lineStart = (Node467width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node467fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  42322. } else if (Node467align === 'center') {
  42323. Node467textStart = -3;
  42324. Node467textWidth = Node467width;
  42325. Node467lineStart = Node467width - ht.Default.getTextSize('日性能损失电量', ' '+ Node467fontSize + 'px "微软雅黑"').width - 11;
  42326. }
  42327. })();
  42328. Node467.setImage(GD.getTextJSON(Node467width, Node467height, true, false, false, ' '+ Node467fontSize + 'px "微软雅黑"'))
  42329. Node467.setPosition(531*ratio.ratioX, 150*ratio.ratioY);
  42330. Node467.setWidth(Node467width);
  42331. Node467.setHeight(Node467height);
  42332. Node467._nodeType = 'text';
  42333. Node467._disallowEvert = true;
  42334. Node467.setRotation(0*Math.PI/180);
  42335. Node467.a('node.width', Node467width);
  42336. Node467.a('node.height', Node467height);
  42337. Node467.a('node.rect', [0, 0, Node467width, Node467height]);
  42338. Node467.a('node.bordercolor','rgba(0,0,0,1)');
  42339. Node467.a('node.borderwidth', 0);
  42340. Node467.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
  42341. Node467.a('node.gradient','');
  42342. Node467.a('node.gradientcolor','rgba(255,255,255,0)');
  42343. Node467.a('node.text','日性能损失电量');
  42344. Node467.a('node.textalign','center');
  42345. Node467.a('node.textvAlign','middle');
  42346. Node467.a('node.textrect', [Node467textStart, 0, Node467textWidth, Node467height]);
  42347. Node467.a('node.color','rgba(0,0,0,1)');
  42348. Node467.a('node.font',' '+ Node467fontSize + 'px "微软雅黑"');
  42349. Node467.a('node.textvisible',true);
  42350. Node467.a('node.linefeed',false);
  42351. if (false) {
  42352. Node467.a('node.textfunc',function(g) {
  42353. g.beginPath();
  42354. var str=Node467.a('node.text') || '日性能损失电量';
  42355. var color=Node467.a('node.color') || 'rgba(0,0,0,1)';
  42356. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node467width,Node467height,13.3333*_ratio.ratioY,"center",color,' '+ Node467fontSize + 'px "微软雅黑"', 0,g);
  42357. });
  42358. }
  42359. if (false) {
  42360. Node467.a('node.underlinepoints',[Node467lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node467fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node467fontSize + 'px "微软雅黑"').width + 6, (Node467height - Node467fontSize) * 0.5*_ratio.ratioY + Node467fontSize + 2 ]);
  42361. Node467.a('node.underlinevisible',false);
  42362. Node467.a('node.underlineBorderWidth', 1);
  42363. }
  42364. dataModel.add(Node467);
  42365. zoomNodeList.push({
  42366. node: Node467,
  42367. borderWidth: 0,
  42368. attr: 'node.borderwidth'
  42369. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42370. var Node468 = new ht.Node();
  42371. var Node468textStart, Node468textWidth, Node468lineStart, Node468align = 'center', Node468fontSize = 13.3333*_ratio.ratioY,Node468width = 110*_ratio.ratioX, Node468height = 26*_ratio.ratioY;
  42372. (function () {
  42373. if (Node468align === 'left') {
  42374. Node468textStart = Node468fontSize * 0.2 > 2 ? Node468fontSize * 0.2 - 4 : Node468fontSize * 0.2 - 9;
  42375. Node468textWidth = Node468width;
  42376. Node468lineStart = 1;
  42377. } else if (Node468align === 'right') {
  42378. Node468textStart = 0;
  42379. Node468textWidth =Node468fontSize <= 8 ? Node468width + Node468fontSize * 0.2 + 6 : Node468width - Node468fontSize * 0.2;
  42380. Node468lineStart = (Node468width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node468fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  42381. } else if (Node468align === 'center') {
  42382. Node468textStart = -3;
  42383. Node468textWidth = Node468width;
  42384. Node468lineStart = Node468width - ht.Default.getTextSize('月性能损失电量', ' '+ Node468fontSize + 'px "微软雅黑"').width - 11;
  42385. }
  42386. })();
  42387. Node468.setImage(GD.getTextJSON(Node468width, Node468height, true, false, false, ' '+ Node468fontSize + 'px "微软雅黑"'))
  42388. Node468.setPosition(811*ratio.ratioX, 150*ratio.ratioY);
  42389. Node468.setWidth(Node468width);
  42390. Node468.setHeight(Node468height);
  42391. Node468._nodeType = 'text';
  42392. Node468._disallowEvert = true;
  42393. Node468.setRotation(0*Math.PI/180);
  42394. Node468.a('node.width', Node468width);
  42395. Node468.a('node.height', Node468height);
  42396. Node468.a('node.rect', [0, 0, Node468width, Node468height]);
  42397. Node468.a('node.bordercolor','rgba(0,0,0,1)');
  42398. Node468.a('node.borderwidth', 0);
  42399. Node468.a('node.background','' || 'rgba(0,0,0,0)');
  42400. Node468.a('node.gradient','');
  42401. Node468.a('node.gradientcolor','');
  42402. Node468.a('node.text','月性能损失电量');
  42403. Node468.a('node.textalign','center');
  42404. Node468.a('node.textvAlign','middle');
  42405. Node468.a('node.textrect', [Node468textStart, 0, Node468textWidth, Node468height]);
  42406. Node468.a('node.color','rgba(0,0,0,1)');
  42407. Node468.a('node.font',' '+ Node468fontSize + 'px "微软雅黑"');
  42408. Node468.a('node.textvisible',true);
  42409. Node468.a('node.linefeed',false);
  42410. if (false) {
  42411. Node468.a('node.textfunc',function(g) {
  42412. g.beginPath();
  42413. var str=Node468.a('node.text') || '月性能损失电量';
  42414. var color=Node468.a('node.color') || 'rgba(0,0,0,1)';
  42415. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node468width,Node468height,13.3333*_ratio.ratioY,"center",color,' '+ Node468fontSize + 'px "微软雅黑"', 0,g);
  42416. });
  42417. }
  42418. if (false) {
  42419. Node468.a('node.underlinepoints',[Node468lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node468fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node468fontSize + 'px "微软雅黑"').width + 6, (Node468height - Node468fontSize) * 0.5*_ratio.ratioY + Node468fontSize + 2 ]);
  42420. Node468.a('node.underlinevisible',false);
  42421. Node468.a('node.underlineBorderWidth', 1);
  42422. }
  42423. dataModel.add(Node468);
  42424. zoomNodeList.push({
  42425. node: Node468,
  42426. borderWidth: 0,
  42427. attr: 'node.borderwidth'
  42428. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  42429. var Node469 = new ht.Node();
  42430. var Node469textStart, Node469textWidth, Node469lineStart, Node469align = 'center', Node469fontSize = 13.3333*_ratio.ratioY,Node469width = 110*_ratio.ratioX, Node469height = 26*_ratio.ratioY;
  42431. (function () {
  42432. if (Node469align === 'left') {
  42433. Node469textStart = Node469fontSize * 0.2 > 2 ? Node469fontSize * 0.2 - 4 : Node469fontSize * 0.2 - 9;
  42434. Node469textWidth = Node469width;
  42435. Node469lineStart = 1;
  42436. } else if (Node469align === 'right') {
  42437. Node469textStart = 0;
  42438. Node469textWidth =Node469fontSize <= 8 ? Node469width + Node469fontSize * 0.2 + 6 : Node469width - Node469fontSize * 0.2;
  42439. Node469lineStart = (Node469width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node469fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
  42440. } else if (Node469align === 'center') {
  42441. Node469textStart = -3;
  42442. Node469textWidth = Node469width;
  42443. Node469lineStart = Node469width - ht.Default.getTextSize('年性能损失电量', ' '+ Node469fontSize + 'px "微软雅黑"').width - 11;
  42444. }
  42445. })();
  42446. Node469.setImage(GD.getTextJSON(Node469width, Node469height, true, false, false, ' '+ Node469fontSize + 'px "微软雅黑"'))
  42447. Node469.setPosition(1091*ratio.ratioX, 149*ratio.ratioY);
  42448. Node469.setWidth(Node469width);
  42449. Node469.setHeight(Node469height);
  42450. Node469._nodeType = 'text';
  42451. Node469._disallowEvert = true;
  42452. Node469.setRotation(0*Math.PI/180);
  42453. Node469.a('node.width', Node469width);
  42454. Node469.a('node.height', Node469height);
  42455. Node469.a('node.rect', [0, 0, Node469width, Node469height]);
  42456. Node469.a('node.bordercolor','rgba(0,0,0,1)');
  42457. Node469.a('node.borderwidth', 0);
  42458. Node469.a('node.background','' || 'rgba(0,0,0,0)');
  42459. Node469.a('node.gradient','');
  42460. Node469.a('node.gradientcolor','');
  42461. Node469.a('node.text','年性能损失电量');
  42462. Node469.a('node.textalign','center');
  42463. Node469.a('node.textvAlign','middle');
  42464. Node469.a('node.textrect', [Node469textStart, 0, Node469textWidth, Node469height]);
  42465. Node469.a('node.color','rgba(0,0,0,1)');
  42466. Node469.a('node.font',' '+ Node469fontSize + 'px "微软雅黑"');
  42467. Node469.a('node.textvisible',true);
  42468. Node469.a('node.linefeed',false);
  42469. if (false) {
  42470. Node469.a('node.textfunc',function(g) {
  42471. g.beginPath();
  42472. var str=Node469.a('node.text') || '年性能损失电量';
  42473. var color=Node469.a('node.color') || 'rgba(0,0,0,1)';
  42474. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node469width,Node469height,13.3333*_ratio.ratioY,"center",color,' '+ Node469fontSize + 'px "微软雅黑"', 0,g);
  42475. });
  42476. }
  42477. if (false) {
  42478. Node469.a('node.underlinepoints',[Node469lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node469fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node469fontSize + 'px "微软雅黑"').width + 6, (Node469height - Node469fontSize) * 0.5*_ratio.ratioY + Node469fontSize + 2 ]);
  42479. Node469.a('node.underlinevisible',false);
  42480. Node469.a('node.underlineBorderWidth', 1);
  42481. }
  42482. dataModel.add(Node469);
  42483. zoomNodeList.push({
  42484. node: Node469,
  42485. borderWidth: 0,
  42486. attr: 'node.borderwidth'
  42487. });
  42488. /*@GraphList@*/
  42489. var datas = dataModel.getDatas();
  42490. ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'anniu':PageBackground_anniu,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
  42491. if(typeof(Node2.borderWidth)!="undefined"){setDashStyle(Node2,"Node2",'NoDash',Node2.borderWidth);}
  42492. if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);}
  42493. if(typeof(Node6.borderWidth)!="undefined"){setDashStyle(Node6,"Node6",'NoDash',Node6.borderWidth);}
  42494. if(typeof(Node8.borderWidth)!="undefined"){setDashStyle(Node8,"Node8",'NoDash',Node8.borderWidth);}
  42495. if(typeof(Node21.borderWidth)!="undefined"){setDashStyle(Node21,"Node21",'NoDash',Node21.borderWidth);}
  42496. if(typeof(Node24.borderWidth)!="undefined"){setDashStyle(Node24,"Node24",'NoDash',Node24.borderWidth);}
  42497. if(typeof(Node29.borderWidth)!="undefined"){setDashStyle(Node29,"Node29",'NoDash',Node29.borderWidth);}
  42498. if(typeof(Node55.borderWidth)!="undefined"){setDashStyle(Node55,"Node55",'NoDash',Node55.borderWidth);}
  42499. if(typeof(Node101_3.borderWidth)!="undefined"){setDashStyle(Node101_3,"Node101_3",'NoDash',Node101_3.borderWidth);}
  42500. GD.groupRotat(Node101bound, Node101_0, (180 )*Math.PI/180, ratio);
  42501. GD.groupRotat(Node101bound, Node101_1, (180 )*Math.PI/180, ratio);
  42502. GD.groupRotat(Node101bound, Node101_2, (180 )*Math.PI/180, ratio);
  42503. GD.groupRotat(Node101bound, Node101_3, (180 )*Math.PI/180, ratio);
  42504. GD.groupRotat(Node101bound, Node101_4, (180 )*Math.PI/180, ratio);
  42505. GD.groupRotat(Node101bound, Node101_5, (180 )*Math.PI/180, ratio);
  42506. GD.groupRotat(Node101bound, Node101_6, (180 )*Math.PI/180, ratio);
  42507. if(typeof(Node105.borderWidth)!="undefined"){setDashStyle(Node105,"Node105",'NoDash',Node105.borderWidth);}
  42508. if(typeof(Node106.borderWidth)!="undefined"){setDashStyle(Node106,"Node106",'NoDash',Node106.borderWidth);}
  42509. if(typeof(Node113.borderWidth)!="undefined"){setDashStyle(Node113,"Node113",'NoDash',Node113.borderWidth);}
  42510. if(typeof(Node116_3.borderWidth)!="undefined"){setDashStyle(Node116_3,"Node116_3",'NoDash',Node116_3.borderWidth);}
  42511. if(typeof(Node120.borderWidth)!="undefined"){setDashStyle(Node120,"Node120",'NoDash',Node120.borderWidth);}
  42512. if(typeof(Node123_3.borderWidth)!="undefined"){setDashStyle(Node123_3,"Node123_3",'NoDash',Node123_3.borderWidth);}
  42513. if(typeof(Node125.borderWidth)!="undefined"){setDashStyle(Node125,"Node125",'NoDash',Node125.borderWidth);}
  42514. if(typeof(Node127.borderWidth)!="undefined"){setDashStyle(Node127,"Node127",'NoDash',Node127.borderWidth);}
  42515. if(typeof(Node129.borderWidth)!="undefined"){setDashStyle(Node129,"Node129",'NoDash',Node129.borderWidth);}
  42516. if(typeof(Node157.borderWidth)!="undefined"){setDashStyle(Node157,"Node157",'NoDash',Node157.borderWidth);}
  42517. if(typeof(Node160_3.borderWidth)!="undefined"){setDashStyle(Node160_3,"Node160_3",'NoDash',Node160_3.borderWidth);}
  42518. GD.groupRotat(Node168bound, Node168_0, (180 )*Math.PI/180, ratio);
  42519. GD.groupRotat(Node168bound, Node168_1, (180 )*Math.PI/180, ratio);
  42520. GD.groupRotat(Node168bound, Node168_2, (180 )*Math.PI/180, ratio);
  42521. GD.groupRotat(Node168bound, Node168_3, (180 )*Math.PI/180, ratio);
  42522. GD.groupRotat(Node170bound, Node170_0, (180 )*Math.PI/180, ratio);
  42523. GD.groupRotat(Node170bound, Node170_1, (180 )*Math.PI/180, ratio);
  42524. GD.groupRotat(Node170bound, Node170_2, (180 )*Math.PI/180, ratio);
  42525. GD.groupRotat(Node170bound, Node170_3, (180 )*Math.PI/180, ratio);
  42526. ;(typeof Node185 != "undefined") && (Node185.localDynamicVar = function ( ) {return {'xianshi1':Node185_xianshi1,}});
  42527. ;(typeof Node186 != "undefined") && (Node186.localDynamicVar = function ( ) {return {'xianshi1':Node186_xianshi1,}});
  42528. ;(typeof Node187 != "undefined") && (Node187.localDynamicVar = function ( ) {return {'xianshi1':Node187_xianshi1,}});
  42529. ;(typeof Node188 != "undefined") && (Node188.localDynamicVar = function ( ) {return {'xianshi1':Node188_xianshi1,}});
  42530. ;(typeof Node189 != "undefined") && (Node189.localDynamicVar = function ( ) {return {'xianshi1':Node189_xianshi1,}});
  42531. ;(typeof Node190 != "undefined") && (Node190.localDynamicVar = function ( ) {return {'xianshi1':Node190_xianshi1,}});
  42532. ;(typeof Node191 != "undefined") && (Node191.localDynamicVar = function ( ) {return {'xianshi1':Node191_xianshi1,}});
  42533. ;(typeof Node192 != "undefined") && (Node192.localDynamicVar = function ( ) {return {'xianshi1':Node192_xianshi1,}});
  42534. ;(typeof Node193 != "undefined") && (Node193.localDynamicVar = function ( ) {return {'xianshi1':Node193_xianshi1,}});
  42535. ;(typeof Node194 != "undefined") && (Node194.localDynamicVar = function ( ) {return {'xianshi1':Node194_xianshi1,}});
  42536. ;(typeof Node195 != "undefined") && (Node195.localDynamicVar = function ( ) {return {'xianshi':Node195_xianshi,}});
  42537. ;(typeof Node196 != "undefined") && (Node196.localDynamicVar = function ( ) {return {'xianshi':Node196_xianshi,}});
  42538. ;(typeof Node197 != "undefined") && (Node197.localDynamicVar = function ( ) {return {'xianshi':Node197_xianshi,}});
  42539. ;(typeof Node198 != "undefined") && (Node198.localDynamicVar = function ( ) {return {'xianshi':Node198_xianshi,}});
  42540. ;(typeof Node199 != "undefined") && (Node199.localDynamicVar = function ( ) {return {'xianshi':Node199_xianshi,}});
  42541. ;(typeof Node200 != "undefined") && (Node200.localDynamicVar = function ( ) {return {'xianshi':Node200_xianshi,}});
  42542. ;(typeof Node201 != "undefined") && (Node201.localDynamicVar = function ( ) {return {'xianshi':Node201_xianshi,}});
  42543. ;(typeof Node202 != "undefined") && (Node202.localDynamicVar = function ( ) {return {'xianshi2':Node202_xianshi2,}});
  42544. ;(typeof Node203 != "undefined") && (Node203.localDynamicVar = function ( ) {return {'xianshi2':Node203_xianshi2,}});
  42545. ;(typeof Node210 != "undefined") && (Node210.localDynamicVar = function ( ) {return {'xianshi2':Node210_xianshi2,}});
  42546. ;(typeof Node211 != "undefined") && (Node211.localDynamicVar = function ( ) {return {'xianshi2':Node211_xianshi2,}});
  42547. ;(typeof Node212 != "undefined") && (Node212.localDynamicVar = function ( ) {return {'xianshi2':Node212_xianshi2,}});
  42548. ;(typeof Node213 != "undefined") && (Node213.localDynamicVar = function ( ) {return {'xianshi2':Node213_xianshi2,}});
  42549. ;(typeof Node214 != "undefined") && (Node214.localDynamicVar = function ( ) {return {'xianshi4':Node214_xianshi4,}});
  42550. ;(typeof Node215 != "undefined") && (Node215.localDynamicVar = function ( ) {return {'xianshi4':Node215_xianshi4,}});
  42551. ;(typeof Node216 != "undefined") && (Node216.localDynamicVar = function ( ) {return {'xianshi4':Node216_xianshi4,}});
  42552. ;(typeof Node217 != "undefined") && (Node217.localDynamicVar = function ( ) {return {'xianshi4':Node217_xianshi4,}});
  42553. ;(typeof Node218 != "undefined") && (Node218.localDynamicVar = function ( ) {return {'xianshi4':Node218_xianshi4,}});
  42554. ;(typeof Node219 != "undefined") && (Node219.localDynamicVar = function ( ) {return {'xianshi4':Node219_xianshi4,}});
  42555. ;(typeof Node220 != "undefined") && (Node220.localDynamicVar = function ( ) {return {'xianshi4':Node220_xianshi4,}});
  42556. ;(typeof Node221 != "undefined") && (Node221.localDynamicVar = function ( ) {return {'xianshi4':Node221_xianshi4,}});
  42557. ;(typeof Node222 != "undefined") && (Node222.localDynamicVar = function ( ) {return {'xianshi4':Node222_xianshi4,}});
  42558. ;(typeof Node223 != "undefined") && (Node223.localDynamicVar = function ( ) {return {'xianshi4':Node223_xianshi4,}});
  42559. ;(typeof Node224 != "undefined") && (Node224.localDynamicVar = function ( ) {return {'xianshi4':Node224_xianshi4,}});
  42560. ;(typeof Node225 != "undefined") && (Node225.localDynamicVar = function ( ) {return {'xianshi4':Node225_xianshi4,}});
  42561. ;(typeof Node226 != "undefined") && (Node226.localDynamicVar = function ( ) {return {'xianshi4':Node226_xianshi4,}});
  42562. ;(typeof Node227 != "undefined") && (Node227.localDynamicVar = function ( ) {return {'xianshi4':Node227_xianshi4,}});
  42563. ;(typeof Node228 != "undefined") && (Node228.localDynamicVar = function ( ) {return {'xianshi4':Node228_xianshi4,}});
  42564. ;(typeof Node229 != "undefined") && (Node229.localDynamicVar = function ( ) {return {'xianshi4':Node229_xianshi4,}});
  42565. ;(typeof Node230 != "undefined") && (Node230.localDynamicVar = function ( ) {return {'xianshi4':Node230_xianshi4,}});
  42566. if((0 )){Node285.s('2d.visible',true);}else{Node285.s('2d.visible',false);}
  42567. if((0 )){Node287.s('2d.visible',true);}else{Node287.s('2d.visible',false);}
  42568. if((0 )){Node289.s('2d.visible',true);}else{Node289.s('2d.visible',false);}
  42569. if((0 )){Node291.s('2d.visible',true);}else{Node291.s('2d.visible',false);}
  42570. if((0 )){Node293.s('2d.visible',true);}else{Node293.s('2d.visible',false);}
  42571. if((0 )){Node295.s('2d.visible',true);}else{Node295.s('2d.visible',false);}
  42572. if((0 )){Node297.s('2d.visible',true);}else{Node297.s('2d.visible',false);}
  42573. if((0 )){Node299.s('2d.visible',true);}else{Node299.s('2d.visible',false);}
  42574. /*@PageInit@*/
  42575. function DatarefreshTask(callback){
  42576. /*@DataVarText@*/
  42577. callback = callback || function () {};
  42578. if(varList.length <= 0){
  42579. return callback();
  42580. }
  42581. var ajaxdata = {};
  42582. var ajaxtype = 'GET';
  42583. var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
  42584. var para = "";
  42585. for(var i=0;i<varList.length;i++){
  42586. para = para + varList[i];
  42587. if(i!==varList.length-1)
  42588. para = para +',';
  42589. }
  42590. str = str + encodeURIComponent(para);
  42591. if (str.length > 2000) {
  42592. para = encodeURIComponent(para);
  42593. str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
  42594. ajaxdata = {'': para};
  42595. ajaxtype = 'POST';
  42596. }
  42597. $.ajax({
  42598. url: str ,
  42599. type: ajaxtype,
  42600. dataType: 'json',
  42601. data: ajaxdata,
  42602. cache: false,
  42603. success: function (data) {
  42604. if (data === null) return;
  42605. var snapshots = eval(data);
  42606. //判断快照是否为空
  42607. if (snapshots != null) {
  42608. for (var i = 0; i < snapshots.length; i++) {
  42609. var index = varList.indexOf (snapshots[i].TagName);
  42610. var tagName = snapshots[i].TagName.toLowerCase();
  42611. if(index >= 0 && index< varList.length){
  42612. if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
  42613. varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
  42614. VarSnapshotTime[tagName]=snapshots[i].Time;
  42615. }else{
  42616. varListObj[tagName] = VarValue[index] = snapshots[i].Value;
  42617. VarSnapshotTime[tagName]=snapshots[i].Time;
  42618. }
  42619. }
  42620. }
  42621. }
  42622. },
  42623. complete: function (XHR, TS) {
  42624. XHR = null;
  42625. callback();
  42626. }
  42627. }
  42628. );
  42629. }
  42630. ;(function () {
  42631. var i = 0;
  42632. function getdata() {
  42633. DatarefreshTask(function () {
  42634. i++;
  42635. Timer1sCmd();
  42636. Timer100msCmd();
  42637. Timer500msCmd();
  42638. if (i <= 4) {
  42639. setTimeout(getdata, 50);
  42640. }
  42641. });
  42642. }
  42643. setTimeout(getdata, 20);
  42644. })();
  42645. intervalTimers.push(setInterval(DatarefreshTask, 500));
  42646. /*@DataRefresh@*/
  42647. function GetTagsProperty(){
  42648. /*@DataVarText@*/
  42649. if(varList.length <= 0){
  42650. return;
  42651. }
  42652. var ajaxtype = 'GET';
  42653. var ajaxdata = {};
  42654. var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
  42655. var para = "";
  42656. for(var i=0;i<varList.length;i++){
  42657. para = para + varList[i];
  42658. if(i!==varList.length-1)
  42659. para = para +',';
  42660. }
  42661. str = str + encodeURIComponent(para);
  42662. if (str.length > 2000) {
  42663. para = encodeURIComponent(para);
  42664. str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
  42665. ajaxdata = {'': para};
  42666. ajaxtype = 'POST';
  42667. }
  42668. $.ajax({
  42669. url: str ,
  42670. type: ajaxtype,
  42671. dataType: 'json',
  42672. data: ajaxdata,
  42673. cache: false,
  42674. success: function (data) {
  42675. if (data === null) return;
  42676. for(var i=0;i<data.length;i++){
  42677. var basePointInfo=data[i].BasePointInfo;
  42678. tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
  42679. // console.log(tagInfoDic);
  42680. }
  42681. },
  42682. complete: function (XHR, TS) {
  42683. XHR = null;
  42684. }
  42685. }
  42686. );
  42687. }
  42688. GetTagsProperty();
  42689. window.GD && (GD.GetTagsProperty = GetTagsProperty);
  42690. /*@TagInfoDic@*/
  42691. var syscurrentTime="";
  42692. function getCurrentTime(timeformat){
  42693. syscurrentTime= moment().format(timeformat);
  42694. if(timeformat=="d"){
  42695. if(syscurrentTime==1){
  42696. syscurrentTime="星期一";
  42697. }
  42698. if(syscurrentTime==2){
  42699. syscurrentTime="星期二";
  42700. }
  42701. if(syscurrentTime==3){
  42702. syscurrentTime="星期三";
  42703. }
  42704. if(syscurrentTime==4){
  42705. syscurrentTime="星期四";
  42706. }
  42707. if(syscurrentTime==5){
  42708. syscurrentTime="星期五";
  42709. }
  42710. if(syscurrentTime==6){
  42711. syscurrentTime="星期六";
  42712. }
  42713. if(syscurrentTime==7){
  42714. syscurrentTime="星期日";
  42715. }
  42716. }
  42717. }
  42718. getCurrentTime();
  42719. /*@SysCurrentTime@*/
  42720. var Counter10ms = 0;
  42721. var Counter100ms = 0;
  42722. var Counter500ms = 0;
  42723. var Counter1s = 0;
  42724. var Counter5s = 0;
  42725. function Timer10msCmd() {
  42726. Counter10ms++;
  42727. Node185.refresh10ms();
  42728. Node186.refresh10ms();
  42729. Node187.refresh10ms();
  42730. Node188.refresh10ms();
  42731. Node189.refresh10ms();
  42732. Node190.refresh10ms();
  42733. Node191.refresh10ms();
  42734. Node192.refresh10ms();
  42735. Node193.refresh10ms();
  42736. Node194.refresh10ms();
  42737. Node195.refresh10ms();
  42738. Node196.refresh10ms();
  42739. Node197.refresh10ms();
  42740. Node198.refresh10ms();
  42741. Node199.refresh10ms();
  42742. Node200.refresh10ms();
  42743. Node201.refresh10ms();
  42744. Node202.refresh10ms();
  42745. Node203.refresh10ms();
  42746. Node210.refresh10ms();
  42747. Node211.refresh10ms();
  42748. Node212.refresh10ms();
  42749. Node213.refresh10ms();
  42750. Node214.refresh10ms();
  42751. Node215.refresh10ms();
  42752. Node216.refresh10ms();
  42753. Node217.refresh10ms();
  42754. Node218.refresh10ms();
  42755. Node219.refresh10ms();
  42756. Node220.refresh10ms();
  42757. Node221.refresh10ms();
  42758. Node222.refresh10ms();
  42759. Node223.refresh10ms();
  42760. Node224.refresh10ms();
  42761. Node225.refresh10ms();
  42762. Node226.refresh10ms();
  42763. Node227.refresh10ms();
  42764. Node228.refresh10ms();
  42765. Node229.refresh10ms();
  42766. Node230.refresh10ms();
  42767. /*@Timer10ms@*/
  42768. }
  42769. // intervalTimers.push(setInterval(Timer10msCmd, 10));
  42770. function Timer100msCmd() {
  42771. Counter100ms++;
  42772. Node135.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0200') ),-1));
  42773. Node185.refresh100ms();
  42774. Node186.refresh100ms();
  42775. Node187.refresh100ms();
  42776. Node188.refresh100ms();
  42777. Node189.refresh100ms();
  42778. Node190.refresh100ms();
  42779. Node191.refresh100ms();
  42780. Node192.refresh100ms();
  42781. Node193.refresh100ms();
  42782. Node194.refresh100ms();
  42783. Node195.refresh100ms();
  42784. Node196.refresh100ms();
  42785. Node197.refresh100ms();
  42786. Node198.refresh100ms();
  42787. Node199.refresh100ms();
  42788. Node200.refresh100ms();
  42789. Node201.refresh100ms();
  42790. Node202.refresh100ms();
  42791. Node203.refresh100ms();
  42792. Node210.refresh100ms();
  42793. Node211.refresh100ms();
  42794. Node212.refresh100ms();
  42795. Node213.refresh100ms();
  42796. Node214.refresh100ms();
  42797. Node215.refresh100ms();
  42798. Node216.refresh100ms();
  42799. Node217.refresh100ms();
  42800. Node218.refresh100ms();
  42801. Node219.refresh100ms();
  42802. Node220.refresh100ms();
  42803. Node221.refresh100ms();
  42804. Node222.refresh100ms();
  42805. Node223.refresh100ms();
  42806. Node224.refresh100ms();
  42807. Node225.refresh100ms();
  42808. Node226.refresh100ms();
  42809. Node227.refresh100ms();
  42810. Node228.refresh100ms();
  42811. Node229.refresh100ms();
  42812. Node230.refresh100ms();
  42813. Node231.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0201') ),-1));
  42814. Node232.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0002') ),-1));
  42815. Node233.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0237') ),-1));
  42816. Node234.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0001') ),-1));
  42817. Node235.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0017') ),-1));
  42818. Node236.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0018') ),-1));
  42819. Node237.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0019') ),-1));
  42820. Node238.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0020') ),-1));
  42821. Node239.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0021') ),-1));
  42822. Node240.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0022') ),-1));
  42823. Node241.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0023') ),-1));
  42824. Node242.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0024') ),-1));
  42825. Node243.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0205') ),-1));
  42826. Node244.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0206') ),-1));
  42827. Node245.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0004') ),-1));
  42828. Node246.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0238') ),-1));
  42829. Node247.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0208') ),-1));
  42830. Node248.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0008') ),-1));
  42831. Node249.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0005') ),-1));
  42832. Node250.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0006') ),-1));
  42833. Node251.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0007') ),-1));
  42834. Node252.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0040') ),-1));
  42835. Node253.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0037') ),-1));
  42836. Node254.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0038') ),-1));
  42837. Node255.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0039') ),-1));
  42838. Node256.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0002') ),-1));
  42839. Node257.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0200') ),-1));
  42840. Node258.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0201') ),-1));
  42841. Node259.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0002') ),-1));
  42842. Node261.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0202') ),-1));
  42843. Node267.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0207') ),-1));
  42844. Node269.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0011') ),-1));
  42845. Node270.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0009') ),-1));
  42846. Node271.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0010') ),-1));
  42847. Node272.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0012') ),-1));
  42848. Node273.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0025') ),-1));
  42849. Node274.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0026') ),-1));
  42850. Node275.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0027') ),-1));
  42851. Node276.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0028') ),-1));
  42852. Node277.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0029') ),-1));
  42853. Node278.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0030') ),-1));
  42854. Node279.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0031') ),-1));
  42855. Node280.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0032') ),-1));
  42856. Node281.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0033') ),-1));
  42857. Node282.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0034') ),-1));
  42858. Node283.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0035') ),-1));
  42859. Node284.a('node.text',GetDital((getVarValue('GL_DQ.SX_GD_GLF_DQ_P1_L1_001_AI0036') ),-1));
  42860. Node322.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
  42861. Node328.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') ),-1));
  42862. Node332.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') ),-1));
  42863. Node337.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') ),-1));
  42864. Node370.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144') ),-1));
  42865. Node371.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140') ),-1));
  42866. Node372.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168') ),-1));
  42867. Node373.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164') ),-1));
  42868. Node374.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196') ),-1));
  42869. Node399.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038') ),-1));
  42870. Node400.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034') ),-1));
  42871. Node401.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065') ),-1));
  42872. Node402.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061') ),-1));
  42873. Node403.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188') ),-1));
  42874. Node419.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005') ),-1));
  42875. Node420.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125') ),-1));
  42876. Node421.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124') ),-1));
  42877. Node422.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077') ),-1));
  42878. Node423.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126') ),-1));
  42879. Node439.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089') ),-1));
  42880. Node440.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085') ),-1));
  42881. Node441.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116') ),-1));
  42882. Node442.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112') ),-1));
  42883. Node443.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192') ),-1));
  42884. Node460.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
  42885. Node462.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') ),-1));
  42886. Node465.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') ),-1));
  42887. /*@Timer100ms@*/
  42888. // graphView.redraw();
  42889. }
  42890. intervalTimers.push(setInterval(Timer100msCmd, 100));
  42891. function Timer500msCmd() {
  42892. Counter500ms++;
  42893. Node185.refresh500ms();
  42894. Node186.refresh500ms();
  42895. Node187.refresh500ms();
  42896. Node188.refresh500ms();
  42897. Node189.refresh500ms();
  42898. Node190.refresh500ms();
  42899. Node191.refresh500ms();
  42900. Node192.refresh500ms();
  42901. Node193.refresh500ms();
  42902. Node194.refresh500ms();
  42903. Node195.refresh500ms();
  42904. Node196.refresh500ms();
  42905. Node197.refresh500ms();
  42906. Node198.refresh500ms();
  42907. Node199.refresh500ms();
  42908. Node200.refresh500ms();
  42909. Node201.refresh500ms();
  42910. Node202.refresh500ms();
  42911. Node203.refresh500ms();
  42912. Node210.refresh500ms();
  42913. Node211.refresh500ms();
  42914. Node212.refresh500ms();
  42915. Node213.refresh500ms();
  42916. Node214.refresh500ms();
  42917. Node215.refresh500ms();
  42918. Node216.refresh500ms();
  42919. Node217.refresh500ms();
  42920. Node218.refresh500ms();
  42921. Node219.refresh500ms();
  42922. Node220.refresh500ms();
  42923. Node221.refresh500ms();
  42924. Node222.refresh500ms();
  42925. Node223.refresh500ms();
  42926. Node224.refresh500ms();
  42927. Node225.refresh500ms();
  42928. Node226.refresh500ms();
  42929. Node227.refresh500ms();
  42930. Node228.refresh500ms();
  42931. Node229.refresh500ms();
  42932. Node230.refresh500ms();
  42933. if((1 )>0) {if(((sxxny==1)>0 )){Node285.s('2d.visible',true);}else{Node285.s('2d.visible',false);}}
  42934. if((1 )>0) {if(((sxxny==0)>0 )){Node286.s('2d.visible',true);}else{Node286.s('2d.visible',false);}}
  42935. if((1 )>0) {if(((yygjb==1)>0 )){Node287.s('2d.visible',true);}else{Node287.s('2d.visible',false);}}
  42936. if((1 )>0) {if(((yygjb==0)>0 )){Node288.s('2d.visible',true);}else{Node288.s('2d.visible',false);}}
  42937. if((1 )>0) {if(((plhts==1)>0 )){Node289.s('2d.visible',true);}else{Node289.s('2d.visible',false);}}
  42938. if((1 )>0) {if(((plhts==0)>0 )){Node290.s('2d.visible',true);}else{Node290.s('2d.visible',false);}}
  42939. if((1 )>0) {if(((tqwns==1)>0 )){Node291.s('2d.visible',true);}else{Node291.s('2d.visible',false);}}
  42940. if((1 )>0) {if(((tqwns==0)>0 )){Node292.s('2d.visible',true);}else{Node292.s('2d.visible',false);}}
  42941. if((1 )>0) {if(((gljf==1)>0 )){Node293.s('2d.visible',true);}else{Node293.s('2d.visible',false);}}
  42942. if((1 )>0) {if(((gljf==0)>0 )){Node294.s('2d.visible',true);}else{Node294.s('2d.visible',false);}}
  42943. if((1 )>0) {if(((hyfy==1)>0 )){Node295.s('2d.visible',true);}else{Node295.s('2d.visible',false);}}
  42944. if((1 )>0) {if(((hyfy==0)>0 )){Node296.s('2d.visible',true);}else{Node296.s('2d.visible',false);}}
  42945. if((1 )>0) {if(((llbts==1)>0 )){Node297.s('2d.visible',true);}else{Node297.s('2d.visible',false);}}
  42946. if((1 )>0) {if(((llbts==0)>0 )){Node298.s('2d.visible',true);}else{Node298.s('2d.visible',false);}}
  42947. if((1 )>0) {if(((ygcls==1)>0 )){Node299.s('2d.visible',true);}else{Node299.s('2d.visible',false);}}
  42948. if((1 )>0) {if(((ygcls==0)>0 )){Node300.s('2d.visible',true);}else{Node300.s('2d.visible',false);}}
  42949. if((1 )>0) {if(((A==1)>0 )){Node301_0.s('2d.visible',true);}else{Node301_0.s('2d.visible',false);}}
  42950. if((1 )>0) {if(((A==1)>0 )){Node301_1.s('2d.visible',true);}else{Node301_1.s('2d.visible',false);}}
  42951. if((1 )>0) {if(((B==1)>0 )){Node302_0.s('2d.visible',true);}else{Node302_0.s('2d.visible',false);}}
  42952. if((1 )>0) {if(((B==1)>0 )){Node302_1.s('2d.visible',true);}else{Node302_1.s('2d.visible',false);}}
  42953. if((1 )>0) {if(((C==1)>0 )){Node303_0.s('2d.visible',true);}else{Node303_0.s('2d.visible',false);}}
  42954. if((1 )>0) {if(((C==1)>0 )){Node303_1.s('2d.visible',true);}else{Node303_1.s('2d.visible',false);}}
  42955. if((1 )>0) {if(((F==1)>0 )){Node304_0.s('2d.visible',true);}else{Node304_0.s('2d.visible',false);}}
  42956. if((1 )>0) {if(((F==1)>0 )){Node304_1.s('2d.visible',true);}else{Node304_1.s('2d.visible',false);}}
  42957. if((1 )>0) {if(((E==1)>0 )){Node305_0.s('2d.visible',true);}else{Node305_0.s('2d.visible',false);}}
  42958. if((1 )>0) {if(((E==1)>0 )){Node305_1.s('2d.visible',true);}else{Node305_1.s('2d.visible',false);}}
  42959. if((1 )>0) {if(((D==1)>0 )){Node306_0.s('2d.visible',true);}else{Node306_0.s('2d.visible',false);}}
  42960. if((1 )>0) {if(((D==1)>0 )){Node306_1.s('2d.visible',true);}else{Node306_1.s('2d.visible',false);}}
  42961. if((1 )>0) {if(((A==0)>0 )){Node307_0.s('2d.visible',true);}else{Node307_0.s('2d.visible',false);}}
  42962. if((1 )>0) {if(((A==0)>0 )){Node307_1.s('2d.visible',true);}else{Node307_1.s('2d.visible',false);}}
  42963. if((1 )>0) {if(((B==0)>0 )){Node308_0.s('2d.visible',true);}else{Node308_0.s('2d.visible',false);}}
  42964. if((1 )>0) {if(((B==0)>0 )){Node308_1.s('2d.visible',true);}else{Node308_1.s('2d.visible',false);}}
  42965. if((1 )>0) {if(((C==0)>0 )){Node309_0.s('2d.visible',true);}else{Node309_0.s('2d.visible',false);}}
  42966. if((1 )>0) {if(((C==0)>0 )){Node309_1.s('2d.visible',true);}else{Node309_1.s('2d.visible',false);}}
  42967. if((1 )>0) {if(((E==0)>0 )){Node310_0.s('2d.visible',true);}else{Node310_0.s('2d.visible',false);}}
  42968. if((1 )>0) {if(((E==0)>0 )){Node310_1.s('2d.visible',true);}else{Node310_1.s('2d.visible',false);}}
  42969. if((1 )>0) {if(((F==0)>0 )){Node311_0.s('2d.visible',true);}else{Node311_0.s('2d.visible',false);}}
  42970. if((1 )>0) {if(((F==0)>0 )){Node311_1.s('2d.visible',true);}else{Node311_1.s('2d.visible',false);}}
  42971. if((1 )>0) {if(((D==0)>0 )){Node312_0.s('2d.visible',true);}else{Node312_0.s('2d.visible',false);}}
  42972. if((1 )>0) {if(((D==0)>0 )){Node312_1.s('2d.visible',true);}else{Node312_1.s('2d.visible',false);}}
  42973. /*@Timer500ms@*/
  42974. // graphView.redraw();
  42975. }
  42976. intervalTimers.push(setInterval(Timer500msCmd, 500));
  42977. function Timer1sCmd() {
  42978. Counter1s++;
  42979. if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
  42980. Node185.refresh1s(Counter1s);
  42981. Node186.refresh1s(Counter1s);
  42982. Node187.refresh1s(Counter1s);
  42983. Node188.refresh1s(Counter1s);
  42984. Node189.refresh1s(Counter1s);
  42985. Node190.refresh1s(Counter1s);
  42986. Node191.refresh1s(Counter1s);
  42987. Node192.refresh1s(Counter1s);
  42988. Node193.refresh1s(Counter1s);
  42989. Node194.refresh1s(Counter1s);
  42990. Node195.refresh1s(Counter1s);
  42991. Node196.refresh1s(Counter1s);
  42992. Node197.refresh1s(Counter1s);
  42993. Node198.refresh1s(Counter1s);
  42994. Node199.refresh1s(Counter1s);
  42995. Node200.refresh1s(Counter1s);
  42996. Node201.refresh1s(Counter1s);
  42997. Node202.refresh1s(Counter1s);
  42998. Node203.refresh1s(Counter1s);
  42999. Node210.refresh1s(Counter1s);
  43000. Node211.refresh1s(Counter1s);
  43001. Node212.refresh1s(Counter1s);
  43002. Node213.refresh1s(Counter1s);
  43003. Node214.refresh1s(Counter1s);
  43004. Node215.refresh1s(Counter1s);
  43005. Node216.refresh1s(Counter1s);
  43006. Node217.refresh1s(Counter1s);
  43007. Node218.refresh1s(Counter1s);
  43008. Node219.refresh1s(Counter1s);
  43009. Node220.refresh1s(Counter1s);
  43010. Node221.refresh1s(Counter1s);
  43011. Node222.refresh1s(Counter1s);
  43012. Node223.refresh1s(Counter1s);
  43013. Node224.refresh1s(Counter1s);
  43014. Node225.refresh1s(Counter1s);
  43015. Node226.refresh1s(Counter1s);
  43016. Node227.refresh1s(Counter1s);
  43017. Node228.refresh1s(Counter1s);
  43018. Node229.refresh1s(Counter1s);
  43019. Node230.refresh1s(Counter1s);
  43020. /*@Timer1000ms@*/
  43021. // graphView.redraw();
  43022. }
  43023. Timer1sCmd();
  43024. intervalTimers.push(setInterval(Timer1sCmd, 1000));
  43025. function Timer5sCmd() {
  43026. Counter5s++;
  43027. Node185.refresh5s();
  43028. Node186.refresh5s();
  43029. Node187.refresh5s();
  43030. Node188.refresh5s();
  43031. Node189.refresh5s();
  43032. Node190.refresh5s();
  43033. Node191.refresh5s();
  43034. Node192.refresh5s();
  43035. Node193.refresh5s();
  43036. Node194.refresh5s();
  43037. Node195.refresh5s();
  43038. Node196.refresh5s();
  43039. Node197.refresh5s();
  43040. Node198.refresh5s();
  43041. Node199.refresh5s();
  43042. Node200.refresh5s();
  43043. Node201.refresh5s();
  43044. Node202.refresh5s();
  43045. Node203.refresh5s();
  43046. Node210.refresh5s();
  43047. Node211.refresh5s();
  43048. Node212.refresh5s();
  43049. Node213.refresh5s();
  43050. Node214.refresh5s();
  43051. Node215.refresh5s();
  43052. Node216.refresh5s();
  43053. Node217.refresh5s();
  43054. Node218.refresh5s();
  43055. Node219.refresh5s();
  43056. Node220.refresh5s();
  43057. Node221.refresh5s();
  43058. Node222.refresh5s();
  43059. Node223.refresh5s();
  43060. Node224.refresh5s();
  43061. Node225.refresh5s();
  43062. Node226.refresh5s();
  43063. Node227.refresh5s();
  43064. Node228.refresh5s();
  43065. Node229.refresh5s();
  43066. Node230.refresh5s();
  43067. /*@Timer5000ms@*/
  43068. // graphView.redraw();
  43069. }
  43070. // intervalTimers.push(setInterval(Timer5sCmd, 5000));
  43071. /*@EventTimer@*/
  43072. //graphView.setInteractors(null);
  43073. if (!!view) {
  43074. view.eventList = view.eventList || {};
  43075. }
  43076. function blockDataFilter (data) {
  43077. return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
  43078. }
  43079. var type ='mousedown';
  43080. function doMouseDown (e, origin) {
  43081. if(!ht.Default.isLeftButton(e)){return;}
  43082. mouseX=e.clientX;
  43083. mouseY=e.clientY;
  43084. origin = origin || graphView;
  43085. window.GD && GD.hideTagInfo();
  43086. var data = origin.getDataAt(e, blockDataFilter);
  43087. if (data && data.__parentLib) {
  43088. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
  43089. return;
  43090. }
  43091. 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/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43092. if(data === Node287){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();}} }
  43093. if(data === Node289){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();}} }
  43094. if(data === Node291){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();}} }
  43095. if(data === Node293){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();}} }
  43096. if(data === Node295){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();}} }
  43097. if(data === Node301_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43098. if(data === Node301_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43099. if(data === Node302_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43100. if(data === Node302_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43101. if(data === Node303_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43102. if(data === Node303_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43103. if(data === Node304_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43104. if(data === Node304_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43105. if(data === Node305_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43106. if(data === Node305_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43107. if(data === Node306_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43108. if(data === Node306_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  43109. /*@EvnentMouseDown@*/
  43110. }
  43111. view.eventList[type] = doMouseDown;
  43112. view['on'+type] = function(e){
  43113. doMouseDown(e);
  43114. e.preventDefault();
  43115. };
  43116. type ='mouseup';
  43117. function doMouseUp (e, origin) {
  43118. if(!ht.Default.isLeftButton(e)){return;}
  43119. origin = origin || graphView;
  43120. var data = origin.getDataAt(e, blockDataFilter);
  43121. if (data && data.__parentLib) {
  43122. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
  43123. return;
  43124. }
  43125. /*@EvnentMouseUp@*/
  43126. }
  43127. view.eventList[type] = doMouseUp;
  43128. view['on'+type] = function(e){
  43129. doMouseUp(e);
  43130. e.preventDefault();
  43131. };
  43132. type ='click';
  43133. function doClick (e, origin) {
  43134. if(!ht.Default.isLeftButton(e)){return;}
  43135. origin = origin || graphView;
  43136. var data = origin.getDataAt(e, blockDataFilter);
  43137. if (data && data.__parentLib) {
  43138. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
  43139. return;
  43140. }
  43141. /*@EvnentClicked@*/
  43142. }
  43143. view.eventList[type] = doClick;
  43144. view['on'+type] = function(e){
  43145. doClick(e);
  43146. e.preventDefault();
  43147. };
  43148. type ='mousemove';
  43149. var objMouseOn = null, _objMouseOn = null;
  43150. function doMouseMove (e, origin, offset) {
  43151. var positon, data, zoom, _data, libData;
  43152. origin = origin || graphView;
  43153. position=origin.getLogicalPoint(e);
  43154. zoom = graphView.getZoom();
  43155. if (origin === graphView) {
  43156. mouseX= position.x + origin.tx();
  43157. mouseY = position.y + origin.ty();
  43158. } else {
  43159. offset = offset || {x: 0, y: 0};
  43160. mouseX = position.x / zoom + offset.x + origin.tx();
  43161. mouseY = position.y / zoom + offset.y + origin.ty();
  43162. }
  43163. data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
  43164. if(data === objMouseOn || data === _objMouseOn) return;
  43165. // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
  43166. if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
  43167. _data = data;
  43168. data = libData = _libModel.getDataByKey(_data.__parentLib);
  43169. }
  43170. if(data !== Node285&& objMouseOn===Node285){sxxny=0; }
  43171. if(data !== Node287&& objMouseOn===Node287){yygjb=0; }
  43172. if(data !== Node289&& objMouseOn===Node289){plhts=0; }
  43173. if(data !== Node291&& objMouseOn===Node291){tqwns=0; }
  43174. if(data !== Node293&& objMouseOn===Node293){gljf=0; }
  43175. if(data !== Node295&& objMouseOn===Node295){hyfy=0; }
  43176. if(data !== Node297&& objMouseOn===Node297){llbts=0; }
  43177. if(data !== Node299&& objMouseOn===Node299){ygcls=0; }
  43178. if(data !== Node301_0&& objMouseOn===Node301_0){A=0; }
  43179. if(data !== Node301_1&& objMouseOn===Node301_1){A=0; }
  43180. if(data !== Node302_0&& objMouseOn===Node302_0){B=0; }
  43181. if(data !== Node302_1&& objMouseOn===Node302_1){B=0; }
  43182. if(data !== Node303_0&& objMouseOn===Node303_0){C=0; }
  43183. if(data !== Node303_1&& objMouseOn===Node303_1){C=0; }
  43184. if(data !== Node304_0&& objMouseOn===Node304_0){F=0; }
  43185. if(data !== Node304_1&& objMouseOn===Node304_1){F=0; }
  43186. if(data !== Node305_0&& objMouseOn===Node305_0){E=0; }
  43187. if(data !== Node305_1&& objMouseOn===Node305_1){E=0; }
  43188. if(data !== Node306_0&& objMouseOn===Node306_0){D=0; }
  43189. if(data !== Node306_1&& objMouseOn===Node306_1){D=0; }
  43190. /*@EvnentMouseLeave@*/
  43191. if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
  43192. objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
  43193. }
  43194. objMouseOn = data;
  43195. _objMouseOn = _data;
  43196. if(data === Node286){sxxny=1; }
  43197. if(data === Node288){yygjb=1; }
  43198. if(data === Node290){plhts=1; }
  43199. if(data === Node292){tqwns=1; }
  43200. if(data === Node294){gljf=1; }
  43201. if(data === Node296){hyfy=1; }
  43202. if(data === Node298){llbts=1; }
  43203. if(data === Node300){ygcls=1; }
  43204. if(data === Node307_0){A=1; }
  43205. if(data === Node307_1){A=1; }
  43206. if(data === Node308_0){B=1; }
  43207. if(data === Node308_1){B=1; }
  43208. if(data === Node309_0){C=1; }
  43209. if(data === Node309_1){C=1; }
  43210. if(data === Node310_0){E=1; }
  43211. if(data === Node310_1){E=1; }
  43212. if(data === Node311_0){F=1; }
  43213. if(data === Node311_1){F=1; }
  43214. if(data === Node312_0){D=1; }
  43215. if(data === Node312_1){D=1; }
  43216. /*@EvnentMouseOver@*/
  43217. if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
  43218. data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
  43219. }
  43220. }
  43221. view.eventList[type] = doMouseMove;
  43222. view['on'+type] = function(e){
  43223. doMouseMove(e);
  43224. e.preventDefault();
  43225. };
  43226. window.onkeydown = function doKeyDown(e) {
  43227. var keyID = e.keyCode ? e.keyCode :e.which;
  43228. //if(keyID === 87) { }
  43229. /*@EvnentKeyDown@*/
  43230. // if (keyID === 27 && graphView) {
  43231. // graphView.setZoom(1);
  43232. // graphView.tx(0);
  43233. // graphView.ty(0);
  43234. // }
  43235. return;
  43236. }
  43237. /*@Event@*/
  43238. /*@Declare@*/
  43239. var contextmenu = new ht.widget.ContextMenu();
  43240. contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
  43241. contextmenu.contextMenuBackground='rgb(255,255,255)';
  43242. contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
  43243. contextmenu.contextMenuLabelColor='rgb(48,48,48)';
  43244. contextmenu.beforeShow = function(e, gv) {
  43245. gv = gv || graphView;
  43246. if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
  43247. gv = graphView;
  43248. }
  43249. this.setItems(null);
  43250. window.GD && GD.hideTagInfo();
  43251. var data = gv.getDataAt(e) || graphView.getDataAt(e);
  43252. if (data && data.__parentLib) {
  43253. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
  43254. return;
  43255. }
  43256. //if(false);
  43257. /*@SetNodeContextMenu@*/
  43258. /*@SetPageContextMenu@*/
  43259. };
  43260. contextmenu.afterShow = function (e) {
  43261. var fontSize = 14,
  43262. screenWidth = window.screen.width,
  43263. screenHeight = window.screen.height,
  43264. rx = screenWidth / 1920,
  43265. ry = screenHeight / 1080,
  43266. itemHeight = 30 * ry,
  43267. fontFamily = '',
  43268. width = 150 * rx;
  43269. itemHeight = itemHeight > 30 ? itemHeight : 30;
  43270. var $contextMenu = $(this.getView());
  43271. $contextMenu.find('.contextmenu-item-icon').css({
  43272. width: 14,
  43273. height: 14,
  43274. marginRight: 10
  43275. });
  43276. $contextMenu.find('li.menu-item').css({
  43277. fontSize: fontSize,
  43278. fontWeight: 600,
  43279. height: itemHeight,
  43280. minHeight: 25,
  43281. lineHeight: itemHeight + 'px',
  43282. fontFamily: fontFamily,
  43283. padding: 0
  43284. });
  43285. $contextMenu.find('ul').css({
  43286. width: width,
  43287. minWidth: 100
  43288. });
  43289. contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
  43290. };
  43291. view.eventList && (view.eventList['contextMenu'] = contextmenu);
  43292. contextmenu.addTo(view);
  43293. contextMenuOnViewList.push(contextmenu);
  43294. /*@ControlContextMenu@*/
  43295. graphView.getSelectWidth = function() { return 0; };
  43296. (function () {
  43297. var $mainContainer,
  43298. mainContainerHeight,
  43299. mainContainerWidth,
  43300. originHeight,
  43301. originWidth,
  43302. ratioX,
  43303. ratioY,
  43304. isPageContainer = false;
  43305. graphView._pageBackgroundNode = PageBackground;
  43306. if (pageSizeRatioValue !== 'adaptBrowser') {
  43307. window.GD && GD.setPageToCenterOrLeftTop();
  43308. }
  43309. function throttle () {
  43310. var timer = null;
  43311. return function () {
  43312. timer && clearTimeout(timer);
  43313. timer = setTimeout(function () {
  43314. var value = GD.getParams('pageSizeRatioValue') || {};
  43315. value = value.value || PageAdaptMode.value;
  43316. GD.setPageSizeWithRatio(value, ratio, backSize);
  43317. }, 200)
  43318. }
  43319. }
  43320. try {
  43321. if (window.parent && window.parent.openDialog) {
  43322. autoAdaptive = false;
  43323. }
  43324. } catch (error) {}
  43325. try {
  43326. if (window.parent && window.parent.pageContainer) {
  43327. graphView.handleScroll = function (data) {
  43328. var t = graphView.ty() - data.deltaY;
  43329. var contentSize = graphView.getContentRect();
  43330. var min = contentSize.height - graphView.getHeight() + 50;
  43331. if (min <= 50)
  43332. return ;
  43333. graphView.setTranslate(0, t, true);
  43334. graphView.setScrollBarSize(8);
  43335. }
  43336. graphView.adjustTranslateY = function (value) {
  43337. var contentSize = graphView.getContentRect();
  43338. var min = graphView.getHeight() - contentSize.height - 50;
  43339. value = value > 0 ? 0 : value;
  43340. value = value < min ? min : value;
  43341. return value;
  43342. }
  43343. autoAdaptive = false;
  43344. isPageContainer = true;
  43345. }
  43346. } catch (error) {}
  43347. if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
  43348. graphView.setScrollBarVisible(false);
  43349. if (!graphView._pannable) {
  43350. graphView.adjustTranslateX = function () {return 0};
  43351. graphView.adjustTranslateY = function () {return 0};
  43352. }
  43353. $window.off('resize').on('resize', throttle());
  43354. // setTimeout(resizePage, 100);
  43355. showPage();
  43356. } else {
  43357. showPage();
  43358. graphView.fitContent(false,0,true);
  43359. $window.off('resize').on('resize', function (e) {
  43360. if (!!isPageContainer) {
  43361. window.parent.postMessage('getZoom', '*');
  43362. } else {
  43363. graphView.fitContent(false,0,true);
  43364. }
  43365. })
  43366. }
  43367. var graphViewTimer = null;
  43368. // 监听鼠标缩放页面事件
  43369. graphView.adjustZoom = function (value) {
  43370. graphViewTimer && clearTimeout(graphViewTimer);
  43371. graphViewTimer = setTimeout(function () {
  43372. $window.trigger('graphViewZoomEnded', [value]);
  43373. GD.resetNodeBorderWidth(zoomNodeList, 1/value);
  43374. }, 80)
  43375. return value;
  43376. }
  43377. $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
  43378. var data = e.args;
  43379. var value = GD.getParams('pageSizeRatioValue') || {};
  43380. value = value.value || PageAdaptMode.value;
  43381. GD.setPageSizeWithRatio(value, ratio, backSize);
  43382. graphView.setZoom(data.zoom);
  43383. graphView.tx(0);
  43384. graphView.ty(0);
  43385. });
  43386. $window.off('beforeunload').on("beforeunload", function( event ) {
  43387. try {
  43388. sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
  43389. } catch (error) {console.log(error.message);}
  43390. ;(function () {
  43391. var GD = window.GD;
  43392. if (!GD || typeof GD.removeParams !== 'function') return ;
  43393. GD.removeParams();
  43394. GD.removeParams('pageSizeRatioValue');
  43395. })();
  43396. });
  43397. graphView.setScrollBarColor('rgba(211,211,211,1)');
  43398. graphView.setAutoHideScrollBar(false);
  43399. GD.autoToggleScrollBar();
  43400. // ;(function () {
  43401. // var oriX=browserSize.width/backSize.width;
  43402. // var oriY=browserSize.height/backSize.height;
  43403. // var json = [
  43404. // {
  43405. // label: "25%",
  43406. // action: function(item, event) {
  43407. // GD.setPageSizeWithRatio(0.25);
  43408. // }
  43409. // },
  43410. // {
  43411. // label: "50%",
  43412. // action: function(item, event) {
  43413. // GD.setPageSizeWithRatio(0.5);
  43414. // }
  43415. // },
  43416. // {
  43417. // label: "100%",
  43418. // action: function(item, event) {
  43419. // GD.setPageSizeWithRatio(1);
  43420. // }
  43421. // },
  43422. // {
  43423. // label: "200%",
  43424. // action: function(item, event) {
  43425. // GD.setPageSizeWithRatio(2);
  43426. // }
  43427. // },
  43428. // {
  43429. // label: "400%",
  43430. // action: function(item, event) {
  43431. // GD.setPageSizeWithRatio(4);
  43432. // }
  43433. // },
  43434. // {
  43435. // label: "实际大小",
  43436. // action: function(item, event) {
  43437. // GD.setPageSizeWithRatio('originSize');
  43438. // }
  43439. // },
  43440. // {
  43441. // label: '适合屏幕',
  43442. // action: function (item, event) {
  43443. // GD.setPageSizeWithRatio('adaptBrowser');
  43444. // }
  43445. // },
  43446. // {
  43447. // label: "适合宽度",
  43448. // action: function(item, event) {
  43449. // GD.setPageSizeWithRatio('adaptWidth');
  43450. // }
  43451. // },
  43452. // {
  43453. // label: "适合高度",
  43454. // action: function(item, event) {
  43455. // GD.setPageSizeWithRatio('adaptHeight');
  43456. // }
  43457. // },
  43458. // ];
  43459. // var zoomMenu = new ht.widget.ContextMenu(json);
  43460. // zoomMenu.disableGlobalKey();
  43461. // zoomMenu.setLabelMaxWidth(100);
  43462. // zoomMenu.addTo($('.main')[0]);
  43463. // })();
  43464. (function () {
  43465. var btnstr="停止数据刷新";
  43466. var json = [], item1, item2;
  43467. item1 = {
  43468. label: btnstr,
  43469. action: function(item, event) {
  43470. if(btnstr=="停止数据刷新"){
  43471. clearInterval(intervalTimers[0]);
  43472. intervalTimers.shift(intervalTimers[0]);
  43473. btnstr="开启数据刷新";
  43474. json[0].label=btnstr;
  43475. }else{
  43476. intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
  43477. btnstr="停止数据刷新";
  43478. json[0].label=btnstr;
  43479. }
  43480. }
  43481. };
  43482. item2 = {
  43483. label: "下载本页所有测点",
  43484. action: function(item, event) {
  43485. var time = new Date();
  43486. var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
  43487. var str= "测点名\n";
  43488. for(var i=0;i<varList.length;i++){
  43489. str+=varList[i]+"\n"
  43490. }
  43491. str = encodeURIComponent(str);
  43492. var link = document.createElement("a");
  43493. link.download = t+"测点名称集合.csv";
  43494. link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
  43495. link.click();
  43496. }
  43497. };
  43498. item3 = {
  43499. label: "历史回放",
  43500. action: function(item, event) {
  43501. createHisBackDialog(DatarefreshTask);
  43502. }
  43503. };
  43504. item4 = {
  43505. label: "保存页面图片",
  43506. action: function(item, event) {
  43507. savehtmlToJpg();
  43508. }
  43509. };
  43510. if (false) {
  43511. json.push(item1);
  43512. }
  43513. if (false) {
  43514. json.push(item2);
  43515. }
  43516. if(false){
  43517. json.push(item3);
  43518. }
  43519. if(false){
  43520. json.push(item4);
  43521. }
  43522. function addContextMenu() {
  43523. var dataMenu = new ht.widget.ContextMenu();
  43524. dataMenu.enableGlobalKey();
  43525. dataMenu.setLabelMaxWidth(120);
  43526. dataMenu.addTo(view);
  43527. contextMenuOnViewList.push(dataMenu);
  43528. dataMenu.beforeShow=function(e){
  43529. if(e.originEvent.target.className=="main"){
  43530. if(typeof(graphView.getDataAt(e))=="undefined"){
  43531. this.setItems(json);
  43532. }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
  43533. this.setItems(json);
  43534. }else{
  43535. this.setItems(null);
  43536. }
  43537. }else{
  43538. this.setItems(null);
  43539. }
  43540. }
  43541. };
  43542. if (json.length > 0) {
  43543. addContextMenu();
  43544. }
  43545. })();
  43546. })();
  43547. }